2025-04-25 00:25:47,058 - INFO - Domain Default found not creating
2025-04-25 00:25:47,185 - INFO - Project ctest-TestRoutersBasic-57352774 not found, creating it
2025-04-25 00:25:47,657 - INFO - Created Project:ctest-TestRoutersBasic-57352774, ID : 306339f6-2ecc-4993-8f55-fdb9540a87a5
2025-04-25 00:25:48,988 - INFO - ================================================================================
2025-04-25 00:25:48,988 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-25 00:25:48,988 - 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-25 00:25:49,246 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.254': '0'}} with
2025-04-25 00:25:49,246 - INFO - Initial checks done. Running the testcase now
2025-04-25 00:25:49,246 - INFO -
2025-04-25 00:25:49,927 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-57352774
2025-04-25 00:25:50,021 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-57352774
2025-04-25 00:25:50,341 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57352774', 'default']}
2025-04-25 00:25:50,618 - DEBUG - Response for create_network : {'network': {'id': '2bbec6d5-b81c-49ca-a6c8-a34b55c731ba', 'name': 'ctest-vn-52219887', 'tenant_id': '306339f62ecc49938f55fdb9540a87a5', 'project_id': '306339f62ecc49938f55fdb9540a87a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57352774', 'ctest-vn-52219887'], 'port_security_enabled': True, 'description': ''}}
2025-04-25 00:25:50,753 - DEBUG - Response for create_subnet : {'subnet': {'id': '535d9d66-8f6b-49b4-8ab8-e3c79c4af517', 'name': '', 'tenant_id': '306339f62ecc49938f55fdb9540a87a5', 'network_id': '2bbec6d5-b81c-49ca-a6c8-a34b55c731ba', 'ip_version': 4, 'cidr': '43.72.123.128/26', 'allocation_pools': [{'start': '43.72.123.130', 'end': '43.72.123.190'}], 'gateway_ip': '43.72.123.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.72.123.130', 'tags': [], 'project_id': '306339f62ecc49938f55fdb9540a87a5'}}
2025-04-25 00:25:50,770 - INFO - Created VN ctest-vn-52219887
2025-04-25 00:25:50,825 - DEBUG - VN ctest-vn-52219887 UUID is 2bbec6d5-b81c-49ca-a6c8-a34b55c731ba
2025-04-25 00:25:51,130 - DEBUG - Response for create_network : {'network': {'id': '4cc579c4-a141-4061-8a82-e98b2c19535e', 'name': 'ctest-ext_vn-17732754', 'tenant_id': '306339f62ecc49938f55fdb9540a87a5', 'project_id': '306339f62ecc49938f55fdb9540a87a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57352774', 'ctest-ext_vn-17732754'], 'port_security_enabled': True, 'description': ''}}
2025-04-25 00:25:51,315 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a077d80-c0bb-4d14-963e-8e545ccfb716', 'name': '', 'tenant_id': '306339f62ecc49938f55fdb9540a87a5', 'network_id': '4cc579c4-a141-4061-8a82-e98b2c19535e', 'ip_version': 4, 'cidr': '199.65.60.0/26', 'allocation_pools': [{'start': '199.65.60.2', 'end': '199.65.60.62'}], 'gateway_ip': '199.65.60.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.65.60.2', 'tags': [], 'project_id': '306339f62ecc49938f55fdb9540a87a5'}}
2025-04-25 00:25:51,331 - INFO - Created VN ctest-ext_vn-17732754
2025-04-25 00:25:51,381 - DEBUG - VN ctest-ext_vn-17732754 UUID is 4cc579c4-a141-4061-8a82-e98b2c19535e
2025-04-25 00:25:51,568 - DEBUG - Services list from nova: [, , ]
2025-04-25 00:25:52,525 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3212-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3212-1)
2025-04-25 00:25:53,611 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3212-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3212-1)
2025-04-25 00:25:53,679 - INFO - Setting gateway for router e6a77575-dfb6-435a-9192-abeb78588035 to network 4cc579c4-a141-4061-8a82-e98b2c19535e
2025-04-25 00:25:53,747 - INFO - Adding interface with subnet_id 535d9d66-8f6b-49b4-8ab8-e3c79c4af517, port_id None to router e6a77575-dfb6-435a-9192-abeb78588035
2025-04-25 00:25:54,111 - INFO - Waiting for VM ctest-TestRoutersBasic-57352774-92754069 to be up..
2025-04-25 00:25:54,295 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-25 00:25:59,367 - DEBUG - VM is in ACTIVE state now
2025-04-25 00:25:59,367 - INFO - VM name : ctest-TestRoutersBasic-57352774-92754069
2025-04-25 00:25:59,441 - DEBUG - VM ctest-TestRoutersBasic-57352774-92754069 ID is 5711831f-e4f0-42cd-99ec-f023fe8d1189
2025-04-25 00:25:59,459 - DEBUG - VM ctest-TestRoutersBasic-57352774-92754069 launched on Node cn-jenkins-deploy-platform-ansible-os-3212-1
2025-04-25 00:25:59,525 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/5711831f-e4f0-42cd-99ec-f023fe8d1189
2025-04-25 00:25:59,812 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/5711831f-e4f0-42cd-99ec-f023fe8d1189
2025-04-25 00:25:59,844 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/a44c2839-94e4-441b-a672-1e25856ff274
2025-04-25 00:26:03,120 - 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=2 ttl=63 time=11.8 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1023ms\r\nrtt min/avg/max/mdev = 11.849/11.849/11.849/0.000 ms')
2025-04-25 00:26:03,120 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57352774-92754069 passed
2025-04-25 00:26:03,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-25 00:26:03,273 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57352774-92754069, IP 43.72.123.131, Port 22
2025-04-25 00:26:03,432 - DEBUG - VM ctest-TestRoutersBasic-57352774-92754069 is ready for SSH connections
2025-04-25 00:26:03,433 - INFO - Waiting for VM ctest-TestRoutersBasic-57352774-96860391 to be up..
2025-04-25 00:26:03,503 - DEBUG - VM is in ACTIVE state now
2025-04-25 00:26:03,503 - INFO - VM name : ctest-TestRoutersBasic-57352774-96860391
2025-04-25 00:26:03,574 - DEBUG - VM ctest-TestRoutersBasic-57352774-96860391 ID is 84fe7117-30b7-4a74-9cdb-2272e021c0df
2025-04-25 00:26:03,574 - DEBUG - VM ctest-TestRoutersBasic-57352774-96860391 launched on Node cn-jenkins-deploy-platform-ansible-os-3212-1
2025-04-25 00:26:03,642 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/84fe7117-30b7-4a74-9cdb-2272e021c0df
2025-04-25 00:26:03,650 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/1d7b5500-998d-4607-957e-5ffcd0b78ff9
2025-04-25 00:26:04,902 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.72 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.715/2.806/3.898/1.091 ms')
2025-04-25 00:26:04,902 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-57352774-96860391 passed
2025-04-25 00:26:05,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-25 00:26:05,053 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57352774-96860391, IP 199.65.60.3, Port 22
2025-04-25 00:26:05,204 - DEBUG - VM ctest-TestRoutersBasic-57352774-96860391 is ready for SSH connections
2025-04-25 00:26:05,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-25 00:26:05,205 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.65.60.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-04-25 00:26:05,205 - DEBUG - ping -s 56 -c 3 -W 1 199.65.60.3
2025-04-25 00:26:09,146 - DEBUG - PING 199.65.60.3 (199.65.60.3): 56 data bytes
64 bytes from 199.65.60.3: seq=0 ttl=62 time=6.363 ms
64 bytes from 199.65.60.3: seq=1 ttl=62 time=0.917 ms
64 bytes from 199.65.60.3: seq=2 ttl=62 time=0.813 ms
--- 199.65.60.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.813/2.697/6.363 ms
2025-04-25 00:26:09,147 - INFO - Ping to IP 199.65.60.3 from VM ctest-TestRoutersBasic-57352774-92754069 passed
2025-04-25 00:26:09,147 - INFO - Deleting interface with subnet_id 535d9d66-8f6b-49b4-8ab8-e3c79c4af517, port_id None from router e6a77575-dfb6-435a-9192-abeb78588035
2025-04-25 00:26:09,335 - INFO - Deleting VM ctest-TestRoutersBasic-57352774-96860391
2025-04-25 00:26:09,397 - INFO - Deleting VM ctest-TestRoutersBasic-57352774-92754069
2025-04-25 00:26:09,472 - INFO - Deleting VN ctest-ext_vn-17732754
2025-04-25 00:26:09,535 - DEBUG - VN 4cc579c4-a141-4061-8a82-e98b2c19535e still in use: Unable to complete operation on network 4cc579c4-a141-4061-8a82-e98b2c19535e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-da9ad940-1dfe-45bc-8068-2ce768c16f65']
2025-04-25 00:26:09,535 - WARNING - Deleting VN ctest-ext_vn-17732754 failed..Will retry
2025-04-25 00:26:11,762 - DEBUG - Response for deleting network ()
2025-04-25 00:26:11,762 - INFO - Deleting VN ctest-vn-52219887
2025-04-25 00:26:12,006 - DEBUG - Response for deleting network ()
2025-04-25 00:26:12,262 - DEBUG - No XMPP flaps were noticed during the test
2025-04-25 00:26:12,262 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2025-04-25 00:26:12,262 - INFO - --------------------------------------------------------------------------------
2025-04-25 00:26:12,905 - INFO - Deleted project: ctest-TestRoutersBasic-57352774, ID : 306339f6-2ecc-4993-8f55-fdb9540a87a5