2025-01-10 21:51:09,793 - INFO - Domain Default found not creating
2025-01-10 21:51:09,979 - INFO - Project ctest-TestRoutersBasic-48272605 not found, creating it
2025-01-10 21:51:10,471 - INFO - Created Project:ctest-TestRoutersBasic-48272605, ID : 1e4afb18-15cc-449f-969d-b0cdc7d5c722
2025-01-10 21:51:12,005 - INFO - ================================================================================
2025-01-10 21:51:12,005 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-10 21:51:12,005 - 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-10 21:51:12,261 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.7': '0'}} with
2025-01-10 21:51:12,261 - INFO - Initial checks done. Running the testcase now
2025-01-10 21:51:12,261 - INFO -
2025-01-10 21:51:13,027 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-48272605
2025-01-10 21:51:13,133 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-48272605
2025-01-10 21:51:13,473 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48272605', 'default']}
2025-01-10 21:51:13,805 - DEBUG - Response for create_network : {'network': {'id': 'e9c6d437-05bd-4867-9975-56df96052725', 'name': 'ctest-vn-46997636', 'tenant_id': '1e4afb1815cc449f969db0cdc7d5c722', 'project_id': '1e4afb1815cc449f969db0cdc7d5c722', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48272605', 'ctest-vn-46997636'], 'port_security_enabled': True, 'description': ''}}
2025-01-10 21:51:14,046 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba4348ac-65de-463a-9c75-4b7dbf1ecdbb', 'name': '', 'tenant_id': '1e4afb1815cc449f969db0cdc7d5c722', 'network_id': 'e9c6d437-05bd-4867-9975-56df96052725', 'ip_version': 4, 'cidr': '96.89.227.0/26', 'allocation_pools': [{'start': '96.89.227.2', 'end': '96.89.227.62'}], 'gateway_ip': '96.89.227.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.89.227.2', 'tags': [], 'project_id': '1e4afb1815cc449f969db0cdc7d5c722'}}
2025-01-10 21:51:14,070 - INFO - Created VN ctest-vn-46997636
2025-01-10 21:51:14,129 - DEBUG - VN ctest-vn-46997636 UUID is e9c6d437-05bd-4867-9975-56df96052725
2025-01-10 21:51:14,507 - DEBUG - Response for create_network : {'network': {'id': 'b6735d00-fbb5-4feb-9298-0e7420b68632', 'name': 'ctest-ext_vn-05034065', 'tenant_id': '1e4afb1815cc449f969db0cdc7d5c722', 'project_id': '1e4afb1815cc449f969db0cdc7d5c722', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48272605', 'ctest-ext_vn-05034065'], 'port_security_enabled': True, 'description': ''}}
2025-01-10 21:51:14,707 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6c1bf77-aef7-4c9a-99b8-0060bb8f975a', 'name': '', 'tenant_id': '1e4afb1815cc449f969db0cdc7d5c722', 'network_id': 'b6735d00-fbb5-4feb-9298-0e7420b68632', 'ip_version': 4, 'cidr': '34.227.244.128/26', 'allocation_pools': [{'start': '34.227.244.130', 'end': '34.227.244.190'}], 'gateway_ip': '34.227.244.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.227.244.130', 'tags': [], 'project_id': '1e4afb1815cc449f969db0cdc7d5c722'}}
2025-01-10 21:51:14,728 - INFO - Created VN ctest-ext_vn-05034065
2025-01-10 21:51:14,785 - DEBUG - VN ctest-ext_vn-05034065 UUID is b6735d00-fbb5-4feb-9298-0e7420b68632
2025-01-10 21:51:14,970 - DEBUG - Services list from nova: [, , ]
2025-01-10 21:51:16,051 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2600-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2600-1)
2025-01-10 21:51:17,263 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2600-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2600-1)
2025-01-10 21:51:17,362 - INFO - Setting gateway for router 02e1a0df-8645-499c-a36d-1631b94199a4 to network b6735d00-fbb5-4feb-9298-0e7420b68632
2025-01-10 21:51:17,458 - INFO - Adding interface with subnet_id ba4348ac-65de-463a-9c75-4b7dbf1ecdbb, port_id None to router 02e1a0df-8645-499c-a36d-1631b94199a4
2025-01-10 21:51:17,912 - INFO - Waiting for VM ctest-TestRoutersBasic-48272605-25421755 to be up..
2025-01-10 21:51:18,101 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-10 21:51:23,201 - DEBUG - VM is in ACTIVE state now
2025-01-10 21:51:23,201 - INFO - VM name : ctest-TestRoutersBasic-48272605-25421755
2025-01-10 21:51:23,292 - DEBUG - VM ctest-TestRoutersBasic-48272605-25421755 ID is ba430cf3-ec73-43ff-a956-89b5d40f4fcd
2025-01-10 21:51:23,315 - DEBUG - VM ctest-TestRoutersBasic-48272605-25421755 launched on Node cn-jenkins-deploy-platform-ansible-os-2600-1
2025-01-10 21:51:23,414 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/ba430cf3-ec73-43ff-a956-89b5d40f4fcd
2025-01-10 21:51:23,726 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/ba430cf3-ec73-43ff-a956-89b5d40f4fcd
2025-01-10 21:51:23,760 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/e6a7536d-131a-440f-98ba-7b9a09b8d58a
2025-01-10 21:51:27,046 - 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 1030ms')
2025-01-10 21:51:27,046 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-48272605-25421755 failed!
2025-01-10 21:51:27,101 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-48272605:ctest-vn-46997636 is 96.89.227.1 and allocation pool is NOT set
2025-01-10 21:51:29,166 - 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=4.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.01 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 = 1.007/2.810/4.614/1.803 ms')
2025-01-10 21:51:29,167 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-48272605-25421755 passed
2025-01-10 21:51:29,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-10 21:51:29,329 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48272605-25421755, IP 96.89.227.3, Port 22
2025-01-10 21:51:29,397 - 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-01-10 21:51:29,517 - DEBUG - VM ctest-TestRoutersBasic-48272605-25421755 is NOT ready for SSH connections, VM status: ACTIVE
2025-01-10 21:51:34,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-10 21:51:34,518 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48272605-25421755, IP 96.89.227.3, Port 22
2025-01-10 21:51:34,685 - DEBUG - VM ctest-TestRoutersBasic-48272605-25421755 is ready for SSH connections
2025-01-10 21:51:34,685 - INFO - Waiting for VM ctest-TestRoutersBasic-48272605-46712014 to be up..
2025-01-10 21:51:34,774 - DEBUG - VM is in ACTIVE state now
2025-01-10 21:51:34,774 - INFO - VM name : ctest-TestRoutersBasic-48272605-46712014
2025-01-10 21:51:34,857 - DEBUG - VM ctest-TestRoutersBasic-48272605-46712014 ID is 99f36c73-9a9e-45e7-a082-45f080ea6501
2025-01-10 21:51:34,857 - DEBUG - VM ctest-TestRoutersBasic-48272605-46712014 launched on Node cn-jenkins-deploy-platform-ansible-os-2600-1
2025-01-10 21:51:34,944 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/99f36c73-9a9e-45e7-a082-45f080ea6501
2025-01-10 21:51:34,954 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/2507a906-6614-40e1-943e-880d675ca8ce
2025-01-10 21:51:36,205 - 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.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.502 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.502/1.964/3.426/1.462 ms')
2025-01-10 21:51:36,205 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-48272605-46712014 passed
2025-01-10 21:51:36,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-10 21:51:36,361 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48272605-46712014, IP 34.227.244.131, Port 22
2025-01-10 21:51:36,524 - DEBUG - VM ctest-TestRoutersBasic-48272605-46712014 is ready for SSH connections
2025-01-10 21:51:36,524 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-10 21:51:36,524 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.227.244.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-01-10 21:51:36,525 - DEBUG - ping -s 56 -c 3 -W 1 34.227.244.131
2025-01-10 21:51:40,258 - DEBUG - PING 34.227.244.131 (34.227.244.131): 56 data bytes
64 bytes from 34.227.244.131: seq=0 ttl=62 time=6.958 ms
64 bytes from 34.227.244.131: seq=1 ttl=62 time=1.445 ms
64 bytes from 34.227.244.131: seq=2 ttl=62 time=1.081 ms
--- 34.227.244.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.081/3.161/6.958 ms
2025-01-10 21:51:40,259 - INFO - Ping to IP 34.227.244.131 from VM ctest-TestRoutersBasic-48272605-25421755 passed
2025-01-10 21:51:40,259 - INFO - Deleting interface with subnet_id ba4348ac-65de-463a-9c75-4b7dbf1ecdbb, port_id None from router 02e1a0df-8645-499c-a36d-1631b94199a4
2025-01-10 21:51:40,530 - INFO - Deleting VM ctest-TestRoutersBasic-48272605-46712014
2025-01-10 21:51:40,638 - INFO - Deleting VM ctest-TestRoutersBasic-48272605-25421755
2025-01-10 21:51:40,737 - INFO - Deleting VN ctest-ext_vn-05034065
2025-01-10 21:51:40,817 - DEBUG - VN b6735d00-fbb5-4feb-9298-0e7420b68632 still in use: Unable to complete operation on network b6735d00-fbb5-4feb-9298-0e7420b68632. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9c22ca0d-375e-46a6-ae84-ae2e366315c4']
2025-01-10 21:51:40,817 - WARNING - Deleting VN ctest-ext_vn-05034065 failed..Will retry
2025-01-10 21:51:42,953 - DEBUG - Response for deleting network ()
2025-01-10 21:51:42,953 - INFO - Deleting VN ctest-vn-46997636
2025-01-10 21:51:43,090 - DEBUG - Response for deleting network ()
2025-01-10 21:51:43,355 - DEBUG - No XMPP flaps were noticed during the test
2025-01-10 21:51:43,355 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-01-10 21:51:43,355 - INFO - --------------------------------------------------------------------------------
2025-01-10 21:51:44,078 - INFO - Deleted project: ctest-TestRoutersBasic-48272605, ID : 1e4afb18-15cc-449f-969d-b0cdc7d5c722