2025-01-05 13:29:08,098 - INFO - Domain Default found not creating
2025-01-05 13:29:08,270 - INFO - Project ctest-TestRoutersBasic-48118719 not found, creating it
2025-01-05 13:29:08,785 - INFO - Created Project:ctest-TestRoutersBasic-48118719, ID : f1bcfaae-27bd-4ace-9636-c8991654a376
2025-01-05 13:29:10,423 - INFO - ================================================================================
2025-01-05 13:29:10,423 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-05 13:29:10,424 - 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-01-05 13:29:10,690 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.7': '0'}} with
2025-01-05 13:29:10,691 - INFO - Initial checks done. Running the testcase now
2025-01-05 13:29:10,691 - INFO -
2025-01-05 13:29:11,452 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-48118719
2025-01-05 13:29:11,557 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-48118719
2025-01-05 13:29:11,886 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48118719', 'default']}
2025-01-05 13:29:12,199 - DEBUG - Response for create_network : {'network': {'id': 'af6b6718-7f96-4bf0-b39c-f0a191d09754', 'name': 'ctest-vn-09723153', 'tenant_id': 'f1bcfaae27bd4ace9636c8991654a376', 'project_id': 'f1bcfaae27bd4ace9636c8991654a376', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48118719', 'ctest-vn-09723153'], 'port_security_enabled': True, 'description': ''}}
2025-01-05 13:29:12,425 - DEBUG - Response for create_subnet : {'subnet': {'id': '25347a37-a3c5-4d15-99d2-f4a766869422', 'name': '', 'tenant_id': 'f1bcfaae27bd4ace9636c8991654a376', 'network_id': 'af6b6718-7f96-4bf0-b39c-f0a191d09754', 'ip_version': 4, 'cidr': '136.49.158.64/26', 'allocation_pools': [{'start': '136.49.158.66', 'end': '136.49.158.126'}], 'gateway_ip': '136.49.158.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.49.158.66', 'tags': [], 'project_id': 'f1bcfaae27bd4ace9636c8991654a376'}}
2025-01-05 13:29:12,449 - INFO - Created VN ctest-vn-09723153
2025-01-05 13:29:12,505 - DEBUG - VN ctest-vn-09723153 UUID is af6b6718-7f96-4bf0-b39c-f0a191d09754
2025-01-05 13:29:12,880 - DEBUG - Response for create_network : {'network': {'id': '82adbb93-c6c5-46b7-9773-51f569ec2f8b', 'name': 'ctest-ext_vn-10934515', 'tenant_id': 'f1bcfaae27bd4ace9636c8991654a376', 'project_id': 'f1bcfaae27bd4ace9636c8991654a376', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48118719', 'ctest-ext_vn-10934515'], 'port_security_enabled': True, 'description': ''}}
2025-01-05 13:29:13,122 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf63ea7b-bcce-4f8b-b7d7-5e274f572d0e', 'name': '', 'tenant_id': 'f1bcfaae27bd4ace9636c8991654a376', 'network_id': '82adbb93-c6c5-46b7-9773-51f569ec2f8b', 'ip_version': 4, 'cidr': '56.60.78.64/26', 'allocation_pools': [{'start': '56.60.78.66', 'end': '56.60.78.126'}], 'gateway_ip': '56.60.78.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.60.78.66', 'tags': [], 'project_id': 'f1bcfaae27bd4ace9636c8991654a376'}}
2025-01-05 13:29:13,144 - INFO - Created VN ctest-ext_vn-10934515
2025-01-05 13:29:13,197 - DEBUG - VN ctest-ext_vn-10934515 UUID is 82adbb93-c6c5-46b7-9773-51f569ec2f8b
2025-01-05 13:29:13,375 - DEBUG - Services list from nova: [, , ]
2025-01-05 13:29:14,433 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2534-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2534-1)
2025-01-05 13:29:15,601 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2534-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2534-1)
2025-01-05 13:29:15,705 - INFO - Setting gateway for router 2c8f8709-c256-4b25-ac95-6bd18cf3ede8 to network 82adbb93-c6c5-46b7-9773-51f569ec2f8b
2025-01-05 13:29:15,782 - INFO - Adding interface with subnet_id 25347a37-a3c5-4d15-99d2-f4a766869422, port_id None to router 2c8f8709-c256-4b25-ac95-6bd18cf3ede8
2025-01-05 13:29:16,204 - INFO - Waiting for VM ctest-TestRoutersBasic-48118719-45770463 to be up..
2025-01-05 13:29:16,364 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-05 13:29:21,494 - DEBUG - VM is in ACTIVE state now
2025-01-05 13:29:21,494 - INFO - VM name : ctest-TestRoutersBasic-48118719-45770463
2025-01-05 13:29:21,596 - DEBUG - VM ctest-TestRoutersBasic-48118719-45770463 ID is 6a719505-e9f2-4c67-b82d-960f1e93f3c5
2025-01-05 13:29:21,622 - DEBUG - VM ctest-TestRoutersBasic-48118719-45770463 launched on Node cn-jenkins-deploy-platform-ansible-os-2534-1
2025-01-05 13:29:21,720 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/6a719505-e9f2-4c67-b82d-960f1e93f3c5
2025-01-05 13:29:22,027 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/6a719505-e9f2-4c67-b82d-960f1e93f3c5
2025-01-05 13:29:22,065 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/9d01c262-06e3-4e87-adfa-22bfbd2d6bd1
2025-01-05 13:29:25,329 - 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 1009ms')
2025-01-05 13:29:25,329 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-48118719-45770463 failed!
2025-01-05 13:29:25,385 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-48118719:ctest-vn-09723153 is 136.49.158.65 and allocation pool is NOT set
2025-01-05 13:29:27,457 - 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=2.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.810 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.810/1.857/2.904/1.047 ms')
2025-01-05 13:29:27,457 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-48118719-45770463 passed
2025-01-05 13:29:27,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-05 13:29:27,613 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48118719-45770463, IP 136.49.158.67, Port 22
2025-01-05 13:29:27,772 - DEBUG - VM ctest-TestRoutersBasic-48118719-45770463 is ready for SSH connections
2025-01-05 13:29:27,772 - INFO - Waiting for VM ctest-TestRoutersBasic-48118719-26788997 to be up..
2025-01-05 13:29:27,857 - DEBUG - VM is in ACTIVE state now
2025-01-05 13:29:27,857 - INFO - VM name : ctest-TestRoutersBasic-48118719-26788997
2025-01-05 13:29:27,940 - DEBUG - VM ctest-TestRoutersBasic-48118719-26788997 ID is 1be67fef-ba4e-4c62-864d-ebb34a96e2da
2025-01-05 13:29:27,940 - DEBUG - VM ctest-TestRoutersBasic-48118719-26788997 launched on Node cn-jenkins-deploy-platform-ansible-os-2534-1
2025-01-05 13:29:28,032 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/1be67fef-ba4e-4c62-864d-ebb34a96e2da
2025-01-05 13:29:28,042 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/9d5feff9-20a4-49cb-af31-643b6cf110af
2025-01-05 13:29:29,289 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.385 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.385/1.608/2.831/1.223 ms')
2025-01-05 13:29:29,289 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-48118719-26788997 passed
2025-01-05 13:29:29,445 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-05 13:29:29,445 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48118719-26788997, IP 56.60.78.67, Port 22
2025-01-05 13:29:29,615 - DEBUG - VM ctest-TestRoutersBasic-48118719-26788997 is ready for SSH connections
2025-01-05 13:29:29,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-05 13:29:29,615 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.60.78.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123
2025-01-05 13:29:29,615 - DEBUG - ping -s 56 -c 3 -W 1 56.60.78.67
2025-01-05 13:29:33,307 - DEBUG - PING 56.60.78.67 (56.60.78.67): 56 data bytes
64 bytes from 56.60.78.67: seq=0 ttl=62 time=5.085 ms
64 bytes from 56.60.78.67: seq=1 ttl=62 time=1.227 ms
64 bytes from 56.60.78.67: seq=2 ttl=62 time=1.033 ms
--- 56.60.78.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.033/2.448/5.085 ms
2025-01-05 13:29:33,307 - INFO - Ping to IP 56.60.78.67 from VM ctest-TestRoutersBasic-48118719-45770463 passed
2025-01-05 13:29:33,307 - INFO - Deleting interface with subnet_id 25347a37-a3c5-4d15-99d2-f4a766869422, port_id None from router 2c8f8709-c256-4b25-ac95-6bd18cf3ede8
2025-01-05 13:29:33,512 - INFO - Deleting VM ctest-TestRoutersBasic-48118719-26788997
2025-01-05 13:29:33,582 - INFO - Deleting VM ctest-TestRoutersBasic-48118719-45770463
2025-01-05 13:29:33,675 - INFO - Deleting VN ctest-ext_vn-10934515
2025-01-05 13:29:33,736 - DEBUG - VN 82adbb93-c6c5-46b7-9773-51f569ec2f8b still in use: Unable to complete operation on network 82adbb93-c6c5-46b7-9773-51f569ec2f8b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-8fb3c7dc-d09f-4630-9ea2-0728bd076b34']
2025-01-05 13:29:33,737 - WARNING - Deleting VN ctest-ext_vn-10934515 failed..Will retry
2025-01-05 13:29:35,847 - DEBUG - Response for deleting network ()
2025-01-05 13:29:35,847 - INFO - Deleting VN ctest-vn-09723153
2025-01-05 13:29:35,949 - DEBUG - Response for deleting network ()
2025-01-05 13:29:36,203 - DEBUG - No XMPP flaps were noticed during the test
2025-01-05 13:29:36,203 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-05 13:29:36,203 - INFO - --------------------------------------------------------------------------------
2025-01-05 13:29:36,911 - INFO - Deleted project: ctest-TestRoutersBasic-48118719, ID : f1bcfaae-27bd-4ace-9636-c8991654a376