2025-06-20 10:55:58,255 - INFO - Domain Default found not creating
2025-06-20 10:55:58,399 - INFO - Project ctest-TestRoutersBasic-82821571 not found, creating it
2025-06-20 10:55:58,851 - INFO - Created Project:ctest-TestRoutersBasic-82821571, ID : 78aba70a-28e8-497e-b775-98fc0b97bf9a
2025-06-20 10:56:00,258 - INFO - ================================================================================
2025-06-20 10:56:00,259 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-20 10:56:00,259 - 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-06-20 10:56:00,519 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.17': '0'}} with
2025-06-20 10:56:00,519 - INFO - Initial checks done. Running the testcase now
2025-06-20 10:56:00,519 - INFO -
2025-06-20 10:56:01,204 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-82821571
2025-06-20 10:56:01,302 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-82821571
2025-06-20 10:56:01,625 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82821571', 'default']}
2025-06-20 10:56:01,938 - DEBUG - Response for create_network : {'network': {'id': 'c29e79a4-d4d3-498e-b3e1-0571cb564246', 'name': 'ctest-vn-02717040', 'tenant_id': '78aba70a28e8497eb77598fc0b97bf9a', 'project_id': '78aba70a28e8497eb77598fc0b97bf9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82821571', 'ctest-vn-02717040'], 'port_security_enabled': True, 'description': ''}}
2025-06-20 10:56:02,120 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a6826b45-d638-4ffc-bd86-03a00f499bcb', 'name': '', 'tenant_id': '78aba70a28e8497eb77598fc0b97bf9a', 'network_id': 'c29e79a4-d4d3-498e-b3e1-0571cb564246', 'ip_version': 4, 'cidr': '158.183.108.192/26', 'allocation_pools': [{'start': '158.183.108.194', 'end': '158.183.108.254'}], 'gateway_ip': '158.183.108.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.183.108.194', 'tags': [], 'project_id': '78aba70a28e8497eb77598fc0b97bf9a'}}
2025-06-20 10:56:02,139 - INFO - Created VN ctest-vn-02717040
2025-06-20 10:56:02,190 - DEBUG - VN ctest-vn-02717040 UUID is c29e79a4-d4d3-498e-b3e1-0571cb564246
2025-06-20 10:56:02,540 - DEBUG - Response for create_network : {'network': {'id': '6bbc101b-c2a4-4429-a213-22eb64666a5f', 'name': 'ctest-ext_vn-21291478', 'tenant_id': '78aba70a28e8497eb77598fc0b97bf9a', 'project_id': '78aba70a28e8497eb77598fc0b97bf9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82821571', 'ctest-ext_vn-21291478'], 'port_security_enabled': True, 'description': ''}}
2025-06-20 10:56:02,711 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1a756c2-59e2-44b8-823b-37f05b532c81', 'name': '', 'tenant_id': '78aba70a28e8497eb77598fc0b97bf9a', 'network_id': '6bbc101b-c2a4-4429-a213-22eb64666a5f', 'ip_version': 4, 'cidr': '43.158.239.192/26', 'allocation_pools': [{'start': '43.158.239.194', 'end': '43.158.239.254'}], 'gateway_ip': '43.158.239.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.158.239.194', 'tags': [], 'project_id': '78aba70a28e8497eb77598fc0b97bf9a'}}
2025-06-20 10:56:02,730 - INFO - Created VN ctest-ext_vn-21291478
2025-06-20 10:56:02,785 - DEBUG - VN ctest-ext_vn-21291478 UUID is 6bbc101b-c2a4-4429-a213-22eb64666a5f
2025-06-20 10:56:02,989 - DEBUG - Services list from nova: [, , ]
2025-06-20 10:56:03,971 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3506-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3506-1)
2025-06-20 10:56:05,053 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3506-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3506-1)
2025-06-20 10:56:05,154 - INFO - Setting gateway for router edc50960-d9dd-4941-a371-c768d35ca2d5 to network 6bbc101b-c2a4-4429-a213-22eb64666a5f
2025-06-20 10:56:05,231 - INFO - Adding interface with subnet_id a6826b45-d638-4ffc-bd86-03a00f499bcb, port_id None to router edc50960-d9dd-4941-a371-c768d35ca2d5
2025-06-20 10:56:05,700 - INFO - Waiting for VM ctest-TestRoutersBasic-82821571-19411669 to be up..
2025-06-20 10:56:05,853 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-20 10:56:10,937 - DEBUG - VM is in ACTIVE state now
2025-06-20 10:56:10,938 - INFO - VM name : ctest-TestRoutersBasic-82821571-19411669
2025-06-20 10:56:11,014 - DEBUG - VM ctest-TestRoutersBasic-82821571-19411669 ID is 11fa2c5c-2382-4aed-b2ed-443a85d3e5aa
2025-06-20 10:56:11,035 - DEBUG - VM ctest-TestRoutersBasic-82821571-19411669 launched on Node cn-jenkins-deploy-platform-ansible-os-3506-1
2025-06-20 10:56:11,122 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/11fa2c5c-2382-4aed-b2ed-443a85d3e5aa
2025-06-20 10:56:11,413 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/11fa2c5c-2382-4aed-b2ed-443a85d3e5aa
2025-06-20 10:56:11,445 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/f2a5d30f-1da6-42ab-8012-cd98f78bb269
2025-06-20 10:56:14,705 - 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 1007ms')
2025-06-20 10:56:14,705 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-82821571-19411669 failed!
2025-06-20 10:56:14,761 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-82821571:ctest-vn-02717040 is 158.183.108.193 and allocation pool is NOT set
2025-06-20 10:56:16,819 - 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.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.531 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.531/1.856/3.181/1.325 ms')
2025-06-20 10:56:16,819 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-82821571-19411669 passed
2025-06-20 10:56:16,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-20 10:56:16,982 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82821571-19411669, IP 158.183.108.195, Port 22
2025-06-20 10:56:17,137 - DEBUG - VM ctest-TestRoutersBasic-82821571-19411669 is ready for SSH connections
2025-06-20 10:56:17,137 - INFO - Waiting for VM ctest-TestRoutersBasic-82821571-03468566 to be up..
2025-06-20 10:56:17,224 - DEBUG - VM is in ACTIVE state now
2025-06-20 10:56:17,224 - INFO - VM name : ctest-TestRoutersBasic-82821571-03468566
2025-06-20 10:56:17,294 - DEBUG - VM ctest-TestRoutersBasic-82821571-03468566 ID is afedcaab-0efc-4c81-a55f-4829e8b17ee6
2025-06-20 10:56:17,294 - DEBUG - VM ctest-TestRoutersBasic-82821571-03468566 launched on Node cn-jenkins-deploy-platform-ansible-os-3506-1
2025-06-20 10:56:17,372 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/afedcaab-0efc-4c81-a55f-4829e8b17ee6
2025-06-20 10:56:17,380 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/08a58bbc-bce8-40f7-a023-49960e3c8449
2025-06-20 10:56:18,630 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.494 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.494/1.635/2.776/1.141 ms')
2025-06-20 10:56:18,631 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-82821571-03468566 passed
2025-06-20 10:56:18,782 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-20 10:56:18,782 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82821571-03468566, IP 43.158.239.195, Port 22
2025-06-20 10:56:18,941 - DEBUG - VM ctest-TestRoutersBasic-82821571-03468566 is ready for SSH connections
2025-06-20 10:56:18,941 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-20 10:56:18,942 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.158.239.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-06-20 10:56:18,942 - DEBUG - ping -s 56 -c 3 -W 1 43.158.239.195
2025-06-20 10:56:22,906 - DEBUG - PING 43.158.239.195 (43.158.239.195): 56 data bytes
64 bytes from 43.158.239.195: seq=0 ttl=62 time=7.604 ms
64 bytes from 43.158.239.195: seq=1 ttl=62 time=1.012 ms
64 bytes from 43.158.239.195: seq=2 ttl=62 time=0.809 ms
--- 43.158.239.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.809/3.141/7.604 ms
2025-06-20 10:56:22,906 - INFO - Ping to IP 43.158.239.195 from VM ctest-TestRoutersBasic-82821571-19411669 passed
2025-06-20 10:56:22,906 - INFO - Deleting interface with subnet_id a6826b45-d638-4ffc-bd86-03a00f499bcb, port_id None from router edc50960-d9dd-4941-a371-c768d35ca2d5
2025-06-20 10:56:23,153 - INFO - Deleting VM ctest-TestRoutersBasic-82821571-03468566
2025-06-20 10:56:23,234 - INFO - Deleting VM ctest-TestRoutersBasic-82821571-19411669
2025-06-20 10:56:23,319 - INFO - Deleting VN ctest-ext_vn-21291478
2025-06-20 10:56:23,395 - DEBUG - VN 6bbc101b-c2a4-4429-a213-22eb64666a5f still in use: Unable to complete operation on network 6bbc101b-c2a4-4429-a213-22eb64666a5f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-96cd051f-371a-4720-ab86-4619f2213013']
2025-06-20 10:56:23,395 - WARNING - Deleting VN ctest-ext_vn-21291478 failed..Will retry
2025-06-20 10:56:25,502 - DEBUG - Response for deleting network ()
2025-06-20 10:56:25,502 - INFO - Deleting VN ctest-vn-02717040
2025-06-20 10:56:25,597 - DEBUG - Response for deleting network ()
2025-06-20 10:56:25,855 - DEBUG - No XMPP flaps were noticed during the test
2025-06-20 10:56:25,855 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-06-20 10:56:25,855 - INFO - --------------------------------------------------------------------------------
2025-06-20 10:56:26,538 - INFO - Deleted project: ctest-TestRoutersBasic-82821571, ID : 78aba70a-28e8-497e-b775-98fc0b97bf9a