2025-07-24 03:27:24,848 - INFO - Domain Default found not creating
2025-07-24 03:27:25,027 - INFO - Project ctest-TestRoutersBasic-86686200 not found, creating it
2025-07-24 03:27:25,580 - INFO - Created Project:ctest-TestRoutersBasic-86686200, ID : 2c5e7863-8a1e-44b5-aaa6-6ef0fc8b30bb
2025-07-24 03:27:27,574 - INFO - ================================================================================
2025-07-24 03:27:27,574 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-24 03:27:27,574 - 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-07-24 03:27:28,890 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0', '10.20.0.129': '0'}, '10.0.0.23': {'10.20.0.129': '0', '10.20.0.17': '0'}} with
2025-07-24 03:27:28,890 - INFO - Initial checks done. Running the testcase now
2025-07-24 03:27:28,890 - INFO -
2025-07-24 03:27:29,643 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-86686200
2025-07-24 03:27:29,707 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-86686200
2025-07-24 03:27:30,048 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86686200', 'default']}
2025-07-24 03:27:30,525 - DEBUG - Response for create_network : {'network': {'id': '58b0ef7c-a781-4cb3-9a0c-8520857558be', 'name': 'ctest-vn-28124853', 'tenant_id': '2c5e78638a1e44b5aaa66ef0fc8b30bb', 'project_id': '2c5e78638a1e44b5aaa66ef0fc8b30bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86686200', 'ctest-vn-28124853'], 'port_security_enabled': True, 'description': ''}}
2025-07-24 03:27:30,938 - DEBUG - Response for create_subnet : {'subnet': {'id': 'baf7c030-f629-4bf5-acce-d2a2b9640256', 'name': '', 'tenant_id': '2c5e78638a1e44b5aaa66ef0fc8b30bb', 'network_id': '58b0ef7c-a781-4cb3-9a0c-8520857558be', 'ip_version': 4, 'cidr': '216.208.218.64/26', 'allocation_pools': [{'start': '216.208.218.66', 'end': '216.208.218.126'}], 'gateway_ip': '216.208.218.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.208.218.66', 'tags': [], 'project_id': '2c5e78638a1e44b5aaa66ef0fc8b30bb'}}
2025-07-24 03:27:30,963 - INFO - Created VN ctest-vn-28124853
2025-07-24 03:27:30,981 - DEBUG - VN ctest-vn-28124853 UUID is 58b0ef7c-a781-4cb3-9a0c-8520857558be
2025-07-24 03:27:31,780 - DEBUG - Response for create_network : {'network': {'id': 'e6418197-9821-4fa5-aaa7-9e1617dca18c', 'name': 'ctest-ext_vn-01623302', 'tenant_id': '2c5e78638a1e44b5aaa66ef0fc8b30bb', 'project_id': '2c5e78638a1e44b5aaa66ef0fc8b30bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86686200', 'ctest-ext_vn-01623302'], 'port_security_enabled': True, 'description': ''}}
2025-07-24 03:27:32,032 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a0c398d3-6f53-4712-9d7f-e2e40ca19b69', 'name': '', 'tenant_id': '2c5e78638a1e44b5aaa66ef0fc8b30bb', 'network_id': 'e6418197-9821-4fa5-aaa7-9e1617dca18c', 'ip_version': 4, 'cidr': '99.46.115.128/26', 'allocation_pools': [{'start': '99.46.115.130', 'end': '99.46.115.190'}], 'gateway_ip': '99.46.115.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.46.115.130', 'tags': [], 'project_id': '2c5e78638a1e44b5aaa66ef0fc8b30bb'}}
2025-07-24 03:27:32,064 - INFO - Created VN ctest-ext_vn-01623302
2025-07-24 03:27:32,078 - DEBUG - VN ctest-ext_vn-01623302 UUID is e6418197-9821-4fa5-aaa7-9e1617dca18c
2025-07-24 03:27:32,249 - DEBUG - Services list from nova: [, , , ]
2025-07-24 03:27:33,797 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3712-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3712-1)
2025-07-24 03:27:35,367 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3712-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3712-2)
2025-07-24 03:27:35,558 - INFO - Setting gateway for router 1b81217f-7174-4707-9bec-e24b0e0f4c77 to network e6418197-9821-4fa5-aaa7-9e1617dca18c
2025-07-24 03:27:35,645 - INFO - Adding interface with subnet_id baf7c030-f629-4bf5-acce-d2a2b9640256, port_id None to router 1b81217f-7174-4707-9bec-e24b0e0f4c77
2025-07-24 03:27:36,344 - INFO - Waiting for VM ctest-TestRoutersBasic-86686200-95537809 to be up..
2025-07-24 03:27:36,525 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-24 03:27:41,613 - DEBUG - VM is in ACTIVE state now
2025-07-24 03:27:41,613 - INFO - VM name : ctest-TestRoutersBasic-86686200-95537809
2025-07-24 03:27:41,703 - DEBUG - VM ctest-TestRoutersBasic-86686200-95537809 ID is 652393b3-147b-49c2-90ea-04ff5e715cc5
2025-07-24 03:27:41,729 - DEBUG - VM ctest-TestRoutersBasic-86686200-95537809 launched on Node an-jenkins-deploy-platform-ansible-os-3712-1
2025-07-24 03:27:41,819 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/652393b3-147b-49c2-90ea-04ff5e715cc5
2025-07-24 03:27:42,122 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/652393b3-147b-49c2-90ea-04ff5e715cc5
2025-07-24 03:27:42,159 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/fa97c4c8-1baf-476c-9175-16994b83e2f7
2025-07-24 03:27:45,413 - 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 1025ms')
2025-07-24 03:27:45,413 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86686200-95537809 failed!
2025-07-24 03:27:45,432 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-86686200:ctest-vn-28124853 is 216.208.218.65 and allocation pool is NOT set
2025-07-24 03:27:47,503 - 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=16.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.925 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.925/8.610/16.295/7.685 ms')
2025-07-24 03:27:47,503 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86686200-95537809 passed
2025-07-24 03:27:47,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-24 03:27:47,625 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86686200-95537809, IP 216.208.218.67, Port 22
2025-07-24 03:27:47,694 - 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-07-24 03:27:47,792 - DEBUG - VM ctest-TestRoutersBasic-86686200-95537809 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-24 03:27:52,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-24 03:27:52,794 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86686200-95537809, IP 216.208.218.67, Port 22
2025-07-24 03:27:52,971 - DEBUG - VM ctest-TestRoutersBasic-86686200-95537809 is ready for SSH connections
2025-07-24 03:27:52,971 - INFO - Waiting for VM ctest-TestRoutersBasic-86686200-74579198 to be up..
2025-07-24 03:27:53,055 - DEBUG - VM is in ACTIVE state now
2025-07-24 03:27:53,055 - INFO - VM name : ctest-TestRoutersBasic-86686200-74579198
2025-07-24 03:27:53,140 - DEBUG - VM ctest-TestRoutersBasic-86686200-74579198 ID is d5cedb7d-3a80-4ceb-9945-66d2d09c117b
2025-07-24 03:27:53,141 - DEBUG - VM ctest-TestRoutersBasic-86686200-74579198 launched on Node an-jenkins-deploy-platform-ansible-os-3712-2
2025-07-24 03:27:53,229 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/d5cedb7d-3a80-4ceb-9945-66d2d09c117b
2025-07-24 03:27:53,241 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/a53df8e9-fdcc-4273-a7e6-48a4072f3a53
2025-07-24 03:27:54,463 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.463 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 = 0.463/2.061/3.660/1.598 ms')
2025-07-24 03:27:54,463 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86686200-74579198 passed
2025-07-24 03:27:54,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-24 03:27:54,579 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86686200-74579198, IP 99.46.115.131, Port 22
2025-07-24 03:27:54,752 - DEBUG - VM ctest-TestRoutersBasic-86686200-74579198 is ready for SSH connections
2025-07-24 03:27:54,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-24 03:27:54,752 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.46.115.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-07-24 03:27:54,753 - DEBUG - ping -s 56 -c 3 -W 1 99.46.115.131
2025-07-24 03:27:58,809 - DEBUG - PING 99.46.115.131 (99.46.115.131): 56 data bytes
64 bytes from 99.46.115.131: seq=0 ttl=62 time=7.529 ms
64 bytes from 99.46.115.131: seq=1 ttl=62 time=1.468 ms
64 bytes from 99.46.115.131: seq=2 ttl=62 time=2.366 ms
--- 99.46.115.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.468/3.787/7.529 ms
2025-07-24 03:27:58,809 - INFO - Ping to IP 99.46.115.131 from VM ctest-TestRoutersBasic-86686200-95537809 passed
2025-07-24 03:27:58,809 - INFO - Deleting interface with subnet_id baf7c030-f629-4bf5-acce-d2a2b9640256, port_id None from router 1b81217f-7174-4707-9bec-e24b0e0f4c77
2025-07-24 03:27:59,319 - INFO - Deleting VM ctest-TestRoutersBasic-86686200-74579198
2025-07-24 03:27:59,504 - INFO - Deleting VM ctest-TestRoutersBasic-86686200-95537809
2025-07-24 03:27:59,670 - INFO - Deleting VN ctest-ext_vn-01623302
2025-07-24 03:27:59,852 - DEBUG - VN e6418197-9821-4fa5-aaa7-9e1617dca18c still in use: Unable to complete operation on network e6418197-9821-4fa5-aaa7-9e1617dca18c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e79fefe7-d9d2-489a-aa5b-e70e15ec2049']
2025-07-24 03:27:59,852 - WARNING - Deleting VN ctest-ext_vn-01623302 failed..Will retry
2025-07-24 03:28:02,092 - DEBUG - Response for deleting network ()
2025-07-24 03:28:02,092 - INFO - Deleting VN ctest-vn-28124853
2025-07-24 03:28:02,378 - DEBUG - Response for deleting network ()
2025-07-24 03:28:03,719 - DEBUG - No XMPP flaps were noticed during the test
2025-07-24 03:28:03,719 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:36]
2025-07-24 03:28:03,719 - INFO - --------------------------------------------------------------------------------
2025-07-24 03:28:04,757 - INFO - Deleted project: ctest-TestRoutersBasic-86686200, ID : 2c5e7863-8a1e-44b5-aaa6-6ef0fc8b30bb