2025-04-16 07:01:28,049 - INFO - Reading existing Domain with UUID ff0a6a62-6028-4162-b7f1-646624f57635
2025-04-16 07:01:28,063 - INFO - Using existing domain ['admin_domain'](ff0a6a62-6028-4162-b7f1-646624f57635)
2025-04-16 07:01:28,293 - INFO - Project ctest-TestRoutersBasic-47380403 not found, creating it
2025-04-16 07:01:28,830 - INFO - Created Project:ctest-TestRoutersBasic-47380403, ID : e0489661-d6fe-48ba-9772-a2f20320349e
2025-04-16 07:01:30,885 - INFO - ================================================================================
2025-04-16 07:01:30,885 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-16 07:01:30,885 - INFO - TEST DESCRIPTION : Create an external network, a router
set router-gateway to external network
launch a private network and attach it to router
validate left vm pinging right vm through Snat
2025-04-16 07:01:31,294 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.0.0.249': '0'}} with
2025-04-16 07:01:31,294 - INFO - Initial checks done. Running the testcase now
2025-04-16 07:01:31,294 - INFO -
2025-04-16 07:01:32,144 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-47380403
2025-04-16 07:01:32,252 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-47380403
2025-04-16 07:01:32,636 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-47380403', 'default']}
2025-04-16 07:01:33,170 - DEBUG - Response for create_network : {'network': {'id': '713cfb56-1728-4f89-801a-cea353b672ee', 'name': 'ctest-vn-95424442', 'tenant_id': 'e0489661d6fe48ba9772a2f20320349e', 'project_id': 'e0489661d6fe48ba9772a2f20320349e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-47380403', 'ctest-vn-95424442'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-04-16 07:01:33,466 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd679d1ff-04b7-4617-90a5-46c3e09d02d6', 'name': '', 'tenant_id': 'e0489661d6fe48ba9772a2f20320349e', 'network_id': '713cfb56-1728-4f89-801a-cea353b672ee', 'ip_version': 4, 'cidr': '194.48.242.0/26', 'allocation_pools': [{'start': '194.48.242.2', 'end': '194.48.242.62'}], 'gateway_ip': '194.48.242.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-04-16T07:01:33.304935', 'updated_at': '2025-04-16T07:01:33.304935', 'dns_server_address': '194.48.242.2', 'tags': [], 'project_id': 'e0489661d6fe48ba9772a2f20320349e'}}
2025-04-16 07:01:33,539 - INFO - Created VN ctest-vn-95424442
2025-04-16 07:01:33,596 - DEBUG - VN ctest-vn-95424442 UUID is 713cfb56-1728-4f89-801a-cea353b672ee
2025-04-16 07:01:34,210 - DEBUG - Response for create_network : {'network': {'id': '5fbdf266-466a-48e9-a069-f0a3ad43b593', 'name': 'ctest-ext_vn-94083637', 'tenant_id': 'e0489661d6fe48ba9772a2f20320349e', 'project_id': 'e0489661d6fe48ba9772a2f20320349e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-47380403', 'ctest-ext_vn-94083637'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-04-16 07:01:34,458 - DEBUG - Response for create_subnet : {'subnet': {'id': '923d94dc-c138-443d-8139-1f5596395fee', 'name': '', 'tenant_id': 'e0489661d6fe48ba9772a2f20320349e', 'network_id': '5fbdf266-466a-48e9-a069-f0a3ad43b593', 'ip_version': 4, 'cidr': '178.234.146.0/26', 'allocation_pools': [{'start': '178.234.146.2', 'end': '178.234.146.62'}], 'gateway_ip': '178.234.146.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-04-16T07:01:34.348072', 'updated_at': '2025-04-16T07:01:34.348072', 'dns_server_address': '178.234.146.2', 'tags': [], 'project_id': 'e0489661d6fe48ba9772a2f20320349e'}}
2025-04-16 07:01:34,527 - INFO - Created VN ctest-ext_vn-94083637
2025-04-16 07:01:34,584 - DEBUG - VN ctest-ext_vn-94083637 UUID is 5fbdf266-466a-48e9-a069-f0a3ad43b593
2025-04-16 07:01:34,920 - DEBUG - Services list from nova: [, , ]
2025-04-16 07:01:36,168 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-513-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-513-1)
2025-04-16 07:01:37,639 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-513-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-513-1)
2025-04-16 07:01:37,827 - INFO - Setting gateway for router f34bf6b0-22d7-4988-9ebc-9d9edc8772f4 to network 5fbdf266-466a-48e9-a069-f0a3ad43b593
2025-04-16 07:01:38,053 - INFO - Adding interface with subnet_id d679d1ff-04b7-4617-90a5-46c3e09d02d6, port_id None to router f34bf6b0-22d7-4988-9ebc-9d9edc8772f4
2025-04-16 07:01:38,783 - INFO - Waiting for VM ctest-TestRoutersBasic-47380403-00388271 to be up..
2025-04-16 07:01:38,966 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-16 07:01:44,120 - DEBUG - VM is in ACTIVE state now
2025-04-16 07:01:44,120 - INFO - VM name : ctest-TestRoutersBasic-47380403-00388271
2025-04-16 07:01:44,283 - DEBUG - VM ctest-TestRoutersBasic-47380403-00388271 ID is c133735e-d2b5-44e5-bdb0-350dde83e068
2025-04-16 07:01:44,311 - DEBUG - VM ctest-TestRoutersBasic-47380403-00388271 launched on Node cn-jenkins-deploy-platform-juju-os-513-1
2025-04-16 07:01:44,461 - DEBUG - Requesting: https://10.0.0.249:8082/virtual-machine/c133735e-d2b5-44e5-bdb0-350dde83e068
2025-04-16 07:01:44,864 - DEBUG - Requesting: https://10.0.0.249:8082/virtual-machine/c133735e-d2b5-44e5-bdb0-350dde83e068
2025-04-16 07:01:44,973 - DEBUG - Requesting: https://10.0.0.249:8082/virtual-machine-interface/25040ed1-cd90-49c4-aad4-1429f748c996
2025-04-16 07:01:48,483 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms')
2025-04-16 07:01:48,483 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-47380403-00388271 failed!
2025-04-16 07:01:48,548 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-47380403:ctest-vn-95424442 is 194.48.242.1 and allocation pool is NOT set
2025-04-16 07:01:50,650 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=4.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.81 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.810/3.418/4.027/0.608 ms')
2025-04-16 07:01:50,650 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-47380403-00388271 passed
2025-04-16 07:01:50,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-16 07:01:50,805 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-47380403-00388271, IP 194.48.242.3, Port 22
2025-04-16 07:01:50,899 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-04-16 07:01:51,046 - DEBUG - VM ctest-TestRoutersBasic-47380403-00388271 is NOT ready for SSH connections, VM status: ACTIVE
2025-04-16 07:01:56,048 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-16 07:01:56,048 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-47380403-00388271, IP 194.48.242.3, Port 22
2025-04-16 07:01:56,263 - DEBUG - VM ctest-TestRoutersBasic-47380403-00388271 is ready for SSH connections
2025-04-16 07:01:56,264 - INFO - Waiting for VM ctest-TestRoutersBasic-47380403-13657935 to be up..
2025-04-16 07:01:56,414 - DEBUG - VM is in ACTIVE state now
2025-04-16 07:01:56,414 - INFO - VM name : ctest-TestRoutersBasic-47380403-13657935
2025-04-16 07:01:56,565 - DEBUG - VM ctest-TestRoutersBasic-47380403-13657935 ID is 4be08adf-2452-4ce8-80c8-dcde986dd536
2025-04-16 07:01:56,565 - DEBUG - VM ctest-TestRoutersBasic-47380403-13657935 launched on Node cn-jenkins-deploy-platform-juju-os-513-1
2025-04-16 07:01:56,717 - DEBUG - Requesting: https://10.0.0.249:8082/virtual-machine/4be08adf-2452-4ce8-80c8-dcde986dd536
2025-04-16 07:01:56,773 - DEBUG - Requesting: https://10.0.0.249:8082/virtual-machine-interface/48a52e11-0926-4720-a871-986b94181150
2025-04-16 07:01:58,240 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.450 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.450/1.885/3.320/1.435 ms')
2025-04-16 07:01:58,240 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-47380403-13657935 passed
2025-04-16 07:01:58,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-16 07:01:58,397 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-47380403-13657935, IP 178.234.146.3, Port 22
2025-04-16 07:01:58,610 - DEBUG - VM ctest-TestRoutersBasic-47380403-13657935 is ready for SSH connections
2025-04-16 07:01:58,611 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-16 07:01:58,612 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.234.146.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-04-16 07:01:58,612 - DEBUG - ping -s 56 -c 3 -W 1 178.234.146.3
2025-04-16 07:02:02,405 - DEBUG - PING 178.234.146.3 (178.234.146.3): 56 data bytes
64 bytes from 178.234.146.3: seq=0 ttl=62 time=6.967 ms
64 bytes from 178.234.146.3: seq=1 ttl=62 time=1.174 ms
64 bytes from 178.234.146.3: seq=2 ttl=62 time=0.937 ms
--- 178.234.146.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.937/3.026/6.967 ms
2025-04-16 07:02:02,405 - INFO - Ping to IP 178.234.146.3 from VM ctest-TestRoutersBasic-47380403-00388271 passed
2025-04-16 07:02:02,405 - INFO - Deleting interface with subnet_id d679d1ff-04b7-4617-90a5-46c3e09d02d6, port_id None from router f34bf6b0-22d7-4988-9ebc-9d9edc8772f4
2025-04-16 07:02:02,869 - INFO - Deleting VM ctest-TestRoutersBasic-47380403-13657935
2025-04-16 07:02:02,996 - INFO - Deleting VM ctest-TestRoutersBasic-47380403-00388271
2025-04-16 07:02:03,130 - INFO - Deleting VN ctest-ext_vn-94083637
2025-04-16 07:02:03,360 - DEBUG - VN 5fbdf266-466a-48e9-a069-f0a3ad43b593 still in use: Unable to complete operation on network 5fbdf266-466a-48e9-a069-f0a3ad43b593. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5a85f0f7-726c-4a75-b1e4-35ed792616b9']
2025-04-16 07:02:03,360 - WARNING - Deleting VN ctest-ext_vn-94083637 failed..Will retry
2025-04-16 07:02:05,556 - DEBUG - Response for deleting network ()
2025-04-16 07:02:05,556 - INFO - Deleting VN ctest-vn-95424442
2025-04-16 07:02:05,758 - DEBUG - Response for deleting network ()
2025-04-16 07:02:06,149 - DEBUG - No XMPP flaps were noticed during the test
2025-04-16 07:02:06,149 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:36]
2025-04-16 07:02:06,150 - INFO - --------------------------------------------------------------------------------
2025-04-16 07:02:06,988 - INFO - Deleted project: ctest-TestRoutersBasic-47380403, ID : e0489661-d6fe-48ba-9772-a2f20320349e