2024-11-15 01:36:55,538 - INFO - Domain Default found not creating
2024-11-15 01:36:55,738 - INFO - Project ctest-TestRoutersBasic-68466520 not found, creating it
2024-11-15 01:36:56,258 - INFO - Created Project:ctest-TestRoutersBasic-68466520, ID : e6052951-698e-4420-9321-04a156b78f1c
2024-11-15 01:36:57,849 - INFO - ================================================================================
2024-11-15 01:36:57,849 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-11-15 01:36:57,849 - 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
2024-11-15 01:36:58,121 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.26': '0'}} with
2024-11-15 01:36:58,121 - INFO - Initial checks done. Running the testcase now
2024-11-15 01:36:58,122 - INFO -
2024-11-15 01:36:58,896 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-68466520
2024-11-15 01:36:58,996 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-68466520
2024-11-15 01:36:59,344 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68466520', 'default']}
2024-11-15 01:36:59,708 - DEBUG - Response for create_network : {'network': {'id': 'f63b76eb-6808-4f0b-9f0f-1b1ac8652375', 'name': 'ctest-vn-94743665', 'tenant_id': 'e6052951698e4420932104a156b78f1c', 'project_id': 'e6052951698e4420932104a156b78f1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68466520', 'ctest-vn-94743665'], 'port_security_enabled': True, 'description': ''}}
2024-11-15 01:36:59,883 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8557eb2-ea39-4c8d-8cc3-cb7a3ae19256', 'name': '', 'tenant_id': 'e6052951698e4420932104a156b78f1c', 'network_id': 'f63b76eb-6808-4f0b-9f0f-1b1ac8652375', 'ip_version': 4, 'cidr': '20.140.155.64/26', 'allocation_pools': [{'start': '20.140.155.66', 'end': '20.140.155.126'}], 'gateway_ip': '20.140.155.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.140.155.66', 'tags': [], 'project_id': 'e6052951698e4420932104a156b78f1c'}}
2024-11-15 01:36:59,906 - INFO - Created VN ctest-vn-94743665
2024-11-15 01:36:59,968 - DEBUG - VN ctest-vn-94743665 UUID is f63b76eb-6808-4f0b-9f0f-1b1ac8652375
2024-11-15 01:37:00,344 - DEBUG - Response for create_network : {'network': {'id': '1e4ec5ec-88e6-45a1-a724-8134aff00bbb', 'name': 'ctest-ext_vn-55754381', 'tenant_id': 'e6052951698e4420932104a156b78f1c', 'project_id': 'e6052951698e4420932104a156b78f1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68466520', 'ctest-ext_vn-55754381'], 'port_security_enabled': True, 'description': ''}}
2024-11-15 01:37:00,530 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e86eee0-6023-42e7-a3ae-82e558206571', 'name': '', 'tenant_id': 'e6052951698e4420932104a156b78f1c', 'network_id': '1e4ec5ec-88e6-45a1-a724-8134aff00bbb', 'ip_version': 4, 'cidr': '203.120.30.64/26', 'allocation_pools': [{'start': '203.120.30.66', 'end': '203.120.30.126'}], 'gateway_ip': '203.120.30.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.120.30.66', 'tags': [], 'project_id': 'e6052951698e4420932104a156b78f1c'}}
2024-11-15 01:37:00,550 - INFO - Created VN ctest-ext_vn-55754381
2024-11-15 01:37:00,612 - DEBUG - VN ctest-ext_vn-55754381 UUID is 1e4ec5ec-88e6-45a1-a724-8134aff00bbb
2024-11-15 01:37:00,799 - DEBUG - Services list from nova: [, , ]
2024-11-15 01:37:01,916 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2307-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2307-1)
2024-11-15 01:37:03,126 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2307-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2307-1)
2024-11-15 01:37:03,206 - INFO - Setting gateway for router 7b095de2-2e94-4b4f-9082-3b8e6678866e to network 1e4ec5ec-88e6-45a1-a724-8134aff00bbb
2024-11-15 01:37:03,281 - INFO - Adding interface with subnet_id f8557eb2-ea39-4c8d-8cc3-cb7a3ae19256, port_id None to router 7b095de2-2e94-4b4f-9082-3b8e6678866e
2024-11-15 01:37:03,644 - INFO - Waiting for VM ctest-TestRoutersBasic-68466520-79216199 to be up..
2024-11-15 01:37:03,783 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-15 01:37:08,874 - DEBUG - VM is in ACTIVE state now
2024-11-15 01:37:08,874 - INFO - VM name : ctest-TestRoutersBasic-68466520-79216199
2024-11-15 01:37:08,965 - DEBUG - VM ctest-TestRoutersBasic-68466520-79216199 ID is 0c7b4dad-08a8-48e0-8aad-ae5866be613d
2024-11-15 01:37:08,984 - DEBUG - VM ctest-TestRoutersBasic-68466520-79216199 launched on Node cn-jenkins-deploy-platform-ansible-os-2307-1
2024-11-15 01:37:09,076 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0c7b4dad-08a8-48e0-8aad-ae5866be613d
2024-11-15 01:37:09,380 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0c7b4dad-08a8-48e0-8aad-ae5866be613d
2024-11-15 01:37:09,422 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6e978e03-9041-4374-a04f-3a30352882f5
2024-11-15 01:37:12,706 - 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 1013ms')
2024-11-15 01:37:12,706 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68466520-79216199 failed!
2024-11-15 01:37:12,772 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-68466520:ctest-vn-94743665 is 20.140.155.65 and allocation pool is NOT set
2024-11-15 01:37:14,842 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.22 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.223/2.482/3.741/1.259 ms')
2024-11-15 01:37:14,842 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68466520-79216199 passed
2024-11-15 01:37:14,972 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-15 01:37:14,972 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68466520-79216199, IP 20.140.155.67, Port 22
2024-11-15 01:37:15,134 - DEBUG - VM ctest-TestRoutersBasic-68466520-79216199 is ready for SSH connections
2024-11-15 01:37:15,134 - INFO - Waiting for VM ctest-TestRoutersBasic-68466520-66468862 to be up..
2024-11-15 01:37:15,239 - DEBUG - VM is in ACTIVE state now
2024-11-15 01:37:15,239 - INFO - VM name : ctest-TestRoutersBasic-68466520-66468862
2024-11-15 01:37:15,443 - DEBUG - VM ctest-TestRoutersBasic-68466520-66468862 ID is 3149e32e-071e-47f1-a005-21f37ca87f55
2024-11-15 01:37:15,443 - DEBUG - VM ctest-TestRoutersBasic-68466520-66468862 launched on Node cn-jenkins-deploy-platform-ansible-os-2307-1
2024-11-15 01:37:15,598 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3149e32e-071e-47f1-a005-21f37ca87f55
2024-11-15 01:37:15,617 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6f47d30e-83fe-4ea0-bd32-d92d671135d4
2024-11-15 01:37:16,950 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.620 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.620/1.823/3.027/1.203 ms')
2024-11-15 01:37:16,950 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-68466520-66468862 passed
2024-11-15 01:37:17,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-15 01:37:17,116 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68466520-66468862, IP 203.120.30.67, Port 22
2024-11-15 01:37:17,271 - DEBUG - VM ctest-TestRoutersBasic-68466520-66468862 is ready for SSH connections
2024-11-15 01:37:17,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-15 01:37:17,272 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.120.30.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2024-11-15 01:37:17,272 - DEBUG - ping -s 56 -c 3 -W 1 203.120.30.67
2024-11-15 01:37:20,991 - DEBUG - PING 203.120.30.67 (203.120.30.67): 56 data bytes
64 bytes from 203.120.30.67: seq=0 ttl=62 time=4.275 ms
64 bytes from 203.120.30.67: seq=1 ttl=62 time=0.876 ms
64 bytes from 203.120.30.67: seq=2 ttl=62 time=1.139 ms
--- 203.120.30.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.876/2.096/4.275 ms
2024-11-15 01:37:20,991 - INFO - Ping to IP 203.120.30.67 from VM ctest-TestRoutersBasic-68466520-79216199 passed
2024-11-15 01:37:20,991 - INFO - Deleting interface with subnet_id f8557eb2-ea39-4c8d-8cc3-cb7a3ae19256, port_id None from router 7b095de2-2e94-4b4f-9082-3b8e6678866e
2024-11-15 01:37:21,389 - INFO - Deleting VM ctest-TestRoutersBasic-68466520-66468862
2024-11-15 01:37:21,467 - INFO - Deleting VM ctest-TestRoutersBasic-68466520-79216199
2024-11-15 01:37:21,571 - INFO - Deleting VN ctest-ext_vn-55754381
2024-11-15 01:37:21,664 - DEBUG - VN 1e4ec5ec-88e6-45a1-a724-8134aff00bbb still in use: Unable to complete operation on network 1e4ec5ec-88e6-45a1-a724-8134aff00bbb. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b4a7c213-b829-4e18-b237-43b25c7d2d1c']
2024-11-15 01:37:21,664 - WARNING - Deleting VN ctest-ext_vn-55754381 failed..Will retry
2024-11-15 01:37:23,808 - DEBUG - Response for deleting network ()
2024-11-15 01:37:23,808 - INFO - Deleting VN ctest-vn-94743665
2024-11-15 01:37:23,939 - DEBUG - Response for deleting network ()
2024-11-15 01:37:24,193 - DEBUG - No XMPP flaps were noticed during the test
2024-11-15 01:37:24,193 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2024-11-15 01:37:24,193 - INFO - --------------------------------------------------------------------------------
2024-11-15 01:37:24,948 - INFO - Deleted project: ctest-TestRoutersBasic-68466520, ID : e6052951-698e-4420-9321-04a156b78f1c