2025-09-24 11:06:39,846 - INFO - Domain Default found not creating
2025-09-24 11:06:39,995 - INFO - Project ctest-TestRoutersBasic-00597976 not found, creating it
2025-09-24 11:06:40,452 - INFO - Created Project:ctest-TestRoutersBasic-00597976, ID : 724b370e-cc5a-46ce-9f65-1f883a5f2509
2025-09-24 11:06:42,019 - INFO - ================================================================================
2025-09-24 11:06:42,019 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-09-24 11:06:42,020 - 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-24 11:06:42,277 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with
2025-09-24 11:06:42,277 - INFO - Initial checks done. Running the testcase now
2025-09-24 11:06:42,277 - INFO -
2025-09-24 11:06:43,062 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-00597976
2025-09-24 11:06:43,162 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-00597976
2025-09-24 11:06:43,482 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00597976', 'default']}
2025-09-24 11:06:43,780 - DEBUG - Response for create_network : {'network': {'id': '42fe2818-1550-4dd2-aed3-05b398cdd9b2', 'name': 'ctest-vn-30752751', 'tenant_id': '724b370ecc5a46ce9f651f883a5f2509', 'project_id': '724b370ecc5a46ce9f651f883a5f2509', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00597976', 'ctest-vn-30752751'], 'port_security_enabled': True, 'description': ''}}
2025-09-24 11:06:43,981 - DEBUG - Response for create_subnet : {'subnet': {'id': '0515881f-440f-41e6-a725-c89101652090', 'name': '', 'tenant_id': '724b370ecc5a46ce9f651f883a5f2509', 'network_id': '42fe2818-1550-4dd2-aed3-05b398cdd9b2', 'ip_version': 4, 'cidr': '116.44.65.64/26', 'allocation_pools': [{'start': '116.44.65.66', 'end': '116.44.65.126'}], 'gateway_ip': '116.44.65.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.44.65.66', 'tags': [], 'project_id': '724b370ecc5a46ce9f651f883a5f2509'}}
2025-09-24 11:06:44,000 - INFO - Created VN ctest-vn-30752751
2025-09-24 11:06:44,054 - DEBUG - VN ctest-vn-30752751 UUID is 42fe2818-1550-4dd2-aed3-05b398cdd9b2
2025-09-24 11:06:44,368 - DEBUG - Response for create_network : {'network': {'id': '362f8fe5-56ff-4b08-b5ca-668bcbe26bfc', 'name': 'ctest-ext_vn-13627102', 'tenant_id': '724b370ecc5a46ce9f651f883a5f2509', 'project_id': '724b370ecc5a46ce9f651f883a5f2509', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00597976', 'ctest-ext_vn-13627102'], 'port_security_enabled': True, 'description': ''}}
2025-09-24 11:06:44,609 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ba6fef6-440d-4f3e-bb74-347b6c24a95d', 'name': '', 'tenant_id': '724b370ecc5a46ce9f651f883a5f2509', 'network_id': '362f8fe5-56ff-4b08-b5ca-668bcbe26bfc', 'ip_version': 4, 'cidr': '100.148.119.64/26', 'allocation_pools': [{'start': '100.148.119.66', 'end': '100.148.119.126'}], 'gateway_ip': '100.148.119.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.148.119.66', 'tags': [], 'project_id': '724b370ecc5a46ce9f651f883a5f2509'}}
2025-09-24 11:06:44,627 - INFO - Created VN ctest-ext_vn-13627102
2025-09-24 11:06:44,682 - DEBUG - VN ctest-ext_vn-13627102 UUID is 362f8fe5-56ff-4b08-b5ca-668bcbe26bfc
2025-09-24 11:06:44,855 - DEBUG - Services list from nova: [, , ]
2025-09-24 11:06:46,039 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4182-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4182-1)
2025-09-24 11:06:47,291 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4182-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4182-1)
2025-09-24 11:06:47,353 - INFO - Setting gateway for router c78878d8-0af4-49ac-b4c3-6e33ffa1acc4 to network 362f8fe5-56ff-4b08-b5ca-668bcbe26bfc
2025-09-24 11:06:47,422 - INFO - Adding interface with subnet_id 0515881f-440f-41e6-a725-c89101652090, port_id None to router c78878d8-0af4-49ac-b4c3-6e33ffa1acc4
2025-09-24 11:06:47,771 - INFO - Waiting for VM ctest-TestRoutersBasic-00597976-19236720 to be up..
2025-09-24 11:06:47,921 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-24 11:06:53,011 - DEBUG - VM is in ACTIVE state now
2025-09-24 11:06:53,011 - INFO - VM name : ctest-TestRoutersBasic-00597976-19236720
2025-09-24 11:06:53,100 - DEBUG - VM ctest-TestRoutersBasic-00597976-19236720 ID is e58f5a1b-6c4d-49f2-9e08-a737bc65661a
2025-09-24 11:06:53,121 - DEBUG - VM ctest-TestRoutersBasic-00597976-19236720 launched on Node cn-jenkins-deploy-platform-ansible-os-4182-1
2025-09-24 11:06:53,196 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/e58f5a1b-6c4d-49f2-9e08-a737bc65661a
2025-09-24 11:06:53,527 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/e58f5a1b-6c4d-49f2-9e08-a737bc65661a
2025-09-24 11:06:53,558 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/533fa983-7493-4be9-9091-386774e92dc4
2025-09-24 11:06:56,814 - 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 1022ms')
2025-09-24 11:06:56,814 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00597976-19236720 failed!
2025-09-24 11:06:56,870 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-00597976:ctest-vn-30752751 is 116.44.65.65 and allocation pool is NOT set
2025-09-24 11:06:58,935 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.969 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.969/2.773/4.577/1.804 ms')
2025-09-24 11:06:58,935 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00597976-19236720 passed
2025-09-24 11:06:59,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-24 11:06:59,094 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00597976-19236720, IP 116.44.65.67, Port 22
2025-09-24 11:06:59,160 - 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-24 11:06:59,237 - DEBUG - VM ctest-TestRoutersBasic-00597976-19236720 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-24 11:07:04,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-24 11:07:04,238 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00597976-19236720, IP 116.44.65.67, Port 22
2025-09-24 11:07:04,393 - DEBUG - VM ctest-TestRoutersBasic-00597976-19236720 is ready for SSH connections
2025-09-24 11:07:04,394 - INFO - Waiting for VM ctest-TestRoutersBasic-00597976-05456084 to be up..
2025-09-24 11:07:04,479 - DEBUG - VM is in ACTIVE state now
2025-09-24 11:07:04,479 - INFO - VM name : ctest-TestRoutersBasic-00597976-05456084
2025-09-24 11:07:04,562 - DEBUG - VM ctest-TestRoutersBasic-00597976-05456084 ID is d0c2ae05-902e-4774-9f99-6625a83d11ae
2025-09-24 11:07:04,562 - DEBUG - VM ctest-TestRoutersBasic-00597976-05456084 launched on Node cn-jenkins-deploy-platform-ansible-os-4182-1
2025-09-24 11:07:04,641 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/d0c2ae05-902e-4774-9f99-6625a83d11ae
2025-09-24 11:07:04,651 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/81b673be-1521-46ff-9902-5b04dfc2466e
2025-09-24 11:07:05,889 - 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=3.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.510 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.510/1.841/3.173/1.331 ms')
2025-09-24 11:07:05,889 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-00597976-05456084 passed
2025-09-24 11:07:06,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-24 11:07:06,042 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00597976-05456084, IP 100.148.119.67, Port 22
2025-09-24 11:07:06,206 - DEBUG - VM ctest-TestRoutersBasic-00597976-05456084 is ready for SSH connections
2025-09-24 11:07:06,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-24 11:07:06,206 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.148.119.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-09-24 11:07:06,206 - DEBUG - ping -s 56 -c 3 -W 1 100.148.119.67
2025-09-24 11:07:09,983 - DEBUG - PING 100.148.119.67 (100.148.119.67): 56 data bytes
64 bytes from 100.148.119.67: seq=0 ttl=62 time=6.777 ms
64 bytes from 100.148.119.67: seq=1 ttl=62 time=0.932 ms
64 bytes from 100.148.119.67: seq=2 ttl=62 time=0.939 ms
--- 100.148.119.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.932/2.882/6.777 ms
2025-09-24 11:07:09,983 - INFO - Ping to IP 100.148.119.67 from VM ctest-TestRoutersBasic-00597976-19236720 passed
2025-09-24 11:07:09,983 - INFO - Deleting interface with subnet_id 0515881f-440f-41e6-a725-c89101652090, port_id None from router c78878d8-0af4-49ac-b4c3-6e33ffa1acc4
2025-09-24 11:07:10,215 - INFO - Deleting VM ctest-TestRoutersBasic-00597976-05456084
2025-09-24 11:07:10,303 - INFO - Deleting VM ctest-TestRoutersBasic-00597976-19236720
2025-09-24 11:07:10,418 - INFO - Deleting VN ctest-ext_vn-13627102
2025-09-24 11:07:10,498 - DEBUG - VN 362f8fe5-56ff-4b08-b5ca-668bcbe26bfc still in use: Unable to complete operation on network 362f8fe5-56ff-4b08-b5ca-668bcbe26bfc. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9c04ffc0-e852-4459-9d25-cf2e469470c3']
2025-09-24 11:07:10,498 - WARNING - Deleting VN ctest-ext_vn-13627102 failed..Will retry
2025-09-24 11:07:12,619 - DEBUG - Response for deleting network ()
2025-09-24 11:07:12,619 - INFO - Deleting VN ctest-vn-30752751
2025-09-24 11:07:12,730 - DEBUG - Response for deleting network ()
2025-09-24 11:07:13,000 - DEBUG - No XMPP flaps were noticed during the test
2025-09-24 11:07:13,000 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-09-24 11:07:13,001 - INFO - --------------------------------------------------------------------------------
2025-09-24 11:07:13,750 - INFO - Deleted project: ctest-TestRoutersBasic-00597976, ID : 724b370e-cc5a-46ce-9f65-1f883a5f2509