2025-06-21 10:06:33,843 - INFO - Domain Default found not creating
2025-06-21 10:06:34,015 - INFO - Project ctest-TestRoutersBasic-95458062 not found, creating it
2025-06-21 10:06:34,517 - INFO - Created Project:ctest-TestRoutersBasic-95458062, ID : 253428f0-db32-4dd0-be99-c78042c96c0c
2025-06-21 10:06:36,039 - INFO - ================================================================================
2025-06-21 10:06:36,039 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-21 10:06:36,039 - 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-06-21 10:06:36,303 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-06-21 10:06:36,303 - INFO - Initial checks done. Running the testcase now
2025-06-21 10:06:36,303 - INFO -
2025-06-21 10:06:37,058 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-95458062
2025-06-21 10:06:37,160 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-95458062
2025-06-21 10:06:37,552 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95458062', 'default']}
2025-06-21 10:06:38,069 - DEBUG - Response for create_network : {'network': {'id': '7f96a92c-8a80-4210-bed5-40604fdaf9f4', 'name': 'ctest-vn-69652710', 'tenant_id': '253428f0db324dd0be99c78042c96c0c', 'project_id': '253428f0db324dd0be99c78042c96c0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95458062', 'ctest-vn-69652710'], 'port_security_enabled': True, 'description': ''}}
2025-06-21 10:06:38,235 - DEBUG - Response for create_subnet : {'subnet': {'id': '086f4477-48fd-4ff9-bf8d-72ad8d3ebfe8', 'name': '', 'tenant_id': '253428f0db324dd0be99c78042c96c0c', 'network_id': '7f96a92c-8a80-4210-bed5-40604fdaf9f4', 'ip_version': 4, 'cidr': '211.25.178.192/26', 'allocation_pools': [{'start': '211.25.178.194', 'end': '211.25.178.254'}], 'gateway_ip': '211.25.178.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.25.178.194', 'tags': [], 'project_id': '253428f0db324dd0be99c78042c96c0c'}}
2025-06-21 10:06:38,258 - INFO - Created VN ctest-vn-69652710
2025-06-21 10:06:38,312 - DEBUG - VN ctest-vn-69652710 UUID is 7f96a92c-8a80-4210-bed5-40604fdaf9f4
2025-06-21 10:06:38,669 - DEBUG - Response for create_network : {'network': {'id': 'a2e4ed08-33eb-4a9a-af93-0e7b7769c862', 'name': 'ctest-ext_vn-82242833', 'tenant_id': '253428f0db324dd0be99c78042c96c0c', 'project_id': '253428f0db324dd0be99c78042c96c0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95458062', 'ctest-ext_vn-82242833'], 'port_security_enabled': True, 'description': ''}}
2025-06-21 10:06:38,835 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7ef5352-8bca-4d6c-b271-35340e496439', 'name': '', 'tenant_id': '253428f0db324dd0be99c78042c96c0c', 'network_id': 'a2e4ed08-33eb-4a9a-af93-0e7b7769c862', 'ip_version': 4, 'cidr': '44.104.97.192/26', 'allocation_pools': [{'start': '44.104.97.194', 'end': '44.104.97.254'}], 'gateway_ip': '44.104.97.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.104.97.194', 'tags': [], 'project_id': '253428f0db324dd0be99c78042c96c0c'}}
2025-06-21 10:06:38,853 - INFO - Created VN ctest-ext_vn-82242833
2025-06-21 10:06:38,908 - DEBUG - VN ctest-ext_vn-82242833 UUID is a2e4ed08-33eb-4a9a-af93-0e7b7769c862
2025-06-21 10:06:39,100 - DEBUG - Services list from nova: [, , ]
2025-06-21 10:06:40,165 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3510-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3510-1)
2025-06-21 10:06:41,386 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3510-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3510-1)
2025-06-21 10:06:41,490 - INFO - Setting gateway for router 813a2e55-8e21-4036-8b13-c4f152fcb491 to network a2e4ed08-33eb-4a9a-af93-0e7b7769c862
2025-06-21 10:06:41,560 - INFO - Adding interface with subnet_id 086f4477-48fd-4ff9-bf8d-72ad8d3ebfe8, port_id None to router 813a2e55-8e21-4036-8b13-c4f152fcb491
2025-06-21 10:06:41,984 - INFO - Waiting for VM ctest-TestRoutersBasic-95458062-35584170 to be up..
2025-06-21 10:06:42,158 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-21 10:06:47,242 - DEBUG - VM is in ACTIVE state now
2025-06-21 10:06:47,242 - INFO - VM name : ctest-TestRoutersBasic-95458062-35584170
2025-06-21 10:06:47,329 - DEBUG - VM ctest-TestRoutersBasic-95458062-35584170 ID is 5601d428-6b7a-41ea-97ab-a54e4809f5b0
2025-06-21 10:06:47,350 - DEBUG - VM ctest-TestRoutersBasic-95458062-35584170 launched on Node cn-jenkins-deploy-platform-ansible-os-3510-1
2025-06-21 10:06:47,433 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5601d428-6b7a-41ea-97ab-a54e4809f5b0
2025-06-21 10:06:47,736 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5601d428-6b7a-41ea-97ab-a54e4809f5b0
2025-06-21 10:06:47,773 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/69891683-310c-42a0-bae1-b3586fcde9c1
2025-06-21 10:06:51,035 - 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 1007ms')
2025-06-21 10:06:51,035 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95458062-35584170 failed!
2025-06-21 10:06:51,100 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-95458062:ctest-vn-69652710 is 211.25.178.193 and allocation pool is NOT set
2025-06-21 10:06:53,164 - 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.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.441 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.441/1.960/3.479/1.519 ms')
2025-06-21 10:06:53,164 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95458062-35584170 passed
2025-06-21 10:06:53,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-21 10:06:53,328 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95458062-35584170, IP 211.25.178.195, Port 22
2025-06-21 10:06:53,498 - DEBUG - VM ctest-TestRoutersBasic-95458062-35584170 is ready for SSH connections
2025-06-21 10:06:53,498 - INFO - Waiting for VM ctest-TestRoutersBasic-95458062-55491699 to be up..
2025-06-21 10:06:53,593 - DEBUG - VM is in ACTIVE state now
2025-06-21 10:06:53,593 - INFO - VM name : ctest-TestRoutersBasic-95458062-55491699
2025-06-21 10:06:53,679 - DEBUG - VM ctest-TestRoutersBasic-95458062-55491699 ID is 727ee791-c6a2-4000-9ceb-98e8c63b04ce
2025-06-21 10:06:53,679 - DEBUG - VM ctest-TestRoutersBasic-95458062-55491699 launched on Node cn-jenkins-deploy-platform-ansible-os-3510-1
2025-06-21 10:06:53,763 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/727ee791-c6a2-4000-9ceb-98e8c63b04ce
2025-06-21 10:06:53,772 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/62c4d305-9c04-4487-b790-80fb79a10ebe
2025-06-21 10:06:55,023 - 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=4.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.18 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 = 1.178/2.814/4.451/1.636 ms')
2025-06-21 10:06:55,023 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-95458062-55491699 passed
2025-06-21 10:06:55,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-21 10:06:55,176 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95458062-55491699, IP 44.104.97.195, Port 22
2025-06-21 10:06:55,242 - 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-06-21 10:06:55,335 - DEBUG - VM ctest-TestRoutersBasic-95458062-55491699 is NOT ready for SSH connections, VM status: ACTIVE
2025-06-21 10:07:00,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-21 10:07:00,337 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95458062-55491699, IP 44.104.97.195, Port 22
2025-06-21 10:07:00,503 - DEBUG - VM ctest-TestRoutersBasic-95458062-55491699 is ready for SSH connections
2025-06-21 10:07:00,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-21 10:07:00,504 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.104.97.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-06-21 10:07:00,504 - DEBUG - ping -s 56 -c 3 -W 1 44.104.97.195
2025-06-21 10:07:04,568 - DEBUG - PING 44.104.97.195 (44.104.97.195): 56 data bytes
64 bytes from 44.104.97.195: seq=0 ttl=62 time=6.719 ms
64 bytes from 44.104.97.195: seq=1 ttl=62 time=1.432 ms
64 bytes from 44.104.97.195: seq=2 ttl=62 time=1.010 ms
--- 44.104.97.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.010/3.053/6.719 ms
2025-06-21 10:07:04,568 - INFO - Ping to IP 44.104.97.195 from VM ctest-TestRoutersBasic-95458062-35584170 passed
2025-06-21 10:07:04,569 - INFO - Deleting interface with subnet_id 086f4477-48fd-4ff9-bf8d-72ad8d3ebfe8, port_id None from router 813a2e55-8e21-4036-8b13-c4f152fcb491
2025-06-21 10:07:04,813 - INFO - Deleting VM ctest-TestRoutersBasic-95458062-55491699
2025-06-21 10:07:04,900 - INFO - Deleting VM ctest-TestRoutersBasic-95458062-35584170
2025-06-21 10:07:05,008 - INFO - Deleting VN ctest-ext_vn-82242833
2025-06-21 10:07:05,090 - DEBUG - VN a2e4ed08-33eb-4a9a-af93-0e7b7769c862 still in use: Unable to complete operation on network a2e4ed08-33eb-4a9a-af93-0e7b7769c862. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-eccf0c1a-2bc3-46ea-9c3b-1a4842ac6c97']
2025-06-21 10:07:05,090 - WARNING - Deleting VN ctest-ext_vn-82242833 failed..Will retry
2025-06-21 10:07:07,228 - DEBUG - Response for deleting network ()
2025-06-21 10:07:07,229 - INFO - Deleting VN ctest-vn-69652710
2025-06-21 10:07:07,357 - DEBUG - Response for deleting network ()
2025-06-21 10:07:07,630 - DEBUG - No XMPP flaps were noticed during the test
2025-06-21 10:07:07,630 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-06-21 10:07:07,630 - INFO - --------------------------------------------------------------------------------
2025-06-21 10:07:08,384 - INFO - Deleted project: ctest-TestRoutersBasic-95458062, ID : 253428f0-db32-4dd0-be99-c78042c96c0c