2025-02-06 02:18:05,671 - INFO - Domain Default found not creating
2025-02-06 02:18:05,806 - INFO - Project ctest-TestRoutersBasic-72056288 not found, creating it
2025-02-06 02:18:06,362 - INFO - Created Project:ctest-TestRoutersBasic-72056288, ID : 087ac3f8-65db-41cb-95e3-90c58197a623
2025-02-06 02:18:07,915 - INFO - ================================================================================
2025-02-06 02:18:07,916 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-02-06 02:18:07,916 - 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-02-06 02:18:09,180 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.10': '0', '10.20.0.23': '0'}, '10.0.0.65': {'10.20.0.14': '0', '10.20.0.10': '0'}} with
2025-02-06 02:18:09,180 - INFO - Initial checks done. Running the testcase now
2025-02-06 02:18:09,180 - INFO -
2025-02-06 02:18:09,982 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-72056288
2025-02-06 02:18:10,041 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-72056288
2025-02-06 02:18:10,364 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72056288', 'default']}
2025-02-06 02:18:10,770 - DEBUG - Response for create_network : {'network': {'id': 'c75a0ed4-687f-463f-861f-10a36519b6ab', 'name': 'ctest-vn-56999313', 'tenant_id': '087ac3f865db41cb95e390c58197a623', 'project_id': '087ac3f865db41cb95e390c58197a623', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72056288', 'ctest-vn-56999313'], 'port_security_enabled': True, 'description': ''}}
2025-02-06 02:18:11,075 - DEBUG - Response for create_subnet : {'subnet': {'id': '3fd95459-6373-4ac7-aa08-b7e462ce2963', 'name': '', 'tenant_id': '087ac3f865db41cb95e390c58197a623', 'network_id': 'c75a0ed4-687f-463f-861f-10a36519b6ab', 'ip_version': 4, 'cidr': '114.112.225.64/26', 'allocation_pools': [{'start': '114.112.225.66', 'end': '114.112.225.126'}], 'gateway_ip': '114.112.225.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.112.225.66', 'tags': [], 'project_id': '087ac3f865db41cb95e390c58197a623'}}
2025-02-06 02:18:11,101 - INFO - Created VN ctest-vn-56999313
2025-02-06 02:18:11,113 - DEBUG - VN ctest-vn-56999313 UUID is c75a0ed4-687f-463f-861f-10a36519b6ab
2025-02-06 02:18:11,597 - DEBUG - Response for create_network : {'network': {'id': '24406434-60fc-4a90-bd36-129f0007111d', 'name': 'ctest-ext_vn-36691207', 'tenant_id': '087ac3f865db41cb95e390c58197a623', 'project_id': '087ac3f865db41cb95e390c58197a623', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72056288', 'ctest-ext_vn-36691207'], 'port_security_enabled': True, 'description': ''}}
2025-02-06 02:18:11,901 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c32dce7e-223b-4ac0-95d1-f8abf87f5b69', 'name': '', 'tenant_id': '087ac3f865db41cb95e390c58197a623', 'network_id': '24406434-60fc-4a90-bd36-129f0007111d', 'ip_version': 4, 'cidr': '31.238.26.0/26', 'allocation_pools': [{'start': '31.238.26.2', 'end': '31.238.26.62'}], 'gateway_ip': '31.238.26.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.238.26.2', 'tags': [], 'project_id': '087ac3f865db41cb95e390c58197a623'}}
2025-02-06 02:18:11,926 - INFO - Created VN ctest-ext_vn-36691207
2025-02-06 02:18:11,945 - DEBUG - VN ctest-ext_vn-36691207 UUID is 24406434-60fc-4a90-bd36-129f0007111d
2025-02-06 02:18:12,079 - DEBUG - Services list from nova: [, , , ]
2025-02-06 02:18:13,211 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-2696-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-2696-2)
2025-02-06 02:18:14,652 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-2696-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-2696-1)
2025-02-06 02:18:14,766 - INFO - Setting gateway for router dccf6652-5a0c-4903-bdd0-62a5f76bcf55 to network 24406434-60fc-4a90-bd36-129f0007111d
2025-02-06 02:18:14,883 - INFO - Adding interface with subnet_id 3fd95459-6373-4ac7-aa08-b7e462ce2963, port_id None to router dccf6652-5a0c-4903-bdd0-62a5f76bcf55
2025-02-06 02:18:15,517 - INFO - Waiting for VM ctest-TestRoutersBasic-72056288-97694373 to be up..
2025-02-06 02:18:15,664 - DEBUG - VM is in ACTIVE state now
2025-02-06 02:18:15,664 - INFO - VM name : ctest-TestRoutersBasic-72056288-97694373
2025-02-06 02:18:15,800 - DEBUG - VM ctest-TestRoutersBasic-72056288-97694373 ID is 7b434c14-16a4-49a4-9d81-32445f097011
2025-02-06 02:18:15,841 - DEBUG - VM ctest-TestRoutersBasic-72056288-97694373 launched on Node an-jenkins-deploy-platform-ansible-os-2696-2
2025-02-06 02:18:16,034 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7b434c14-16a4-49a4-9d81-32445f097011
2025-02-06 02:18:16,808 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7b434c14-16a4-49a4-9d81-32445f097011
2025-02-06 02:18:16,849 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7bc5e9b5-87e7-49f2-9743-248a96e04270
2025-02-06 02:18:20,101 - 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 1017ms')
2025-02-06 02:18:20,102 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72056288-97694373 failed!
2025-02-06 02:18:20,117 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-72056288:ctest-vn-56999313 is 114.112.225.65 and allocation pool is NOT set
2025-02-06 02:18:24,187 - 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=3.16 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 3.160/3.160/3.160/0.000 ms')
2025-02-06 02:18:24,187 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72056288-97694373 passed
2025-02-06 02:18:24,306 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-06 02:18:24,306 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72056288-97694373, IP 114.112.225.67, Port 22
2025-02-06 02:18:24,463 - DEBUG - VM ctest-TestRoutersBasic-72056288-97694373 is ready for SSH connections
2025-02-06 02:18:24,463 - INFO - Waiting for VM ctest-TestRoutersBasic-72056288-97236173 to be up..
2025-02-06 02:18:24,551 - DEBUG - VM is in ACTIVE state now
2025-02-06 02:18:24,551 - INFO - VM name : ctest-TestRoutersBasic-72056288-97236173
2025-02-06 02:18:24,637 - DEBUG - VM ctest-TestRoutersBasic-72056288-97236173 ID is 9a73536c-c783-4315-b7ca-e2265de7ee32
2025-02-06 02:18:24,637 - DEBUG - VM ctest-TestRoutersBasic-72056288-97236173 launched on Node an-jenkins-deploy-platform-ansible-os-2696-1
2025-02-06 02:18:24,720 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9a73536c-c783-4315-b7ca-e2265de7ee32
2025-02-06 02:18:24,730 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4ca440ab-aa5a-4e8c-816d-159eefe4c498
2025-02-06 02:18:27,942 - 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=7.42 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 7.416/7.416/7.416/0.000 ms')
2025-02-06 02:18:27,942 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72056288-97236173 passed
2025-02-06 02:18:28,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-06 02:18:28,058 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72056288-97236173, IP 31.238.26.3, Port 22
2025-02-06 02:18:28,230 - DEBUG - VM ctest-TestRoutersBasic-72056288-97236173 is ready for SSH connections
2025-02-06 02:18:28,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-06 02:18:28,230 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.238.26.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-02-06 02:18:28,230 - DEBUG - ping -s 56 -c 3 -W 1 31.238.26.3
2025-02-06 02:18:31,847 - DEBUG - PING 31.238.26.3 (31.238.26.3): 56 data bytes
64 bytes from 31.238.26.3: seq=0 ttl=62 time=8.008 ms
64 bytes from 31.238.26.3: seq=1 ttl=62 time=1.215 ms
64 bytes from 31.238.26.3: seq=2 ttl=62 time=0.958 ms
--- 31.238.26.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.958/3.393/8.008 ms
2025-02-06 02:18:31,847 - INFO - Ping to IP 31.238.26.3 from VM ctest-TestRoutersBasic-72056288-97694373 passed
2025-02-06 02:18:31,848 - INFO - Deleting interface with subnet_id 3fd95459-6373-4ac7-aa08-b7e462ce2963, port_id None from router dccf6652-5a0c-4903-bdd0-62a5f76bcf55
2025-02-06 02:18:32,228 - INFO - Deleting VM ctest-TestRoutersBasic-72056288-97236173
2025-02-06 02:18:32,329 - INFO - Deleting VM ctest-TestRoutersBasic-72056288-97694373
2025-02-06 02:18:32,468 - INFO - Deleting VN ctest-ext_vn-36691207
2025-02-06 02:18:32,592 - DEBUG - VN 24406434-60fc-4a90-bd36-129f0007111d still in use: Unable to complete operation on network 24406434-60fc-4a90-bd36-129f0007111d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e1c88dff-3aa2-4cf8-a378-2e4d25062656']
2025-02-06 02:18:32,592 - WARNING - Deleting VN ctest-ext_vn-36691207 failed..Will retry
2025-02-06 02:18:34,786 - DEBUG - Response for deleting network ()
2025-02-06 02:18:34,786 - INFO - Deleting VN ctest-vn-56999313
2025-02-06 02:18:34,935 - DEBUG - Response for deleting network ()
2025-02-06 02:18:36,230 - DEBUG - No XMPP flaps were noticed during the test
2025-02-06 02:18:36,230 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2025-02-06 02:18:36,230 - INFO - --------------------------------------------------------------------------------
2025-02-06 02:18:37,044 - INFO - Deleted project: ctest-TestRoutersBasic-72056288, ID : 087ac3f8-65db-41cb-95e3-90c58197a623