2025-05-13 09:57:31,698 - INFO - Domain Default found not creating
2025-05-13 09:57:32,136 - INFO - Project ctest-TestRoutersBasic-45920758 not found, creating it
2025-05-13 09:57:32,886 - INFO - Created Project:ctest-TestRoutersBasic-45920758, ID : 37b44a3d-2868-4218-9fc8-9fd59e3f1e93
2025-05-13 09:57:34,832 - INFO - ================================================================================
2025-05-13 09:57:34,832 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-05-13 09:57:34,832 - 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-05-13 09:57:35,160 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with
2025-05-13 09:57:35,161 - INFO - Initial checks done. Running the testcase now
2025-05-13 09:57:35,161 - INFO -
2025-05-13 09:57:36,004 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-45920758
2025-05-13 09:57:36,111 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-45920758
2025-05-13 09:57:36,526 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45920758', 'default']}
2025-05-13 09:57:36,911 - DEBUG - Response for create_network : {'network': {'id': 'c115ee93-6dd9-461e-a89d-89374d7cb0f3', 'name': 'ctest-vn-15684082', 'tenant_id': '37b44a3d286842189fc89fd59e3f1e93', 'project_id': '37b44a3d286842189fc89fd59e3f1e93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45920758', 'ctest-vn-15684082'], 'port_security_enabled': True, 'description': ''}}
2025-05-13 09:57:37,171 - DEBUG - Response for create_subnet : {'subnet': {'id': '200fb0c0-8bd3-4b5b-be68-430845285ac9', 'name': '', 'tenant_id': '37b44a3d286842189fc89fd59e3f1e93', 'network_id': 'c115ee93-6dd9-461e-a89d-89374d7cb0f3', 'ip_version': 4, 'cidr': '96.228.128.64/26', 'allocation_pools': [{'start': '96.228.128.66', 'end': '96.228.128.126'}], 'gateway_ip': '96.228.128.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.228.128.66', 'tags': [], 'project_id': '37b44a3d286842189fc89fd59e3f1e93'}}
2025-05-13 09:57:37,205 - INFO - Created VN ctest-vn-15684082
2025-05-13 09:57:37,267 - DEBUG - VN ctest-vn-15684082 UUID is c115ee93-6dd9-461e-a89d-89374d7cb0f3
2025-05-13 09:57:37,828 - DEBUG - Response for create_network : {'network': {'id': '28a56ca9-ef37-4386-850c-5cb22bdbfc46', 'name': 'ctest-ext_vn-92222758', 'tenant_id': '37b44a3d286842189fc89fd59e3f1e93', 'project_id': '37b44a3d286842189fc89fd59e3f1e93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45920758', 'ctest-ext_vn-92222758'], 'port_security_enabled': True, 'description': ''}}
2025-05-13 09:57:38,044 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e553dcfc-92ce-4956-9c0b-17da28e3be17', 'name': '', 'tenant_id': '37b44a3d286842189fc89fd59e3f1e93', 'network_id': '28a56ca9-ef37-4386-850c-5cb22bdbfc46', 'ip_version': 4, 'cidr': '36.245.55.64/26', 'allocation_pools': [{'start': '36.245.55.66', 'end': '36.245.55.126'}], 'gateway_ip': '36.245.55.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.245.55.66', 'tags': [], 'project_id': '37b44a3d286842189fc89fd59e3f1e93'}}
2025-05-13 09:57:38,071 - INFO - Created VN ctest-ext_vn-92222758
2025-05-13 09:57:38,131 - DEBUG - VN ctest-ext_vn-92222758 UUID is 28a56ca9-ef37-4386-850c-5cb22bdbfc46
2025-05-13 09:57:38,482 - DEBUG - Services list from nova: [, , ]
2025-05-13 09:57:40,162 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3302-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3302-1)
2025-05-13 09:57:42,174 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3302-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3302-1)
2025-05-13 09:57:42,272 - INFO - Setting gateway for router 9f88e171-d127-4d88-81e2-a2b007b7b6eb to network 28a56ca9-ef37-4386-850c-5cb22bdbfc46
2025-05-13 09:57:42,362 - INFO - Adding interface with subnet_id 200fb0c0-8bd3-4b5b-be68-430845285ac9, port_id None to router 9f88e171-d127-4d88-81e2-a2b007b7b6eb
2025-05-13 09:57:42,866 - INFO - Waiting for VM ctest-TestRoutersBasic-45920758-90914606 to be up..
2025-05-13 09:57:43,125 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-13 09:57:48,312 - DEBUG - VM is in ACTIVE state now
2025-05-13 09:57:48,312 - INFO - VM name : ctest-TestRoutersBasic-45920758-90914606
2025-05-13 09:57:48,476 - DEBUG - VM ctest-TestRoutersBasic-45920758-90914606 ID is 9c3d862f-69dd-48a4-b682-cf4371fab06a
2025-05-13 09:57:48,504 - DEBUG - VM ctest-TestRoutersBasic-45920758-90914606 launched on Node cn-jenkins-deploy-platform-ansible-os-3302-1
2025-05-13 09:57:48,612 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/9c3d862f-69dd-48a4-b682-cf4371fab06a
2025-05-13 09:57:48,925 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/9c3d862f-69dd-48a4-b682-cf4371fab06a
2025-05-13 09:57:48,962 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/38517b6c-3ee1-494f-a70e-08febf8acd6b
2025-05-13 09:57:52,266 - 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 1012ms')
2025-05-13 09:57:52,266 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45920758-90914606 failed!
2025-05-13 09:57:52,359 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-45920758:ctest-vn-15684082 is 96.228.128.65 and allocation pool is NOT set
2025-05-13 09:57:54,445 - 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=7.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.25 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 = 1.250/4.413/7.576/3.163 ms')
2025-05-13 09:57:54,446 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45920758-90914606 passed
2025-05-13 09:57:54,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-13 09:57:54,615 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45920758-90914606, IP 96.228.128.67, Port 22
2025-05-13 09:57:54,808 - DEBUG - VM ctest-TestRoutersBasic-45920758-90914606 is ready for SSH connections
2025-05-13 09:57:54,808 - INFO - Waiting for VM ctest-TestRoutersBasic-45920758-19571482 to be up..
2025-05-13 09:57:54,939 - DEBUG - VM is in ACTIVE state now
2025-05-13 09:57:54,939 - INFO - VM name : ctest-TestRoutersBasic-45920758-19571482
2025-05-13 09:57:55,080 - DEBUG - VM ctest-TestRoutersBasic-45920758-19571482 ID is 7bffcb7a-2245-4a05-992e-00dca6a84b5b
2025-05-13 09:57:55,080 - DEBUG - VM ctest-TestRoutersBasic-45920758-19571482 launched on Node cn-jenkins-deploy-platform-ansible-os-3302-1
2025-05-13 09:57:55,284 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/7bffcb7a-2245-4a05-992e-00dca6a84b5b
2025-05-13 09:57:55,300 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/4804e669-e35a-4dce-8e65-d12c4d16f830
2025-05-13 09:57:56,600 - 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=11.5 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.90 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.899/7.178/11.457/4.279 ms')
2025-05-13 09:57:56,601 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-45920758-19571482 passed
2025-05-13 09:57:56,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-13 09:57:56,804 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45920758-19571482, IP 36.245.55.67, Port 22
2025-05-13 09:57:56,886 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-05-13 09:57:57,094 - DEBUG - VM ctest-TestRoutersBasic-45920758-19571482 is NOT ready for SSH connections, VM status: ACTIVE
2025-05-13 09:58:02,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-13 09:58:02,096 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45920758-19571482, IP 36.245.55.67, Port 22
2025-05-13 09:58:02,258 - DEBUG - VM ctest-TestRoutersBasic-45920758-19571482 is ready for SSH connections
2025-05-13 09:58:02,258 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-13 09:58:02,259 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.245.55.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-05-13 09:58:02,259 - DEBUG - ping -s 56 -c 3 -W 1 36.245.55.67
2025-05-13 09:58:06,175 - DEBUG - PING 36.245.55.67 (36.245.55.67): 56 data bytes
64 bytes from 36.245.55.67: seq=0 ttl=62 time=13.304 ms
64 bytes from 36.245.55.67: seq=1 ttl=62 time=1.790 ms
64 bytes from 36.245.55.67: seq=2 ttl=62 time=1.678 ms
--- 36.245.55.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.678/5.590/13.304 ms
2025-05-13 09:58:06,175 - INFO - Ping to IP 36.245.55.67 from VM ctest-TestRoutersBasic-45920758-90914606 passed
2025-05-13 09:58:06,176 - INFO - Deleting interface with subnet_id 200fb0c0-8bd3-4b5b-be68-430845285ac9, port_id None from router 9f88e171-d127-4d88-81e2-a2b007b7b6eb
2025-05-13 09:58:06,538 - INFO - Deleting VM ctest-TestRoutersBasic-45920758-19571482
2025-05-13 09:58:06,630 - INFO - Deleting VM ctest-TestRoutersBasic-45920758-90914606
2025-05-13 09:58:06,725 - INFO - Deleting VN ctest-ext_vn-92222758
2025-05-13 09:58:06,800 - DEBUG - VN 28a56ca9-ef37-4386-850c-5cb22bdbfc46 still in use: Unable to complete operation on network 28a56ca9-ef37-4386-850c-5cb22bdbfc46. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f63984fe-e0d1-417e-b96e-6ceac4875d99']
2025-05-13 09:58:06,800 - WARNING - Deleting VN ctest-ext_vn-92222758 failed..Will retry
2025-05-13 09:58:09,005 - DEBUG - Response for deleting network ()
2025-05-13 09:58:09,005 - INFO - Deleting VN ctest-vn-15684082
2025-05-13 09:58:09,179 - DEBUG - Response for deleting network ()
2025-05-13 09:58:09,478 - DEBUG - No XMPP flaps were noticed during the test
2025-05-13 09:58:09,478 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:35]
2025-05-13 09:58:09,478 - INFO - --------------------------------------------------------------------------------
2025-05-13 09:58:10,423 - INFO - Deleted project: ctest-TestRoutersBasic-45920758, ID : 37b44a3d-2868-4218-9fc8-9fd59e3f1e93