fedora tripleo-ci-testing link creation fails

Bug #1810879 reported by wes hayutin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

2019-01-07 22:46:18.660306 | TASK [Promote consistent to tripleo-ci-testing for fedora repo if an equivalent exists]
2019-01-07 22:46:19.178384 | rdo-centos-7 | MODULE FAILURE
2019-01-07 22:46:19.190401 |
2019-01-07 22:46:19.190526 | PLAY RECAP
2019-01-07 22:46:19.190604 | rdo-centos-7 | ok: 3 changed: 3 unreachable: 0 failed: 1

https://logs.rdoproject.org/openstack-periodic/git.openstack.org/openstack-infra/tripleo-ci/master/periodic-tripleo-centos-7-master-promote-consistent-to-tripleo-ci-testing/e7104cf/job-output.txt.gz#_2019-01-07_22_46_18_660306

This is a promotion blocker

Revision history for this message
wes hayutin (weshayutin) wrote :
Revision history for this message
wes hayutin (weshayutin) wrote :

https://review.rdoproject.org/r/#/c/17744/ was the change the broke promotions if we need to revert.

Revision history for this message
yatin (yatinkarel) wrote :

<< https://review.rdoproject.org/r/#/c/17744/ was the change the broke promotions if we need to revert.

Reverted https://review.rdoproject.org/r/#/c/18104/ in order to run promotion jobs until the issue is fixed.

Revision history for this message
Gabriele Cerami (gcerami) wrote :

Found the bug, dlrnapi command has a typo ... repo_status instead of repo-status

Revision history for this message
Gabriele Cerami (gcerami) wrote :

https://review.rdoproject.org/r/18122 was merged as fix, not sure if the promotion jobs will be unblocked completely after this

Revision history for this message
Gabriele Cerami (gcerami) wrote :

Thanks to jpena, we can see the error that fails the module is

'An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ValueError: No closing quotation'

ValueError: No closing quotation is an error thrown by shlex python module when a quote in a shell string to be escaped is not matched.
The only unmatched quotes we have are apostrophes in comments. Tried removing those, hope the problem is solved.

I cannot reproduce the error locally, a shlex.split of the shell module command works perfectly with the version of shlex I'm using, with or without single quotes in comments

Revision history for this message
Gabriele Cerami (gcerami) wrote :

In my local test I was putting an even number of single quotes in the string. As soon as I used a single single quote, the error showed up. I think we should have fixed this now ... let's check the next periodic run

Revision history for this message
Gabriele Cerami (gcerami) wrote :

The module now works.

Changed in tripleo:
status: Triaged → Fix Released
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.