2024-09-19 16:40:52,045 - INFO - Domain Default found not creating
2024-09-19 16:40:52,198 - INFO - Project ctest-TestRoutersBasic-19374055 not found, creating it
2024-09-19 16:40:52,671 - INFO - Created Project:ctest-TestRoutersBasic-19374055, ID : 07695ba7-7543-404a-8010-6f0ff2085909
2024-09-19 16:40:54,120 - INFO - ================================================================================
2024-09-19 16:40:54,120 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-09-19 16:40:54,120 - 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
2024-09-19 16:40:54,378 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.8': '0'}} with
2024-09-19 16:40:54,378 - INFO - Initial checks done. Running the testcase now
2024-09-19 16:40:54,379 - INFO -
2024-09-19 16:40:55,103 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-19374055
2024-09-19 16:40:55,204 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-19374055
2024-09-19 16:40:55,536 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19374055', 'default']}
2024-09-19 16:40:55,843 - DEBUG - Response for create_network : {'network': {'id': 'c3500129-1597-4622-84f2-ff3dd02e355a', 'name': 'ctest-vn-05718297', 'tenant_id': '07695ba77543404a80106f0ff2085909', 'project_id': '07695ba77543404a80106f0ff2085909', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19374055', 'ctest-vn-05718297'], 'port_security_enabled': True, 'description': ''}}
2024-09-19 16:40:56,058 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b001d264-af70-4ada-af40-8eec48199de3', 'name': '', 'tenant_id': '07695ba77543404a80106f0ff2085909', 'network_id': 'c3500129-1597-4622-84f2-ff3dd02e355a', 'ip_version': 4, 'cidr': '119.182.101.128/26', 'allocation_pools': [{'start': '119.182.101.130', 'end': '119.182.101.190'}], 'gateway_ip': '119.182.101.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.182.101.130', 'tags': [], 'project_id': '07695ba77543404a80106f0ff2085909'}}
2024-09-19 16:40:56,076 - INFO - Created VN ctest-vn-05718297
2024-09-19 16:40:56,132 - DEBUG - VN ctest-vn-05718297 UUID is c3500129-1597-4622-84f2-ff3dd02e355a
2024-09-19 16:40:56,473 - DEBUG - Response for create_network : {'network': {'id': 'e47d18c7-b602-4d00-8b7d-91503f4f0a33', 'name': 'ctest-ext_vn-91109626', 'tenant_id': '07695ba77543404a80106f0ff2085909', 'project_id': '07695ba77543404a80106f0ff2085909', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19374055', 'ctest-ext_vn-91109626'], 'port_security_enabled': True, 'description': ''}}
2024-09-19 16:40:56,639 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b47fb05-875e-42ce-aaee-a59b50ac535a', 'name': '', 'tenant_id': '07695ba77543404a80106f0ff2085909', 'network_id': 'e47d18c7-b602-4d00-8b7d-91503f4f0a33', 'ip_version': 4, 'cidr': '91.228.50.192/26', 'allocation_pools': [{'start': '91.228.50.194', 'end': '91.228.50.254'}], 'gateway_ip': '91.228.50.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.228.50.194', 'tags': [], 'project_id': '07695ba77543404a80106f0ff2085909'}}
2024-09-19 16:40:56,657 - INFO - Created VN ctest-ext_vn-91109626
2024-09-19 16:40:56,712 - DEBUG - VN ctest-ext_vn-91109626 UUID is e47d18c7-b602-4d00-8b7d-91503f4f0a33
2024-09-19 16:40:56,880 - DEBUG - Services list from nova: [, , ]
2024-09-19 16:40:57,930 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2004-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2004-1)
2024-09-19 16:40:59,170 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2004-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2004-1)
2024-09-19 16:40:59,248 - INFO - Setting gateway for router bad21fa5-c5c5-4392-8a71-68f7645f6bec to network e47d18c7-b602-4d00-8b7d-91503f4f0a33
2024-09-19 16:40:59,307 - INFO - Adding interface with subnet_id b001d264-af70-4ada-af40-8eec48199de3, port_id None to router bad21fa5-c5c5-4392-8a71-68f7645f6bec
2024-09-19 16:40:59,745 - INFO - Waiting for VM ctest-TestRoutersBasic-19374055-61199665 to be up..
2024-09-19 16:40:59,949 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-09-19 16:41:05,037 - DEBUG - VM is in ACTIVE state now
2024-09-19 16:41:05,037 - INFO - VM name : ctest-TestRoutersBasic-19374055-61199665
2024-09-19 16:41:05,113 - DEBUG - VM ctest-TestRoutersBasic-19374055-61199665 ID is a720641c-cbf0-40ed-adac-bdf9f4ed1201
2024-09-19 16:41:05,134 - DEBUG - VM ctest-TestRoutersBasic-19374055-61199665 launched on Node cn-jenkins-deploy-platform-ansible-os-2004-1
2024-09-19 16:41:05,226 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a720641c-cbf0-40ed-adac-bdf9f4ed1201
2024-09-19 16:41:05,527 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a720641c-cbf0-40ed-adac-bdf9f4ed1201
2024-09-19 16:41:05,567 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/015daf92-c8b0-437d-ac30-f2e3f15a1631
2024-09-19 16:41:08,850 - 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 1031ms')
2024-09-19 16:41:08,850 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19374055-61199665 failed!
2024-09-19 16:41:08,912 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-19374055:ctest-vn-05718297 is 119.182.101.129 and allocation pool is NOT set
2024-09-19 16:41:10,974 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.401 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.401/1.634/2.868/1.233 ms')
2024-09-19 16:41:10,975 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19374055-61199665 passed
2024-09-19 16:41:11,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-19 16:41:11,133 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19374055-61199665, IP 119.182.101.131, Port 22
2024-09-19 16:41:11,284 - DEBUG - VM ctest-TestRoutersBasic-19374055-61199665 is ready for SSH connections
2024-09-19 16:41:11,284 - INFO - Waiting for VM ctest-TestRoutersBasic-19374055-54793411 to be up..
2024-09-19 16:41:11,371 - DEBUG - VM is in ACTIVE state now
2024-09-19 16:41:11,371 - INFO - VM name : ctest-TestRoutersBasic-19374055-54793411
2024-09-19 16:41:11,444 - DEBUG - VM ctest-TestRoutersBasic-19374055-54793411 ID is cca1ea6a-2bdd-4f72-976c-d786135a6b38
2024-09-19 16:41:11,444 - DEBUG - VM ctest-TestRoutersBasic-19374055-54793411 launched on Node cn-jenkins-deploy-platform-ansible-os-2004-1
2024-09-19 16:41:11,514 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/cca1ea6a-2bdd-4f72-976c-d786135a6b38
2024-09-19 16:41:11,524 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/3cc70185-3b36-4a1f-889d-6e47d7ebc8ef
2024-09-19 16:41:12,777 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 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.414/1.633/2.853/1.219 ms')
2024-09-19 16:41:12,777 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-19374055-54793411 passed
2024-09-19 16:41:12,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-19 16:41:12,933 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19374055-54793411, IP 91.228.50.195, Port 22
2024-09-19 16:41:13,102 - DEBUG - VM ctest-TestRoutersBasic-19374055-54793411 is ready for SSH connections
2024-09-19 16:41:13,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-19 16:41:13,102 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.228.50.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2024-09-19 16:41:13,103 - DEBUG - ping -s 56 -c 3 -W 1 91.228.50.195
2024-09-19 16:41:16,786 - DEBUG - PING 91.228.50.195 (91.228.50.195): 56 data bytes
64 bytes from 91.228.50.195: seq=0 ttl=62 time=7.054 ms
64 bytes from 91.228.50.195: seq=1 ttl=62 time=1.085 ms
64 bytes from 91.228.50.195: seq=2 ttl=62 time=0.979 ms
--- 91.228.50.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.979/3.039/7.054 ms
2024-09-19 16:41:16,786 - INFO - Ping to IP 91.228.50.195 from VM ctest-TestRoutersBasic-19374055-61199665 passed
2024-09-19 16:41:16,787 - INFO - Deleting interface with subnet_id b001d264-af70-4ada-af40-8eec48199de3, port_id None from router bad21fa5-c5c5-4392-8a71-68f7645f6bec
2024-09-19 16:41:17,015 - INFO - Deleting VM ctest-TestRoutersBasic-19374055-54793411
2024-09-19 16:41:17,080 - INFO - Deleting VM ctest-TestRoutersBasic-19374055-61199665
2024-09-19 16:41:17,151 - INFO - Deleting VN ctest-ext_vn-91109626
2024-09-19 16:41:17,214 - DEBUG - VN e47d18c7-b602-4d00-8b7d-91503f4f0a33 still in use: Unable to complete operation on network e47d18c7-b602-4d00-8b7d-91503f4f0a33. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ce8dc001-f182-42e1-bf13-5c3f60a722b5']
2024-09-19 16:41:17,214 - WARNING - Deleting VN ctest-ext_vn-91109626 failed..Will retry
2024-09-19 16:41:19,336 - DEBUG - Response for deleting network ()
2024-09-19 16:41:19,336 - INFO - Deleting VN ctest-vn-05718297
2024-09-19 16:41:19,447 - DEBUG - Response for deleting network ()
2024-09-19 16:41:19,706 - DEBUG - No XMPP flaps were noticed during the test
2024-09-19 16:41:19,706 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2024-09-19 16:41:19,706 - INFO - --------------------------------------------------------------------------------
2024-09-19 16:41:20,402 - INFO - Deleted project: ctest-TestRoutersBasic-19374055, ID : 07695ba7-7543-404a-8010-6f0ff2085909