2025-02-13 02:32:05,140 - INFO - Domain Default found not creating
2025-02-13 02:32:05,282 - INFO - Project ctest-TestRoutersBasic-83117421 not found, creating it
2025-02-13 02:32:05,747 - INFO - Created Project:ctest-TestRoutersBasic-83117421, ID : 0be0808f-8a6d-4532-bf89-38d4abd1a1c4
2025-02-13 02:32:07,144 - INFO - ================================================================================
2025-02-13 02:32:07,144 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-02-13 02:32:07,144 - 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-02-13 02:32:07,398 - DEBUG - Nothing to compare xmpp stats {'10.0.0.45': {'10.0.0.45': '0'}} with
2025-02-13 02:32:07,398 - INFO - Initial checks done. Running the testcase now
2025-02-13 02:32:07,398 - INFO -
2025-02-13 02:32:08,102 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-83117421
2025-02-13 02:32:08,201 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-83117421
2025-02-13 02:32:08,528 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83117421', 'default']}
2025-02-13 02:32:08,819 - DEBUG - Response for create_network : {'network': {'id': '9b80f2f1-96a9-49d4-b81b-ccaf29c696b3', 'name': 'ctest-vn-90492747', 'tenant_id': '0be0808f8a6d4532bf8938d4abd1a1c4', 'project_id': '0be0808f8a6d4532bf8938d4abd1a1c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83117421', 'ctest-vn-90492747'], 'port_security_enabled': True, 'description': ''}}
2025-02-13 02:32:08,961 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ea5055a-93bc-4648-96bd-5001782a5ae1', 'name': '', 'tenant_id': '0be0808f8a6d4532bf8938d4abd1a1c4', 'network_id': '9b80f2f1-96a9-49d4-b81b-ccaf29c696b3', 'ip_version': 4, 'cidr': '7.1.126.0/26', 'allocation_pools': [{'start': '7.1.126.2', 'end': '7.1.126.62'}], 'gateway_ip': '7.1.126.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.1.126.2', 'tags': [], 'project_id': '0be0808f8a6d4532bf8938d4abd1a1c4'}}
2025-02-13 02:32:08,978 - INFO - Created VN ctest-vn-90492747
2025-02-13 02:32:09,033 - DEBUG - VN ctest-vn-90492747 UUID is 9b80f2f1-96a9-49d4-b81b-ccaf29c696b3
2025-02-13 02:32:09,359 - DEBUG - Response for create_network : {'network': {'id': 'e3a19896-bff3-4b04-9740-878e769256be', 'name': 'ctest-ext_vn-44486385', 'tenant_id': '0be0808f8a6d4532bf8938d4abd1a1c4', 'project_id': '0be0808f8a6d4532bf8938d4abd1a1c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83117421', 'ctest-ext_vn-44486385'], 'port_security_enabled': True, 'description': ''}}
2025-02-13 02:32:09,533 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e8100ac-fc71-4a25-8aba-0a742e7044f4', 'name': '', 'tenant_id': '0be0808f8a6d4532bf8938d4abd1a1c4', 'network_id': 'e3a19896-bff3-4b04-9740-878e769256be', 'ip_version': 4, 'cidr': '223.201.79.192/26', 'allocation_pools': [{'start': '223.201.79.194', 'end': '223.201.79.254'}], 'gateway_ip': '223.201.79.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.201.79.194', 'tags': [], 'project_id': '0be0808f8a6d4532bf8938d4abd1a1c4'}}
2025-02-13 02:32:09,551 - INFO - Created VN ctest-ext_vn-44486385
2025-02-13 02:32:09,604 - DEBUG - VN ctest-ext_vn-44486385 UUID is e3a19896-bff3-4b04-9740-878e769256be
2025-02-13 02:32:09,806 - DEBUG - Services list from nova: [, , ]
2025-02-13 02:32:10,807 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2729-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2729-1)
2025-02-13 02:32:11,889 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2729-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2729-1)
2025-02-13 02:32:11,948 - INFO - Setting gateway for router 4d756412-b15d-44c2-b891-15e388103085 to network e3a19896-bff3-4b04-9740-878e769256be
2025-02-13 02:32:12,007 - INFO - Adding interface with subnet_id 1ea5055a-93bc-4648-96bd-5001782a5ae1, port_id None to router 4d756412-b15d-44c2-b891-15e388103085
2025-02-13 02:32:12,425 - INFO - Waiting for VM ctest-TestRoutersBasic-83117421-85346458 to be up..
2025-02-13 02:32:12,662 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-02-13 02:32:17,746 - DEBUG - VM is in ACTIVE state now
2025-02-13 02:32:17,747 - INFO - VM name : ctest-TestRoutersBasic-83117421-85346458
2025-02-13 02:32:17,833 - DEBUG - VM ctest-TestRoutersBasic-83117421-85346458 ID is 5303c1b2-03db-4c55-bb86-51d98139dd16
2025-02-13 02:32:17,855 - DEBUG - VM ctest-TestRoutersBasic-83117421-85346458 launched on Node cn-jenkins-deploy-platform-ansible-os-2729-1.
2025-02-13 02:32:17,930 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/5303c1b2-03db-4c55-bb86-51d98139dd16
2025-02-13 02:32:18,232 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/5303c1b2-03db-4c55-bb86-51d98139dd16
2025-02-13 02:32:18,269 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/697988dc-5469-47dd-a690-ab4e6000557b
2025-02-13 02:32:21,550 - 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 1025ms')
2025-02-13 02:32:21,550 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83117421-85346458 failed!
2025-02-13 02:32:21,608 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-83117421:ctest-vn-90492747 is 7.1.126.1 and allocation pool is NOT set
2025-02-13 02:32:23,670 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.686 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.686/2.209/3.732/1.523 ms')
2025-02-13 02:32:23,670 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83117421-85346458 passed
2025-02-13 02:32:23,833 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-13 02:32:23,833 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83117421-85346458, IP 7.1.126.3, Port 22
2025-02-13 02:32:23,898 - 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-02-13 02:32:23,999 - DEBUG - VM ctest-TestRoutersBasic-83117421-85346458 is NOT ready for SSH connections, VM status: ACTIVE
2025-02-13 02:32:29,000 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-13 02:32:29,000 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83117421-85346458, IP 7.1.126.3, Port 22
2025-02-13 02:32:29,160 - DEBUG - VM ctest-TestRoutersBasic-83117421-85346458 is ready for SSH connections
2025-02-13 02:32:29,160 - INFO - Waiting for VM ctest-TestRoutersBasic-83117421-94392698 to be up..
2025-02-13 02:32:29,231 - DEBUG - VM is in ACTIVE state now
2025-02-13 02:32:29,232 - INFO - VM name : ctest-TestRoutersBasic-83117421-94392698
2025-02-13 02:32:29,304 - DEBUG - VM ctest-TestRoutersBasic-83117421-94392698 ID is 7f53a490-c31b-40d3-88fc-2f87101aeb42
2025-02-13 02:32:29,304 - DEBUG - VM ctest-TestRoutersBasic-83117421-94392698 launched on Node cn-jenkins-deploy-platform-ansible-os-2729-1.
2025-02-13 02:32:29,374 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/7f53a490-c31b-40d3-88fc-2f87101aeb42
2025-02-13 02:32:29,383 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/df13a251-686f-4268-aa51-dcba2de2c0cc
2025-02-13 02:32:30,636 - 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.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.373 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.373/1.909/3.445/1.536 ms')
2025-02-13 02:32:30,636 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-83117421-94392698 passed
2025-02-13 02:32:30,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-13 02:32:30,793 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83117421-94392698, IP 223.201.79.195, Port 22
2025-02-13 02:32:30,952 - DEBUG - VM ctest-TestRoutersBasic-83117421-94392698 is ready for SSH connections
2025-02-13 02:32:30,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-13 02:32:30,952 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.201.79.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123
2025-02-13 02:32:30,952 - DEBUG - ping -s 56 -c 3 -W 1 223.201.79.195
2025-02-13 02:32:34,949 - DEBUG - PING 223.201.79.195 (223.201.79.195): 56 data bytes
64 bytes from 223.201.79.195: seq=0 ttl=62 time=7.808 ms
64 bytes from 223.201.79.195: seq=1 ttl=62 time=0.848 ms
64 bytes from 223.201.79.195: seq=2 ttl=62 time=1.178 ms
--- 223.201.79.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.848/3.278/7.808 ms
2025-02-13 02:32:34,949 - INFO - Ping to IP 223.201.79.195 from VM ctest-TestRoutersBasic-83117421-85346458 passed
2025-02-13 02:32:34,949 - INFO - Deleting interface with subnet_id 1ea5055a-93bc-4648-96bd-5001782a5ae1, port_id None from router 4d756412-b15d-44c2-b891-15e388103085
2025-02-13 02:32:35,173 - INFO - Deleting VM ctest-TestRoutersBasic-83117421-94392698
2025-02-13 02:32:35,236 - INFO - Deleting VM ctest-TestRoutersBasic-83117421-85346458
2025-02-13 02:32:35,318 - INFO - Deleting VN ctest-ext_vn-44486385
2025-02-13 02:32:35,398 - DEBUG - VN e3a19896-bff3-4b04-9740-878e769256be still in use: Unable to complete operation on network e3a19896-bff3-4b04-9740-878e769256be. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-005e3f44-108e-47b1-aaef-690ee7f13708']
2025-02-13 02:32:35,398 - WARNING - Deleting VN ctest-ext_vn-44486385 failed..Will retry
2025-02-13 02:32:37,528 - DEBUG - Response for deleting network ()
2025-02-13 02:32:37,528 - INFO - Deleting VN ctest-vn-90492747
2025-02-13 02:32:37,650 - DEBUG - Response for deleting network ()
2025-02-13 02:32:37,911 - DEBUG - No XMPP flaps were noticed during the test
2025-02-13 02:32:37,912 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2025-02-13 02:32:37,912 - INFO - --------------------------------------------------------------------------------
2025-02-13 02:32:38,598 - INFO - Deleted project: ctest-TestRoutersBasic-83117421, ID : 0be0808f-8a6d-4532-bf89-38d4abd1a1c4