← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2095091] [NEW] test_metadata_ipv6_only_network failed looking for QUERY_MSG

 

Public bug reported:

Seen once in
https://33d4ca1eb24f74c1535d-46fef9f34fd106c3774e2eeeca119539.ssl.cf5.rackcdn.com/938670/1/gate/neutron-
tempest-plugin-openvswitch/878b8bb/testr_results.html

Failed as:-
Traceback (most recent call last):
  File "/opt/stack/tempest/.tox/tempest/lib/python3.12/site-packages/neutron_tempest_plugin/scenario/test_metadata.py", line 212, in test_metadata_ipv6_only_network
    console_output, pos = self._wait_for_metadata_query_msg(vm)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/stack/tempest/.tox/tempest/lib/python3.12/site-packages/neutron_tempest_plugin/scenario/test_metadata.py", line 134, in _wait_for_metadata_query_msg
    self.fail('Failed to find metadata query message in console log %s' %
  File "/usr/lib/python3.12/unittest/case.py", line 715, in fail
    raise self.failureException(msg)
AssertionError: Failed to find metadata query message in console log Linux version 5.4.0-1125-kvm (buildd@lcy02-amd64-046) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2)) #133-Ubuntu SMP Wed Dec 11 00:44:29 UTC 2024 (Ubuntu 5.4.0-1125.133-kvm 5.4.284)
Command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-1125-kvm root=PARTUUID=7fe28340-3ee5-4211-b032-1e9220b0426d ro console=tty1 console=ttyS0 panic=-1
....

Ubuntu 20.04.6 LTS tempest-server-test-2022391022 ttyS0

tempest-server-test-2022391022 login: cloud-init[499]: Cloud-init v. 24.4-0ubuntu1~20.04.1 running 'modules:config' at Wed, 08 Jan 2025 18:52:15 +0000. Up 167.81 seconds.
cloud-init[515]:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
cloud-init[515]:                                  Dload  Upload   Total   Spent    Left  Speed
cloud-init[515]:   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100   105  100   105    0     0     88      0  0:00:01  0:00:01 --:--:--    89100   105  100   105    0     0     88      0  0:00:01  0:00:01 --:--:--    89
cloud-init[515]: 2012-08-10
cloud-init[515]: 2013-04-04
cloud-init[515]: 2013-10-17
cloud-init[515]: 2015-10-15
cloud-init[515]: 2016-06-30
cloud-init[515]: 2016-10-06ci-info: +++++++++++++++++++++++++++++++++++Authorized keys from /home/ubuntu/.ssh/authorized_keys for user ubuntu++++++++++++++++++++++++++++++++++++

cloud-init[515]: 2017-02-22
ci-info: +---------------------+-------------------------------------------------------------------------------------------------+---------+---------+
cloud-init[515]: 2018-08-27
cloud-init[515]: 2020-10-14
ci-info: |       Keytype       |                                       Fingerprint (sha256)                                      | Options | Comment |
cloud-init[515]: latestQueried th]: e metadata service over IPv6ci-info: +---------------------+-------------------------------------------------------------------------------------------------+---------+---------+

ci-info: | ecdsa-sha2-nistp384 | 4d:6f:f9:b2:63:70:4f:01:01:6d:d4:03:ef:89:50:44:61:ab:79:d7:21:28:e9:af:e1:38:09:93:bd:52:35:71 |    -    |    -    |
ci-info: +---------------------+-------------------------------------------------------------------------------------------------+---------+---------+
<14>Jan  8 18:52:18 cloud-init: #############################################################
<14>Jan  8 18:52:18 cloud-init: -----BEGIN SSH HOST KEY FINGERPRINTS-----
<14>Jan  8 18:52:18 cloud-init: 256 SHA256:wm8QhQeUnPu6tWDEK9rxqEn0Q6DhmY0vDDPG206HZdA root@tempest-server-test-2022391022 (ECDSA)
<14>Jan  8 18:52:18 cloud-init: 256 SHA256:7fJmgHT+a5SsdCQ6oajGKEiCmUlB/m1M95MaOkpsB1U root@tempest-server-test-2022391022 (ED25519)
<14>Jan  8 18:52:18 cloud-init: 3072 SHA256:vm5HijVVr2HyD+2bKKERSafMxENavL2kfNTx0OCu5RQ root@tempest-server-test-2022391022 (RSA)
<14>Jan  8 18:52:18 cloud-init: -----END SSH HOST KEY FINGERPRINTS-----
<14>Jan  8 18:52:18 cloud-init: #############################################################
-----BEGIN SSH HOST KEY KEYS-----
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGc66cRV62RsgtiCXl3KesUdVpad4gHPl4QLSPFCYo7p1NM/OYRNRwCF2pJBPcSwtvboNST5IEYHurZ1CC/6o6M= root@tempest-server-test-2022391022
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPn0fvloHs5p2Ta/G3LF5PqJjIpnLn0n+ww6hHLYCbN2 root@tempest-server-test-2022391022
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDXt48Gu6T18bHjZSRb02ELcpAjhWnXt8/v7MihnSmATu+Fqh3FriSTsxRW95Tt381XRkM8Q61Kg+kaEe3S4KZcktt2y2pR4io4TnLnDJbNEXuVr7zvk9cDGVosbTxKMmrc4AqT9Hq9/WQ7iaHvpbPjh3S8MZPmf5vWQlaG4os1fSxqKotZrpjQgALo46GbfDaxuaKMDq7ZU43V/9ImFjh1sbcttFJBWQ1pCCbMq4CzD+aoxroGRWhHy2vBSZcDLE9sZWGIxDpmN/7EhGYaFz6nONoZM0DUuoiZUFw2Tny83PmQTADdxcf2uKNe6P6ReJ36r9VVr6GalqPdjBDY8KC12oMbyxDlWHrJlVXP1t+QfORlsm6Ow6i0RnOJT5B3SrPZqGj96qJ7ZydW5hWZWjckQQO0Ykyh1rgXPmoSNSqiz7DlbptoHCk8l1l9ec+SxEAOTkHjNIuMl0cIVhu4EieaMZaAWTHPJjkjckgFoHfsJTmCt0wEZw0IGZCPkaInnJ8= root@tempest-server-test-2022391022
-----END SSH HOST KEY KEYS-----
cloud-init[515]: Cloud-init v. 24.4-0ubuntu1~20.04.1 running 'modules:final' at Wed, 08 Jan 2025 18:52:17 +0000. Up 169.65 seconds.
cloud-init[515]: Cloud-init v. 24.4-0ubuntu1~20.04.1 finished at Wed, 08 Jan 2025 18:52:19 +0000. Datasource DataSourceConfigDrive [net,ver=2][source=/dev/sr0].  Up 171.45 seconds


Looks the console output got malformed and resulting to string check failure for QUERY_MSG = 'Queried the metadata service over IPv6'

So we should see if it can be improved.

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2095091

Title:
  test_metadata_ipv6_only_network failed looking for QUERY_MSG

Status in neutron:
  New

Bug description:
  Seen once in
  https://33d4ca1eb24f74c1535d-46fef9f34fd106c3774e2eeeca119539.ssl.cf5.rackcdn.com/938670/1/gate/neutron-
  tempest-plugin-openvswitch/878b8bb/testr_results.html

  Failed as:-
  Traceback (most recent call last):
    File "/opt/stack/tempest/.tox/tempest/lib/python3.12/site-packages/neutron_tempest_plugin/scenario/test_metadata.py", line 212, in test_metadata_ipv6_only_network
      console_output, pos = self._wait_for_metadata_query_msg(vm)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/opt/stack/tempest/.tox/tempest/lib/python3.12/site-packages/neutron_tempest_plugin/scenario/test_metadata.py", line 134, in _wait_for_metadata_query_msg
      self.fail('Failed to find metadata query message in console log %s' %
    File "/usr/lib/python3.12/unittest/case.py", line 715, in fail
      raise self.failureException(msg)
  AssertionError: Failed to find metadata query message in console log Linux version 5.4.0-1125-kvm (buildd@lcy02-amd64-046) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2)) #133-Ubuntu SMP Wed Dec 11 00:44:29 UTC 2024 (Ubuntu 5.4.0-1125.133-kvm 5.4.284)
  Command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-1125-kvm root=PARTUUID=7fe28340-3ee5-4211-b032-1e9220b0426d ro console=tty1 console=ttyS0 panic=-1
  ....

  Ubuntu 20.04.6 LTS tempest-server-test-2022391022 ttyS0

  tempest-server-test-2022391022 login: cloud-init[499]: Cloud-init v. 24.4-0ubuntu1~20.04.1 running 'modules:config' at Wed, 08 Jan 2025 18:52:15 +0000. Up 167.81 seconds.
  cloud-init[515]:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  cloud-init[515]:                                  Dload  Upload   Total   Spent    Left  Speed
  cloud-init[515]:   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100   105  100   105    0     0     88      0  0:00:01  0:00:01 --:--:--    89100   105  100   105    0     0     88      0  0:00:01  0:00:01 --:--:--    89
  cloud-init[515]: 2012-08-10
  cloud-init[515]: 2013-04-04
  cloud-init[515]: 2013-10-17
  cloud-init[515]: 2015-10-15
  cloud-init[515]: 2016-06-30
  cloud-init[515]: 2016-10-06ci-info: +++++++++++++++++++++++++++++++++++Authorized keys from /home/ubuntu/.ssh/authorized_keys for user ubuntu++++++++++++++++++++++++++++++++++++

  cloud-init[515]: 2017-02-22
  ci-info: +---------------------+-------------------------------------------------------------------------------------------------+---------+---------+
  cloud-init[515]: 2018-08-27
  cloud-init[515]: 2020-10-14
  ci-info: |       Keytype       |                                       Fingerprint (sha256)                                      | Options | Comment |
  cloud-init[515]: latestQueried th]: e metadata service over IPv6ci-info: +---------------------+-------------------------------------------------------------------------------------------------+---------+---------+

  ci-info: | ecdsa-sha2-nistp384 | 4d:6f:f9:b2:63:70:4f:01:01:6d:d4:03:ef:89:50:44:61:ab:79:d7:21:28:e9:af:e1:38:09:93:bd:52:35:71 |    -    |    -    |
  ci-info: +---------------------+-------------------------------------------------------------------------------------------------+---------+---------+
  <14>Jan  8 18:52:18 cloud-init: #############################################################
  <14>Jan  8 18:52:18 cloud-init: -----BEGIN SSH HOST KEY FINGERPRINTS-----
  <14>Jan  8 18:52:18 cloud-init: 256 SHA256:wm8QhQeUnPu6tWDEK9rxqEn0Q6DhmY0vDDPG206HZdA root@tempest-server-test-2022391022 (ECDSA)
  <14>Jan  8 18:52:18 cloud-init: 256 SHA256:7fJmgHT+a5SsdCQ6oajGKEiCmUlB/m1M95MaOkpsB1U root@tempest-server-test-2022391022 (ED25519)
  <14>Jan  8 18:52:18 cloud-init: 3072 SHA256:vm5HijVVr2HyD+2bKKERSafMxENavL2kfNTx0OCu5RQ root@tempest-server-test-2022391022 (RSA)
  <14>Jan  8 18:52:18 cloud-init: -----END SSH HOST KEY FINGERPRINTS-----
  <14>Jan  8 18:52:18 cloud-init: #############################################################
  -----BEGIN SSH HOST KEY KEYS-----
  ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGc66cRV62RsgtiCXl3KesUdVpad4gHPl4QLSPFCYo7p1NM/OYRNRwCF2pJBPcSwtvboNST5IEYHurZ1CC/6o6M= root@tempest-server-test-2022391022
  ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPn0fvloHs5p2Ta/G3LF5PqJjIpnLn0n+ww6hHLYCbN2 root@tempest-server-test-2022391022
  ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDXt48Gu6T18bHjZSRb02ELcpAjhWnXt8/v7MihnSmATu+Fqh3FriSTsxRW95Tt381XRkM8Q61Kg+kaEe3S4KZcktt2y2pR4io4TnLnDJbNEXuVr7zvk9cDGVosbTxKMmrc4AqT9Hq9/WQ7iaHvpbPjh3S8MZPmf5vWQlaG4os1fSxqKotZrpjQgALo46GbfDaxuaKMDq7ZU43V/9ImFjh1sbcttFJBWQ1pCCbMq4CzD+aoxroGRWhHy2vBSZcDLE9sZWGIxDpmN/7EhGYaFz6nONoZM0DUuoiZUFw2Tny83PmQTADdxcf2uKNe6P6ReJ36r9VVr6GalqPdjBDY8KC12oMbyxDlWHrJlVXP1t+QfORlsm6Ow6i0RnOJT5B3SrPZqGj96qJ7ZydW5hWZWjckQQO0Ykyh1rgXPmoSNSqiz7DlbptoHCk8l1l9ec+SxEAOTkHjNIuMl0cIVhu4EieaMZaAWTHPJjkjckgFoHfsJTmCt0wEZw0IGZCPkaInnJ8= root@tempest-server-test-2022391022
  -----END SSH HOST KEY KEYS-----
  cloud-init[515]: Cloud-init v. 24.4-0ubuntu1~20.04.1 running 'modules:final' at Wed, 08 Jan 2025 18:52:17 +0000. Up 169.65 seconds.
  cloud-init[515]: Cloud-init v. 24.4-0ubuntu1~20.04.1 finished at Wed, 08 Jan 2025 18:52:19 +0000. Datasource DataSourceConfigDrive [net,ver=2][source=/dev/sr0].  Up 171.45 seconds

  
  Looks the console output got malformed and resulting to string check failure for QUERY_MSG = 'Queried the metadata service over IPv6'

  So we should see if it can be improved.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2095091/+subscriptions