2025-04-11 14:58:21,504 - INFO - Domain Default found not creating
2025-04-11 14:58:21,699 - INFO - Project ctest-TestRoutersBasic-11412753 not found, creating it
2025-04-11 14:58:22,273 - INFO - Created Project:ctest-TestRoutersBasic-11412753, ID : e1689a11-d0f0-4590-a815-f512fb9cefa5
2025-04-11 14:58:23,902 - INFO - ================================================================================
2025-04-11 14:58:23,902 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-11 14:58:23,902 - 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-11 14:58:24,162 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with
2025-04-11 14:58:24,162 - INFO - Initial checks done. Running the testcase now
2025-04-11 14:58:24,162 - INFO -
2025-04-11 14:58:24,918 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-11412753
2025-04-11 14:58:25,014 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-11412753
2025-04-11 14:58:25,341 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11412753', 'default']}
2025-04-11 14:58:25,673 - DEBUG - Response for create_network : {'network': {'id': 'ec693163-2400-4fa7-a36d-7310e0d75a99', 'name': 'ctest-vn-42901001', 'tenant_id': 'e1689a11d0f04590a815f512fb9cefa5', 'project_id': 'e1689a11d0f04590a815f512fb9cefa5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11412753', 'ctest-vn-42901001'], 'port_security_enabled': True, 'description': ''}}
2025-04-11 14:58:25,873 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d454f5c-b012-4c75-96bf-e992d4fd5674', 'name': '', 'tenant_id': 'e1689a11d0f04590a815f512fb9cefa5', 'network_id': 'ec693163-2400-4fa7-a36d-7310e0d75a99', 'ip_version': 4, 'cidr': '95.156.69.192/26', 'allocation_pools': [{'start': '95.156.69.194', 'end': '95.156.69.254'}], 'gateway_ip': '95.156.69.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.156.69.194', 'tags': [], 'project_id': 'e1689a11d0f04590a815f512fb9cefa5'}}
2025-04-11 14:58:25,893 - INFO - Created VN ctest-vn-42901001
2025-04-11 14:58:25,950 - DEBUG - VN ctest-vn-42901001 UUID is ec693163-2400-4fa7-a36d-7310e0d75a99
2025-04-11 14:58:26,323 - DEBUG - Response for create_network : {'network': {'id': 'c3cccb5d-b03b-4ec8-a0e2-a815d698e9aa', 'name': 'ctest-ext_vn-30766822', 'tenant_id': 'e1689a11d0f04590a815f512fb9cefa5', 'project_id': 'e1689a11d0f04590a815f512fb9cefa5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11412753', 'ctest-ext_vn-30766822'], 'port_security_enabled': True, 'description': ''}}
2025-04-11 14:58:26,498 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab7b4feb-1fca-4b1e-b945-4e025fc60c3b', 'name': '', 'tenant_id': 'e1689a11d0f04590a815f512fb9cefa5', 'network_id': 'c3cccb5d-b03b-4ec8-a0e2-a815d698e9aa', 'ip_version': 4, 'cidr': '91.16.199.0/26', 'allocation_pools': [{'start': '91.16.199.2', 'end': '91.16.199.62'}], 'gateway_ip': '91.16.199.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.16.199.2', 'tags': [], 'project_id': 'e1689a11d0f04590a815f512fb9cefa5'}}
2025-04-11 14:58:26,521 - INFO - Created VN ctest-ext_vn-30766822
2025-04-11 14:58:26,578 - DEBUG - VN ctest-ext_vn-30766822 UUID is c3cccb5d-b03b-4ec8-a0e2-a815d698e9aa
2025-04-11 14:58:26,778 - DEBUG - Services list from nova: [, , ]
2025-04-11 14:58:27,895 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3081-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3081-1)
2025-04-11 14:58:29,179 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3081-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3081-1)
2025-04-11 14:58:29,271 - INFO - Setting gateway for router 8263891a-4f18-4e03-952b-66ac938ea6dc to network c3cccb5d-b03b-4ec8-a0e2-a815d698e9aa
2025-04-11 14:58:29,359 - INFO - Adding interface with subnet_id 8d454f5c-b012-4c75-96bf-e992d4fd5674, port_id None to router 8263891a-4f18-4e03-952b-66ac938ea6dc
2025-04-11 14:58:29,742 - INFO - Waiting for VM ctest-TestRoutersBasic-11412753-61485498 to be up..
2025-04-11 14:58:29,983 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-11 14:58:35,074 - DEBUG - VM is in ACTIVE state now
2025-04-11 14:58:35,074 - INFO - VM name : ctest-TestRoutersBasic-11412753-61485498
2025-04-11 14:58:35,168 - DEBUG - VM ctest-TestRoutersBasic-11412753-61485498 ID is dd385c7a-9f6a-4659-a836-56d0c7d0eb2f
2025-04-11 14:58:35,192 - DEBUG - VM ctest-TestRoutersBasic-11412753-61485498 launched on Node cn-jenkins-deploy-platform-ansible-os-3081-1
2025-04-11 14:58:35,290 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/dd385c7a-9f6a-4659-a836-56d0c7d0eb2f
2025-04-11 14:58:35,600 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/dd385c7a-9f6a-4659-a836-56d0c7d0eb2f
2025-04-11 14:58:35,639 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/682084a4-8ab9-4397-864a-3eb725a27aea
2025-04-11 14:58:38,907 - 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 1017ms')
2025-04-11 14:58:38,907 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11412753-61485498 failed!
2025-04-11 14:58:38,966 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-11412753:ctest-vn-42901001 is 95.156.69.193 and allocation pool is NOT set
2025-04-11 14:58:41,030 - 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=4.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.31 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 = 2.305/3.369/4.434/1.064 ms')
2025-04-11 14:58:41,030 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11412753-61485498 passed
2025-04-11 14:58:41,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-11 14:58:41,190 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11412753-61485498, IP 95.156.69.195, Port 22
2025-04-11 14:58:41,364 - DEBUG - VM ctest-TestRoutersBasic-11412753-61485498 is ready for SSH connections
2025-04-11 14:58:41,365 - INFO - Waiting for VM ctest-TestRoutersBasic-11412753-06410742 to be up..
2025-04-11 14:58:41,470 - DEBUG - VM is in ACTIVE state now
2025-04-11 14:58:41,470 - INFO - VM name : ctest-TestRoutersBasic-11412753-06410742
2025-04-11 14:58:41,563 - DEBUG - VM ctest-TestRoutersBasic-11412753-06410742 ID is f2e00338-5151-4f73-8eb3-266b8c59757f
2025-04-11 14:58:41,564 - DEBUG - VM ctest-TestRoutersBasic-11412753-06410742 launched on Node cn-jenkins-deploy-platform-ansible-os-3081-1
2025-04-11 14:58:41,658 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f2e00338-5151-4f73-8eb3-266b8c59757f
2025-04-11 14:58:41,669 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b073afea-74e9-471e-b274-51f0a63da56d
2025-04-11 14:58:42,921 - 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=7.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.907 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.907/4.163/7.420/3.256 ms')
2025-04-11 14:58:42,921 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-11412753-06410742 passed
2025-04-11 14:58:43,082 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-11 14:58:43,082 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11412753-06410742, IP 91.16.199.3, Port 22
2025-04-11 14:58:43,248 - DEBUG - VM ctest-TestRoutersBasic-11412753-06410742 is ready for SSH connections
2025-04-11 14:58:43,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-11 14:58:43,249 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.16.199.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-04-11 14:58:43,249 - DEBUG - ping -s 56 -c 3 -W 1 91.16.199.3
2025-04-11 14:58:47,306 - DEBUG - PING 91.16.199.3 (91.16.199.3): 56 data bytes
64 bytes from 91.16.199.3: seq=0 ttl=62 time=7.737 ms
64 bytes from 91.16.199.3: seq=1 ttl=62 time=1.006 ms
64 bytes from 91.16.199.3: seq=2 ttl=62 time=1.762 ms
--- 91.16.199.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.006/3.501/7.737 ms
2025-04-11 14:58:47,306 - INFO - Ping to IP 91.16.199.3 from VM ctest-TestRoutersBasic-11412753-61485498 passed
2025-04-11 14:58:47,307 - INFO - Deleting interface with subnet_id 8d454f5c-b012-4c75-96bf-e992d4fd5674, port_id None from router 8263891a-4f18-4e03-952b-66ac938ea6dc
2025-04-11 14:58:47,575 - INFO - Deleting VM ctest-TestRoutersBasic-11412753-06410742
2025-04-11 14:58:47,644 - INFO - Deleting VM ctest-TestRoutersBasic-11412753-61485498
2025-04-11 14:58:47,726 - INFO - Deleting VN ctest-ext_vn-30766822
2025-04-11 14:58:47,826 - DEBUG - VN c3cccb5d-b03b-4ec8-a0e2-a815d698e9aa still in use: Unable to complete operation on network c3cccb5d-b03b-4ec8-a0e2-a815d698e9aa. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c5880f2a-065b-4c77-a75f-bf107c256749']
2025-04-11 14:58:47,826 - WARNING - Deleting VN ctest-ext_vn-30766822 failed..Will retry
2025-04-11 14:58:49,940 - DEBUG - Response for deleting network ()
2025-04-11 14:58:49,941 - INFO - Deleting VN ctest-vn-42901001
2025-04-11 14:58:50,068 - DEBUG - Response for deleting network ()
2025-04-11 14:58:50,334 - DEBUG - No XMPP flaps were noticed during the test
2025-04-11 14:58:50,334 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-04-11 14:58:50,334 - INFO - --------------------------------------------------------------------------------
2025-04-11 14:58:51,099 - INFO - Deleted project: ctest-TestRoutersBasic-11412753, ID : e1689a11-d0f0-4590-a815-f512fb9cefa5