2025-01-07 09:18:19,002 - INFO - Domain Default found not creating
2025-01-07 09:18:19,171 - INFO - Project ctest-TestRoutersBasic-85960688 not found, creating it
2025-01-07 09:18:19,679 - INFO - Created Project:ctest-TestRoutersBasic-85960688, ID : 16fc14ae-ebfc-4d07-98cc-11cc7780d0ee
2025-01-07 09:18:21,295 - INFO - ================================================================================
2025-01-07 09:18:21,295 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-07 09:18:21,295 - 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-07 09:18:21,550 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.22': '0'}} with
2025-01-07 09:18:21,550 - INFO - Initial checks done. Running the testcase now
2025-01-07 09:18:21,550 - INFO -
2025-01-07 09:18:22,298 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-85960688
2025-01-07 09:18:22,398 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-85960688
2025-01-07 09:18:22,738 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85960688', 'default']}
2025-01-07 09:18:23,105 - DEBUG - Response for create_network : {'network': {'id': 'e4decfa7-c25e-4b2e-9cef-2fe2a460072a', 'name': 'ctest-vn-32125094', 'tenant_id': '16fc14aeebfc4d0798cc11cc7780d0ee', 'project_id': '16fc14aeebfc4d0798cc11cc7780d0ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85960688', 'ctest-vn-32125094'], 'port_security_enabled': True, 'description': ''}}
2025-01-07 09:18:23,320 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c19b831-011d-4931-aa08-4ece5d62b6db', 'name': '', 'tenant_id': '16fc14aeebfc4d0798cc11cc7780d0ee', 'network_id': 'e4decfa7-c25e-4b2e-9cef-2fe2a460072a', 'ip_version': 4, 'cidr': '122.10.83.0/26', 'allocation_pools': [{'start': '122.10.83.2', 'end': '122.10.83.62'}], 'gateway_ip': '122.10.83.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.10.83.2', 'tags': [], 'project_id': '16fc14aeebfc4d0798cc11cc7780d0ee'}}
2025-01-07 09:18:23,343 - INFO - Created VN ctest-vn-32125094
2025-01-07 09:18:23,402 - DEBUG - VN ctest-vn-32125094 UUID is e4decfa7-c25e-4b2e-9cef-2fe2a460072a
2025-01-07 09:18:23,777 - DEBUG - Response for create_network : {'network': {'id': 'c148aeb4-020d-42b4-acd5-8ee4165bbd01', 'name': 'ctest-ext_vn-07591404', 'tenant_id': '16fc14aeebfc4d0798cc11cc7780d0ee', 'project_id': '16fc14aeebfc4d0798cc11cc7780d0ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85960688', 'ctest-ext_vn-07591404'], 'port_security_enabled': True, 'description': ''}}
2025-01-07 09:18:23,972 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca43a77e-414a-49a5-bc14-b494eb0c75f4', 'name': '', 'tenant_id': '16fc14aeebfc4d0798cc11cc7780d0ee', 'network_id': 'c148aeb4-020d-42b4-acd5-8ee4165bbd01', 'ip_version': 4, 'cidr': '76.78.189.64/26', 'allocation_pools': [{'start': '76.78.189.66', 'end': '76.78.189.126'}], 'gateway_ip': '76.78.189.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.78.189.66', 'tags': [], 'project_id': '16fc14aeebfc4d0798cc11cc7780d0ee'}}
2025-01-07 09:18:23,991 - INFO - Created VN ctest-ext_vn-07591404
2025-01-07 09:18:24,046 - DEBUG - VN ctest-ext_vn-07591404 UUID is c148aeb4-020d-42b4-acd5-8ee4165bbd01
2025-01-07 09:18:24,227 - DEBUG - Services list from nova: [, , ]
2025-01-07 09:18:25,287 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2543-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2543-1)
2025-01-07 09:18:26,521 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2543-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2543-1)
2025-01-07 09:18:26,607 - INFO - Setting gateway for router 22ef64e7-89f9-43ed-a480-4102b289145e to network c148aeb4-020d-42b4-acd5-8ee4165bbd01
2025-01-07 09:18:26,709 - INFO - Adding interface with subnet_id 2c19b831-011d-4931-aa08-4ece5d62b6db, port_id None to router 22ef64e7-89f9-43ed-a480-4102b289145e
2025-01-07 09:18:27,156 - INFO - Waiting for VM ctest-TestRoutersBasic-85960688-88780502 to be up..
2025-01-07 09:18:27,285 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-07 09:18:32,468 - DEBUG - VM is in ACTIVE state now
2025-01-07 09:18:32,468 - INFO - VM name : ctest-TestRoutersBasic-85960688-88780502
2025-01-07 09:18:32,660 - DEBUG - VM ctest-TestRoutersBasic-85960688-88780502 ID is 2f57564c-eb1d-4dcb-9fda-4365cadde9fa
2025-01-07 09:18:32,693 - DEBUG - VM ctest-TestRoutersBasic-85960688-88780502 launched on Node cn-jenkins-deploy-platform-ansible-os-2543-1
2025-01-07 09:18:32,791 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/2f57564c-eb1d-4dcb-9fda-4365cadde9fa
2025-01-07 09:18:33,095 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/2f57564c-eb1d-4dcb-9fda-4365cadde9fa
2025-01-07 09:18:33,130 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/24b72ef6-eb5c-4be2-b7a0-ac9cb414abd2
2025-01-07 09:18:36,430 - 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 1026ms')
2025-01-07 09:18:36,430 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85960688-88780502 failed!
2025-01-07 09:18:36,486 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-85960688:ctest-vn-32125094 is 122.10.83.1 and allocation pool is NOT set
2025-01-07 09:18:38,556 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.888 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.888/2.359/3.831/1.471 ms')
2025-01-07 09:18:38,556 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85960688-88780502 passed
2025-01-07 09:18:38,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 09:18:38,714 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85960688-88780502, IP 122.10.83.3, Port 22
2025-01-07 09:18:38,886 - DEBUG - VM ctest-TestRoutersBasic-85960688-88780502 is ready for SSH connections
2025-01-07 09:18:38,886 - INFO - Waiting for VM ctest-TestRoutersBasic-85960688-08123067 to be up..
2025-01-07 09:18:38,978 - DEBUG - VM is in ACTIVE state now
2025-01-07 09:18:38,978 - INFO - VM name : ctest-TestRoutersBasic-85960688-08123067
2025-01-07 09:18:39,062 - DEBUG - VM ctest-TestRoutersBasic-85960688-08123067 ID is f06dee3c-1199-4bba-abba-7cd35405dea8
2025-01-07 09:18:39,062 - DEBUG - VM ctest-TestRoutersBasic-85960688-08123067 launched on Node cn-jenkins-deploy-platform-ansible-os-2543-1
2025-01-07 09:18:39,139 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/f06dee3c-1199-4bba-abba-7cd35405dea8
2025-01-07 09:18:39,150 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/177cc184-ab6e-4d15-bdb2-e5f2305a73d5
2025-01-07 09:18:40,419 - 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.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.860 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.860/2.705/4.550/1.845 ms')
2025-01-07 09:18:40,420 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-85960688-08123067 passed
2025-01-07 09:18:40,578 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 09:18:40,578 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85960688-08123067, IP 76.78.189.67, Port 22
2025-01-07 09:18:40,737 - DEBUG - VM ctest-TestRoutersBasic-85960688-08123067 is ready for SSH connections
2025-01-07 09:18:40,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 09:18:40,737 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.78.189.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123
2025-01-07 09:18:40,738 - DEBUG - ping -s 56 -c 3 -W 1 76.78.189.67
2025-01-07 09:18:44,412 - DEBUG - PING 76.78.189.67 (76.78.189.67): 56 data bytes
64 bytes from 76.78.189.67: seq=0 ttl=62 time=5.970 ms
64 bytes from 76.78.189.67: seq=1 ttl=62 time=1.680 ms
64 bytes from 76.78.189.67: seq=2 ttl=62 time=1.387 ms
--- 76.78.189.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.387/3.012/5.970 ms
2025-01-07 09:18:44,412 - INFO - Ping to IP 76.78.189.67 from VM ctest-TestRoutersBasic-85960688-88780502 passed
2025-01-07 09:18:44,412 - INFO - Deleting interface with subnet_id 2c19b831-011d-4931-aa08-4ece5d62b6db, port_id None from router 22ef64e7-89f9-43ed-a480-4102b289145e
2025-01-07 09:18:44,638 - INFO - Deleting VM ctest-TestRoutersBasic-85960688-08123067
2025-01-07 09:18:44,715 - INFO - Deleting VM ctest-TestRoutersBasic-85960688-88780502
2025-01-07 09:18:44,816 - INFO - Deleting VN ctest-ext_vn-07591404
2025-01-07 09:18:44,905 - DEBUG - VN c148aeb4-020d-42b4-acd5-8ee4165bbd01 still in use: Unable to complete operation on network c148aeb4-020d-42b4-acd5-8ee4165bbd01. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-efe541fe-5616-4083-89cf-771de7829cd6']
2025-01-07 09:18:44,905 - WARNING - Deleting VN ctest-ext_vn-07591404 failed..Will retry
2025-01-07 09:18:47,022 - DEBUG - Response for deleting network ()
2025-01-07 09:18:47,022 - INFO - Deleting VN ctest-vn-32125094
2025-01-07 09:18:47,149 - DEBUG - Response for deleting network ()
2025-01-07 09:18:47,409 - DEBUG - No XMPP flaps were noticed during the test
2025-01-07 09:18:47,409 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-07 09:18:47,409 - INFO - --------------------------------------------------------------------------------
2025-01-07 09:18:48,117 - INFO - Deleted project: ctest-TestRoutersBasic-85960688, ID : 16fc14ae-ebfc-4d07-98cc-11cc7780d0ee