2025-04-09 13:01:33,657 - INFO - Domain Default found not creating
2025-04-09 13:01:33,914 - INFO - Project ctest-TestRoutersBasic-10633006 not found, creating it
2025-04-09 13:01:34,573 - INFO - Created Project:ctest-TestRoutersBasic-10633006, ID : ca49f99d-8978-4fa6-9ad6-d41601262d0c
2025-04-09 13:01:36,567 - INFO - ================================================================================
2025-04-09 13:01:36,567 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-09 13:01:36,568 - 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-04-09 13:01:36,896 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-04-09 13:01:36,896 - INFO - Initial checks done. Running the testcase now
2025-04-09 13:01:36,896 - INFO -
2025-04-09 13:01:38,142 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-10633006
2025-04-09 13:01:38,254 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-10633006
2025-04-09 13:01:38,669 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10633006', 'default']}
2025-04-09 13:01:39,168 - DEBUG - Response for create_network : {'network': {'id': '2a3952df-66e0-4b48-ac0f-74294ff99889', 'name': 'ctest-vn-40596071', 'tenant_id': 'ca49f99d89784fa69ad6d41601262d0c', 'project_id': 'ca49f99d89784fa69ad6d41601262d0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10633006', 'ctest-vn-40596071'], 'port_security_enabled': True, 'description': ''}}
2025-04-09 13:01:39,440 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4d282d9-9ecc-4098-8c51-68d529bd4723', 'name': '', 'tenant_id': 'ca49f99d89784fa69ad6d41601262d0c', 'network_id': '2a3952df-66e0-4b48-ac0f-74294ff99889', 'ip_version': 4, 'cidr': '69.51.63.0/26', 'allocation_pools': [{'start': '69.51.63.2', 'end': '69.51.63.62'}], 'gateway_ip': '69.51.63.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.51.63.2', 'tags': [], 'project_id': 'ca49f99d89784fa69ad6d41601262d0c'}}
2025-04-09 13:01:39,467 - INFO - Created VN ctest-vn-40596071
2025-04-09 13:01:39,529 - DEBUG - VN ctest-vn-40596071 UUID is 2a3952df-66e0-4b48-ac0f-74294ff99889
2025-04-09 13:01:39,957 - DEBUG - Response for create_network : {'network': {'id': '449b411c-e293-40a1-b9f4-6a38483cca08', 'name': 'ctest-ext_vn-53751548', 'tenant_id': 'ca49f99d89784fa69ad6d41601262d0c', 'project_id': 'ca49f99d89784fa69ad6d41601262d0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10633006', 'ctest-ext_vn-53751548'], 'port_security_enabled': True, 'description': ''}}
2025-04-09 13:01:40,182 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fefc4238-de6a-42ed-9f6b-b084c00ce83b', 'name': '', 'tenant_id': 'ca49f99d89784fa69ad6d41601262d0c', 'network_id': '449b411c-e293-40a1-b9f4-6a38483cca08', 'ip_version': 4, 'cidr': '199.53.199.192/26', 'allocation_pools': [{'start': '199.53.199.194', 'end': '199.53.199.254'}], 'gateway_ip': '199.53.199.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.53.199.194', 'tags': [], 'project_id': 'ca49f99d89784fa69ad6d41601262d0c'}}
2025-04-09 13:01:40,207 - INFO - Created VN ctest-ext_vn-53751548
2025-04-09 13:01:40,269 - DEBUG - VN ctest-ext_vn-53751548 UUID is 449b411c-e293-40a1-b9f4-6a38483cca08
2025-04-09 13:01:40,531 - DEBUG - Services list from nova: [, , ]
2025-04-09 13:01:41,999 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3065-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3065-1)
2025-04-09 13:01:43,377 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3065-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3065-1)
2025-04-09 13:01:43,468 - INFO - Setting gateway for router 9665fa5a-94f4-4557-9e60-0be80a593783 to network 449b411c-e293-40a1-b9f4-6a38483cca08
2025-04-09 13:01:43,538 - INFO - Adding interface with subnet_id b4d282d9-9ecc-4098-8c51-68d529bd4723, port_id None to router 9665fa5a-94f4-4557-9e60-0be80a593783
2025-04-09 13:01:43,983 - INFO - Waiting for VM ctest-TestRoutersBasic-10633006-50807342 to be up..
2025-04-09 13:01:44,137 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-09 13:01:49,335 - DEBUG - VM is in ACTIVE state now
2025-04-09 13:01:49,336 - INFO - VM name : ctest-TestRoutersBasic-10633006-50807342
2025-04-09 13:01:49,475 - DEBUG - VM ctest-TestRoutersBasic-10633006-50807342 ID is 54742ba1-280b-417f-a293-ca53ea9402db
2025-04-09 13:01:49,513 - DEBUG - VM ctest-TestRoutersBasic-10633006-50807342 launched on Node cn-jenkins-deploy-platform-ansible-os-3065-1
2025-04-09 13:01:49,700 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/54742ba1-280b-417f-a293-ca53ea9402db
2025-04-09 13:01:50,022 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/54742ba1-280b-417f-a293-ca53ea9402db
2025-04-09 13:01:50,094 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/34631993-2948-406e-bb34-ef09e0627b56
2025-04-09 13:01:53,395 - 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-04-09 13:01:53,396 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-10633006-50807342 failed!
2025-04-09 13:01:53,470 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-10633006:ctest-vn-40596071 is 69.51.63.1 and allocation pool is NOT set
2025-04-09 13:01:55,546 - 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=5.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.800 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.800/3.285/5.770/2.485 ms')
2025-04-09 13:01:55,546 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-10633006-50807342 passed
2025-04-09 13:01:55,725 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-09 13:01:55,725 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10633006-50807342, IP 69.51.63.3, Port 22
2025-04-09 13:01:55,806 - 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-04-09 13:01:55,961 - DEBUG - VM ctest-TestRoutersBasic-10633006-50807342 is NOT ready for SSH connections, VM status: ACTIVE
2025-04-09 13:02:00,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-09 13:02:00,962 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10633006-50807342, IP 69.51.63.3, Port 22
2025-04-09 13:02:01,162 - DEBUG - VM ctest-TestRoutersBasic-10633006-50807342 is ready for SSH connections
2025-04-09 13:02:01,163 - INFO - Waiting for VM ctest-TestRoutersBasic-10633006-48138866 to be up..
2025-04-09 13:02:01,304 - DEBUG - VM is in ACTIVE state now
2025-04-09 13:02:01,304 - INFO - VM name : ctest-TestRoutersBasic-10633006-48138866
2025-04-09 13:02:01,399 - DEBUG - VM ctest-TestRoutersBasic-10633006-48138866 ID is a1c6b3b6-36d7-4752-85d7-00c46dd4d554
2025-04-09 13:02:01,399 - DEBUG - VM ctest-TestRoutersBasic-10633006-48138866 launched on Node cn-jenkins-deploy-platform-ansible-os-3065-1
2025-04-09 13:02:01,495 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a1c6b3b6-36d7-4752-85d7-00c46dd4d554
2025-04-09 13:02:01,507 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fd3e4b2f-b531-4de1-ab40-17b05c1e2685
2025-04-09 13:02:02,778 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.861 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.861/2.261/3.661/1.400 ms')
2025-04-09 13:02:02,778 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-10633006-48138866 passed
2025-04-09 13:02:02,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-09 13:02:02,954 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10633006-48138866, IP 199.53.199.195, Port 22
2025-04-09 13:02:03,144 - DEBUG - VM ctest-TestRoutersBasic-10633006-48138866 is ready for SSH connections
2025-04-09 13:02:03,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-09 13:02:03,145 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.53.199.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-04-09 13:02:03,145 - DEBUG - ping -s 56 -c 3 -W 1 199.53.199.195
2025-04-09 13:02:07,168 - DEBUG - PING 199.53.199.195 (199.53.199.195): 56 data bytes
64 bytes from 199.53.199.195: seq=0 ttl=62 time=11.484 ms
64 bytes from 199.53.199.195: seq=1 ttl=62 time=1.879 ms
64 bytes from 199.53.199.195: seq=2 ttl=62 time=2.498 ms
--- 199.53.199.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.879/5.287/11.484 ms
2025-04-09 13:02:07,168 - INFO - Ping to IP 199.53.199.195 from VM ctest-TestRoutersBasic-10633006-50807342 passed
2025-04-09 13:02:07,169 - INFO - Deleting interface with subnet_id b4d282d9-9ecc-4098-8c51-68d529bd4723, port_id None from router 9665fa5a-94f4-4557-9e60-0be80a593783
2025-04-09 13:02:07,573 - INFO - Deleting VM ctest-TestRoutersBasic-10633006-48138866
2025-04-09 13:02:07,697 - INFO - Deleting VM ctest-TestRoutersBasic-10633006-50807342
2025-04-09 13:02:07,808 - INFO - Deleting VN ctest-ext_vn-53751548
2025-04-09 13:02:07,929 - DEBUG - VN 449b411c-e293-40a1-b9f4-6a38483cca08 still in use: Unable to complete operation on network 449b411c-e293-40a1-b9f4-6a38483cca08. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d677f83a-4d6d-45e9-a2cf-9f7fdc172739']
2025-04-09 13:02:07,929 - WARNING - Deleting VN ctest-ext_vn-53751548 failed..Will retry
2025-04-09 13:02:10,133 - DEBUG - Response for deleting network ()
2025-04-09 13:02:10,133 - INFO - Deleting VN ctest-vn-40596071
2025-04-09 13:02:10,252 - DEBUG - Response for deleting network ()
2025-04-09 13:02:10,527 - DEBUG - No XMPP flaps were noticed during the test
2025-04-09 13:02:10,527 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34]
2025-04-09 13:02:10,527 - INFO - --------------------------------------------------------------------------------
2025-04-09 13:02:11,379 - INFO - Deleted project: ctest-TestRoutersBasic-10633006, ID : ca49f99d-8978-4fa6-9ad6-d41601262d0c