2025-06-09 10:39:51,566 - INFO - Domain Default found not creating 2025-06-09 10:39:51,737 - INFO - Project ctest-TestRoutersBasic-59761404 not found, creating it 2025-06-09 10:39:52,242 - INFO - Created Project:ctest-TestRoutersBasic-59761404, ID : 42260dd3-5d8a-494b-851b-589152b6c0d9 2025-06-09 10:39:54,354 - INFO - ================================================================================ 2025-06-09 10:39:54,354 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-09 10:39:54,354 - 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-09 10:39:54,610 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.254': '0'}} with 2025-06-09 10:39:54,610 - INFO - Initial checks done. Running the testcase now 2025-06-09 10:39:54,610 - INFO - 2025-06-09 10:39:55,322 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-59761404 2025-06-09 10:39:55,419 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-59761404 2025-06-09 10:39:55,764 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59761404', 'default']} 2025-06-09 10:39:56,067 - DEBUG - Response for create_network : {'network': {'id': '78cc04da-0967-4cb2-bc5a-4fca09a34fcc', 'name': 'ctest-vn-90974572', 'tenant_id': '42260dd35d8a494b851b589152b6c0d9', 'project_id': '42260dd35d8a494b851b589152b6c0d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59761404', 'ctest-vn-90974572'], 'port_security_enabled': True, 'description': ''}} 2025-06-09 10:39:56,235 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ffa46ea-37c5-4caa-a821-fdc7c79228e9', 'name': '', 'tenant_id': '42260dd35d8a494b851b589152b6c0d9', 'network_id': '78cc04da-0967-4cb2-bc5a-4fca09a34fcc', 'ip_version': 4, 'cidr': '41.194.82.192/26', 'allocation_pools': [{'start': '41.194.82.194', 'end': '41.194.82.254'}], 'gateway_ip': '41.194.82.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.194.82.194', 'tags': [], 'project_id': '42260dd35d8a494b851b589152b6c0d9'}} 2025-06-09 10:39:56,255 - INFO - Created VN ctest-vn-90974572 2025-06-09 10:39:56,307 - DEBUG - VN ctest-vn-90974572 UUID is 78cc04da-0967-4cb2-bc5a-4fca09a34fcc 2025-06-09 10:39:56,633 - DEBUG - Response for create_network : {'network': {'id': 'e7143dc7-4df8-480b-8d8a-b878942929ba', 'name': 'ctest-ext_vn-79667575', 'tenant_id': '42260dd35d8a494b851b589152b6c0d9', 'project_id': '42260dd35d8a494b851b589152b6c0d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59761404', 'ctest-ext_vn-79667575'], 'port_security_enabled': True, 'description': ''}} 2025-06-09 10:39:56,807 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be89639d-d333-4c74-98ae-a17723673fcd', 'name': '', 'tenant_id': '42260dd35d8a494b851b589152b6c0d9', 'network_id': 'e7143dc7-4df8-480b-8d8a-b878942929ba', 'ip_version': 4, 'cidr': '144.126.82.0/26', 'allocation_pools': [{'start': '144.126.82.2', 'end': '144.126.82.62'}], 'gateway_ip': '144.126.82.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.126.82.2', 'tags': [], 'project_id': '42260dd35d8a494b851b589152b6c0d9'}} 2025-06-09 10:39:56,826 - INFO - Created VN ctest-ext_vn-79667575 2025-06-09 10:39:56,879 - DEBUG - VN ctest-ext_vn-79667575 UUID is e7143dc7-4df8-480b-8d8a-b878942929ba 2025-06-09 10:39:57,068 - DEBUG - Services list from nova: [, , ] 2025-06-09 10:39:58,094 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3423-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3423-1) 2025-06-09 10:39:59,411 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3423-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3423-1) 2025-06-09 10:39:59,485 - INFO - Setting gateway for router 312b882e-7f56-4acd-b0c5-e911b978b66f to network e7143dc7-4df8-480b-8d8a-b878942929ba 2025-06-09 10:39:59,584 - INFO - Adding interface with subnet_id 5ffa46ea-37c5-4caa-a821-fdc7c79228e9, port_id None to router 312b882e-7f56-4acd-b0c5-e911b978b66f 2025-06-09 10:40:00,192 - INFO - Waiting for VM ctest-TestRoutersBasic-59761404-17355329 to be up.. 2025-06-09 10:40:00,341 - DEBUG - VM is in ACTIVE state now 2025-06-09 10:40:00,341 - INFO - VM name : ctest-TestRoutersBasic-59761404-17355329 2025-06-09 10:40:00,453 - DEBUG - VM ctest-TestRoutersBasic-59761404-17355329 ID is 2c96dd48-2b6f-4cae-a878-e92ade854614 2025-06-09 10:40:00,479 - DEBUG - VM ctest-TestRoutersBasic-59761404-17355329 launched on Node cn-jenkins-deploy-platform-ansible-os-3423-1 2025-06-09 10:40:00,579 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/2c96dd48-2b6f-4cae-a878-e92ade854614 2025-06-09 10:40:00,916 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/2c96dd48-2b6f-4cae-a878-e92ade854614 2025-06-09 10:40:00,961 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/b2a6b81a-36ec-470c-95bb-7f45bbc94c13 2025-06-09 10:40:04,216 - 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 1005ms') 2025-06-09 10:40:04,216 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59761404-17355329 failed! 2025-06-09 10:40:04,275 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-59761404:ctest-vn-90974572 is 41.194.82.193 and allocation pool is NOT set 2025-06-09 10:40:08,350 - 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 1015ms') 2025-06-09 10:40:08,350 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59761404-17355329 failed! 2025-06-09 10:40:08,403 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-59761404:ctest-vn-90974572 is 41.194.82.193 and allocation pool is NOT set 2025-06-09 10:40:10,472 - 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=9.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.432 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.432/5.115/9.798/4.683 ms') 2025-06-09 10:40:10,473 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59761404-17355329 passed 2025-06-09 10:40:10,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 10:40:10,627 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59761404-17355329, IP 41.194.82.195, Port 22 2025-06-09 10:40:10,793 - DEBUG - VM ctest-TestRoutersBasic-59761404-17355329 is ready for SSH connections 2025-06-09 10:40:10,793 - INFO - Waiting for VM ctest-TestRoutersBasic-59761404-47420772 to be up.. 2025-06-09 10:40:10,892 - DEBUG - VM is in ACTIVE state now 2025-06-09 10:40:10,892 - INFO - VM name : ctest-TestRoutersBasic-59761404-47420772 2025-06-09 10:40:10,974 - DEBUG - VM ctest-TestRoutersBasic-59761404-47420772 ID is 76680570-7518-40fd-9023-ce7ed05daf3a 2025-06-09 10:40:10,974 - DEBUG - VM ctest-TestRoutersBasic-59761404-47420772 launched on Node cn-jenkins-deploy-platform-ansible-os-3423-1 2025-06-09 10:40:11,056 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/76680570-7518-40fd-9023-ce7ed05daf3a 2025-06-09 10:40:11,067 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/bf72c5f4-31b7-490d-8922-2689d2c663ef 2025-06-09 10:40:12,316 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.417 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 = 0.417/2.019/3.621/1.602 ms') 2025-06-09 10:40:12,317 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-59761404-47420772 passed 2025-06-09 10:40:12,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 10:40:12,468 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59761404-47420772, IP 144.126.82.3, Port 22 2025-06-09 10:40:12,627 - DEBUG - VM ctest-TestRoutersBasic-59761404-47420772 is ready for SSH connections 2025-06-09 10:40:12,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 10:40:12,627 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.126.82.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-06-09 10:40:12,628 - DEBUG - ping -s 56 -c 3 -W 1 144.126.82.3 2025-06-09 10:40:16,631 - DEBUG - PING 144.126.82.3 (144.126.82.3): 56 data bytes 64 bytes from 144.126.82.3: seq=0 ttl=62 time=6.021 ms 64 bytes from 144.126.82.3: seq=1 ttl=62 time=1.033 ms 64 bytes from 144.126.82.3: seq=2 ttl=62 time=0.935 ms --- 144.126.82.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.935/2.663/6.021 ms 2025-06-09 10:40:16,631 - INFO - Ping to IP 144.126.82.3 from VM ctest-TestRoutersBasic-59761404-17355329 passed 2025-06-09 10:40:16,631 - INFO - Deleting interface with subnet_id 5ffa46ea-37c5-4caa-a821-fdc7c79228e9, port_id None from router 312b882e-7f56-4acd-b0c5-e911b978b66f 2025-06-09 10:40:16,840 - INFO - Deleting VM ctest-TestRoutersBasic-59761404-47420772 2025-06-09 10:40:16,919 - INFO - Deleting VM ctest-TestRoutersBasic-59761404-17355329 2025-06-09 10:40:17,015 - INFO - Deleting VN ctest-ext_vn-79667575 2025-06-09 10:40:17,096 - DEBUG - VN e7143dc7-4df8-480b-8d8a-b878942929ba still in use: Unable to complete operation on network e7143dc7-4df8-480b-8d8a-b878942929ba. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3acd9aab-dd05-4f8e-847c-a11ad5a6a978'] 2025-06-09 10:40:17,096 - WARNING - Deleting VN ctest-ext_vn-79667575 failed..Will retry 2025-06-09 10:40:19,211 - DEBUG - Response for deleting network () 2025-06-09 10:40:19,212 - INFO - Deleting VN ctest-vn-90974572 2025-06-09 10:40:19,322 - DEBUG - Response for deleting network () 2025-06-09 10:40:19,592 - DEBUG - No XMPP flaps were noticed during the test 2025-06-09 10:40:19,592 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-06-09 10:40:19,592 - INFO - -------------------------------------------------------------------------------- 2025-06-09 10:40:20,295 - INFO - Deleted project: ctest-TestRoutersBasic-59761404, ID : 42260dd3-5d8a-494b-851b-589152b6c0d9