2025-04-14 23:02:33,004 - INFO - Domain Default found not creating
2025-04-14 23:02:33,144 - INFO - Project ctest-TestRoutersBasic-18550535 not found, creating it
2025-04-14 23:02:33,608 - INFO - Created Project:ctest-TestRoutersBasic-18550535, ID : e93420ee-0855-41c9-aeb7-4a9acd6e4a6e
2025-04-14 23:02:35,111 - INFO - ================================================================================
2025-04-14 23:02:35,112 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-14 23:02:35,112 - 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-14 23:02:35,373 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with
2025-04-14 23:02:35,373 - INFO - Initial checks done. Running the testcase now
2025-04-14 23:02:35,373 - INFO -
2025-04-14 23:02:36,071 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-18550535
2025-04-14 23:02:36,167 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-18550535
2025-04-14 23:02:36,487 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18550535', 'default']}
2025-04-14 23:02:36,795 - DEBUG - Response for create_network : {'network': {'id': '49416a67-144d-450d-aa98-903aa8f4b07c', 'name': 'ctest-vn-63118079', 'tenant_id': 'e93420ee085541c9aeb74a9acd6e4a6e', 'project_id': 'e93420ee085541c9aeb74a9acd6e4a6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18550535', 'ctest-vn-63118079'], 'port_security_enabled': True, 'description': ''}}
2025-04-14 23:02:36,949 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd908f498-f83d-444d-9129-9464d61b2c58', 'name': '', 'tenant_id': 'e93420ee085541c9aeb74a9acd6e4a6e', 'network_id': '49416a67-144d-450d-aa98-903aa8f4b07c', 'ip_version': 4, 'cidr': '18.31.76.64/26', 'allocation_pools': [{'start': '18.31.76.66', 'end': '18.31.76.126'}], 'gateway_ip': '18.31.76.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.31.76.66', 'tags': [], 'project_id': 'e93420ee085541c9aeb74a9acd6e4a6e'}}
2025-04-14 23:02:36,968 - INFO - Created VN ctest-vn-63118079
2025-04-14 23:02:37,020 - DEBUG - VN ctest-vn-63118079 UUID is 49416a67-144d-450d-aa98-903aa8f4b07c
2025-04-14 23:02:37,385 - DEBUG - Response for create_network : {'network': {'id': '478813a1-3874-46d9-b741-4e8f67c25cf4', 'name': 'ctest-ext_vn-69719955', 'tenant_id': 'e93420ee085541c9aeb74a9acd6e4a6e', 'project_id': 'e93420ee085541c9aeb74a9acd6e4a6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18550535', 'ctest-ext_vn-69719955'], 'port_security_enabled': True, 'description': ''}}
2025-04-14 23:02:37,610 - DEBUG - Response for create_subnet : {'subnet': {'id': 'acc6f4b5-af58-4464-b022-1f4eb88e3179', 'name': '', 'tenant_id': 'e93420ee085541c9aeb74a9acd6e4a6e', 'network_id': '478813a1-3874-46d9-b741-4e8f67c25cf4', 'ip_version': 4, 'cidr': '61.8.157.128/26', 'allocation_pools': [{'start': '61.8.157.130', 'end': '61.8.157.190'}], 'gateway_ip': '61.8.157.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.8.157.130', 'tags': [], 'project_id': 'e93420ee085541c9aeb74a9acd6e4a6e'}}
2025-04-14 23:02:37,633 - INFO - Created VN ctest-ext_vn-69719955
2025-04-14 23:02:37,683 - DEBUG - VN ctest-ext_vn-69719955 UUID is 478813a1-3874-46d9-b741-4e8f67c25cf4
2025-04-14 23:02:37,844 - DEBUG - Services list from nova: [, , ]
2025-04-14 23:02:38,811 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3111-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3111-1)
2025-04-14 23:02:39,906 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3111-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3111-1)
2025-04-14 23:02:39,981 - INFO - Setting gateway for router 65e29d50-67bd-4403-9b36-cf3f2e7710f1 to network 478813a1-3874-46d9-b741-4e8f67c25cf4
2025-04-14 23:02:40,058 - INFO - Adding interface with subnet_id d908f498-f83d-444d-9129-9464d61b2c58, port_id None to router 65e29d50-67bd-4403-9b36-cf3f2e7710f1
2025-04-14 23:02:40,522 - INFO - Waiting for VM ctest-TestRoutersBasic-18550535-34720831 to be up..
2025-04-14 23:02:40,640 - DEBUG - VM is in ACTIVE state now
2025-04-14 23:02:40,640 - INFO - VM name : ctest-TestRoutersBasic-18550535-34720831
2025-04-14 23:02:40,759 - DEBUG - VM ctest-TestRoutersBasic-18550535-34720831 ID is 773e6044-2370-4b36-b3eb-c4fc67318842
2025-04-14 23:02:40,778 - DEBUG - VM ctest-TestRoutersBasic-18550535-34720831 launched on Node cn-jenkins-deploy-platform-ansible-os-3111-1
2025-04-14 23:02:40,872 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/773e6044-2370-4b36-b3eb-c4fc67318842
2025-04-14 23:02:41,181 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/773e6044-2370-4b36-b3eb-c4fc67318842
2025-04-14 23:02:41,211 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/91619278-2fb3-4171-9bc8-ba265660922d
2025-04-14 23:02:44,485 - 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 1032ms')
2025-04-14 23:02:44,486 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18550535-34720831 failed!
2025-04-14 23:02:44,539 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-18550535:ctest-vn-63118079 is 18.31.76.65 and allocation pool is NOT set
2025-04-14 23:02:48,620 - 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 1019ms')
2025-04-14 23:02:48,621 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18550535-34720831 failed!
2025-04-14 23:02:48,675 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-18550535:ctest-vn-63118079 is 18.31.76.65 and allocation pool is NOT set
2025-04-14 23:02:50,733 - 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=4.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.573 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.573/2.560/4.547/1.987 ms')
2025-04-14 23:02:50,733 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18550535-34720831 passed
2025-04-14 23:02:50,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-14 23:02:50,888 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18550535-34720831, IP 18.31.76.67, Port 22
2025-04-14 23:02:51,059 - DEBUG - VM ctest-TestRoutersBasic-18550535-34720831 is ready for SSH connections
2025-04-14 23:02:51,059 - INFO - Waiting for VM ctest-TestRoutersBasic-18550535-79968247 to be up..
2025-04-14 23:02:51,132 - DEBUG - VM is in ACTIVE state now
2025-04-14 23:02:51,132 - INFO - VM name : ctest-TestRoutersBasic-18550535-79968247
2025-04-14 23:02:51,202 - DEBUG - VM ctest-TestRoutersBasic-18550535-79968247 ID is 19a5faed-2266-476f-8cdc-a9e1b36bbac8
2025-04-14 23:02:51,203 - DEBUG - VM ctest-TestRoutersBasic-18550535-79968247 launched on Node cn-jenkins-deploy-platform-ansible-os-3111-1
2025-04-14 23:02:51,276 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/19a5faed-2266-476f-8cdc-a9e1b36bbac8
2025-04-14 23:02:51,285 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/47578e3f-047e-4c72-804b-726dded97e9e
2025-04-14 23:02:52,519 - 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=2.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.322 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.322/1.513/2.704/1.191 ms')
2025-04-14 23:02:52,520 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-18550535-79968247 passed
2025-04-14 23:02:52,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-14 23:02:52,668 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18550535-79968247, IP 61.8.157.131, Port 22
2025-04-14 23:02:52,819 - DEBUG - VM ctest-TestRoutersBasic-18550535-79968247 is ready for SSH connections
2025-04-14 23:02:52,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-14 23:02:52,819 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.8.157.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-04-14 23:02:52,819 - DEBUG - ping -s 56 -c 3 -W 1 61.8.157.131
2025-04-14 23:02:56,490 - DEBUG - PING 61.8.157.131 (61.8.157.131): 56 data bytes
64 bytes from 61.8.157.131: seq=0 ttl=62 time=6.584 ms
64 bytes from 61.8.157.131: seq=1 ttl=62 time=0.946 ms
64 bytes from 61.8.157.131: seq=2 ttl=62 time=0.812 ms
--- 61.8.157.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.812/2.780/6.584 ms
2025-04-14 23:02:56,490 - INFO - Ping to IP 61.8.157.131 from VM ctest-TestRoutersBasic-18550535-34720831 passed
2025-04-14 23:02:56,490 - INFO - Deleting interface with subnet_id d908f498-f83d-444d-9129-9464d61b2c58, port_id None from router 65e29d50-67bd-4403-9b36-cf3f2e7710f1
2025-04-14 23:02:56,707 - INFO - Deleting VM ctest-TestRoutersBasic-18550535-79968247
2025-04-14 23:02:56,800 - INFO - Deleting VM ctest-TestRoutersBasic-18550535-34720831
2025-04-14 23:02:56,891 - INFO - Deleting VN ctest-ext_vn-69719955
2025-04-14 23:02:56,974 - DEBUG - VN 478813a1-3874-46d9-b741-4e8f67c25cf4 still in use: Unable to complete operation on network 478813a1-3874-46d9-b741-4e8f67c25cf4. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-abe2437a-3ceb-4a4a-9838-51993a00ebe7']
2025-04-14 23:02:56,974 - WARNING - Deleting VN ctest-ext_vn-69719955 failed..Will retry
2025-04-14 23:02:59,082 - DEBUG - Response for deleting network ()
2025-04-14 23:02:59,082 - INFO - Deleting VN ctest-vn-63118079
2025-04-14 23:02:59,185 - DEBUG - Response for deleting network ()
2025-04-14 23:02:59,441 - DEBUG - No XMPP flaps were noticed during the test
2025-04-14 23:02:59,441 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2025-04-14 23:02:59,441 - INFO - --------------------------------------------------------------------------------
2025-04-14 23:03:00,106 - INFO - Deleted project: ctest-TestRoutersBasic-18550535, ID : e93420ee-0855-41c9-aeb7-4a9acd6e4a6e