2025-04-22 13:39:56,242 - INFO - Domain Default found not creating
2025-04-22 13:39:56,378 - INFO - Project ctest-TestRoutersBasic-57746344 not found, creating it
2025-04-22 13:39:56,832 - INFO - Created Project:ctest-TestRoutersBasic-57746344, ID : bfffcd34-be6d-4576-8fb6-6c4be03282a8
2025-04-22 13:39:58,163 - INFO - ================================================================================
2025-04-22 13:39:58,164 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-22 13:39:58,164 - 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-22 13:39:58,425 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.254': '0'}} with
2025-04-22 13:39:58,425 - INFO - Initial checks done. Running the testcase now
2025-04-22 13:39:58,425 - INFO -
2025-04-22 13:39:59,103 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-57746344
2025-04-22 13:39:59,204 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-57746344
2025-04-22 13:39:59,535 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57746344', 'default']}
2025-04-22 13:39:59,827 - DEBUG - Response for create_network : {'network': {'id': 'bbe07d02-dca9-4b95-87e7-2581acedd405', 'name': 'ctest-vn-14734592', 'tenant_id': 'bfffcd34be6d45768fb66c4be03282a8', 'project_id': 'bfffcd34be6d45768fb66c4be03282a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57746344', 'ctest-vn-14734592'], 'port_security_enabled': True, 'description': ''}}
2025-04-22 13:39:59,975 - DEBUG - Response for create_subnet : {'subnet': {'id': '73f212a4-afc4-417d-9cac-052d1a12670d', 'name': '', 'tenant_id': 'bfffcd34be6d45768fb66c4be03282a8', 'network_id': 'bbe07d02-dca9-4b95-87e7-2581acedd405', 'ip_version': 4, 'cidr': '26.15.41.64/26', 'allocation_pools': [{'start': '26.15.41.66', 'end': '26.15.41.126'}], 'gateway_ip': '26.15.41.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.15.41.66', 'tags': [], 'project_id': 'bfffcd34be6d45768fb66c4be03282a8'}}
2025-04-22 13:39:59,993 - INFO - Created VN ctest-vn-14734592
2025-04-22 13:40:00,044 - DEBUG - VN ctest-vn-14734592 UUID is bbe07d02-dca9-4b95-87e7-2581acedd405
2025-04-22 13:40:00,402 - DEBUG - Response for create_network : {'network': {'id': '1a9fec98-c9dd-4365-b5b2-a8879c76f438', 'name': 'ctest-ext_vn-65088859', 'tenant_id': 'bfffcd34be6d45768fb66c4be03282a8', 'project_id': 'bfffcd34be6d45768fb66c4be03282a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57746344', 'ctest-ext_vn-65088859'], 'port_security_enabled': True, 'description': ''}}
2025-04-22 13:40:00,573 - DEBUG - Response for create_subnet : {'subnet': {'id': '9fb73e3b-4c60-4cb6-9160-40efcba9edbd', 'name': '', 'tenant_id': 'bfffcd34be6d45768fb66c4be03282a8', 'network_id': '1a9fec98-c9dd-4365-b5b2-a8879c76f438', 'ip_version': 4, 'cidr': '106.51.72.64/26', 'allocation_pools': [{'start': '106.51.72.66', 'end': '106.51.72.126'}], 'gateway_ip': '106.51.72.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.51.72.66', 'tags': [], 'project_id': 'bfffcd34be6d45768fb66c4be03282a8'}}
2025-04-22 13:40:00,590 - INFO - Created VN ctest-ext_vn-65088859
2025-04-22 13:40:00,644 - DEBUG - VN ctest-ext_vn-65088859 UUID is 1a9fec98-c9dd-4365-b5b2-a8879c76f438
2025-04-22 13:40:00,848 - DEBUG - Services list from nova: [, , ]
2025-04-22 13:40:01,835 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3163-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3163-1)
2025-04-22 13:40:02,977 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3163-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3163-1)
2025-04-22 13:40:03,201 - INFO - Setting gateway for router 7400ba66-e3ed-4151-a750-bf421af58648 to network 1a9fec98-c9dd-4365-b5b2-a8879c76f438
2025-04-22 13:40:03,298 - INFO - Adding interface with subnet_id 73f212a4-afc4-417d-9cac-052d1a12670d, port_id None to router 7400ba66-e3ed-4151-a750-bf421af58648
2025-04-22 13:40:04,130 - INFO - Waiting for VM ctest-TestRoutersBasic-57746344-44617970 to be up..
2025-04-22 13:40:04,269 - DEBUG - VM is in ACTIVE state now
2025-04-22 13:40:04,270 - INFO - VM name : ctest-TestRoutersBasic-57746344-44617970
2025-04-22 13:40:04,420 - DEBUG - VM ctest-TestRoutersBasic-57746344-44617970 ID is 735b36b8-b93a-4d84-895d-2da32169e5be
2025-04-22 13:40:04,454 - DEBUG - VM ctest-TestRoutersBasic-57746344-44617970 launched on Node cn-jenkins-deploy-platform-ansible-os-3163-1
2025-04-22 13:40:04,609 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/735b36b8-b93a-4d84-895d-2da32169e5be
2025-04-22 13:40:04,942 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/735b36b8-b93a-4d84-895d-2da32169e5be
2025-04-22 13:40:04,994 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/11389f54-5cef-4bd5-b1d8-3d8026e7ff51
2025-04-22 13:40:08,279 - 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 1031ms')
2025-04-22 13:40:08,279 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57746344-44617970 failed!
2025-04-22 13:40:08,332 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-57746344:ctest-vn-14734592 is 26.15.41.65 and allocation pool is NOT set
2025-04-22 13:40:12,407 - 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-04-22 13:40:12,407 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57746344-44617970 failed!
2025-04-22 13:40:12,464 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-57746344:ctest-vn-14734592 is 26.15.41.65 and allocation pool is NOT set
2025-04-22 13:40:14,527 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.80 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 = 1.799/3.245/4.692/1.446 ms')
2025-04-22 13:40:14,527 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57746344-44617970 passed
2025-04-22 13:40:14,680 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-22 13:40:14,680 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57746344-44617970, IP 26.15.41.67, Port 22
2025-04-22 13:40:14,831 - DEBUG - VM ctest-TestRoutersBasic-57746344-44617970 is ready for SSH connections
2025-04-22 13:40:14,831 - INFO - Waiting for VM ctest-TestRoutersBasic-57746344-58343120 to be up..
2025-04-22 13:40:14,909 - DEBUG - VM is in ACTIVE state now
2025-04-22 13:40:14,909 - INFO - VM name : ctest-TestRoutersBasic-57746344-58343120
2025-04-22 13:40:14,985 - DEBUG - VM ctest-TestRoutersBasic-57746344-58343120 ID is 885bcd72-c678-4f51-a18d-a003ef6dbca1
2025-04-22 13:40:14,985 - DEBUG - VM ctest-TestRoutersBasic-57746344-58343120 launched on Node cn-jenkins-deploy-platform-ansible-os-3163-1
2025-04-22 13:40:15,055 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/885bcd72-c678-4f51-a18d-a003ef6dbca1
2025-04-22 13:40:15,064 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/b8d9634a-d9e3-49d9-8f64-fe50fcf35d7b
2025-04-22 13:40:16,299 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 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.414/1.518/2.623/1.104 ms')
2025-04-22 13:40:16,299 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-57746344-58343120 passed
2025-04-22 13:40:16,456 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-22 13:40:16,456 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57746344-58343120, IP 106.51.72.67, Port 22
2025-04-22 13:40:16,607 - DEBUG - VM ctest-TestRoutersBasic-57746344-58343120 is ready for SSH connections
2025-04-22 13:40:16,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-22 13:40:16,608 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.51.72.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123
2025-04-22 13:40:16,608 - DEBUG - ping -s 56 -c 3 -W 1 106.51.72.67
2025-04-22 13:40:20,564 - DEBUG - PING 106.51.72.67 (106.51.72.67): 56 data bytes
64 bytes from 106.51.72.67: seq=0 ttl=62 time=4.940 ms
64 bytes from 106.51.72.67: seq=1 ttl=62 time=0.856 ms
64 bytes from 106.51.72.67: seq=2 ttl=62 time=0.808 ms
--- 106.51.72.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.808/2.201/4.940 ms
2025-04-22 13:40:20,564 - INFO - Ping to IP 106.51.72.67 from VM ctest-TestRoutersBasic-57746344-44617970 passed
2025-04-22 13:40:20,564 - INFO - Deleting interface with subnet_id 73f212a4-afc4-417d-9cac-052d1a12670d, port_id None from router 7400ba66-e3ed-4151-a750-bf421af58648
2025-04-22 13:40:20,738 - INFO - Deleting VM ctest-TestRoutersBasic-57746344-58343120
2025-04-22 13:40:20,799 - INFO - Deleting VM ctest-TestRoutersBasic-57746344-44617970
2025-04-22 13:40:20,888 - INFO - Deleting VN ctest-ext_vn-65088859
2025-04-22 13:40:20,970 - DEBUG - VN 1a9fec98-c9dd-4365-b5b2-a8879c76f438 still in use: Unable to complete operation on network 1a9fec98-c9dd-4365-b5b2-a8879c76f438. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9ad87674-3eb3-4151-adc9-91c8ad5c355b']
2025-04-22 13:40:20,971 - WARNING - Deleting VN ctest-ext_vn-65088859 failed..Will retry
2025-04-22 13:40:23,065 - DEBUG - Response for deleting network ()
2025-04-22 13:40:23,065 - INFO - Deleting VN ctest-vn-14734592
2025-04-22 13:40:23,154 - DEBUG - Response for deleting network ()
2025-04-22 13:40:23,413 - DEBUG - No XMPP flaps were noticed during the test
2025-04-22 13:40:23,413 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-04-22 13:40:23,413 - INFO - --------------------------------------------------------------------------------
2025-04-22 13:40:24,063 - INFO - Deleted project: ctest-TestRoutersBasic-57746344, ID : bfffcd34-be6d-4576-8fb6-6c4be03282a8