2025-08-12 18:40:02,575 - INFO - Domain Default found not creating
2025-08-12 18:40:02,711 - INFO - Project ctest-TestRoutersBasic-55067019 not found, creating it
2025-08-12 18:40:03,159 - INFO - Created Project:ctest-TestRoutersBasic-55067019, ID : 4174ffdf-8d69-45f1-b95f-33d129b00471
2025-08-12 18:40:04,476 - INFO - ================================================================================
2025-08-12 18:40:04,477 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-12 18:40:04,477 - 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-08-12 18:40:04,737 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-08-12 18:40:04,737 - INFO - Initial checks done. Running the testcase now
2025-08-12 18:40:04,737 - INFO -
2025-08-12 18:40:05,409 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-55067019
2025-08-12 18:40:05,504 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-55067019
2025-08-12 18:40:05,824 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55067019', 'default']}
2025-08-12 18:40:06,100 - DEBUG - Response for create_network : {'network': {'id': 'b2741c1b-1e5e-4e8d-a82e-53bba052676f', 'name': 'ctest-vn-42368467', 'tenant_id': '4174ffdf8d6945f1b95f33d129b00471', 'project_id': '4174ffdf8d6945f1b95f33d129b00471', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55067019', 'ctest-vn-42368467'], 'port_security_enabled': True, 'description': ''}}
2025-08-12 18:40:06,286 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a292f0bf-f3f6-454f-9988-27baf5f93fa1', 'name': '', 'tenant_id': '4174ffdf8d6945f1b95f33d129b00471', 'network_id': 'b2741c1b-1e5e-4e8d-a82e-53bba052676f', 'ip_version': 4, 'cidr': '97.203.246.192/26', 'allocation_pools': [{'start': '97.203.246.194', 'end': '97.203.246.254'}], 'gateway_ip': '97.203.246.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.203.246.194', 'tags': [], 'project_id': '4174ffdf8d6945f1b95f33d129b00471'}}
2025-08-12 18:40:06,302 - INFO - Created VN ctest-vn-42368467
2025-08-12 18:40:06,352 - DEBUG - VN ctest-vn-42368467 UUID is b2741c1b-1e5e-4e8d-a82e-53bba052676f
2025-08-12 18:40:06,660 - DEBUG - Response for create_network : {'network': {'id': '16eebc1b-b0e2-4704-ab9f-17c065fecfb4', 'name': 'ctest-ext_vn-11214023', 'tenant_id': '4174ffdf8d6945f1b95f33d129b00471', 'project_id': '4174ffdf8d6945f1b95f33d129b00471', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55067019', 'ctest-ext_vn-11214023'], 'port_security_enabled': True, 'description': ''}}
2025-08-12 18:40:06,872 - DEBUG - Response for create_subnet : {'subnet': {'id': '2aae6f2f-d664-4f7f-92f6-1c91629c76c3', 'name': '', 'tenant_id': '4174ffdf8d6945f1b95f33d129b00471', 'network_id': '16eebc1b-b0e2-4704-ab9f-17c065fecfb4', 'ip_version': 4, 'cidr': '148.156.163.192/26', 'allocation_pools': [{'start': '148.156.163.194', 'end': '148.156.163.254'}], 'gateway_ip': '148.156.163.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.156.163.194', 'tags': [], 'project_id': '4174ffdf8d6945f1b95f33d129b00471'}}
2025-08-12 18:40:06,888 - INFO - Created VN ctest-ext_vn-11214023
2025-08-12 18:40:06,940 - DEBUG - VN ctest-ext_vn-11214023 UUID is 16eebc1b-b0e2-4704-ab9f-17c065fecfb4
2025-08-12 18:40:07,128 - DEBUG - Services list from nova: [, , ]
2025-08-12 18:40:08,079 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3837-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3837-1)
2025-08-12 18:40:09,134 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3837-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3837-1)
2025-08-12 18:40:09,214 - INFO - Setting gateway for router f5e79856-bc39-4d10-babd-ccf8c312d13c to network 16eebc1b-b0e2-4704-ab9f-17c065fecfb4
2025-08-12 18:40:09,273 - INFO - Adding interface with subnet_id a292f0bf-f3f6-454f-9988-27baf5f93fa1, port_id None to router f5e79856-bc39-4d10-babd-ccf8c312d13c
2025-08-12 18:40:09,655 - INFO - Waiting for VM ctest-TestRoutersBasic-55067019-83981757 to be up..
2025-08-12 18:40:09,767 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-12 18:40:14,921 - DEBUG - VM is in ACTIVE state now
2025-08-12 18:40:14,921 - INFO - VM name : ctest-TestRoutersBasic-55067019-83981757
2025-08-12 18:40:15,016 - DEBUG - VM ctest-TestRoutersBasic-55067019-83981757 ID is 9e0048ac-bd2a-4280-b09c-9d809f87eaf5
2025-08-12 18:40:15,050 - DEBUG - VM ctest-TestRoutersBasic-55067019-83981757 launched on Node cn-jenkins-deploy-platform-ansible-os-3837-1
2025-08-12 18:40:15,158 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9e0048ac-bd2a-4280-b09c-9d809f87eaf5
2025-08-12 18:40:15,481 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9e0048ac-bd2a-4280-b09c-9d809f87eaf5
2025-08-12 18:40:15,511 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/239ca877-181a-4490-8a29-ae337f6b522e
2025-08-12 18:40:18,786 - 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=2 ttl=63 time=10.5 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 10.483/10.483/10.483/0.000 ms')
2025-08-12 18:40:18,786 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55067019-83981757 passed
2025-08-12 18:40:18,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 18:40:18,936 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55067019-83981757, IP 97.203.246.195, Port 22
2025-08-12 18:40:19,095 - DEBUG - VM ctest-TestRoutersBasic-55067019-83981757 is ready for SSH connections
2025-08-12 18:40:19,095 - INFO - Waiting for VM ctest-TestRoutersBasic-55067019-32063904 to be up..
2025-08-12 18:40:19,170 - DEBUG - VM is in ACTIVE state now
2025-08-12 18:40:19,170 - INFO - VM name : ctest-TestRoutersBasic-55067019-32063904
2025-08-12 18:40:19,237 - DEBUG - VM ctest-TestRoutersBasic-55067019-32063904 ID is 48591354-da13-4acf-9cdf-265b5d535bfc
2025-08-12 18:40:19,237 - DEBUG - VM ctest-TestRoutersBasic-55067019-32063904 launched on Node cn-jenkins-deploy-platform-ansible-os-3837-1
2025-08-12 18:40:19,300 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/48591354-da13-4acf-9cdf-265b5d535bfc
2025-08-12 18:40:19,308 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/cd453efd-27f2-4975-a2b0-fd8756a3b0b6
2025-08-12 18:40:20,550 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.97 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 = 1.972/2.913/3.854/0.941 ms')
2025-08-12 18:40:20,550 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-55067019-32063904 passed
2025-08-12 18:40:20,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 18:40:20,712 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55067019-32063904, IP 148.156.163.195, Port 22
2025-08-12 18:40:20,871 - DEBUG - VM ctest-TestRoutersBasic-55067019-32063904 is ready for SSH connections
2025-08-12 18:40:20,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 18:40:20,871 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.156.163.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-08-12 18:40:20,872 - DEBUG - ping -s 56 -c 3 -W 1 148.156.163.195
2025-08-12 18:40:24,560 - DEBUG - PING 148.156.163.195 (148.156.163.195): 56 data bytes
64 bytes from 148.156.163.195: seq=0 ttl=62 time=7.137 ms
64 bytes from 148.156.163.195: seq=1 ttl=62 time=0.827 ms
64 bytes from 148.156.163.195: seq=2 ttl=62 time=0.940 ms
--- 148.156.163.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.827/2.968/7.137 ms
2025-08-12 18:40:24,560 - INFO - Ping to IP 148.156.163.195 from VM ctest-TestRoutersBasic-55067019-83981757 passed
2025-08-12 18:40:24,560 - INFO - Deleting interface with subnet_id a292f0bf-f3f6-454f-9988-27baf5f93fa1, port_id None from router f5e79856-bc39-4d10-babd-ccf8c312d13c
2025-08-12 18:40:24,751 - INFO - Deleting VM ctest-TestRoutersBasic-55067019-32063904
2025-08-12 18:40:24,818 - INFO - Deleting VM ctest-TestRoutersBasic-55067019-83981757
2025-08-12 18:40:24,887 - INFO - Deleting VN ctest-ext_vn-11214023
2025-08-12 18:40:24,952 - DEBUG - VN 16eebc1b-b0e2-4704-ab9f-17c065fecfb4 still in use: Unable to complete operation on network 16eebc1b-b0e2-4704-ab9f-17c065fecfb4. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-62e86ac2-e043-4d2f-9a46-cd05198fa0bb']
2025-08-12 18:40:24,952 - WARNING - Deleting VN ctest-ext_vn-11214023 failed..Will retry
2025-08-12 18:40:27,061 - DEBUG - Response for deleting network ()
2025-08-12 18:40:27,062 - INFO - Deleting VN ctest-vn-42368467
2025-08-12 18:40:27,164 - DEBUG - Response for deleting network ()
2025-08-12 18:40:27,419 - DEBUG - No XMPP flaps were noticed during the test
2025-08-12 18:40:27,419 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-08-12 18:40:27,419 - INFO - --------------------------------------------------------------------------------
2025-08-12 18:40:28,103 - INFO - Deleted project: ctest-TestRoutersBasic-55067019, ID : 4174ffdf-8d69-45f1-b95f-33d129b00471