2025-04-08 14:18:04,239 - INFO - Domain Default found not creating
2025-04-08 14:18:04,405 - INFO - Project ctest-TestRoutersBasic-47236659 not found, creating it
2025-04-08 14:18:04,903 - INFO - Created Project:ctest-TestRoutersBasic-47236659, ID : c25bbeeb-bdb6-45b8-82ea-9118dcce360f
2025-04-08 14:18:06,385 - INFO - ================================================================================
2025-04-08 14:18:06,385 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-08 14:18:06,385 - 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-08 14:18:06,645 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.18': '0'}} with
2025-04-08 14:18:06,645 - INFO - Initial checks done. Running the testcase now
2025-04-08 14:18:06,645 - INFO -
2025-04-08 14:18:07,359 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-47236659
2025-04-08 14:18:07,462 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-47236659
2025-04-08 14:18:07,806 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47236659', 'default']}
2025-04-08 14:18:08,142 - DEBUG - Response for create_network : {'network': {'id': '1f55a319-9457-42e5-82ba-fbc1b685b4a7', 'name': 'ctest-vn-79764511', 'tenant_id': 'c25bbeebbdb645b882ea9118dcce360f', 'project_id': 'c25bbeebbdb645b882ea9118dcce360f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47236659', 'ctest-vn-79764511'], 'port_security_enabled': True, 'description': ''}}
2025-04-08 14:18:08,367 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f33af572-b9f9-43a5-8ee6-1d57444a9367', 'name': '', 'tenant_id': 'c25bbeebbdb645b882ea9118dcce360f', 'network_id': '1f55a319-9457-42e5-82ba-fbc1b685b4a7', 'ip_version': 4, 'cidr': '222.162.114.0/26', 'allocation_pools': [{'start': '222.162.114.2', 'end': '222.162.114.62'}], 'gateway_ip': '222.162.114.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.162.114.2', 'tags': [], 'project_id': 'c25bbeebbdb645b882ea9118dcce360f'}}
2025-04-08 14:18:08,388 - INFO - Created VN ctest-vn-79764511
2025-04-08 14:18:08,446 - DEBUG - VN ctest-vn-79764511 UUID is 1f55a319-9457-42e5-82ba-fbc1b685b4a7
2025-04-08 14:18:08,804 - DEBUG - Response for create_network : {'network': {'id': '5f574703-6343-4fe7-abc5-620364d9a768', 'name': 'ctest-ext_vn-11118127', 'tenant_id': 'c25bbeebbdb645b882ea9118dcce360f', 'project_id': 'c25bbeebbdb645b882ea9118dcce360f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47236659', 'ctest-ext_vn-11118127'], 'port_security_enabled': True, 'description': ''}}
2025-04-08 14:18:08,997 - DEBUG - Response for create_subnet : {'subnet': {'id': '11fd2ea2-bc46-4998-bc41-2ff6933401e7', 'name': '', 'tenant_id': 'c25bbeebbdb645b882ea9118dcce360f', 'network_id': '5f574703-6343-4fe7-abc5-620364d9a768', 'ip_version': 4, 'cidr': '37.231.133.0/26', 'allocation_pools': [{'start': '37.231.133.2', 'end': '37.231.133.62'}], 'gateway_ip': '37.231.133.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.231.133.2', 'tags': [], 'project_id': 'c25bbeebbdb645b882ea9118dcce360f'}}
2025-04-08 14:18:09,020 - INFO - Created VN ctest-ext_vn-11118127
2025-04-08 14:18:09,078 - DEBUG - VN ctest-ext_vn-11118127 UUID is 5f574703-6343-4fe7-abc5-620364d9a768
2025-04-08 14:18:09,252 - DEBUG - Services list from nova: [, , ]
2025-04-08 14:18:10,307 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3053-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3053-1)
2025-04-08 14:18:11,504 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3053-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3053-1)
2025-04-08 14:18:11,601 - INFO - Setting gateway for router ad4adb19-0cab-4337-a7db-8a4f10bd0d8f to network 5f574703-6343-4fe7-abc5-620364d9a768
2025-04-08 14:18:11,713 - INFO - Adding interface with subnet_id f33af572-b9f9-43a5-8ee6-1d57444a9367, port_id None to router ad4adb19-0cab-4337-a7db-8a4f10bd0d8f
2025-04-08 14:18:12,124 - INFO - Waiting for VM ctest-TestRoutersBasic-47236659-02100470 to be up..
2025-04-08 14:18:12,344 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-08 14:18:17,421 - DEBUG - VM is in ACTIVE state now
2025-04-08 14:18:17,421 - INFO - VM name : ctest-TestRoutersBasic-47236659-02100470
2025-04-08 14:18:17,499 - DEBUG - VM ctest-TestRoutersBasic-47236659-02100470 ID is fc6086d6-5c6a-4ddb-a533-01814b0ad7fe
2025-04-08 14:18:17,520 - DEBUG - VM ctest-TestRoutersBasic-47236659-02100470 launched on Node cn-jenkins-deploy-platform-ansible-os-3053-1
2025-04-08 14:18:17,607 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/fc6086d6-5c6a-4ddb-a533-01814b0ad7fe
2025-04-08 14:18:17,904 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/fc6086d6-5c6a-4ddb-a533-01814b0ad7fe
2025-04-08 14:18:17,936 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/231161ea-eb98-4951-bac5-aa2be851bedb
2025-04-08 14:18:21,199 - 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-04-08 14:18:21,199 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-47236659-02100470 failed!
2025-04-08 14:18:21,258 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-47236659:ctest-vn-79764511 is 222.162.114.1 and allocation pool is NOT set
2025-04-08 14:18:23,319 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.01 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 = 3.009/3.174/3.339/0.165 ms')
2025-04-08 14:18:23,320 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-47236659-02100470 passed
2025-04-08 14:18:23,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-08 14:18:23,478 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-47236659-02100470, IP 222.162.114.3, Port 22
2025-04-08 14:18:23,644 - DEBUG - VM ctest-TestRoutersBasic-47236659-02100470 is ready for SSH connections
2025-04-08 14:18:23,644 - INFO - Waiting for VM ctest-TestRoutersBasic-47236659-85754372 to be up..
2025-04-08 14:18:23,724 - DEBUG - VM is in ACTIVE state now
2025-04-08 14:18:23,724 - INFO - VM name : ctest-TestRoutersBasic-47236659-85754372
2025-04-08 14:18:23,799 - DEBUG - VM ctest-TestRoutersBasic-47236659-85754372 ID is bf5eebf5-bae9-4173-824a-17338c6112d2
2025-04-08 14:18:23,800 - DEBUG - VM ctest-TestRoutersBasic-47236659-85754372 launched on Node cn-jenkins-deploy-platform-ansible-os-3053-1
2025-04-08 14:18:23,878 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/bf5eebf5-bae9-4173-824a-17338c6112d2
2025-04-08 14:18:23,888 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/f0b57ee4-52ce-4bb7-96f0-b78f6c04a239
2025-04-08 14:18:25,155 - 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=2.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 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.430/1.608/2.787/1.178 ms')
2025-04-08 14:18:25,155 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-47236659-85754372 passed
2025-04-08 14:18:25,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-08 14:18:25,310 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-47236659-85754372, IP 37.231.133.3, Port 22
2025-04-08 14:18:25,465 - DEBUG - VM ctest-TestRoutersBasic-47236659-85754372 is ready for SSH connections
2025-04-08 14:18:25,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-08 14:18:25,465 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.231.133.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123
2025-04-08 14:18:25,465 - DEBUG - ping -s 56 -c 3 -W 1 37.231.133.3
2025-04-08 14:18:29,184 - DEBUG - PING 37.231.133.3 (37.231.133.3): 56 data bytes
64 bytes from 37.231.133.3: seq=0 ttl=62 time=5.045 ms
64 bytes from 37.231.133.3: seq=1 ttl=62 time=2.102 ms
64 bytes from 37.231.133.3: seq=2 ttl=62 time=1.138 ms
--- 37.231.133.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.138/2.761/5.045 ms
2025-04-08 14:18:29,185 - INFO - Ping to IP 37.231.133.3 from VM ctest-TestRoutersBasic-47236659-02100470 passed
2025-04-08 14:18:29,185 - INFO - Deleting interface with subnet_id f33af572-b9f9-43a5-8ee6-1d57444a9367, port_id None from router ad4adb19-0cab-4337-a7db-8a4f10bd0d8f
2025-04-08 14:18:29,438 - INFO - Deleting VM ctest-TestRoutersBasic-47236659-85754372
2025-04-08 14:18:29,525 - INFO - Deleting VM ctest-TestRoutersBasic-47236659-02100470
2025-04-08 14:18:29,617 - INFO - Deleting VN ctest-ext_vn-11118127
2025-04-08 14:18:29,702 - DEBUG - VN 5f574703-6343-4fe7-abc5-620364d9a768 still in use: Unable to complete operation on network 5f574703-6343-4fe7-abc5-620364d9a768. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-1d429117-dbe9-465e-9e59-63bdd1893c69']
2025-04-08 14:18:29,702 - WARNING - Deleting VN ctest-ext_vn-11118127 failed..Will retry
2025-04-08 14:18:31,816 - DEBUG - Response for deleting network ()
2025-04-08 14:18:31,816 - INFO - Deleting VN ctest-vn-79764511
2025-04-08 14:18:31,923 - DEBUG - Response for deleting network ()
2025-04-08 14:18:32,176 - DEBUG - No XMPP flaps were noticed during the test
2025-04-08 14:18:32,176 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-08 14:18:32,176 - INFO - --------------------------------------------------------------------------------
2025-04-08 14:18:32,853 - INFO - Deleted project: ctest-TestRoutersBasic-47236659, ID : c25bbeeb-bdb6-45b8-82ea-9118dcce360f