test_host_name_is_same_as_server_name failure for v1 job

Bug #1513312 reported by YAMAMOTO Takashi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-midonet
Fix Released
High
YAMAMOTO Takashi

Bug Description

the failure rate of test_host_name_is_same_as_server_name on v1 job seems high.

Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

typical logs:

ft1.319: tempest.api.compute.servers.test_create_server.ServersTestJSON.test_host_name_is_same_as_server_name[id-ac1ad47f-984b-4441-9274-c9079b7a0666]_StringException: Empty attachments:
  stderr
  stdout

pythonlogging:'': {{{
2015-11-06 09:40:07,932 31595 DEBUG [tempest.common.utils.linux.remote_client] Remote command: set -eu -o pipefail; PATH=$PATH:/sbin; hostname
2015-11-06 09:40:07,932 31595 INFO [tempest_lib.common.ssh] Creating ssh connection to '172.24.5.17' as 'cirros' with public key authentication
2015-11-06 09:40:22,257 31595 INFO [paramiko.transport] Connected (version 2.0, client dropbear_2012.55)
}}}

Traceback (most recent call last):
  File "tempest/api/compute/servers/test_create_server.py", line 135, in test_host_name_is_same_as_server_name
    self.assertTrue(linux_client.hostname_equals_servername(self.name))
  File "tempest/common/utils/linux/remote_client.py", line 66, in hostname_equals_servername
    actual_hostname = self.exec_command("hostname").rstrip()
  File "tempest/common/utils/linux/remote_client.py", line 56, in exec_command
    return self.ssh_client.exec_command(cmd)
  File "/opt/stack/new/tempest/.tox/all/local/lib/python2.7/site-packages/tempest_lib/common/ssh.py", line 115, in exec_command
    ssh = self._get_ssh_connection()
  File "/opt/stack/new/tempest/.tox/all/local/lib/python2.7/site-packages/tempest_lib/common/ssh.py", line 75, in _get_ssh_connection
    timeout=self.channel_timeout, pkey=self.pkey)
  File "/opt/stack/new/tempest/.tox/all/local/lib/python2.7/site-packages/paramiko/client.py", line 325, in connect
    t.start_client()
  File "/opt/stack/new/tempest/.tox/all/local/lib/python2.7/site-packages/paramiko/transport.py", line 492, in start_client
    raise e
EOFError

Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

i tried to reproduce this on my local env but no luck.

Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
Changed in networking-midonet:
importance: Undecided → Medium
Revision history for this message
Ryu Ishimoto (ryu-midokura) wrote :

Still waiting for this to be merged: https://review.gerrithub.io/#/c/253835/

Changed in networking-midonet:
status: New → Confirmed
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

make importance high as this is a gate problem

Changed in networking-midonet:
importance: Medium → High
milestone: none → 2.0.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to networking-midonet (master)

Reviewed: https://review.openstack.org/254542
Committed: https://git.openstack.org/cgit/openstack/networking-midonet/commit/?id=45b6caf5db633a5cf74e5ff076a2219bb83d454f
Submitter: Jenkins
Branch: master

commit 45b6caf5db633a5cf74e5ff076a2219bb83d454f
Author: YAMAMOTO Takashi <email address hidden>
Date: Tue Dec 8 13:41:28 2015 +0900

    devstackgaterc: Skip a few known broken test cases

    To avoid hiding other problems.

    Related-Bug: #1513312
    Related-Bug: #1521185
    Change-Id: I02ed929f80a0985d9af899f560ec3032dcfaa7f0

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to networking-midonet (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/258798

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to networking-midonet (master)

Reviewed: https://review.openstack.org/258798
Committed: https://git.openstack.org/cgit/openstack/networking-midonet/commit/?id=c5aa9784e18bf6c6b54406d1074e8a42702dfe0b
Submitter: Jenkins
Branch: master

commit c5aa9784e18bf6c6b54406d1074e8a42702dfe0b
Author: YAMAMOTO Takashi <email address hidden>
Date: Thu Dec 17 13:48:09 2015 +0900

    devstackgaterc: Enable test_host_name_is_same_as_server_name

    Re-enable the test case after the fix of the suspect MidoNet bug
    has been merged to the relevant branch. [1]

    This partially reverts I02ed929f80a0985d9af899f560ec3032dcfaa7f0 .

    [1] https://review.gerrithub.io/#/c/253835/

    Related-Bug: #1513312
    Change-Id: Ieea1518af3bc9487d5a037f313ddd8fd5610f54e

Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

i'm investigating logs

Changed in networking-midonet:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to networking-midonet (stable/liberty)

Related fix proposed to branch: stable/liberty
Review: https://review.openstack.org/281698

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to networking-midonet (stable/liberty)

Reviewed: https://review.openstack.org/281698
Committed: https://git.openstack.org/cgit/openstack/networking-midonet/commit/?id=e5a8cdf3eb54bbff2fd66031f61b97e1372ef102
Submitter: Jenkins
Branch: stable/liberty

commit e5a8cdf3eb54bbff2fd66031f61b97e1372ef102
Author: YAMAMOTO Takashi <email address hidden>
Date: Tue Dec 8 13:41:28 2015 +0900

    devstackgaterc: Skip a few known broken test cases

    To avoid hiding other problems.

    Related-Bug: #1513312
    Related-Bug: #1521185
    Change-Id: I02ed929f80a0985d9af899f560ec3032dcfaa7f0
    (cherry picked from commit 45b6caf5db633a5cf74e5ff076a2219bb83d454f)

tags: added: in-stable-liberty
Changed in networking-midonet:
milestone: 2.0.0 → 3.0.0
Changed in networking-midonet:
milestone: 3.0.0 → 4.0.0
Changed in networking-midonet:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-midonet (master)

Reviewed: https://review.openstack.org/409622
Committed: https://git.openstack.org/cgit/openstack/networking-midonet/commit/?id=30ca4f10b406866a292959ed5483037970b4432b
Submitter: Jenkins
Branch: master

commit 30ca4f10b406866a292959ed5483037970b4432b
Author: YAMAMOTO Takashi <email address hidden>
Date: Mon Dec 12 15:13:09 2016 +0900

    Revert "Revert "devstackgaterc: Enable test_host_name_is_same_as_server_name""

    This reverts commit ae17fab7929bbc8c3a6ca3efdcd5db98e4af6855.

    v1 plugin has been removed.

    Closes-Bug: #1513312
    Change-Id: Id588b66e0330600d1354cfd0d3e908900af0e618

Changed in networking-midonet:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-midonet 4.0.0

This issue was fixed in the openstack/networking-midonet 4.0.0 release.

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.