2025-02-17 02:23:32,215 - INFO - Domain Default found not creating
2025-02-17 02:23:32,404 - INFO - Project ctest-TestRoutersBasic-12270453 not found, creating it
2025-02-17 02:23:33,032 - INFO - Created Project:ctest-TestRoutersBasic-12270453, ID : 41b1ef76-b920-444d-846b-73131163249d
2025-02-17 02:23:35,088 - INFO - ================================================================================
2025-02-17 02:23:35,088 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-02-17 02:23:35,089 - 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-17 02:23:36,385 - DEBUG - Nothing to compare xmpp stats {'10.0.0.44': {'10.20.0.8': '0', '10.20.0.13': '0'}, '10.0.0.42': {'10.20.0.13': '0', '10.20.0.10': '0'}} with
2025-02-17 02:23:36,385 - INFO - Initial checks done. Running the testcase now
2025-02-17 02:23:36,385 - INFO -
2025-02-17 02:23:37,118 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-12270453
2025-02-17 02:23:37,184 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-12270453
2025-02-17 02:23:37,513 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12270453', 'default']}
2025-02-17 02:23:38,033 - DEBUG - Response for create_network : {'network': {'id': '7a29a9b4-983c-4648-bcc7-78cb5d850e0a', 'name': 'ctest-vn-61436362', 'tenant_id': '41b1ef76b920444d846b73131163249d', 'project_id': '41b1ef76b920444d846b73131163249d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12270453', 'ctest-vn-61436362'], 'port_security_enabled': True, 'description': ''}}
2025-02-17 02:23:38,445 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6d468ab-03f3-4619-8513-6e81b9350172', 'name': '', 'tenant_id': '41b1ef76b920444d846b73131163249d', 'network_id': '7a29a9b4-983c-4648-bcc7-78cb5d850e0a', 'ip_version': 4, 'cidr': '143.59.36.0/26', 'allocation_pools': [{'start': '143.59.36.2', 'end': '143.59.36.62'}], 'gateway_ip': '143.59.36.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.59.36.2', 'tags': [], 'project_id': '41b1ef76b920444d846b73131163249d'}}
2025-02-17 02:23:38,479 - INFO - Created VN ctest-vn-61436362
2025-02-17 02:23:38,493 - DEBUG - VN ctest-vn-61436362 UUID is 7a29a9b4-983c-4648-bcc7-78cb5d850e0a
2025-02-17 02:23:38,986 - DEBUG - Response for create_network : {'network': {'id': '4e93d839-e86b-4a2b-ba4b-05d62ef439f9', 'name': 'ctest-ext_vn-80327891', 'tenant_id': '41b1ef76b920444d846b73131163249d', 'project_id': '41b1ef76b920444d846b73131163249d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12270453', 'ctest-ext_vn-80327891'], 'port_security_enabled': True, 'description': ''}}
2025-02-17 02:23:39,293 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e81fcbc-5a33-41de-af20-d027e7670d38', 'name': '', 'tenant_id': '41b1ef76b920444d846b73131163249d', 'network_id': '4e93d839-e86b-4a2b-ba4b-05d62ef439f9', 'ip_version': 4, 'cidr': '123.154.199.192/26', 'allocation_pools': [{'start': '123.154.199.194', 'end': '123.154.199.254'}], 'gateway_ip': '123.154.199.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.154.199.194', 'tags': [], 'project_id': '41b1ef76b920444d846b73131163249d'}}
2025-02-17 02:23:39,325 - INFO - Created VN ctest-ext_vn-80327891
2025-02-17 02:23:39,344 - DEBUG - VN ctest-ext_vn-80327891 UUID is 4e93d839-e86b-4a2b-ba4b-05d62ef439f9
2025-02-17 02:23:39,502 - DEBUG - Services list from nova: [, , , ]
2025-02-17 02:23:40,663 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-2738-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-2738-2)
2025-02-17 02:23:42,222 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-2738-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-2738-1)
2025-02-17 02:23:42,363 - INFO - Setting gateway for router 4473a426-7bfb-4d42-aa2d-ee9372d8d1a4 to network 4e93d839-e86b-4a2b-ba4b-05d62ef439f9
2025-02-17 02:23:42,489 - INFO - Adding interface with subnet_id b6d468ab-03f3-4619-8513-6e81b9350172, port_id None to router 4473a426-7bfb-4d42-aa2d-ee9372d8d1a4
2025-02-17 02:23:43,219 - INFO - Waiting for VM ctest-TestRoutersBasic-12270453-62920354 to be up..
2025-02-17 02:23:43,458 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-02-17 02:23:48,575 - DEBUG - VM is in ACTIVE state now
2025-02-17 02:23:48,576 - INFO - VM name : ctest-TestRoutersBasic-12270453-62920354
2025-02-17 02:23:48,680 - DEBUG - VM ctest-TestRoutersBasic-12270453-62920354 ID is 7b2e6edf-7b2b-4679-bacd-aa59f6932b02
2025-02-17 02:23:48,722 - DEBUG - VM ctest-TestRoutersBasic-12270453-62920354 launched on Node an-jenkins-deploy-platform-ansible-os-2738-2
2025-02-17 02:23:48,826 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7b2e6edf-7b2b-4679-bacd-aa59f6932b02
2025-02-17 02:23:49,139 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7b2e6edf-7b2b-4679-bacd-aa59f6932b02
2025-02-17 02:23:49,182 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e45da1f0-32ac-4114-8c64-fb4e63c1ce96
2025-02-17 02:23:52,447 - 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=4.52 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 4.515/4.515/4.515/0.000 ms')
2025-02-17 02:23:52,447 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12270453-62920354 passed
2025-02-17 02:23:52,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-17 02:23:52,576 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12270453-62920354, IP 143.59.36.3, Port 22
2025-02-17 02:23:52,645 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-02-17 02:23:52,766 - DEBUG - VM ctest-TestRoutersBasic-12270453-62920354 is NOT ready for SSH connections, VM status: ACTIVE
2025-02-17 02:23:57,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-17 02:23:57,767 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12270453-62920354, IP 143.59.36.3, Port 22
2025-02-17 02:23:57,927 - DEBUG - VM ctest-TestRoutersBasic-12270453-62920354 is ready for SSH connections
2025-02-17 02:23:57,927 - INFO - Waiting for VM ctest-TestRoutersBasic-12270453-87230452 to be up..
2025-02-17 02:23:58,024 - DEBUG - VM is in ACTIVE state now
2025-02-17 02:23:58,024 - INFO - VM name : ctest-TestRoutersBasic-12270453-87230452
2025-02-17 02:23:58,139 - DEBUG - VM ctest-TestRoutersBasic-12270453-87230452 ID is 7ec85327-4738-417e-a128-de97eab3c365
2025-02-17 02:23:58,139 - DEBUG - VM ctest-TestRoutersBasic-12270453-87230452 launched on Node an-jenkins-deploy-platform-ansible-os-2738-1
2025-02-17 02:23:58,242 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7ec85327-4738-417e-a128-de97eab3c365
2025-02-17 02:23:58,255 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f1f84eaf-0fc2-40a6-af4e-04a33aa37d0f
2025-02-17 02:23:59,473 - 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.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.387 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.387/1.781/3.176/1.394 ms')
2025-02-17 02:23:59,474 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12270453-87230452 passed
2025-02-17 02:23:59,599 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-17 02:23:59,599 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12270453-87230452, IP 123.154.199.195, Port 22
2025-02-17 02:23:59,769 - DEBUG - VM ctest-TestRoutersBasic-12270453-87230452 is ready for SSH connections
2025-02-17 02:23:59,770 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-17 02:23:59,770 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.154.199.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123
2025-02-17 02:23:59,770 - DEBUG - ping -s 56 -c 3 -W 1 123.154.199.195
2025-02-17 02:24:03,484 - DEBUG - PING 123.154.199.195 (123.154.199.195): 56 data bytes
64 bytes from 123.154.199.195: seq=0 ttl=62 time=9.176 ms
64 bytes from 123.154.199.195: seq=1 ttl=62 time=1.282 ms
64 bytes from 123.154.199.195: seq=2 ttl=62 time=1.328 ms
--- 123.154.199.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.282/3.928/9.176 ms
2025-02-17 02:24:03,484 - INFO - Ping to IP 123.154.199.195 from VM ctest-TestRoutersBasic-12270453-62920354 passed
2025-02-17 02:24:03,485 - INFO - Deleting interface with subnet_id b6d468ab-03f3-4619-8513-6e81b9350172, port_id None from router 4473a426-7bfb-4d42-aa2d-ee9372d8d1a4
2025-02-17 02:24:03,991 - INFO - Deleting VM ctest-TestRoutersBasic-12270453-87230452
2025-02-17 02:24:04,172 - INFO - Deleting VM ctest-TestRoutersBasic-12270453-62920354
2025-02-17 02:24:04,420 - INFO - Deleting VN ctest-ext_vn-80327891
2025-02-17 02:24:04,579 - DEBUG - VN 4e93d839-e86b-4a2b-ba4b-05d62ef439f9 still in use: Unable to complete operation on network 4e93d839-e86b-4a2b-ba4b-05d62ef439f9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-4532a630-c137-4be3-b522-f2ce2534540a']
2025-02-17 02:24:04,580 - WARNING - Deleting VN ctest-ext_vn-80327891 failed..Will retry
2025-02-17 02:24:06,796 - DEBUG - Response for deleting network ()
2025-02-17 02:24:06,796 - INFO - Deleting VN ctest-vn-61436362
2025-02-17 02:24:07,101 - DEBUG - Response for deleting network ()
2025-02-17 02:24:08,456 - DEBUG - No XMPP flaps were noticed during the test
2025-02-17 02:24:08,458 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33]
2025-02-17 02:24:08,458 - INFO - --------------------------------------------------------------------------------
2025-02-17 02:24:09,608 - INFO - Deleted project: ctest-TestRoutersBasic-12270453, ID : 41b1ef76-b920-444d-846b-73131163249d