gate-neutron-python27 test has failed with "sudo: jenkins : command not allowed"

Bug #1582685 reported by Sergii Rizvan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Invalid
Critical
Sergii Rizvan

Bug Description

Detailed bug description:
In https://review.fuel-infra.org/#/c/20712/1 CR gate-neutron-python27 test failed with

"sudo: jenkins : command not allowed ; TTY=unknown ; PWD=/home/jenkins/workspace/gate-neutron-python27 ; USER=root ; COMMAND=ovs-ofctl del-flows br-int -
16:18:58 + sudoresult=1
16:18:58 + '[' 1 -ne 0 ']'
16:18:58 + echo
16:18:58
16:18:58 + echo 'This test has failed because it attempted to execute commands'
16:18:58 This test has failed because it attempted to execute commands
16:18:58 + echo 'with sudo. See above for the exact commands used.'
16:18:58 with sudo. See above for the exact commands used."

Seems command 'ovs-ofctl del-flows br-int -' shouldn't be run under root user.

Steps to reproduce:
 Run gate-neutron-python27 test in https://review.fuel-infra.org/#/c/20712/1

Expected results:
 gate-neutron-python27 test should successfully pass.
Actual result:
 gate-neutron-python27 test has failed
Impact:
 The bug blocks merging of https://review.fuel-infra.org/#/c/20712/1.

Revision history for this message
Aliaksei Cherniakou (acherniakou) wrote :

It was happened on bare-trusty-mos-local-1331036 (bare-trusty)
https://jenkins.mosi.mirantis.net/view/All/job/gate-neutron-python27/984/consoleFull
Please check

Changed in mos:
assignee: Fuel CI (fuel-ci) → MOS Neutron (mos-neutron)
tags: removed: area-ci fuel-ci
Revision history for this message
Bug Checker Bot (bug-checker) wrote : Autochecker

(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:

version

For more detailed information on the contents of each of the listed sections see https://wiki.openstack.org/wiki/Fuel/How_to_contribute#Here_is_how_you_file_a_bug

tags: added: need-info
tags: added: maintenance
Changed in mos:
assignee: MOS Neutron (mos-neutron) → nobody
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

Currently tests pass here - https://review.fuel-infra.org/#/c/20712/1

Is this some kind of race, that is only reproduced sometimes?

Changed in mos:
assignee: nobody → Sergii Rizvan (srizvan)
status: New → Incomplete
Sergii Rizvan (srizvan)
Changed in mos:
status: Incomplete → 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.