ERROR! the role 'repo-setup' was not found in tripleo-ci

Bug #1955623 reported by chandan kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Triaged
High
Unassigned

Bug Description

We are working on adding container-build on RedHat-9 using RHOS-17 release.

We are currently hitting following error:
```
TASK [Run repo-setup again to pickup c9 mirrors]
2021-12-22 21:06:59.468519 | primary | ok
2021-12-22 21:06:59.654992 |
2021-12-22 21:06:59.655133 | PLAY RECAP
2021-12-22 21:06:59.655206 | primary | ok: 7 changed: 1 unreachable: 0 failed: 0 skipped: 2 rescued: 0 ignored: 0
2021-12-22 21:06:59.655238 |
2021-12-22 21:06:59.951028 | ERROR! the role 'repo-setup' was not found in /var/lib/zuul/builds/0d80692fc3c8491ca9974dacab074761/untrusted/project_3/opendev.org/openstack/tripleo-ci/playbooks/tripleo-buildcontainers/roles:/var/lib/zuul/builds/0d80692fc3c8491ca9974dacab074761/ansible/playbook_0/role_0/tripleo-ci/roles:/var/lib/zuul/builds/0d80692fc3c8491ca9974dacab074761/ansible/playbook_0/role_1/openstack-zuul-jobs/roles:/var/lib/zuul/builds/0d80692fc3c8491ca9974dacab074761/ansible/playbook_0/role_3/tripleo-ci-internal-config/roles:/var/lib/zuul/builds/0d80692fc3c8491ca9974dacab074761/ansible/playbook_0/role_4/zuul-jobs/roles:/var/lib/zuul/builds/0d80692fc3c8491ca9974dacab074761/ansible/playbook_0/role_5/sf-jobs/roles:/var/lib/zuul/builds/0d80692fc3c8491ca9974dacab074761/untrusted/project_3/opendev.org/openstack/tripleo-ci/playbooks/tripleo-buildcontainers
2021-12-22 21:06:59.951053 |
2021-12-22 21:06:59.951058 | The error appears to be in '/var/lib/zuul/builds/0d80692fc3c8491ca9974dacab074761/untrusted/project_3/opendev.org/openstack/tripleo-ci/playbooks/tripleo-buildcontainers/run.yaml': line 15, column 19, but may
2021-12-22 21:06:59.951065 | be elsewhere in the file depending on the exact syntax problem.
2021-12-22 21:06:59.951070 |
2021-12-22 21:06:59.951073 | The offending line appears to be:
2021-12-22 21:06:59.951077 |
2021-12-22 21:06:59.951081 | include_role:
2021-12-22 21:06:59.951084 | name: repo-setup
2021-12-22 21:06:59.951088 | ^ here
```

Here is the downstream CR, where we are doing following things

Testproject CR#299390 - Where we are running RHOS-17 RHEL-9 container build job

tripleo-environments CR#300678 - Adding RHOS-17 release file

tripleo-ci-internal jobs CR#299521 - Added container build job definition
In this patch under tripleo-build-containers-ubi-8-internal job, we have added required projects

      - opendev.org/openstack/tripleo-repos
      - opendev.org/openstack/tripleo-quickstart
      - opendev.org/openstack/tripleo-quickstart-extras

and roles as
      - zuul: opendev.org/openstack/tripleo-quickstart
      - zuul: opendev.org/openstack/tripleo-quickstart-extras
      - zuul: opendev.org/openstack/tripleo-ci

But still it is not working.

Please have a look.
Note CR = code review.

Tags: alert ci
Revision history for this message
chandan kumar (chkumar246) wrote :
Download full text (4.3 KiB)

After adding tripleo-ci as required projects , we are seeing this
```
2021-12-23 08:50:20.399495 | TASK [Run repo-setup again to pickup c9 mirrors]
2021-12-23 08:50:20.462441 | primary | ok
2021-12-23 08:50:20.557397 |
2021-12-23 08:50:20.557598 | TASK [repo-setup : include_tasks]
2021-12-23 08:50:20.640365 | primary | ok
2021-12-23 08:50:20.684752 | primary | included: /var/lib/zuul/builds/bb47f8bfea664ec286ce99f714e76779/untrusted/project_6/opendev.org/openstack/tripleo-quickstart/roles/repo-setup/tasks/get-dlrn-hash.yml
2021-12-23 08:50:20.706785 |
2021-12-23 08:50:20.706931 | TASK [repo-setup : Check DLRN hash format]
2021-12-23 08:50:20.784417 | primary | skipping: Conditional result was False
2021-12-23 08:50:20.818128 |
2021-12-23 08:50:20.818288 | TASK [repo-setup : Check DLRN hash - passed ready hash]
2021-12-23 08:50:20.869169 | primary | skipping: Conditional result was False
2021-12-23 08:50:20.901169 |
2021-12-23 08:50:20.901314 | TASK [repo-setup : include_tasks]
2021-12-23 08:50:20.958888 | primary | skipping: Conditional result was False
2021-12-23 08:50:20.989887 |
2021-12-23 08:50:20.990032 | TASK [repo-setup : include_tasks]
2021-12-23 08:50:21.056449 | primary | skipping: Conditional result was False
2021-12-23 08:50:21.088158 |
2021-12-23 08:50:21.088308 | TASK [repo-setup : include_tasks]
2021-12-23 08:50:21.163672 | primary | ok
2021-12-23 08:50:21.215396 | primary | included: /var/lib/zuul/builds/bb47f8bfea664ec286ce99f714e76779/untrusted/project_6/opendev.org/openstack/tripleo-quickstart/roles/repo-setup/tasks/tripleo-get-hash-set-fact-no-collections.yml
2021-12-23 08:50:21.235946 |
2021-12-23 08:50:21.236086 | TASK [repo-setup : Set facts for tripleo-get-hash parameters]
2021-12-23 08:50:21.330513 | primary | ok
2021-12-23 08:50:21.366247 |
2021-12-23 08:50:21.366398 | TASK [repo-setup : tripleo-get-hash tripleo-ci-testing for osp17 on rhel9 from http://osp-trunk.hosted.upshift.rdu2.redhat.com]
2021-12-23 03:50:20.886259 | primary | /bin/sh: line 1: tripleo-get-hash: command not found
2021-12-23 08:50:48.050987 | primary | ERROR
2021-12-23 08:50:48.051252 | primary | {
2021-12-23 08:50:48.051298 | primary | "attempts": 5,
2021-12-23 08:50:48.051329 | primary | "delta": "0:00:00.002986",
2021-12-23 08:50:48.051357 | primary | "end": "2021-12-23 03:50:47.001324",
2021-12-23 08:50:48.051383 | primary | "msg": "non-zero return code",
2021-12-23 08:50:48.051408 | primary | "rc": 127,
2021-12-23 08:50:48.051433 | primary | "start": "2021-12-23 03:50:46.998338"
2021-12-23 08:50:48.051458 | primary | }
2021-12-23 08:50:48.090838 |
2021-12-23 08:50:48.091073 | TASK [repo-setup : include_tasks]
2021-12-23 08:50:48.162467 | primary | ok
2021-12-23 08:50:48.197672 | primary | included: /var/lib/zuul/builds/bb47f8bfea664ec286ce99f714e76779/untrusted/project_6/opendev.org/openstack/tripleo-quickstart/roles/repo-setup/tasks/set_fact_nodepool_rdo_proxy.yml
2021-12-23 08:50:48.217312 |
2021-12-23 08:50:48.217458 | TASK [repo-setup : extract NODEPOOL_RDO_PROXY from bash environment]
2021-12-23 03:50:47.548950 | primary | http://osp-trunk.hosted.upshift.rdu2.redhat.com
2021-12-23 08:50:48.775173 | primary | ok: Ru...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.