2025-07-18 15:01:42,833 - INFO - Domain Default found not creating
2025-07-18 15:01:43,181 - INFO - Project ctest-TestRoutersBasic-07448953 not found, creating it
2025-07-18 15:01:44,135 - INFO - Created Project:ctest-TestRoutersBasic-07448953, ID : 1ec55d74-99ac-4cb5-9655-6bf1d483449f
2025-07-18 15:01:46,265 - INFO - ================================================================================
2025-07-18 15:01:46,265 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-18 15:01:46,266 - 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-18 15:01:46,572 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-07-18 15:01:46,572 - INFO - Initial checks done. Running the testcase now
2025-07-18 15:01:46,572 - INFO -
2025-07-18 15:01:47,425 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-07448953
2025-07-18 15:01:47,532 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-07448953
2025-07-18 15:01:47,947 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07448953', 'default']}
2025-07-18 15:01:48,462 - DEBUG - Response for create_network : {'network': {'id': '23dcffe0-3651-4585-b085-7035e3b26eba', 'name': 'ctest-vn-07415317', 'tenant_id': '1ec55d7499ac4cb596556bf1d483449f', 'project_id': '1ec55d7499ac4cb596556bf1d483449f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07448953', 'ctest-vn-07415317'], 'port_security_enabled': True, 'description': ''}}
2025-07-18 15:01:48,754 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a50c8f19-274f-41de-b931-fab5addb5117', 'name': '', 'tenant_id': '1ec55d7499ac4cb596556bf1d483449f', 'network_id': '23dcffe0-3651-4585-b085-7035e3b26eba', 'ip_version': 4, 'cidr': '116.204.240.192/26', 'allocation_pools': [{'start': '116.204.240.194', 'end': '116.204.240.254'}], 'gateway_ip': '116.204.240.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.204.240.194', 'tags': [], 'project_id': '1ec55d7499ac4cb596556bf1d483449f'}}
2025-07-18 15:01:48,781 - INFO - Created VN ctest-vn-07415317
2025-07-18 15:01:48,844 - DEBUG - VN ctest-vn-07415317 UUID is 23dcffe0-3651-4585-b085-7035e3b26eba
2025-07-18 15:01:49,328 - DEBUG - Response for create_network : {'network': {'id': '2002eb98-24b8-446e-b777-fc4a9eb68c88', 'name': 'ctest-ext_vn-81950073', 'tenant_id': '1ec55d7499ac4cb596556bf1d483449f', 'project_id': '1ec55d7499ac4cb596556bf1d483449f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07448953', 'ctest-ext_vn-81950073'], 'port_security_enabled': True, 'description': ''}}
2025-07-18 15:01:49,526 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c731b241-5026-491e-a109-c7600850e69e', 'name': '', 'tenant_id': '1ec55d7499ac4cb596556bf1d483449f', 'network_id': '2002eb98-24b8-446e-b777-fc4a9eb68c88', 'ip_version': 4, 'cidr': '175.41.25.64/26', 'allocation_pools': [{'start': '175.41.25.66', 'end': '175.41.25.126'}], 'gateway_ip': '175.41.25.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.41.25.66', 'tags': [], 'project_id': '1ec55d7499ac4cb596556bf1d483449f'}}
2025-07-18 15:01:49,544 - INFO - Created VN ctest-ext_vn-81950073
2025-07-18 15:01:49,599 - DEBUG - VN ctest-ext_vn-81950073 UUID is 2002eb98-24b8-446e-b777-fc4a9eb68c88
2025-07-18 15:01:49,824 - DEBUG - Services list from nova: [, , ]
2025-07-18 15:01:51,397 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3662-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3662-1)
2025-07-18 15:01:52,996 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3662-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3662-1)
2025-07-18 15:01:53,097 - INFO - Setting gateway for router 9b02cc91-578d-4aca-ab4d-99e2c79a23d1 to network 2002eb98-24b8-446e-b777-fc4a9eb68c88
2025-07-18 15:01:53,174 - INFO - Adding interface with subnet_id a50c8f19-274f-41de-b931-fab5addb5117, port_id None to router 9b02cc91-578d-4aca-ab4d-99e2c79a23d1
2025-07-18 15:01:53,534 - INFO - Waiting for VM ctest-TestRoutersBasic-07448953-72597730 to be up..
2025-07-18 15:01:53,703 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-18 15:01:58,877 - DEBUG - VM is in ACTIVE state now
2025-07-18 15:01:58,877 - INFO - VM name : ctest-TestRoutersBasic-07448953-72597730
2025-07-18 15:01:59,028 - DEBUG - VM ctest-TestRoutersBasic-07448953-72597730 ID is 6758ee34-64d4-4d9b-bd10-f92499d78c2b
2025-07-18 15:01:59,053 - DEBUG - VM ctest-TestRoutersBasic-07448953-72597730 launched on Node cn-jenkins-deploy-platform-ansible-os-3662-1
2025-07-18 15:01:59,166 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6758ee34-64d4-4d9b-bd10-f92499d78c2b
2025-07-18 15:01:59,467 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6758ee34-64d4-4d9b-bd10-f92499d78c2b
2025-07-18 15:01:59,531 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ee6459a7-afea-4d21-83cf-80c018a8de3c
2025-07-18 15:02:02,913 - 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 1011ms')
2025-07-18 15:02:02,913 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-07448953-72597730 failed!
2025-07-18 15:02:02,996 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-07448953:ctest-vn-07415317 is 116.204.240.193 and allocation pool is NOT set
2025-07-18 15:02:05,071 - 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.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.02 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 = 1.018/2.198/3.379/1.180 ms')
2025-07-18 15:02:05,071 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-07448953-72597730 passed
2025-07-18 15:02:05,256 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-18 15:02:05,256 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07448953-72597730, IP 116.204.240.195, Port 22
2025-07-18 15:02:05,438 - DEBUG - VM ctest-TestRoutersBasic-07448953-72597730 is ready for SSH connections
2025-07-18 15:02:05,438 - INFO - Waiting for VM ctest-TestRoutersBasic-07448953-60693087 to be up..
2025-07-18 15:02:05,612 - DEBUG - VM is in ACTIVE state now
2025-07-18 15:02:05,612 - INFO - VM name : ctest-TestRoutersBasic-07448953-60693087
2025-07-18 15:02:05,757 - DEBUG - VM ctest-TestRoutersBasic-07448953-60693087 ID is ba28f45d-805e-4eda-833e-b45ea7e05c57
2025-07-18 15:02:05,757 - DEBUG - VM ctest-TestRoutersBasic-07448953-60693087 launched on Node cn-jenkins-deploy-platform-ansible-os-3662-1
2025-07-18 15:02:05,918 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ba28f45d-805e-4eda-833e-b45ea7e05c57
2025-07-18 15:02:05,949 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0a27b5d3-dcca-4240-b2e9-77de9fdb6ec5
2025-07-18 15:02:07,314 - 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=5.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.715 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 = 0.715/3.150/5.586/2.435 ms')
2025-07-18 15:02:07,315 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-07448953-60693087 passed
2025-07-18 15:02:07,504 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-18 15:02:07,504 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07448953-60693087, IP 175.41.25.67, Port 22
2025-07-18 15:02:07,574 - 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-07-18 15:02:07,720 - DEBUG - VM ctest-TestRoutersBasic-07448953-60693087 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-18 15:02:12,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-18 15:02:12,721 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07448953-60693087, IP 175.41.25.67, Port 22
2025-07-18 15:02:12,899 - DEBUG - VM ctest-TestRoutersBasic-07448953-60693087 is ready for SSH connections
2025-07-18 15:02:12,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-18 15:02:12,900 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.41.25.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-07-18 15:02:12,900 - DEBUG - ping -s 56 -c 3 -W 1 175.41.25.67
2025-07-18 15:02:16,970 - DEBUG - PING 175.41.25.67 (175.41.25.67): 56 data bytes
64 bytes from 175.41.25.67: seq=0 ttl=62 time=9.207 ms
64 bytes from 175.41.25.67: seq=1 ttl=62 time=1.179 ms
64 bytes from 175.41.25.67: seq=2 ttl=62 time=1.582 ms
--- 175.41.25.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.179/3.989/9.207 ms
2025-07-18 15:02:16,970 - INFO - Ping to IP 175.41.25.67 from VM ctest-TestRoutersBasic-07448953-72597730 passed
2025-07-18 15:02:16,970 - INFO - Deleting interface with subnet_id a50c8f19-274f-41de-b931-fab5addb5117, port_id None from router 9b02cc91-578d-4aca-ab4d-99e2c79a23d1
2025-07-18 15:02:17,265 - INFO - Deleting VM ctest-TestRoutersBasic-07448953-60693087
2025-07-18 15:02:17,346 - INFO - Deleting VM ctest-TestRoutersBasic-07448953-72597730
2025-07-18 15:02:17,428 - INFO - Deleting VN ctest-ext_vn-81950073
2025-07-18 15:02:17,510 - DEBUG - VN 2002eb98-24b8-446e-b777-fc4a9eb68c88 still in use: Unable to complete operation on network 2002eb98-24b8-446e-b777-fc4a9eb68c88. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d2515a36-47cb-4a1a-a406-d6abd7e5e600']
2025-07-18 15:02:17,510 - WARNING - Deleting VN ctest-ext_vn-81950073 failed..Will retry
2025-07-18 15:02:19,742 - DEBUG - Response for deleting network ()
2025-07-18 15:02:19,743 - INFO - Deleting VN ctest-vn-07415317
2025-07-18 15:02:19,907 - DEBUG - Response for deleting network ()
2025-07-18 15:02:20,207 - DEBUG - No XMPP flaps were noticed during the test
2025-07-18 15:02:20,207 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34]
2025-07-18 15:02:20,207 - INFO - --------------------------------------------------------------------------------
2025-07-18 15:02:21,275 - INFO - Deleted project: ctest-TestRoutersBasic-07448953, ID : 1ec55d74-99ac-4cb5-9655-6bf1d483449f