2025-01-06 17:00:19,742 - INFO - Domain Default found not creating
2025-01-06 17:00:19,910 - INFO - Project ctest-TestRoutersBasic-06919721 not found, creating it
2025-01-06 17:00:20,415 - INFO - Created Project:ctest-TestRoutersBasic-06919721, ID : c7f47dfb-006c-4686-9e5e-554cdf309557
2025-01-06 17:00:22,080 - INFO - ================================================================================
2025-01-06 17:00:22,080 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-06 17:00:22,080 - 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-01-06 17:00:22,342 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.13': '0'}} with
2025-01-06 17:00:22,342 - INFO - Initial checks done. Running the testcase now
2025-01-06 17:00:22,342 - INFO -
2025-01-06 17:00:23,121 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-06919721
2025-01-06 17:00:23,223 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-06919721
2025-01-06 17:00:23,594 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06919721', 'default']}
2025-01-06 17:00:23,954 - DEBUG - Response for create_network : {'network': {'id': '43edccc4-5612-4201-b24e-c913cf1e4e24', 'name': 'ctest-vn-77464984', 'tenant_id': 'c7f47dfb006c46869e5e554cdf309557', 'project_id': 'c7f47dfb006c46869e5e554cdf309557', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06919721', 'ctest-vn-77464984'], 'port_security_enabled': True, 'description': ''}}
2025-01-06 17:00:24,168 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fffbe48b-c743-4629-bcd0-c217cb7beb6f', 'name': '', 'tenant_id': 'c7f47dfb006c46869e5e554cdf309557', 'network_id': '43edccc4-5612-4201-b24e-c913cf1e4e24', 'ip_version': 4, 'cidr': '198.246.167.0/26', 'allocation_pools': [{'start': '198.246.167.2', 'end': '198.246.167.62'}], 'gateway_ip': '198.246.167.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.246.167.2', 'tags': [], 'project_id': 'c7f47dfb006c46869e5e554cdf309557'}}
2025-01-06 17:00:24,192 - INFO - Created VN ctest-vn-77464984
2025-01-06 17:00:24,246 - DEBUG - VN ctest-vn-77464984 UUID is 43edccc4-5612-4201-b24e-c913cf1e4e24
2025-01-06 17:00:24,629 - DEBUG - Response for create_network : {'network': {'id': 'c0d85785-5afc-46b5-bc2d-0c5307c29a9d', 'name': 'ctest-ext_vn-05978512', 'tenant_id': 'c7f47dfb006c46869e5e554cdf309557', 'project_id': 'c7f47dfb006c46869e5e554cdf309557', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06919721', 'ctest-ext_vn-05978512'], 'port_security_enabled': True, 'description': ''}}
2025-01-06 17:00:24,801 - DEBUG - Response for create_subnet : {'subnet': {'id': '45462317-e22e-478c-bcba-66aeaf97bbdf', 'name': '', 'tenant_id': 'c7f47dfb006c46869e5e554cdf309557', 'network_id': 'c0d85785-5afc-46b5-bc2d-0c5307c29a9d', 'ip_version': 4, 'cidr': '140.229.123.0/26', 'allocation_pools': [{'start': '140.229.123.2', 'end': '140.229.123.62'}], 'gateway_ip': '140.229.123.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.229.123.2', 'tags': [], 'project_id': 'c7f47dfb006c46869e5e554cdf309557'}}
2025-01-06 17:00:24,824 - INFO - Created VN ctest-ext_vn-05978512
2025-01-06 17:00:24,882 - DEBUG - VN ctest-ext_vn-05978512 UUID is c0d85785-5afc-46b5-bc2d-0c5307c29a9d
2025-01-06 17:00:25,069 - DEBUG - Services list from nova: [, , ]
2025-01-06 17:00:26,189 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2542-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2542-1)
2025-01-06 17:00:27,507 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2542-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2542-1)
2025-01-06 17:00:27,583 - INFO - Setting gateway for router 9330c2b9-a56b-4e2f-8caf-af2d0f5a5878 to network c0d85785-5afc-46b5-bc2d-0c5307c29a9d
2025-01-06 17:00:27,656 - INFO - Adding interface with subnet_id fffbe48b-c743-4629-bcd0-c217cb7beb6f, port_id None to router 9330c2b9-a56b-4e2f-8caf-af2d0f5a5878
2025-01-06 17:00:28,094 - INFO - Waiting for VM ctest-TestRoutersBasic-06919721-60317210 to be up..
2025-01-06 17:00:28,280 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-06 17:00:33,363 - DEBUG - VM is in ACTIVE state now
2025-01-06 17:00:33,363 - INFO - VM name : ctest-TestRoutersBasic-06919721-60317210
2025-01-06 17:00:33,449 - DEBUG - VM ctest-TestRoutersBasic-06919721-60317210 ID is d57d2a69-ed5b-4f1c-afa5-b892689391ae
2025-01-06 17:00:33,471 - DEBUG - VM ctest-TestRoutersBasic-06919721-60317210 launched on Node cn-jenkins-deploy-platform-ansible-os-2542-1
2025-01-06 17:00:33,559 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/d57d2a69-ed5b-4f1c-afa5-b892689391ae
2025-01-06 17:00:33,856 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/d57d2a69-ed5b-4f1c-afa5-b892689391ae
2025-01-06 17:00:33,901 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/d3a3ac8c-2641-402b-980f-b4d099d47c31
2025-01-06 17:00:37,185 - 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-01-06 17:00:37,185 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06919721-60317210 failed!
2025-01-06 17:00:37,242 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-06919721:ctest-vn-77464984 is 198.246.167.1 and allocation pool is NOT set
2025-01-06 17:00:39,304 - 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=3.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.549 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.549/1.930/3.311/1.381 ms')
2025-01-06 17:00:39,304 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06919721-60317210 passed
2025-01-06 17:00:39,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-06 17:00:39,463 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06919721-60317210, IP 198.246.167.3, Port 22
2025-01-06 17:00:39,622 - DEBUG - VM ctest-TestRoutersBasic-06919721-60317210 is ready for SSH connections
2025-01-06 17:00:39,622 - INFO - Waiting for VM ctest-TestRoutersBasic-06919721-35751148 to be up..
2025-01-06 17:00:39,712 - DEBUG - VM is in ACTIVE state now
2025-01-06 17:00:39,712 - INFO - VM name : ctest-TestRoutersBasic-06919721-35751148
2025-01-06 17:00:39,787 - DEBUG - VM ctest-TestRoutersBasic-06919721-35751148 ID is d067476e-d168-4607-aff2-62e506829651
2025-01-06 17:00:39,788 - DEBUG - VM ctest-TestRoutersBasic-06919721-35751148 launched on Node cn-jenkins-deploy-platform-ansible-os-2542-1
2025-01-06 17:00:39,862 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/d067476e-d168-4607-aff2-62e506829651
2025-01-06 17:00:39,872 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/fa8022a9-d2de-409e-8622-22cd1d875916
2025-01-06 17:00:41,134 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.543 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.543/1.827/3.111/1.284 ms')
2025-01-06 17:00:41,134 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-06919721-35751148 passed
2025-01-06 17:00:41,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-06 17:00:41,295 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06919721-35751148, IP 140.229.123.3, Port 22
2025-01-06 17:00:41,450 - DEBUG - VM ctest-TestRoutersBasic-06919721-35751148 is ready for SSH connections
2025-01-06 17:00:41,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-06 17:00:41,451 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.229.123.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123
2025-01-06 17:00:41,451 - DEBUG - ping -s 56 -c 3 -W 1 140.229.123.3
2025-01-06 17:00:45,464 - DEBUG - PING 140.229.123.3 (140.229.123.3): 56 data bytes
64 bytes from 140.229.123.3: seq=0 ttl=62 time=7.116 ms
64 bytes from 140.229.123.3: seq=1 ttl=62 time=1.055 ms
64 bytes from 140.229.123.3: seq=2 ttl=62 time=1.394 ms
--- 140.229.123.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.055/3.188/7.116 ms
2025-01-06 17:00:45,464 - INFO - Ping to IP 140.229.123.3 from VM ctest-TestRoutersBasic-06919721-60317210 passed
2025-01-06 17:00:45,464 - INFO - Deleting interface with subnet_id fffbe48b-c743-4629-bcd0-c217cb7beb6f, port_id None from router 9330c2b9-a56b-4e2f-8caf-af2d0f5a5878
2025-01-06 17:00:45,700 - INFO - Deleting VM ctest-TestRoutersBasic-06919721-35751148
2025-01-06 17:00:45,779 - INFO - Deleting VM ctest-TestRoutersBasic-06919721-60317210
2025-01-06 17:00:45,858 - INFO - Deleting VN ctest-ext_vn-05978512
2025-01-06 17:00:45,944 - DEBUG - VN c0d85785-5afc-46b5-bc2d-0c5307c29a9d still in use: Unable to complete operation on network c0d85785-5afc-46b5-bc2d-0c5307c29a9d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d981f9ed-5168-458e-bcfe-b328bd0f2c8a']
2025-01-06 17:00:45,944 - WARNING - Deleting VN ctest-ext_vn-05978512 failed..Will retry
2025-01-06 17:00:48,067 - DEBUG - Response for deleting network ()
2025-01-06 17:00:48,067 - INFO - Deleting VN ctest-vn-77464984
2025-01-06 17:00:48,177 - DEBUG - Response for deleting network ()
2025-01-06 17:00:48,445 - DEBUG - No XMPP flaps were noticed during the test
2025-01-06 17:00:48,446 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-06 17:00:48,446 - INFO - --------------------------------------------------------------------------------
2025-01-06 17:00:49,122 - INFO - Deleted project: ctest-TestRoutersBasic-06919721, ID : c7f47dfb-006c-4686-9e5e-554cdf309557