2025-10-15 19:01:35,266 - INFO - Domain Default found not creating
2025-10-15 19:01:35,447 - INFO - Project ctest-TestRoutersBasic-42994291 not found, creating it
2025-10-15 19:01:35,958 - INFO - Created Project:ctest-TestRoutersBasic-42994291, ID : db055f39-9963-40bc-ac34-f82c9fc37f15
2025-10-15 19:01:37,577 - INFO - ================================================================================
2025-10-15 19:01:37,578 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-15 19:01:37,578 - 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-10-15 19:01:37,852 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-10-15 19:01:37,852 - INFO - Initial checks done. Running the testcase now
2025-10-15 19:01:37,852 - INFO -
2025-10-15 19:01:38,620 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-42994291
2025-10-15 19:01:38,719 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-42994291
2025-10-15 19:01:39,046 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42994291', 'default']}
2025-10-15 19:01:39,374 - DEBUG - Response for create_network : {'network': {'id': '1219b7de-ef04-45ce-8d2e-712e1a5e61f5', 'name': 'ctest-vn-77553094', 'tenant_id': 'db055f39996340bcac34f82c9fc37f15', 'project_id': 'db055f39996340bcac34f82c9fc37f15', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42994291', 'ctest-vn-77553094'], 'port_security_enabled': True, 'description': ''}}
2025-10-15 19:01:39,622 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c68534a5-2b5e-40d3-8eb4-c56ec89322a5', 'name': '', 'tenant_id': 'db055f39996340bcac34f82c9fc37f15', 'network_id': '1219b7de-ef04-45ce-8d2e-712e1a5e61f5', 'ip_version': 4, 'cidr': '116.135.129.192/26', 'allocation_pools': [{'start': '116.135.129.194', 'end': '116.135.129.254'}], 'gateway_ip': '116.135.129.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.135.129.194', 'tags': [], 'project_id': 'db055f39996340bcac34f82c9fc37f15'}}
2025-10-15 19:01:39,644 - INFO - Created VN ctest-vn-77553094
2025-10-15 19:01:39,699 - DEBUG - VN ctest-vn-77553094 UUID is 1219b7de-ef04-45ce-8d2e-712e1a5e61f5
2025-10-15 19:01:40,093 - DEBUG - Response for create_network : {'network': {'id': '88acf017-4fea-4c50-ac83-8af600099295', 'name': 'ctest-ext_vn-91044356', 'tenant_id': 'db055f39996340bcac34f82c9fc37f15', 'project_id': 'db055f39996340bcac34f82c9fc37f15', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42994291', 'ctest-ext_vn-91044356'], 'port_security_enabled': True, 'description': ''}}
2025-10-15 19:01:40,322 - DEBUG - Response for create_subnet : {'subnet': {'id': '93b17aef-61cc-4bac-ae66-3f5754c82920', 'name': '', 'tenant_id': 'db055f39996340bcac34f82c9fc37f15', 'network_id': '88acf017-4fea-4c50-ac83-8af600099295', 'ip_version': 4, 'cidr': '102.195.54.128/26', 'allocation_pools': [{'start': '102.195.54.130', 'end': '102.195.54.190'}], 'gateway_ip': '102.195.54.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.195.54.130', 'tags': [], 'project_id': 'db055f39996340bcac34f82c9fc37f15'}}
2025-10-15 19:01:40,344 - INFO - Created VN ctest-ext_vn-91044356
2025-10-15 19:01:40,399 - DEBUG - VN ctest-ext_vn-91044356 UUID is 88acf017-4fea-4c50-ac83-8af600099295
2025-10-15 19:01:40,588 - DEBUG - Services list from nova: [, , ]
2025-10-15 19:01:41,827 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4334-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4334-1)
2025-10-15 19:01:43,107 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4334-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4334-1)
2025-10-15 19:01:43,189 - INFO - Setting gateway for router dce1b2fd-e476-4f70-866f-29d6348d786f to network 88acf017-4fea-4c50-ac83-8af600099295
2025-10-15 19:01:43,272 - INFO - Adding interface with subnet_id c68534a5-2b5e-40d3-8eb4-c56ec89322a5, port_id None to router dce1b2fd-e476-4f70-866f-29d6348d786f
2025-10-15 19:01:43,812 - INFO - Waiting for VM ctest-TestRoutersBasic-42994291-58059610 to be up..
2025-10-15 19:01:43,995 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-15 19:01:49,098 - DEBUG - VM is in ACTIVE state now
2025-10-15 19:01:49,098 - INFO - VM name : ctest-TestRoutersBasic-42994291-58059610
2025-10-15 19:01:49,193 - DEBUG - VM ctest-TestRoutersBasic-42994291-58059610 ID is 5491c4d1-a12c-48bd-ace7-1c21a2cacb03
2025-10-15 19:01:49,216 - DEBUG - VM ctest-TestRoutersBasic-42994291-58059610 launched on Node cn-jenkins-deploy-platform-ansible-os-4334-1
2025-10-15 19:01:49,310 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5491c4d1-a12c-48bd-ace7-1c21a2cacb03
2025-10-15 19:01:49,617 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5491c4d1-a12c-48bd-ace7-1c21a2cacb03
2025-10-15 19:01:49,656 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/092eea04-7b6e-49b6-90ee-f8b9e606c624
2025-10-15 19:01:52,942 - 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 1036ms')
2025-10-15 19:01:52,942 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42994291-58059610 failed!
2025-10-15 19:01:52,995 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-42994291:ctest-vn-77553094 is 116.135.129.193 and allocation pool is NOT set
2025-10-15 19:01:55,068 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.68 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.684/2.750/3.816/1.066 ms')
2025-10-15 19:01:55,069 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42994291-58059610 passed
2025-10-15 19:01:55,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-15 19:01:55,231 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42994291-58059610, IP 116.135.129.195, Port 22
2025-10-15 19:01:55,297 - 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-10-15 19:01:55,386 - DEBUG - VM ctest-TestRoutersBasic-42994291-58059610 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-15 19:02:00,387 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-15 19:02:00,387 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42994291-58059610, IP 116.135.129.195, Port 22
2025-10-15 19:02:00,551 - DEBUG - VM ctest-TestRoutersBasic-42994291-58059610 is ready for SSH connections
2025-10-15 19:02:00,551 - INFO - Waiting for VM ctest-TestRoutersBasic-42994291-21959119 to be up..
2025-10-15 19:02:00,646 - DEBUG - VM is in ACTIVE state now
2025-10-15 19:02:00,646 - INFO - VM name : ctest-TestRoutersBasic-42994291-21959119
2025-10-15 19:02:00,737 - DEBUG - VM ctest-TestRoutersBasic-42994291-21959119 ID is dc520e86-b5e5-47da-ae5c-6a0888b008ac
2025-10-15 19:02:00,737 - DEBUG - VM ctest-TestRoutersBasic-42994291-21959119 launched on Node cn-jenkins-deploy-platform-ansible-os-4334-1
2025-10-15 19:02:00,840 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/dc520e86-b5e5-47da-ae5c-6a0888b008ac
2025-10-15 19:02:00,852 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0ae082a8-4ecb-4821-ba42-935e237a6953
2025-10-15 19:02:02,099 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.469 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.469/1.918/3.367/1.449 ms')
2025-10-15 19:02:02,099 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-42994291-21959119 passed
2025-10-15 19:02:02,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-15 19:02:02,255 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42994291-21959119, IP 102.195.54.131, Port 22
2025-10-15 19:02:02,426 - DEBUG - VM ctest-TestRoutersBasic-42994291-21959119 is ready for SSH connections
2025-10-15 19:02:02,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-15 19:02:02,426 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.195.54.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-10-15 19:02:02,426 - DEBUG - ping -s 56 -c 3 -W 1 102.195.54.131
2025-10-15 19:02:06,228 - DEBUG - PING 102.195.54.131 (102.195.54.131): 56 data bytes
64 bytes from 102.195.54.131: seq=0 ttl=62 time=7.917 ms
64 bytes from 102.195.54.131: seq=1 ttl=62 time=1.555 ms
64 bytes from 102.195.54.131: seq=2 ttl=62 time=1.610 ms
--- 102.195.54.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.555/3.694/7.917 ms
2025-10-15 19:02:06,228 - INFO - Ping to IP 102.195.54.131 from VM ctest-TestRoutersBasic-42994291-58059610 passed
2025-10-15 19:02:06,228 - INFO - Deleting interface with subnet_id c68534a5-2b5e-40d3-8eb4-c56ec89322a5, port_id None from router dce1b2fd-e476-4f70-866f-29d6348d786f
2025-10-15 19:02:06,486 - INFO - Deleting VM ctest-TestRoutersBasic-42994291-21959119
2025-10-15 19:02:06,589 - INFO - Deleting VM ctest-TestRoutersBasic-42994291-58059610
2025-10-15 19:02:06,702 - INFO - Deleting VN ctest-ext_vn-91044356
2025-10-15 19:02:06,787 - DEBUG - VN 88acf017-4fea-4c50-ac83-8af600099295 still in use: Unable to complete operation on network 88acf017-4fea-4c50-ac83-8af600099295. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9c7d53a8-81e0-4e3d-9d97-8c1203c8b680']
2025-10-15 19:02:06,787 - WARNING - Deleting VN ctest-ext_vn-91044356 failed..Will retry
2025-10-15 19:02:08,934 - DEBUG - Response for deleting network ()
2025-10-15 19:02:08,934 - INFO - Deleting VN ctest-vn-77553094
2025-10-15 19:02:09,070 - DEBUG - Response for deleting network ()
2025-10-15 19:02:09,344 - DEBUG - No XMPP flaps were noticed during the test
2025-10-15 19:02:09,344 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2025-10-15 19:02:09,344 - INFO - --------------------------------------------------------------------------------
2025-10-15 19:02:10,110 - INFO - Deleted project: ctest-TestRoutersBasic-42994291, ID : db055f39-9963-40bc-ac34-f82c9fc37f15