6.1.mos.deploy-deb job is failing

Bug #1630122 reported by Alexey Stupnikov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Alexey Stupnikov

Bug Description

According to conversation on #fuel-infra, we have to update 6.1 venv on http://osci-jenkins.srt.mirantis.net:8080/ (though some other problems were solved during troubleshooting).

Errors:
+ python fuelweb_test/run_tests.py -q --nologcapture --with-xunit --group=smoke_neutron
Traceback (most recent call last):
  File "fuelweb_test/run_tests.py", line 96, in <module>
    import_tests()
  File "fuelweb_test/run_tests.py", line 44, in import_tests
    from tests import test_admin_node # noqa
  File "/home/jenkins/workspace/6.1.mos.deploy-deb/fuel-qa/fuelweb_test/tests/test_admin_node.py", line 23, in <module>
    from fuelweb_test.helpers import checkers
  File "/home/jenkins/workspace/6.1.mos.deploy-deb/fuel-qa/fuelweb_test/helpers/checkers.py", line 36, in <module>
    from devops.helpers.helpers import wait_pass
ImportError: cannot import name wait_pass

Setting Critical importance as this issue is a blocker for security bulletin.

Example job: http://osci-jenkins.srt.mirantis.net:8080/job/6.1.mos.deploy-deb/1728/

description: updated
Roman Vyalov (r0mikiam)
Changed in fuel:
status: Confirmed → New
assignee: Fuel CI (fuel-ci) → Dmitry Kaigarodеsev (dkaiharodsev)
Revision history for this message
Dmitry Kaigarodеsev (dkaiharodsev) wrote :

solved by updating 'prepare_env' job and venv for systemtests:
http://osci-jenkins.srt.mirantis.net:8080/job/6.1.mos.deploy-deb/1729/console

/home/jenkins/workspace/6.1.mos.deploy-deb/fuel-qa
+ python fuelweb_test/run_tests.py -q --nologcapture --with-xunit --group=smoke_neutron
Create environment and set up master node ... 2016-10-04 08:16:12,459 - INFO nailgun_client.py:28 -- Initiate Nailgun client with url http://10.109.0.2:8000
2016-10-04 08:16:12,459 - INFO http.py:28 -- Initiate HTTPClient with url http://10.109.0.2:8000
2016-10-04 08:16:12,460 - INFO decorators.py:78 --
<<<<<##############################[ setup_master ]##############################>>>>>
Create environment and set up master node

        Snapshot: empty

2016-10-04 08:16:29,770 - INFO environment.py:340 -- Waiting for admin node to start up
2016-10-04 08:16:29,772 - INFO environment.py:342 -- Proceed with installation

Changed in fuel:
status: New → Fix Committed
Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

Another issue came up: deployment fails because of incorrect postfix configuration at the build image step. Looks like fuel's hostname (nailgun..test.domain.local) has a wrong syntax. Logs from astute.log:
Stderr: "Postfix configuration was untouched. If you need to make changes, edit
/etc/postfix/main.cf (and others) as needed. To view Postfix configuration
values, see postconf(1).

After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.

Running newaliases
newaliases: warning: valid_hostname: misplaced delimiter: nailgun..test.domain.local
newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: nailgun..test.domain.local
dpkg: error processing package postfix (--configure):
 subprocess installed post-installation script returned error exit status 75
Errors were encountered while processing:
 postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)"

Example log archive: http://osci-jenkins.srt.mirantis.net:8080/job/6.1.mos.deploy-deb/1730/artifact/fuel-qa/logs/fail_error_deploy_neutron_gre-2016_10_04__09_24_40.tar.xz archive

Changed in fuel:
status: Fix Committed → Confirmed
Changed in fuel:
assignee: Dmitry Kaigarodеsev (dkaiharodsev) → Fuel QA Team (fuel-qa)
Revision history for this message
Nastya Urlapova (aurlapova) wrote :

Deployment failed with some error, qa assignment was removed.

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → nobody
Changed in fuel:
assignee: nobody → Vladimir Khlyunev (vkhlyunev)
description: updated
Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

Setting to fix released as this issue was solved updating fuel-devops on slave nodes.

description: updated
Changed in fuel:
assignee: Vladimir Khlyunev (vkhlyunev) → Alexey Stupnikov (astupnikov)
status: Confirmed → Fix Released
Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

Another issue came up. fuel-qa sets incorrect hostname on fuel node causing postfix to fail. I have opened bug #1630539

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.