2025-09-22 02:10:32,149 - INFO - Domain Default found not creating
2025-09-22 02:10:32,275 - INFO - Project ctest-TestRoutersBasic-57409645 not found, creating it
2025-09-22 02:10:32,710 - INFO - Created Project:ctest-TestRoutersBasic-57409645, ID : 7b7e82fa-f34f-49e9-bc54-feb3aeb8b7e0
2025-09-22 02:10:34,102 - INFO - ================================================================================
2025-09-22 02:10:34,102 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-09-22 02:10:34,102 - 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-09-22 02:10:34,360 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.209': '0'}} with
2025-09-22 02:10:34,361 - INFO - Initial checks done. Running the testcase now
2025-09-22 02:10:34,361 - INFO -
2025-09-22 02:10:35,036 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-57409645
2025-09-22 02:10:35,135 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-57409645
2025-09-22 02:10:35,475 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57409645', 'default']}
2025-09-22 02:10:35,784 - DEBUG - Response for create_network : {'network': {'id': '2b03acde-f40c-44b0-a9d3-df7e9ad4ec7d', 'name': 'ctest-vn-62979589', 'tenant_id': '7b7e82faf34f49e9bc54feb3aeb8b7e0', 'project_id': '7b7e82faf34f49e9bc54feb3aeb8b7e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57409645', 'ctest-vn-62979589'], 'port_security_enabled': True, 'description': ''}}
2025-09-22 02:10:36,004 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f059d9a7-706e-495e-a0e4-b9e984162b10', 'name': '', 'tenant_id': '7b7e82faf34f49e9bc54feb3aeb8b7e0', 'network_id': '2b03acde-f40c-44b0-a9d3-df7e9ad4ec7d', 'ip_version': 4, 'cidr': '34.233.136.128/26', 'allocation_pools': [{'start': '34.233.136.130', 'end': '34.233.136.190'}], 'gateway_ip': '34.233.136.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.233.136.130', 'tags': [], 'project_id': '7b7e82faf34f49e9bc54feb3aeb8b7e0'}}
2025-09-22 02:10:36,020 - INFO - Created VN ctest-vn-62979589
2025-09-22 02:10:36,071 - DEBUG - VN ctest-vn-62979589 UUID is 2b03acde-f40c-44b0-a9d3-df7e9ad4ec7d
2025-09-22 02:10:36,405 - DEBUG - Response for create_network : {'network': {'id': '2d370bb4-1155-44f9-864e-32d12c73a006', 'name': 'ctest-ext_vn-16890069', 'tenant_id': '7b7e82faf34f49e9bc54feb3aeb8b7e0', 'project_id': '7b7e82faf34f49e9bc54feb3aeb8b7e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57409645', 'ctest-ext_vn-16890069'], 'port_security_enabled': True, 'description': ''}}
2025-09-22 02:10:36,566 - DEBUG - Response for create_subnet : {'subnet': {'id': '23444527-274d-41c4-a54e-56cec44adf9c', 'name': '', 'tenant_id': '7b7e82faf34f49e9bc54feb3aeb8b7e0', 'network_id': '2d370bb4-1155-44f9-864e-32d12c73a006', 'ip_version': 4, 'cidr': '56.220.39.128/26', 'allocation_pools': [{'start': '56.220.39.130', 'end': '56.220.39.190'}], 'gateway_ip': '56.220.39.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.220.39.130', 'tags': [], 'project_id': '7b7e82faf34f49e9bc54feb3aeb8b7e0'}}
2025-09-22 02:10:36,586 - INFO - Created VN ctest-ext_vn-16890069
2025-09-22 02:10:36,639 - DEBUG - VN ctest-ext_vn-16890069 UUID is 2d370bb4-1155-44f9-864e-32d12c73a006
2025-09-22 02:10:36,831 - DEBUG - Services list from nova: [, , ]
2025-09-22 02:10:37,823 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4162-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4162-1)
2025-09-22 02:10:38,889 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4162-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4162-1)
2025-09-22 02:10:38,953 - INFO - Setting gateway for router a11064da-4910-411e-a33f-5110bf6f66ae to network 2d370bb4-1155-44f9-864e-32d12c73a006
2025-09-22 02:10:39,012 - INFO - Adding interface with subnet_id f059d9a7-706e-495e-a0e4-b9e984162b10, port_id None to router a11064da-4910-411e-a33f-5110bf6f66ae
2025-09-22 02:10:39,315 - INFO - Waiting for VM ctest-TestRoutersBasic-57409645-31611100 to be up..
2025-09-22 02:10:39,482 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-22 02:10:44,559 - DEBUG - VM is in ACTIVE state now
2025-09-22 02:10:44,559 - INFO - VM name : ctest-TestRoutersBasic-57409645-31611100
2025-09-22 02:10:44,623 - DEBUG - VM ctest-TestRoutersBasic-57409645-31611100 ID is 896075be-d160-470a-a738-1df6252a18eb
2025-09-22 02:10:44,641 - DEBUG - VM ctest-TestRoutersBasic-57409645-31611100 launched on Node cn-jenkins-deploy-platform-ansible-os-4162-1
2025-09-22 02:10:44,706 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/896075be-d160-470a-a738-1df6252a18eb
2025-09-22 02:10:45,005 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/896075be-d160-470a-a738-1df6252a18eb
2025-09-22 02:10:45,033 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0822719b-cd7a-4938-adb5-cedadea748b6
2025-09-22 02:10:48,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 1003ms')
2025-09-22 02:10:48,266 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57409645-31611100 failed!
2025-09-22 02:10:48,319 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-57409645:ctest-vn-62979589 is 34.233.136.129 and allocation pool is NOT set
2025-09-22 02:10:50,380 - 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.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.48 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.478/2.929/4.381/1.451 ms')
2025-09-22 02:10:50,380 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57409645-31611100 passed
2025-09-22 02:10:50,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 02:10:50,535 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57409645-31611100, IP 34.233.136.131, Port 22
2025-09-22 02:10:50,604 - 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-09-22 02:10:50,677 - DEBUG - VM ctest-TestRoutersBasic-57409645-31611100 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-22 02:10:55,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 02:10:55,678 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57409645-31611100, IP 34.233.136.131, Port 22
2025-09-22 02:10:55,834 - DEBUG - VM ctest-TestRoutersBasic-57409645-31611100 is ready for SSH connections
2025-09-22 02:10:55,834 - INFO - Waiting for VM ctest-TestRoutersBasic-57409645-61984358 to be up..
2025-09-22 02:10:55,911 - DEBUG - VM is in ACTIVE state now
2025-09-22 02:10:55,911 - INFO - VM name : ctest-TestRoutersBasic-57409645-61984358
2025-09-22 02:10:55,983 - DEBUG - VM ctest-TestRoutersBasic-57409645-61984358 ID is 567da9f9-0143-418e-89ec-5e4931d08b31
2025-09-22 02:10:55,984 - DEBUG - VM ctest-TestRoutersBasic-57409645-61984358 launched on Node cn-jenkins-deploy-platform-ansible-os-4162-1
2025-09-22 02:10:56,053 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/567da9f9-0143-418e-89ec-5e4931d08b31
2025-09-22 02:10:56,060 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/bb3eee29-878b-47aa-a7d5-6c6e4e623d01
2025-09-22 02:10:57,294 - 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=2.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.443 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.443/1.617/2.791/1.174 ms')
2025-09-22 02:10:57,294 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-57409645-61984358 passed
2025-09-22 02:10:57,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 02:10:57,447 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57409645-61984358, IP 56.220.39.131, Port 22
2025-09-22 02:10:57,598 - DEBUG - VM ctest-TestRoutersBasic-57409645-61984358 is ready for SSH connections
2025-09-22 02:10:57,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 02:10:57,598 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.220.39.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-09-22 02:10:57,598 - DEBUG - ping -s 56 -c 3 -W 1 56.220.39.131
2025-09-22 02:11:01,264 - DEBUG - PING 56.220.39.131 (56.220.39.131): 56 data bytes
64 bytes from 56.220.39.131: seq=0 ttl=62 time=7.031 ms
64 bytes from 56.220.39.131: seq=1 ttl=62 time=0.849 ms
64 bytes from 56.220.39.131: seq=2 ttl=62 time=0.970 ms
--- 56.220.39.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.849/2.950/7.031 ms
2025-09-22 02:11:01,264 - INFO - Ping to IP 56.220.39.131 from VM ctest-TestRoutersBasic-57409645-31611100 passed
2025-09-22 02:11:01,264 - INFO - Deleting interface with subnet_id f059d9a7-706e-495e-a0e4-b9e984162b10, port_id None from router a11064da-4910-411e-a33f-5110bf6f66ae
2025-09-22 02:11:01,441 - INFO - Deleting VM ctest-TestRoutersBasic-57409645-61984358
2025-09-22 02:11:01,513 - INFO - Deleting VM ctest-TestRoutersBasic-57409645-31611100
2025-09-22 02:11:01,584 - INFO - Deleting VN ctest-ext_vn-16890069
2025-09-22 02:11:01,640 - DEBUG - VN 2d370bb4-1155-44f9-864e-32d12c73a006 still in use: Unable to complete operation on network 2d370bb4-1155-44f9-864e-32d12c73a006. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-169b293e-0779-4403-a9a0-9b8ed33f92a9']
2025-09-22 02:11:01,640 - WARNING - Deleting VN ctest-ext_vn-16890069 failed..Will retry
2025-09-22 02:11:03,729 - DEBUG - Response for deleting network ()
2025-09-22 02:11:03,729 - INFO - Deleting VN ctest-vn-62979589
2025-09-22 02:11:03,825 - DEBUG - Response for deleting network ()
2025-09-22 02:11:04,084 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 02:11:04,084 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2025-09-22 02:11:04,084 - INFO - --------------------------------------------------------------------------------
2025-09-22 02:11:04,737 - INFO - Deleted project: ctest-TestRoutersBasic-57409645, ID : 7b7e82fa-f34f-49e9-bc54-feb3aeb8b7e0