2025-07-07 08:49:55,533 - INFO - Domain Default found not creating
2025-07-07 08:49:55,669 - INFO - Project ctest-TestRoutersBasic-35710582 not found, creating it
2025-07-07 08:49:56,114 - INFO - Created Project:ctest-TestRoutersBasic-35710582, ID : 585d607d-bb05-4ca5-aa4d-db3a34b6016c
2025-07-07 08:49:57,632 - INFO - ================================================================================
2025-07-07 08:49:57,633 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-07 08:49:57,633 - 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-07-07 08:49:57,888 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with
2025-07-07 08:49:57,888 - INFO - Initial checks done. Running the testcase now
2025-07-07 08:49:57,888 - INFO -
2025-07-07 08:49:58,664 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-35710582
2025-07-07 08:49:58,766 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-35710582
2025-07-07 08:49:59,093 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35710582', 'default']}
2025-07-07 08:49:59,388 - DEBUG - Response for create_network : {'network': {'id': '0273d19e-4e9e-4bed-b4dc-74654036f196', 'name': 'ctest-vn-02579532', 'tenant_id': '585d607dbb054ca5aa4ddb3a34b6016c', 'project_id': '585d607dbb054ca5aa4ddb3a34b6016c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35710582', 'ctest-vn-02579532'], 'port_security_enabled': True, 'description': ''}}
2025-07-07 08:49:59,581 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f5e4cca7-3208-48ce-8236-539634326a97', 'name': '', 'tenant_id': '585d607dbb054ca5aa4ddb3a34b6016c', 'network_id': '0273d19e-4e9e-4bed-b4dc-74654036f196', 'ip_version': 4, 'cidr': '156.233.137.64/26', 'allocation_pools': [{'start': '156.233.137.66', 'end': '156.233.137.126'}], 'gateway_ip': '156.233.137.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.233.137.66', 'tags': [], 'project_id': '585d607dbb054ca5aa4ddb3a34b6016c'}}
2025-07-07 08:49:59,601 - INFO - Created VN ctest-vn-02579532
2025-07-07 08:49:59,654 - DEBUG - VN ctest-vn-02579532 UUID is 0273d19e-4e9e-4bed-b4dc-74654036f196
2025-07-07 08:50:00,021 - DEBUG - Response for create_network : {'network': {'id': 'b77988c4-5fb6-4d03-81d2-d085a3250efc', 'name': 'ctest-ext_vn-09360760', 'tenant_id': '585d607dbb054ca5aa4ddb3a34b6016c', 'project_id': '585d607dbb054ca5aa4ddb3a34b6016c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35710582', 'ctest-ext_vn-09360760'], 'port_security_enabled': True, 'description': ''}}
2025-07-07 08:50:00,190 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5be5672-4a5f-4056-ae9e-530c6fb360d6', 'name': '', 'tenant_id': '585d607dbb054ca5aa4ddb3a34b6016c', 'network_id': 'b77988c4-5fb6-4d03-81d2-d085a3250efc', 'ip_version': 4, 'cidr': '118.17.55.128/26', 'allocation_pools': [{'start': '118.17.55.130', 'end': '118.17.55.190'}], 'gateway_ip': '118.17.55.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.17.55.130', 'tags': [], 'project_id': '585d607dbb054ca5aa4ddb3a34b6016c'}}
2025-07-07 08:50:00,209 - INFO - Created VN ctest-ext_vn-09360760
2025-07-07 08:50:00,261 - DEBUG - VN ctest-ext_vn-09360760 UUID is b77988c4-5fb6-4d03-81d2-d085a3250efc
2025-07-07 08:50:00,426 - DEBUG - Services list from nova: [, , ]
2025-07-07 08:50:01,524 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3606-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3606-1)
2025-07-07 08:50:02,754 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3606-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3606-1)
2025-07-07 08:50:02,823 - INFO - Setting gateway for router bc02e372-097a-4781-9527-cf9e0a32c067 to network b77988c4-5fb6-4d03-81d2-d085a3250efc
2025-07-07 08:50:02,892 - INFO - Adding interface with subnet_id f5e4cca7-3208-48ce-8236-539634326a97, port_id None to router bc02e372-097a-4781-9527-cf9e0a32c067
2025-07-07 08:50:03,194 - INFO - Waiting for VM ctest-TestRoutersBasic-35710582-97923969 to be up..
2025-07-07 08:50:03,333 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-07 08:50:08,411 - DEBUG - VM is in ACTIVE state now
2025-07-07 08:50:08,411 - INFO - VM name : ctest-TestRoutersBasic-35710582-97923969
2025-07-07 08:50:08,481 - DEBUG - VM ctest-TestRoutersBasic-35710582-97923969 ID is 68f1c2a5-090d-429a-8aa3-5d52beeb46d3
2025-07-07 08:50:08,501 - DEBUG - VM ctest-TestRoutersBasic-35710582-97923969 launched on Node cn-jenkins-deploy-platform-ansible-os-3606-1
2025-07-07 08:50:08,576 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/68f1c2a5-090d-429a-8aa3-5d52beeb46d3
2025-07-07 08:50:08,911 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/68f1c2a5-090d-429a-8aa3-5d52beeb46d3
2025-07-07 08:50:08,943 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/2f22877e-9f0f-4bb6-89aa-92b16d80b6da
2025-07-07 08:50:12,204 - 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 1013ms')
2025-07-07 08:50:12,204 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35710582-97923969 failed!
2025-07-07 08:50:12,262 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-35710582:ctest-vn-02579532 is 156.233.137.65 and allocation pool is NOT set
2025-07-07 08:50:14,327 - 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.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.835 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.835/2.052/3.269/1.217 ms')
2025-07-07 08:50:14,327 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35710582-97923969 passed
2025-07-07 08:50:14,521 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-07 08:50:14,521 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35710582-97923969, IP 156.233.137.67, Port 22
2025-07-07 08:50:14,681 - DEBUG - VM ctest-TestRoutersBasic-35710582-97923969 is ready for SSH connections
2025-07-07 08:50:14,681 - INFO - Waiting for VM ctest-TestRoutersBasic-35710582-43770052 to be up..
2025-07-07 08:50:14,754 - DEBUG - VM is in ACTIVE state now
2025-07-07 08:50:14,755 - INFO - VM name : ctest-TestRoutersBasic-35710582-43770052
2025-07-07 08:50:14,825 - DEBUG - VM ctest-TestRoutersBasic-35710582-43770052 ID is 7957364d-8fe2-4ab6-abd7-cb23b39c3e6a
2025-07-07 08:50:14,826 - DEBUG - VM ctest-TestRoutersBasic-35710582-43770052 launched on Node cn-jenkins-deploy-platform-ansible-os-3606-1
2025-07-07 08:50:14,900 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/7957364d-8fe2-4ab6-abd7-cb23b39c3e6a
2025-07-07 08:50:14,908 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/5029892b-9a3d-4795-9f49-31e096e46864
2025-07-07 08:50:16,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=3.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.609 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.609/1.830/3.052/1.221 ms')
2025-07-07 08:50:16,156 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-35710582-43770052 passed
2025-07-07 08:50:16,309 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-07 08:50:16,310 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35710582-43770052, IP 118.17.55.131, Port 22
2025-07-07 08:50:16,469 - DEBUG - VM ctest-TestRoutersBasic-35710582-43770052 is ready for SSH connections
2025-07-07 08:50:16,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-07 08:50:16,469 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.17.55.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2025-07-07 08:50:16,469 - DEBUG - ping -s 56 -c 3 -W 1 118.17.55.131
2025-07-07 08:50:20,228 - DEBUG - PING 118.17.55.131 (118.17.55.131): 56 data bytes
64 bytes from 118.17.55.131: seq=0 ttl=62 time=5.661 ms
64 bytes from 118.17.55.131: seq=1 ttl=62 time=0.955 ms
64 bytes from 118.17.55.131: seq=2 ttl=62 time=0.812 ms
--- 118.17.55.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.812/2.476/5.661 ms
2025-07-07 08:50:20,228 - INFO - Ping to IP 118.17.55.131 from VM ctest-TestRoutersBasic-35710582-97923969 passed
2025-07-07 08:50:20,228 - INFO - Deleting interface with subnet_id f5e4cca7-3208-48ce-8236-539634326a97, port_id None from router bc02e372-097a-4781-9527-cf9e0a32c067
2025-07-07 08:50:20,426 - INFO - Deleting VM ctest-TestRoutersBasic-35710582-43770052
2025-07-07 08:50:20,493 - INFO - Deleting VM ctest-TestRoutersBasic-35710582-97923969
2025-07-07 08:50:20,578 - INFO - Deleting VN ctest-ext_vn-09360760
2025-07-07 08:50:20,644 - DEBUG - VN b77988c4-5fb6-4d03-81d2-d085a3250efc still in use: Unable to complete operation on network b77988c4-5fb6-4d03-81d2-d085a3250efc. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cd9811a8-5e41-49c8-acec-3faca6a91d97']
2025-07-07 08:50:20,644 - WARNING - Deleting VN ctest-ext_vn-09360760 failed..Will retry
2025-07-07 08:50:22,747 - DEBUG - Response for deleting network ()
2025-07-07 08:50:22,747 - INFO - Deleting VN ctest-vn-02579532
2025-07-07 08:50:22,836 - DEBUG - Response for deleting network ()
2025-07-07 08:50:23,091 - DEBUG - No XMPP flaps were noticed during the test
2025-07-07 08:50:23,091 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-07 08:50:23,091 - INFO - --------------------------------------------------------------------------------
2025-07-07 08:50:23,891 - INFO - Deleted project: ctest-TestRoutersBasic-35710582, ID : 585d607d-bb05-4ca5-aa4d-db3a34b6016c