2025-04-28 15:55:43,861 - INFO - Domain Default found not creating
2025-04-28 15:55:43,973 - INFO - Project ctest-TestRoutersBasic-96900948 not found, creating it
2025-04-28 15:55:44,476 - INFO - Created Project:ctest-TestRoutersBasic-96900948, ID : ca30885c-bace-448e-8b3b-19802e7135be
2025-04-28 15:55:45,781 - INFO - ================================================================================
2025-04-28 15:55:45,781 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-28 15:55:45,781 - 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-28 15:55:46,041 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with
2025-04-28 15:55:46,041 - INFO - Initial checks done. Running the testcase now
2025-04-28 15:55:46,041 - INFO -
2025-04-28 15:55:46,721 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-96900948
2025-04-28 15:55:46,820 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-96900948
2025-04-28 15:55:47,139 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96900948', 'default']}
2025-04-28 15:55:47,411 - DEBUG - Response for create_network : {'network': {'id': 'ed1a6734-8b6d-48f4-92da-dcc931c09195', 'name': 'ctest-vn-79109829', 'tenant_id': 'ca30885cbace448e8b3b19802e7135be', 'project_id': 'ca30885cbace448e8b3b19802e7135be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96900948', 'ctest-vn-79109829'], 'port_security_enabled': True, 'description': ''}}
2025-04-28 15:55:47,618 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1483ab8-c28d-413c-9f34-808f61bdee1b', 'name': '', 'tenant_id': 'ca30885cbace448e8b3b19802e7135be', 'network_id': 'ed1a6734-8b6d-48f4-92da-dcc931c09195', 'ip_version': 4, 'cidr': '60.151.250.128/26', 'allocation_pools': [{'start': '60.151.250.130', 'end': '60.151.250.190'}], 'gateway_ip': '60.151.250.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.151.250.130', 'tags': [], 'project_id': 'ca30885cbace448e8b3b19802e7135be'}}
2025-04-28 15:55:47,637 - INFO - Created VN ctest-vn-79109829
2025-04-28 15:55:47,687 - DEBUG - VN ctest-vn-79109829 UUID is ed1a6734-8b6d-48f4-92da-dcc931c09195
2025-04-28 15:55:48,019 - DEBUG - Response for create_network : {'network': {'id': '5ec67585-d89f-4c7a-9125-b14104657091', 'name': 'ctest-ext_vn-78883661', 'tenant_id': 'ca30885cbace448e8b3b19802e7135be', 'project_id': 'ca30885cbace448e8b3b19802e7135be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96900948', 'ctest-ext_vn-78883661'], 'port_security_enabled': True, 'description': ''}}
2025-04-28 15:55:48,206 - DEBUG - Response for create_subnet : {'subnet': {'id': '09cd59d7-9eb4-4c4c-9670-b303e0f3847f', 'name': '', 'tenant_id': 'ca30885cbace448e8b3b19802e7135be', 'network_id': '5ec67585-d89f-4c7a-9125-b14104657091', 'ip_version': 4, 'cidr': '93.1.80.64/26', 'allocation_pools': [{'start': '93.1.80.66', 'end': '93.1.80.126'}], 'gateway_ip': '93.1.80.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.1.80.66', 'tags': [], 'project_id': 'ca30885cbace448e8b3b19802e7135be'}}
2025-04-28 15:55:48,221 - INFO - Created VN ctest-ext_vn-78883661
2025-04-28 15:55:48,271 - DEBUG - VN ctest-ext_vn-78883661 UUID is 5ec67585-d89f-4c7a-9125-b14104657091
2025-04-28 15:55:48,474 - DEBUG - Services list from nova: [, , ]
2025-04-28 15:55:49,417 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3241-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3241-1)
2025-04-28 15:55:50,458 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3241-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3241-1)
2025-04-28 15:55:50,531 - INFO - Setting gateway for router 31d2cd96-5f87-4a39-9eb4-66213c395a52 to network 5ec67585-d89f-4c7a-9125-b14104657091
2025-04-28 15:55:50,592 - INFO - Adding interface with subnet_id e1483ab8-c28d-413c-9f34-808f61bdee1b, port_id None to router 31d2cd96-5f87-4a39-9eb4-66213c395a52
2025-04-28 15:55:50,911 - INFO - Waiting for VM ctest-TestRoutersBasic-96900948-03536133 to be up..
2025-04-28 15:55:51,097 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-28 15:55:56,166 - DEBUG - VM is in ACTIVE state now
2025-04-28 15:55:56,166 - INFO - VM name : ctest-TestRoutersBasic-96900948-03536133
2025-04-28 15:55:56,229 - DEBUG - VM ctest-TestRoutersBasic-96900948-03536133 ID is 2a7ebe81-a89c-4403-a1a2-8c8223a823fb
2025-04-28 15:55:56,246 - DEBUG - VM ctest-TestRoutersBasic-96900948-03536133 launched on Node cn-jenkins-deploy-platform-ansible-os-3241-1
2025-04-28 15:55:56,310 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2a7ebe81-a89c-4403-a1a2-8c8223a823fb
2025-04-28 15:55:56,596 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2a7ebe81-a89c-4403-a1a2-8c8223a823fb
2025-04-28 15:55:56,626 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0226385c-8ac3-4c6a-befb-81e34d07e66a
2025-04-28 15:55:59,878 - 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 1012ms')
2025-04-28 15:55:59,878 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96900948-03536133 failed!
2025-04-28 15:55:59,935 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-96900948:ctest-vn-79109829 is 60.151.250.129 and allocation pool is NOT set
2025-04-28 15:56:01,995 - 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=3.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.457 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.457/2.026/3.596/1.569 ms')
2025-04-28 15:56:01,995 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96900948-03536133 passed
2025-04-28 15:56:02,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-28 15:56:02,144 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96900948-03536133, IP 60.151.250.131, Port 22
2025-04-28 15:56:02,295 - DEBUG - VM ctest-TestRoutersBasic-96900948-03536133 is ready for SSH connections
2025-04-28 15:56:02,295 - INFO - Waiting for VM ctest-TestRoutersBasic-96900948-61265020 to be up..
2025-04-28 15:56:02,359 - DEBUG - VM is in ACTIVE state now
2025-04-28 15:56:02,359 - INFO - VM name : ctest-TestRoutersBasic-96900948-61265020
2025-04-28 15:56:02,422 - DEBUG - VM ctest-TestRoutersBasic-96900948-61265020 ID is e3bfceb4-075f-48c9-bfe4-14e26cfc3083
2025-04-28 15:56:02,422 - DEBUG - VM ctest-TestRoutersBasic-96900948-61265020 launched on Node cn-jenkins-deploy-platform-ansible-os-3241-1
2025-04-28 15:56:02,486 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e3bfceb4-075f-48c9-bfe4-14e26cfc3083
2025-04-28 15:56:02,494 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6afa5817-6e9f-4428-86f6-8fd8dabbfc5d
2025-04-28 15:56:03,729 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.411 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.411/1.917/3.424/1.506 ms')
2025-04-28 15:56:03,729 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-96900948-61265020 passed
2025-04-28 15:56:03,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-28 15:56:03,880 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96900948-61265020, IP 93.1.80.67, Port 22
2025-04-28 15:56:04,031 - DEBUG - VM ctest-TestRoutersBasic-96900948-61265020 is ready for SSH connections
2025-04-28 15:56:04,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-28 15:56:04,031 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.1.80.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-04-28 15:56:04,031 - DEBUG - ping -s 56 -c 3 -W 1 93.1.80.67
2025-04-28 15:56:07,946 - DEBUG - PING 93.1.80.67 (93.1.80.67): 56 data bytes
64 bytes from 93.1.80.67: seq=0 ttl=62 time=5.702 ms
64 bytes from 93.1.80.67: seq=1 ttl=62 time=1.001 ms
64 bytes from 93.1.80.67: seq=2 ttl=62 time=0.741 ms
--- 93.1.80.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.741/2.481/5.702 ms
2025-04-28 15:56:07,947 - INFO - Ping to IP 93.1.80.67 from VM ctest-TestRoutersBasic-96900948-03536133 passed
2025-04-28 15:56:07,947 - INFO - Deleting interface with subnet_id e1483ab8-c28d-413c-9f34-808f61bdee1b, port_id None from router 31d2cd96-5f87-4a39-9eb4-66213c395a52
2025-04-28 15:56:08,138 - INFO - Deleting VM ctest-TestRoutersBasic-96900948-61265020
2025-04-28 15:56:08,195 - INFO - Deleting VM ctest-TestRoutersBasic-96900948-03536133
2025-04-28 15:56:08,260 - INFO - Deleting VN ctest-ext_vn-78883661
2025-04-28 15:56:08,324 - DEBUG - VN 5ec67585-d89f-4c7a-9125-b14104657091 still in use: Unable to complete operation on network 5ec67585-d89f-4c7a-9125-b14104657091. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-76b9042c-ac73-4b34-a906-f1ca4b18fffb']
2025-04-28 15:56:08,324 - WARNING - Deleting VN ctest-ext_vn-78883661 failed..Will retry
2025-04-28 15:56:10,426 - DEBUG - Response for deleting network ()
2025-04-28 15:56:10,426 - INFO - Deleting VN ctest-vn-79109829
2025-04-28 15:56:10,517 - DEBUG - Response for deleting network ()
2025-04-28 15:56:10,768 - DEBUG - No XMPP flaps were noticed during the test
2025-04-28 15:56:10,768 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-04-28 15:56:10,768 - INFO - --------------------------------------------------------------------------------
2025-04-28 15:56:11,402 - INFO - Deleted project: ctest-TestRoutersBasic-96900948, ID : ca30885c-bace-448e-8b3b-19802e7135be