devstack-gate jobs are failing due to placement project was not found

Bug #1806028 reported by Akhil Jayakumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Gate
Invalid
Undecided
Unassigned

Bug Description

2018-11-30 03:21:19.658 | + lib/placement:install_placement:164 : git_clone git://git.openstack.org/openstack/placement.git /opt/stack/new/placement master
2018-11-30 03:21:19.661 | + functions-common:git_clone:497 : local git_remote=git://git.openstack.org/openstack/placement.git
2018-11-30 03:21:19.665 | + functions-common:git_clone:498 : local git_dest=/opt/stack/new/placement
2018-11-30 03:21:19.669 | + functions-common:git_clone:499 : local git_ref=master
2018-11-30 03:21:19.672 | + functions-common:git_clone:500 : local orig_dir
2018-11-30 03:21:19.677 | ++ functions-common:git_clone:501 : pwd
2018-11-30 03:21:19.681 | + functions-common:git_clone:501 : orig_dir=/opt/stack/new/devstack
2018-11-30 03:21:19.684 | + functions-common:git_clone:502 : local git_clone_flags=
2018-11-30 03:21:19.688 | ++ functions-common:git_clone:504 : trueorfalse False RECLONE
2018-11-30 03:21:19.714 | + functions-common:git_clone:504 : RECLONE=False
2018-11-30 03:21:19.719 | + functions-common:git_clone:505 : [[ 0 -gt 0 ]]
2018-11-30 03:21:19.723 | + functions-common:git_clone:509 : [[ False = \T\r\u\e ]]
2018-11-30 03:21:19.729 | + functions-common:git_clone:518 : echo master
2018-11-30 03:21:19.730 | + functions-common:git_clone:518 : egrep -q '^refs'
2018-11-30 03:21:19.739 | + functions-common:git_clone:532 : [[ ! -d /opt/stack/new/placement ]]
2018-11-30 03:21:19.743 | + functions-common:git_clone:533 : [[ True = \T\r\u\e ]]
2018-11-30 03:21:19.748 | + functions-common:git_clone:534 : echo 'The /opt/stack/new/placement project was not found; if this is a gate job, add'
2018-11-30 03:21:19.748 | The /opt/stack/new/placement project was not found; if this is a gate job, add
2018-11-30 03:21:19.752 | + functions-common:git_clone:535 : echo 'the project to the $PROJECTS variable in the job definition.'
2018-11-30 03:21:19.752 | the project to the $PROJECTS variable in the job definition.
2018-11-30 03:21:19.756 | + functions-common:git_clone:536 : die 536 'Cloning not allowed in this configuration'
2018-11-30 03:21:19.760 | + functions-common:die:187 : local exitcode=0
2018-11-30 03:21:19.765 | [Call Trace]
2018-11-30 03:21:19.765 | ./stack.sh:905:stack_install_service
2018-11-30 03:21:19.765 | /opt/stack/new/devstack/lib/stack:32:install_placement
2018-11-30 03:21:19.765 | /opt/stack/new/devstack/lib/placement:164:git_clone
2018-11-30 03:21:19.765 | /opt/stack/new/devstack/functions-common:536:die
2018-11-30 03:21:19.771 | [ERROR] /opt/stack/new/devstack/functions-common:536 Cloning not allowed in this configuration
2018-11-30 03:21:20.778 | Error on exit
2018-11-30 03:21:21.409 | World dumping... see /opt/stack/new/worlddump-2018-11-30-032121.txt for details.

logs: http://173.39.89.136/logs/81/620881/3/check/dsvm-tempest-cisco-zonemanager-job/5f32b19/logs/

i have added the project in to the gate job but after that getting below error.

2018-11-29 11:26:50.812 | Already on 'master'
2018-11-29 11:26:50.815 | Your branch is up-to-date with 'origin/master'.
2018-11-29 11:26:50.819 | + /home/ubuntu/devstack-gate/functions.sh:setup_workspace:L456: for PROJECT in '$PROJECTS'
2018-11-29 11:26:50.822 | + /home/ubuntu/devstack-gate/functions.sh:setup_workspace:L457: cd /opt/stack/new
2018-11-29 11:26:50.825 | ++ /home/ubuntu/devstack-gate/functions.sh:setup_workspace:L458: basename openstack/placement
2018-11-29 11:26:50.828 | + /home/ubuntu/devstack-gate/functions.sh:setup_workspace:L458: rsync -a '/home/ubuntu/src/*/openstack/placement/' placement
2018-11-29 11:26:50.831 | rsync: change_dir "/home/ubuntu/src/*/openstack/placement" failed: No such file or directory (2)
2018-11-29 11:26:50.943 | rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1]non-zero return code

logs: http://173.39.89.136/logs/56/564e63a6f3eeb2d839e95ed3ef20226b98be2afe/jobtest/dsvm-tempest-cisco-zonemanager-job/096d8de/logs/

Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :

This looks to me like you are not cloning the placement repo into /home/ubuntu/src in your image creation process.

As a general note I also think that running devstack-gate is deprecated and may cease to be supported in the future, so you might want to consider migrating to some new zuul v3 based environment.

Changed in openstack-gate:
status: New → Invalid
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.