2025-01-27 02:34:23,415 - INFO - Domain Default found not creating
2025-01-27 02:34:23,589 - INFO - Project ctest-TestRoutersBasic-35410512 not found, creating it
2025-01-27 02:34:24,209 - INFO - Created Project:ctest-TestRoutersBasic-35410512, ID : d715c0bb-2af6-4a40-86f8-765137e34df0
2025-01-27 02:34:25,722 - INFO - ================================================================================
2025-01-27 02:34:25,722 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-27 02:34:25,722 - 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-27 02:34:27,016 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.8': '0', '10.20.0.13': '0'}, '10.0.0.43': {'10.20.0.8': '0', '10.20.0.13': '0'}} with
2025-01-27 02:34:27,016 - INFO - Initial checks done. Running the testcase now
2025-01-27 02:34:27,017 - INFO -
2025-01-27 02:34:27,790 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-35410512
2025-01-27 02:34:27,859 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-35410512
2025-01-27 02:34:28,202 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35410512', 'default']}
2025-01-27 02:34:28,694 - DEBUG - Response for create_network : {'network': {'id': 'f031787c-fc1c-40ca-9e22-516c60d72f62', 'name': 'ctest-vn-88074529', 'tenant_id': 'd715c0bb2af64a4086f8765137e34df0', 'project_id': 'd715c0bb2af64a4086f8765137e34df0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35410512', 'ctest-vn-88074529'], 'port_security_enabled': True, 'description': ''}}
2025-01-27 02:34:29,597 - DEBUG - Response for create_subnet : {'subnet': {'id': '3cd3fd08-2b02-4669-bacb-2cf935e9af01', 'name': '', 'tenant_id': 'd715c0bb2af64a4086f8765137e34df0', 'network_id': 'f031787c-fc1c-40ca-9e22-516c60d72f62', 'ip_version': 4, 'cidr': '38.113.133.192/26', 'allocation_pools': [{'start': '38.113.133.194', 'end': '38.113.133.254'}], 'gateway_ip': '38.113.133.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.113.133.194', 'tags': [], 'project_id': 'd715c0bb2af64a4086f8765137e34df0'}}
2025-01-27 02:34:29,632 - INFO - Created VN ctest-vn-88074529
2025-01-27 02:34:29,646 - DEBUG - VN ctest-vn-88074529 UUID is f031787c-fc1c-40ca-9e22-516c60d72f62
2025-01-27 02:34:30,172 - DEBUG - Response for create_network : {'network': {'id': 'a143b5e3-e30c-4f66-a232-8864b364e740', 'name': 'ctest-ext_vn-22303717', 'tenant_id': 'd715c0bb2af64a4086f8765137e34df0', 'project_id': 'd715c0bb2af64a4086f8765137e34df0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35410512', 'ctest-ext_vn-22303717'], 'port_security_enabled': True, 'description': ''}}
2025-01-27 02:34:30,524 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e9b827a-0a96-4b77-bfe8-744e2ce52225', 'name': '', 'tenant_id': 'd715c0bb2af64a4086f8765137e34df0', 'network_id': 'a143b5e3-e30c-4f66-a232-8864b364e740', 'ip_version': 4, 'cidr': '49.47.112.128/26', 'allocation_pools': [{'start': '49.47.112.130', 'end': '49.47.112.190'}], 'gateway_ip': '49.47.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.47.112.130', 'tags': [], 'project_id': 'd715c0bb2af64a4086f8765137e34df0'}}
2025-01-27 02:34:30,556 - INFO - Created VN ctest-ext_vn-22303717
2025-01-27 02:34:30,577 - DEBUG - VN ctest-ext_vn-22303717 UUID is a143b5e3-e30c-4f66-a232-8864b364e740
2025-01-27 02:34:30,741 - DEBUG - Services list from nova: [, , , ]
2025-01-27 02:34:32,133 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-2660-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-2660-2)
2025-01-27 02:34:33,741 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-2660-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-2660-1)
2025-01-27 02:34:33,899 - INFO - Setting gateway for router 70b028e2-ab3c-4ad1-b240-da1759333e99 to network a143b5e3-e30c-4f66-a232-8864b364e740
2025-01-27 02:34:34,455 - INFO - Adding interface with subnet_id 3cd3fd08-2b02-4669-bacb-2cf935e9af01, port_id None to router 70b028e2-ab3c-4ad1-b240-da1759333e99
2025-01-27 02:34:35,163 - INFO - Waiting for VM ctest-TestRoutersBasic-35410512-15851142 to be up..
2025-01-27 02:34:35,334 - DEBUG - VM is in ACTIVE state now
2025-01-27 02:34:35,334 - INFO - VM name : ctest-TestRoutersBasic-35410512-15851142
2025-01-27 02:34:35,486 - DEBUG - VM ctest-TestRoutersBasic-35410512-15851142 ID is 92bb3995-c0bf-4b34-ae72-93ffc1db0fee
2025-01-27 02:34:35,543 - DEBUG - VM ctest-TestRoutersBasic-35410512-15851142 launched on Node an-jenkins-deploy-platform-ansible-os-2660-2
2025-01-27 02:34:35,723 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/92bb3995-c0bf-4b34-ae72-93ffc1db0fee
2025-01-27 02:34:36,299 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/92bb3995-c0bf-4b34-ae72-93ffc1db0fee
2025-01-27 02:34:36,377 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/81eb2b8e-cf1b-4703-9169-455e2ec92eec
2025-01-27 02:34:39,637 - 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 1018ms')
2025-01-27 02:34:39,637 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35410512-15851142 failed!
2025-01-27 02:34:39,656 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-35410512:ctest-vn-88074529 is 38.113.133.193 and allocation pool is NOT set
2025-01-27 02:34:43,727 - 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 1014ms')
2025-01-27 02:34:43,727 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35410512-15851142 failed!
2025-01-27 02:34:43,747 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-35410512:ctest-vn-88074529 is 38.113.133.193 and allocation pool is NOT set
2025-01-27 02:34:45,811 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.727 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.727/2.610/4.494/1.883 ms')
2025-01-27 02:34:45,811 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35410512-15851142 passed
2025-01-27 02:34:45,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-27 02:34:45,925 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35410512-15851142, IP 38.113.133.195, Port 22
2025-01-27 02:34:45,991 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-01-27 02:34:46,079 - DEBUG - VM ctest-TestRoutersBasic-35410512-15851142 is NOT ready for SSH connections, VM status: ACTIVE
2025-01-27 02:34:51,079 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-27 02:34:51,080 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35410512-15851142, IP 38.113.133.195, Port 22
2025-01-27 02:34:51,247 - DEBUG - VM ctest-TestRoutersBasic-35410512-15851142 is ready for SSH connections
2025-01-27 02:34:51,247 - INFO - Waiting for VM ctest-TestRoutersBasic-35410512-79813260 to be up..
2025-01-27 02:34:51,359 - DEBUG - VM is in ACTIVE state now
2025-01-27 02:34:51,359 - INFO - VM name : ctest-TestRoutersBasic-35410512-79813260
2025-01-27 02:34:51,460 - DEBUG - VM ctest-TestRoutersBasic-35410512-79813260 ID is 1fae119d-dee4-41cc-a21a-595cf1406fe4
2025-01-27 02:34:51,460 - DEBUG - VM ctest-TestRoutersBasic-35410512-79813260 launched on Node an-jenkins-deploy-platform-ansible-os-2660-1
2025-01-27 02:34:51,554 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1fae119d-dee4-41cc-a21a-595cf1406fe4
2025-01-27 02:34:51,567 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/63102004-a908-48be-a1a7-f8c710dda409
2025-01-27 02:34:52,785 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.411 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.411/1.739/3.067/1.328 ms')
2025-01-27 02:34:52,786 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35410512-79813260 passed
2025-01-27 02:34:52,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-27 02:34:52,949 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35410512-79813260, IP 49.47.112.131, Port 22
2025-01-27 02:34:53,109 - DEBUG - VM ctest-TestRoutersBasic-35410512-79813260 is ready for SSH connections
2025-01-27 02:34:53,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-27 02:34:53,110 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.47.112.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123
2025-01-27 02:34:53,110 - DEBUG - ping -s 56 -c 3 -W 1 49.47.112.131
2025-01-27 02:34:56,847 - DEBUG - PING 49.47.112.131 (49.47.112.131): 56 data bytes
64 bytes from 49.47.112.131: seq=0 ttl=62 time=10.446 ms
64 bytes from 49.47.112.131: seq=1 ttl=62 time=1.840 ms
64 bytes from 49.47.112.131: seq=2 ttl=62 time=1.497 ms
--- 49.47.112.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.497/4.594/10.446 ms
2025-01-27 02:34:56,847 - INFO - Ping to IP 49.47.112.131 from VM ctest-TestRoutersBasic-35410512-15851142 passed
2025-01-27 02:34:56,847 - INFO - Deleting interface with subnet_id 3cd3fd08-2b02-4669-bacb-2cf935e9af01, port_id None from router 70b028e2-ab3c-4ad1-b240-da1759333e99
2025-01-27 02:34:57,413 - INFO - Deleting VM ctest-TestRoutersBasic-35410512-79813260
2025-01-27 02:34:57,608 - INFO - Deleting VM ctest-TestRoutersBasic-35410512-15851142
2025-01-27 02:34:57,802 - INFO - Deleting VN ctest-ext_vn-22303717
2025-01-27 02:34:57,971 - DEBUG - VN a143b5e3-e30c-4f66-a232-8864b364e740 still in use: Unable to complete operation on network a143b5e3-e30c-4f66-a232-8864b364e740. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c3c38721-5bea-4dba-b098-502b9defe8cb']
2025-01-27 02:34:57,972 - WARNING - Deleting VN ctest-ext_vn-22303717 failed..Will retry
2025-01-27 02:35:00,196 - DEBUG - Response for deleting network ()
2025-01-27 02:35:00,197 - INFO - Deleting VN ctest-vn-88074529
2025-01-27 02:35:00,449 - DEBUG - Response for deleting network ()
2025-01-27 02:35:01,775 - DEBUG - No XMPP flaps were noticed during the test
2025-01-27 02:35:01,775 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:36]
2025-01-27 02:35:01,775 - INFO - --------------------------------------------------------------------------------
2025-01-27 02:35:02,601 - INFO - Deleted project: ctest-TestRoutersBasic-35410512, ID : d715c0bb-2af6-4a40-86f8-765137e34df0