2025-02-03 19:04:26,988 - INFO - Domain Default found not creating
2025-02-03 19:04:27,186 - INFO - Project ctest-TestRoutersBasic-79721077 not found, creating it
2025-02-03 19:04:27,720 - INFO - Created Project:ctest-TestRoutersBasic-79721077, ID : 69a119a5-df89-4579-adc7-69b9b2ce80db
2025-02-03 19:04:29,353 - INFO - ================================================================================
2025-02-03 19:04:29,353 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-02-03 19:04:29,353 - 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-02-03 19:04:29,616 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.20': '0'}} with
2025-02-03 19:04:29,617 - INFO - Initial checks done. Running the testcase now
2025-02-03 19:04:29,617 - INFO -
2025-02-03 19:04:30,413 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-79721077
2025-02-03 19:04:30,514 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-79721077
2025-02-03 19:04:30,865 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79721077', 'default']}
2025-02-03 19:04:31,196 - DEBUG - Response for create_network : {'network': {'id': 'd602cc33-9b90-4498-b234-20fbb82b393e', 'name': 'ctest-vn-30502456', 'tenant_id': '69a119a5df894579adc769b9b2ce80db', 'project_id': '69a119a5df894579adc769b9b2ce80db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79721077', 'ctest-vn-30502456'], 'port_security_enabled': True, 'description': ''}}
2025-02-03 19:04:31,399 - DEBUG - Response for create_subnet : {'subnet': {'id': '46ba8048-f23e-4316-824c-cb9bba29ed85', 'name': '', 'tenant_id': '69a119a5df894579adc769b9b2ce80db', 'network_id': 'd602cc33-9b90-4498-b234-20fbb82b393e', 'ip_version': 4, 'cidr': '133.231.128.64/26', 'allocation_pools': [{'start': '133.231.128.66', 'end': '133.231.128.126'}], 'gateway_ip': '133.231.128.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.231.128.66', 'tags': [], 'project_id': '69a119a5df894579adc769b9b2ce80db'}}
2025-02-03 19:04:31,424 - INFO - Created VN ctest-vn-30502456
2025-02-03 19:04:31,482 - DEBUG - VN ctest-vn-30502456 UUID is d602cc33-9b90-4498-b234-20fbb82b393e
2025-02-03 19:04:31,852 - DEBUG - Response for create_network : {'network': {'id': '86774615-5991-483c-9e78-78fb12e8f9d6', 'name': 'ctest-ext_vn-38974240', 'tenant_id': '69a119a5df894579adc769b9b2ce80db', 'project_id': '69a119a5df894579adc769b9b2ce80db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79721077', 'ctest-ext_vn-38974240'], 'port_security_enabled': True, 'description': ''}}
2025-02-03 19:04:32,086 - DEBUG - Response for create_subnet : {'subnet': {'id': '7966a37c-4c22-4c05-8de4-a7c220af27c0', 'name': '', 'tenant_id': '69a119a5df894579adc769b9b2ce80db', 'network_id': '86774615-5991-483c-9e78-78fb12e8f9d6', 'ip_version': 4, 'cidr': '59.86.106.0/26', 'allocation_pools': [{'start': '59.86.106.2', 'end': '59.86.106.62'}], 'gateway_ip': '59.86.106.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.86.106.2', 'tags': [], 'project_id': '69a119a5df894579adc769b9b2ce80db'}}
2025-02-03 19:04:32,108 - INFO - Created VN ctest-ext_vn-38974240
2025-02-03 19:04:32,165 - DEBUG - VN ctest-ext_vn-38974240 UUID is 86774615-5991-483c-9e78-78fb12e8f9d6
2025-02-03 19:04:32,356 - DEBUG - Services list from nova: [, , ]
2025-02-03 19:04:33,535 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2682-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2682-1)
2025-02-03 19:04:34,900 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2682-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2682-1)
2025-02-03 19:04:35,041 - INFO - Setting gateway for router d8fd8e42-64f2-4ebf-b873-3fec8ed8cb63 to network 86774615-5991-483c-9e78-78fb12e8f9d6
2025-02-03 19:04:35,114 - INFO - Adding interface with subnet_id 46ba8048-f23e-4316-824c-cb9bba29ed85, port_id None to router d8fd8e42-64f2-4ebf-b873-3fec8ed8cb63
2025-02-03 19:04:35,722 - INFO - Waiting for VM ctest-TestRoutersBasic-79721077-97847990 to be up..
2025-02-03 19:04:35,924 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-02-03 19:04:41,039 - DEBUG - VM is in ACTIVE state now
2025-02-03 19:04:41,039 - INFO - VM name : ctest-TestRoutersBasic-79721077-97847990
2025-02-03 19:04:41,144 - DEBUG - VM ctest-TestRoutersBasic-79721077-97847990 ID is b32882d6-4b14-4af5-94dc-6fe7c4868331
2025-02-03 19:04:41,173 - DEBUG - VM ctest-TestRoutersBasic-79721077-97847990 launched on Node cn-jenkins-deploy-platform-ansible-os-2682-1
2025-02-03 19:04:41,279 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/b32882d6-4b14-4af5-94dc-6fe7c4868331
2025-02-03 19:04:41,612 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/b32882d6-4b14-4af5-94dc-6fe7c4868331
2025-02-03 19:04:41,660 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/7a17d957-a529-4903-afab-f5f191866dd0
2025-02-03 19:04:44,926 - 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 1006ms')
2025-02-03 19:04:44,926 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79721077-97847990 failed!
2025-02-03 19:04:44,990 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-79721077:ctest-vn-30502456 is 133.231.128.65 and allocation pool is NOT set
2025-02-03 19:04:47,062 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.586 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 = 0.586/2.142/3.698/1.556 ms')
2025-02-03 19:04:47,062 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79721077-97847990 passed
2025-02-03 19:04:47,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-03 19:04:47,218 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79721077-97847990, IP 133.231.128.67, Port 22
2025-02-03 19:04:47,395 - DEBUG - VM ctest-TestRoutersBasic-79721077-97847990 is ready for SSH connections
2025-02-03 19:04:47,395 - INFO - Waiting for VM ctest-TestRoutersBasic-79721077-20995724 to be up..
2025-02-03 19:04:47,508 - DEBUG - VM is in ACTIVE state now
2025-02-03 19:04:47,508 - INFO - VM name : ctest-TestRoutersBasic-79721077-20995724
2025-02-03 19:04:47,601 - DEBUG - VM ctest-TestRoutersBasic-79721077-20995724 ID is c1305ba3-261a-4843-b7e6-50f55adab39f
2025-02-03 19:04:47,601 - DEBUG - VM ctest-TestRoutersBasic-79721077-20995724 launched on Node cn-jenkins-deploy-platform-ansible-os-2682-1
2025-02-03 19:04:47,709 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/c1305ba3-261a-4843-b7e6-50f55adab39f
2025-02-03 19:04:47,720 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/18f0ad01-38de-47ef-a0e8-f924feba0370
2025-02-03 19:04:49,000 - 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=6.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.497 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.497/3.374/6.251/2.877 ms')
2025-02-03 19:04:49,000 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-79721077-20995724 passed
2025-02-03 19:04:49,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-03 19:04:49,158 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79721077-20995724, IP 59.86.106.3, Port 22
2025-02-03 19:04:49,336 - DEBUG - VM ctest-TestRoutersBasic-79721077-20995724 is ready for SSH connections
2025-02-03 19:04:49,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-03 19:04:49,337 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.86.106.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123
2025-02-03 19:04:49,337 - DEBUG - ping -s 56 -c 3 -W 1 59.86.106.3
2025-02-03 19:04:53,062 - DEBUG - PING 59.86.106.3 (59.86.106.3): 56 data bytes
64 bytes from 59.86.106.3: seq=0 ttl=62 time=8.258 ms
64 bytes from 59.86.106.3: seq=1 ttl=62 time=1.649 ms
64 bytes from 59.86.106.3: seq=2 ttl=62 time=1.169 ms
--- 59.86.106.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.169/3.692/8.258 ms
2025-02-03 19:04:53,062 - INFO - Ping to IP 59.86.106.3 from VM ctest-TestRoutersBasic-79721077-97847990 passed
2025-02-03 19:04:53,062 - INFO - Deleting interface with subnet_id 46ba8048-f23e-4316-824c-cb9bba29ed85, port_id None from router d8fd8e42-64f2-4ebf-b873-3fec8ed8cb63
2025-02-03 19:04:53,392 - INFO - Deleting VM ctest-TestRoutersBasic-79721077-20995724
2025-02-03 19:04:53,476 - INFO - Deleting VM ctest-TestRoutersBasic-79721077-97847990
2025-02-03 19:04:53,596 - INFO - Deleting VN ctest-ext_vn-38974240
2025-02-03 19:04:53,690 - DEBUG - VN 86774615-5991-483c-9e78-78fb12e8f9d6 still in use: Unable to complete operation on network 86774615-5991-483c-9e78-78fb12e8f9d6. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f4da0805-3e58-4499-861b-a3b1a5865281']
2025-02-03 19:04:53,690 - WARNING - Deleting VN ctest-ext_vn-38974240 failed..Will retry
2025-02-03 19:04:55,852 - DEBUG - Response for deleting network ()
2025-02-03 19:04:55,852 - INFO - Deleting VN ctest-vn-30502456
2025-02-03 19:04:56,003 - DEBUG - Response for deleting network ()
2025-02-03 19:04:56,284 - DEBUG - No XMPP flaps were noticed during the test
2025-02-03 19:04:56,284 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-02-03 19:04:56,284 - INFO - --------------------------------------------------------------------------------
2025-02-03 19:04:57,043 - INFO - Deleted project: ctest-TestRoutersBasic-79721077, ID : 69a119a5-df89-4579-adc7-69b9b2ce80db