2025-01-12 22:10:28,072 - INFO - Domain Default found not creating
2025-01-12 22:10:28,213 - INFO - Project ctest-TestRoutersBasic-55867183 not found, creating it
2025-01-12 22:10:28,669 - INFO - Created Project:ctest-TestRoutersBasic-55867183, ID : 7c5beee9-dc24-4840-acff-11f4c50a246f
2025-01-12 22:10:30,110 - INFO - ================================================================================
2025-01-12 22:10:30,110 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-12 22:10:30,110 - 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-12 22:10:30,365 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.13': '0'}} with
2025-01-12 22:10:30,366 - INFO - Initial checks done. Running the testcase now
2025-01-12 22:10:30,366 - INFO -
2025-01-12 22:10:31,080 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-55867183
2025-01-12 22:10:31,174 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-55867183
2025-01-12 22:10:31,494 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55867183', 'default']}
2025-01-12 22:10:31,788 - DEBUG - Response for create_network : {'network': {'id': 'b7339411-15ad-45f2-b5b5-8f411d359782', 'name': 'ctest-vn-74892914', 'tenant_id': '7c5beee9dc244840acff11f4c50a246f', 'project_id': '7c5beee9dc244840acff11f4c50a246f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55867183', 'ctest-vn-74892914'], 'port_security_enabled': True, 'description': ''}}
2025-01-12 22:10:32,012 - DEBUG - Response for create_subnet : {'subnet': {'id': '20ae1a56-661c-4f44-8e53-b54e37be1b7b', 'name': '', 'tenant_id': '7c5beee9dc244840acff11f4c50a246f', 'network_id': 'b7339411-15ad-45f2-b5b5-8f411d359782', 'ip_version': 4, 'cidr': '42.243.113.0/26', 'allocation_pools': [{'start': '42.243.113.2', 'end': '42.243.113.62'}], 'gateway_ip': '42.243.113.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.243.113.2', 'tags': [], 'project_id': '7c5beee9dc244840acff11f4c50a246f'}}
2025-01-12 22:10:32,030 - INFO - Created VN ctest-vn-74892914
2025-01-12 22:10:32,082 - DEBUG - VN ctest-vn-74892914 UUID is b7339411-15ad-45f2-b5b5-8f411d359782
2025-01-12 22:10:32,442 - DEBUG - Response for create_network : {'network': {'id': '60997566-149e-43c0-a745-b5b0c6067475', 'name': 'ctest-ext_vn-31029067', 'tenant_id': '7c5beee9dc244840acff11f4c50a246f', 'project_id': '7c5beee9dc244840acff11f4c50a246f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55867183', 'ctest-ext_vn-31029067'], 'port_security_enabled': True, 'description': ''}}
2025-01-12 22:10:32,634 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e3dac39-b713-4405-9b09-03d25f9f2f86', 'name': '', 'tenant_id': '7c5beee9dc244840acff11f4c50a246f', 'network_id': '60997566-149e-43c0-a745-b5b0c6067475', 'ip_version': 4, 'cidr': '96.254.128.0/26', 'allocation_pools': [{'start': '96.254.128.2', 'end': '96.254.128.62'}], 'gateway_ip': '96.254.128.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.254.128.2', 'tags': [], 'project_id': '7c5beee9dc244840acff11f4c50a246f'}}
2025-01-12 22:10:32,655 - INFO - Created VN ctest-ext_vn-31029067
2025-01-12 22:10:32,706 - DEBUG - VN ctest-ext_vn-31029067 UUID is 60997566-149e-43c0-a745-b5b0c6067475
2025-01-12 22:10:32,873 - DEBUG - Services list from nova: [, , ]
2025-01-12 22:10:33,852 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2603-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2603-1)
2025-01-12 22:10:34,966 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2603-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2603-1)
2025-01-12 22:10:35,046 - INFO - Setting gateway for router 2a9e284d-294e-4489-a9fe-bdeafcfe2611 to network 60997566-149e-43c0-a745-b5b0c6067475
2025-01-12 22:10:35,115 - INFO - Adding interface with subnet_id 20ae1a56-661c-4f44-8e53-b54e37be1b7b, port_id None to router 2a9e284d-294e-4489-a9fe-bdeafcfe2611
2025-01-12 22:10:35,510 - INFO - Waiting for VM ctest-TestRoutersBasic-55867183-14092978 to be up..
2025-01-12 22:10:35,670 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-12 22:10:40,742 - DEBUG - VM is in ACTIVE state now
2025-01-12 22:10:40,742 - INFO - VM name : ctest-TestRoutersBasic-55867183-14092978
2025-01-12 22:10:40,816 - DEBUG - VM ctest-TestRoutersBasic-55867183-14092978 ID is 32025f44-f3e4-4361-bcbf-ab1d70124810
2025-01-12 22:10:40,834 - DEBUG - VM ctest-TestRoutersBasic-55867183-14092978 launched on Node cn-jenkins-deploy-platform-ansible-os-2603-1
2025-01-12 22:10:40,907 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/32025f44-f3e4-4361-bcbf-ab1d70124810
2025-01-12 22:10:41,204 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/32025f44-f3e4-4361-bcbf-ab1d70124810
2025-01-12 22:10:41,233 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/896da0f4-91a5-4c0c-8132-afeca5e8a798
2025-01-12 22:10:44,496 - 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 1030ms')
2025-01-12 22:10:44,496 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55867183-14092978 failed!
2025-01-12 22:10:44,550 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-55867183:ctest-vn-74892914 is 42.243.113.1 and allocation pool is NOT set
2025-01-12 22:10:46,609 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.424 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.424/1.774/3.125/1.350 ms')
2025-01-12 22:10:46,610 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55867183-14092978 passed
2025-01-12 22:10:46,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-12 22:10:46,758 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55867183-14092978, IP 42.243.113.3, Port 22
2025-01-12 22:10:46,913 - DEBUG - VM ctest-TestRoutersBasic-55867183-14092978 is ready for SSH connections
2025-01-12 22:10:46,913 - INFO - Waiting for VM ctest-TestRoutersBasic-55867183-74644901 to be up..
2025-01-12 22:10:46,994 - DEBUG - VM is in ACTIVE state now
2025-01-12 22:10:46,994 - INFO - VM name : ctest-TestRoutersBasic-55867183-74644901
2025-01-12 22:10:47,086 - DEBUG - VM ctest-TestRoutersBasic-55867183-74644901 ID is 14a2ff99-66e7-4ea8-9843-de4ec9caa42e
2025-01-12 22:10:47,086 - DEBUG - VM ctest-TestRoutersBasic-55867183-74644901 launched on Node cn-jenkins-deploy-platform-ansible-os-2603-1
2025-01-12 22:10:47,162 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/14a2ff99-66e7-4ea8-9843-de4ec9caa42e
2025-01-12 22:10:47,170 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/ac4b1592-c183-4a2a-85c6-4868663132b0
2025-01-12 22:10:48,412 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.431 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.431/1.737/3.043/1.306 ms')
2025-01-12 22:10:48,412 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-55867183-74644901 passed
2025-01-12 22:10:48,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-12 22:10:48,586 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55867183-74644901, IP 96.254.128.3, Port 22
2025-01-12 22:10:48,742 - DEBUG - VM ctest-TestRoutersBasic-55867183-74644901 is ready for SSH connections
2025-01-12 22:10:48,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-12 22:10:48,742 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.254.128.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2025-01-12 22:10:48,742 - DEBUG - ping -s 56 -c 3 -W 1 96.254.128.3
2025-01-12 22:10:52,778 - DEBUG - PING 96.254.128.3 (96.254.128.3): 56 data bytes
64 bytes from 96.254.128.3: seq=0 ttl=62 time=6.618 ms
64 bytes from 96.254.128.3: seq=1 ttl=62 time=1.186 ms
64 bytes from 96.254.128.3: seq=2 ttl=62 time=1.344 ms
--- 96.254.128.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.186/3.049/6.618 ms
2025-01-12 22:10:52,778 - INFO - Ping to IP 96.254.128.3 from VM ctest-TestRoutersBasic-55867183-14092978 passed
2025-01-12 22:10:52,779 - INFO - Deleting interface with subnet_id 20ae1a56-661c-4f44-8e53-b54e37be1b7b, port_id None from router 2a9e284d-294e-4489-a9fe-bdeafcfe2611
2025-01-12 22:10:52,993 - INFO - Deleting VM ctest-TestRoutersBasic-55867183-74644901
2025-01-12 22:10:53,069 - INFO - Deleting VM ctest-TestRoutersBasic-55867183-14092978
2025-01-12 22:10:53,165 - INFO - Deleting VN ctest-ext_vn-31029067
2025-01-12 22:10:53,247 - DEBUG - VN 60997566-149e-43c0-a745-b5b0c6067475 still in use: Unable to complete operation on network 60997566-149e-43c0-a745-b5b0c6067475. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-1d16bbe7-23bb-41e9-80f4-f9f473caecd7']
2025-01-12 22:10:53,247 - WARNING - Deleting VN ctest-ext_vn-31029067 failed..Will retry
2025-01-12 22:10:55,506 - DEBUG - Response for deleting network ()
2025-01-12 22:10:55,506 - INFO - Deleting VN ctest-vn-74892914
2025-01-12 22:10:55,748 - DEBUG - Response for deleting network ()
2025-01-12 22:10:56,015 - DEBUG - No XMPP flaps were noticed during the test
2025-01-12 22:10:56,015 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-12 22:10:56,015 - INFO - --------------------------------------------------------------------------------
2025-01-12 22:10:56,698 - INFO - Deleted project: ctest-TestRoutersBasic-55867183, ID : 7c5beee9-dc24-4840-acff-11f4c50a246f