2025-06-02 09:56:35,995 - INFO - Domain Default found not creating
2025-06-02 09:56:36,142 - INFO - Project ctest-TestRoutersBasic-38774097 not found, creating it
2025-06-02 09:56:36,599 - INFO - Created Project:ctest-TestRoutersBasic-38774097, ID : 0401f585-6b51-4792-9111-bcfc4c19f510
2025-06-02 09:56:38,001 - INFO - ================================================================================
2025-06-02 09:56:38,001 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-02 09:56:38,001 - 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-06-02 09:56:38,266 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-06-02 09:56:38,266 - INFO - Initial checks done. Running the testcase now
2025-06-02 09:56:38,266 - INFO -
2025-06-02 09:56:38,993 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-38774097
2025-06-02 09:56:39,097 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-38774097
2025-06-02 09:56:39,417 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38774097', 'default']}
2025-06-02 09:56:39,734 - DEBUG - Response for create_network : {'network': {'id': '56836960-9d3d-426f-9b56-ff31fde2efcb', 'name': 'ctest-vn-27804734', 'tenant_id': '0401f5856b5147929111bcfc4c19f510', 'project_id': '0401f5856b5147929111bcfc4c19f510', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38774097', 'ctest-vn-27804734'], 'port_security_enabled': True, 'description': ''}}
2025-06-02 09:56:39,933 - DEBUG - Response for create_subnet : {'subnet': {'id': '98ab92a0-b700-437b-9c9b-0abf8f55a290', 'name': '', 'tenant_id': '0401f5856b5147929111bcfc4c19f510', 'network_id': '56836960-9d3d-426f-9b56-ff31fde2efcb', 'ip_version': 4, 'cidr': '145.80.117.64/26', 'allocation_pools': [{'start': '145.80.117.66', 'end': '145.80.117.126'}], 'gateway_ip': '145.80.117.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.80.117.66', 'tags': [], 'project_id': '0401f5856b5147929111bcfc4c19f510'}}
2025-06-02 09:56:39,952 - INFO - Created VN ctest-vn-27804734
2025-06-02 09:56:40,009 - DEBUG - VN ctest-vn-27804734 UUID is 56836960-9d3d-426f-9b56-ff31fde2efcb
2025-06-02 09:56:40,364 - DEBUG - Response for create_network : {'network': {'id': '91fbfc59-abf3-4773-ae1a-827a64175ea9', 'name': 'ctest-ext_vn-18860701', 'tenant_id': '0401f5856b5147929111bcfc4c19f510', 'project_id': '0401f5856b5147929111bcfc4c19f510', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38774097', 'ctest-ext_vn-18860701'], 'port_security_enabled': True, 'description': ''}}
2025-06-02 09:56:40,523 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f2a5808-a6b8-4355-98eb-a1071362ff5a', 'name': '', 'tenant_id': '0401f5856b5147929111bcfc4c19f510', 'network_id': '91fbfc59-abf3-4773-ae1a-827a64175ea9', 'ip_version': 4, 'cidr': '124.6.94.64/26', 'allocation_pools': [{'start': '124.6.94.66', 'end': '124.6.94.126'}], 'gateway_ip': '124.6.94.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.6.94.66', 'tags': [], 'project_id': '0401f5856b5147929111bcfc4c19f510'}}
2025-06-02 09:56:40,542 - INFO - Created VN ctest-ext_vn-18860701
2025-06-02 09:56:40,597 - DEBUG - VN ctest-ext_vn-18860701 UUID is 91fbfc59-abf3-4773-ae1a-827a64175ea9
2025-06-02 09:56:40,802 - DEBUG - Services list from nova: [, , ]
2025-06-02 09:56:41,819 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3389-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3389-1)
2025-06-02 09:56:43,033 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3389-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3389-1)
2025-06-02 09:56:43,120 - INFO - Setting gateway for router 30995e77-95c5-4f55-8c9b-710763f29366 to network 91fbfc59-abf3-4773-ae1a-827a64175ea9
2025-06-02 09:56:43,200 - INFO - Adding interface with subnet_id 98ab92a0-b700-437b-9c9b-0abf8f55a290, port_id None to router 30995e77-95c5-4f55-8c9b-710763f29366
2025-06-02 09:56:43,606 - INFO - Waiting for VM ctest-TestRoutersBasic-38774097-28860896 to be up..
2025-06-02 09:56:43,791 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-02 09:56:48,872 - DEBUG - VM is in ACTIVE state now
2025-06-02 09:56:48,872 - INFO - VM name : ctest-TestRoutersBasic-38774097-28860896
2025-06-02 09:56:48,951 - DEBUG - VM ctest-TestRoutersBasic-38774097-28860896 ID is 9057ec01-944f-4cb7-9721-eb36799f31ad
2025-06-02 09:56:48,972 - DEBUG - VM ctest-TestRoutersBasic-38774097-28860896 launched on Node cn-jenkins-deploy-platform-ansible-os-3389-1
2025-06-02 09:56:49,056 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9057ec01-944f-4cb7-9721-eb36799f31ad
2025-06-02 09:56:49,360 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9057ec01-944f-4cb7-9721-eb36799f31ad
2025-06-02 09:56:49,392 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/cc133e8d-c7cc-4122-9e1f-e30bf8b38060
2025-06-02 09:56:52,632 - 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 1003ms')
2025-06-02 09:56:52,632 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38774097-28860896 failed!
2025-06-02 09:56:52,689 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-38774097:ctest-vn-27804734 is 145.80.117.65 and allocation pool is NOT set
2025-06-02 09:56:54,758 - 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=2.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.414 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.414/1.654/2.895/1.240 ms')
2025-06-02 09:56:54,758 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38774097-28860896 passed
2025-06-02 09:56:54,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-02 09:56:54,869 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38774097-28860896, IP 145.80.117.67, Port 22
2025-06-02 09:56:55,028 - DEBUG - VM ctest-TestRoutersBasic-38774097-28860896 is ready for SSH connections
2025-06-02 09:56:55,028 - INFO - Waiting for VM ctest-TestRoutersBasic-38774097-01998190 to be up..
2025-06-02 09:56:55,110 - DEBUG - VM is in ACTIVE state now
2025-06-02 09:56:55,110 - INFO - VM name : ctest-TestRoutersBasic-38774097-01998190
2025-06-02 09:56:55,189 - DEBUG - VM ctest-TestRoutersBasic-38774097-01998190 ID is 156e0729-2877-42ac-8df5-985755d1b470
2025-06-02 09:56:55,189 - DEBUG - VM ctest-TestRoutersBasic-38774097-01998190 launched on Node cn-jenkins-deploy-platform-ansible-os-3389-1
2025-06-02 09:56:55,266 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/156e0729-2877-42ac-8df5-985755d1b470
2025-06-02 09:56:55,275 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3894331d-99d4-43e4-9f89-3074615beabd
2025-06-02 09:56:56,531 - 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=4.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.707 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.707/2.364/4.021/1.657 ms')
2025-06-02 09:56:56,531 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-38774097-01998190 passed
2025-06-02 09:56:56,685 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-02 09:56:56,685 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38774097-01998190, IP 124.6.94.67, Port 22
2025-06-02 09:56:56,859 - DEBUG - VM ctest-TestRoutersBasic-38774097-01998190 is ready for SSH connections
2025-06-02 09:56:56,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-02 09:56:56,859 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.6.94.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-06-02 09:56:56,859 - DEBUG - ping -s 56 -c 3 -W 1 124.6.94.67
2025-06-02 09:57:00,887 - DEBUG - PING 124.6.94.67 (124.6.94.67): 56 data bytes
64 bytes from 124.6.94.67: seq=0 ttl=62 time=6.254 ms
64 bytes from 124.6.94.67: seq=1 ttl=62 time=0.834 ms
64 bytes from 124.6.94.67: seq=2 ttl=62 time=1.075 ms
--- 124.6.94.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.834/2.721/6.254 ms
2025-06-02 09:57:00,887 - INFO - Ping to IP 124.6.94.67 from VM ctest-TestRoutersBasic-38774097-28860896 passed
2025-06-02 09:57:00,888 - INFO - Deleting interface with subnet_id 98ab92a0-b700-437b-9c9b-0abf8f55a290, port_id None from router 30995e77-95c5-4f55-8c9b-710763f29366
2025-06-02 09:57:01,083 - INFO - Deleting VM ctest-TestRoutersBasic-38774097-01998190
2025-06-02 09:57:01,146 - INFO - Deleting VM ctest-TestRoutersBasic-38774097-28860896
2025-06-02 09:57:01,218 - INFO - Deleting VN ctest-ext_vn-18860701
2025-06-02 09:57:01,291 - DEBUG - VN 91fbfc59-abf3-4773-ae1a-827a64175ea9 still in use: Unable to complete operation on network 91fbfc59-abf3-4773-ae1a-827a64175ea9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-97b50ce7-5cdb-4483-9a9f-75f890220837']
2025-06-02 09:57:01,291 - WARNING - Deleting VN ctest-ext_vn-18860701 failed..Will retry
2025-06-02 09:57:03,413 - DEBUG - Response for deleting network ()
2025-06-02 09:57:03,413 - INFO - Deleting VN ctest-vn-27804734
2025-06-02 09:57:03,520 - DEBUG - Response for deleting network ()
2025-06-02 09:57:03,774 - DEBUG - No XMPP flaps were noticed during the test
2025-06-02 09:57:03,774 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-06-02 09:57:03,774 - INFO - --------------------------------------------------------------------------------
2025-06-02 09:57:04,454 - INFO - Deleted project: ctest-TestRoutersBasic-38774097, ID : 0401f585-6b51-4792-9111-bcfc4c19f510