katello-nightly-rpm-pipeline 921 failed

Katello nightly pipeline failed:

https://ci.theforeman.org/job/katello-nightly-rpm-pipeline/921/

foreman-pipeline-katello-nightly-centos7-install (failed) (remote job)
foreman-pipeline-katello-nightly-centos8-install (passed) (remote job)
foreman-pipeline-katello-nightly-centos8-upgrade (passed) (remote job)
foreman-pipeline-katello-nightly-centos7-upgrade (failed) (remote job)

[2021-04-01T01:45:23.964Z] not ok 31 add module include filter to first component content view
[2021-04-01T01:45:23.964Z] # (in test file fb-katello-content.bats, line 235)
[2021-04-01T01:45:23.964Z] #   `hammer content-view filter rule create --organization="${ORGANIZATION}" \' failed with status 64
[2021-04-01T01:45:23.964Z] # Filter created.
[2021-04-01T01:45:23.964Z] # Could not create the filter rule:
[2021-04-01T01:45:23.964Z] #   Error: Too many arguments.
[2021-04-01T01:45:23.964Z] #   
[2021-04-01T01:45:23.964Z] #   See: 'hammer content-view filter rule create --help'.

I suspect this commit:

https://github.com/Katello/hammer-cli-katello/commit/61d1a50e1d3ae30b7430ab8f3657b33b33285698

@cintrix84 could you have a look?

@ekohl

I tried the commands on a hammer devel box pointing at my devel box and was able to get them to run ok:

[vagrant@hammer ~]$ hammer content-view filter create --organization="Default Organization" --content-view="view" --name
="food" --inclusion=true --type=modulemd
Filter created.

[vagrant@hammer ~]$ hammer content-view filter rule create --organization="Default Organization" --content-view="view" --content-view-filter="food" --module-stream-ids=2
Filter rule created.

The last commit being the one in question:

[vagrant@hammer hammer-cli-katello]$ git log
commit 61d1a50e1d3ae30b7430ab8f3657b33b33285698
Author: Chris Roberts <chrobert@redhat.com>
Date:   Tue Mar 2 17:34:18 2021 -0500

    Refs #32000 - Remove legacy export/import commands

Screenshot of the UI showing the filter:

i will spin up the bats box in forklift and see if i can get it to error there and look

@ekohl

I spun up a bats box and ran the katello tests and they all passed locally:

[root@bats bats]# bats --tap fb-katello-content.bats > /root/bats_results/fb-katello-content.bats.tap
[root@bats bats]# cat /root/bats_results/fb-katello-content.bats.tap
1..40
ok 1 Create an Empty Organization
ok 2 create an Organization
ok 3 create a product
ok 4 create package repository
ok 5 upload package
ok 6 sync repository
ok 7 create a file repository
ok 8 sync file repository
ok 9 fetch file from file repository
ok 10 create a container repository
ok 11 sync container repository
ok 12 # skip (Puppet content is not available in scenarios with only Pulp 3) create puppet repository
ok 13 # skip (Puppet content is not available in scenarios with only Pulp 3) upload puppet module
ok 14 create lifecycle environment
ok 15 create content view
ok 16 add yum repo to content view
ok 17 publish content view
ok 18 promote content view
ok 19 create activation key
ok 20 disable auto-attach
ok 21 add subscription to activation key
ok 22 # skip (Puppet content is not available in scenarios with only Pulp 3) add puppet module to content view
ok 23 publish first content view again
ok 24 promote first content view again
ok 25 create and sync modules-rpms repo
ok 26 create and sync rpm-deps repo
ok 27 create first component content view
ok 28 add yum and docker repos to first component content view
ok 29 add errata exclude filter to first component content view
ok 30 add package exclude filter to first component content view
ok 31 add module include filter to first component content view
ok 32 publish first component content view
ok 33 create composite content view
ok 34 publish and promote composite content view
ok 35 incremental update first component cv with composite propagation
ok 36 ensure component cv 1 version 1.1 has proper environments
ok 37 ensure composite cv version 1.1 has proper environments
ok 38 ensure component cv 1 latest version has proper content
ok 39 ensure component cv 2 latest version has proper content
ok 40 ensure composite cv latest version has proper content

I ran them again after the playbook ran just to double check and both times they passed.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.