2025-04-14 18:55:20,396 - INFO - Domain Default found not creating
2025-04-14 18:55:20,570 - INFO - Project ctest-TestRoutersBasic-08626138 not found, creating it
2025-04-14 18:55:21,105 - INFO - Created Project:ctest-TestRoutersBasic-08626138, ID : f0462e34-1e23-41de-8256-ac6c62fc38c6
2025-04-14 18:55:22,764 - INFO - ================================================================================
2025-04-14 18:55:22,765 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-14 18:55:22,765 - 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-04-14 18:55:23,032 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-04-14 18:55:23,032 - INFO - Initial checks done. Running the testcase now
2025-04-14 18:55:23,032 - INFO -
2025-04-14 18:55:23,795 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-08626138
2025-04-14 18:55:23,896 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-08626138
2025-04-14 18:55:24,223 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08626138', 'default']}
2025-04-14 18:55:24,563 - DEBUG - Response for create_network : {'network': {'id': '85a0e3d0-eaef-431c-a3f2-e8dcb3d812b3', 'name': 'ctest-vn-94676398', 'tenant_id': 'f0462e341e2341de8256ac6c62fc38c6', 'project_id': 'f0462e341e2341de8256ac6c62fc38c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08626138', 'ctest-vn-94676398'], 'port_security_enabled': True, 'description': ''}}
2025-04-14 18:55:24,770 - DEBUG - Response for create_subnet : {'subnet': {'id': '48eea932-914b-4666-9675-0b99a8d0781d', 'name': '', 'tenant_id': 'f0462e341e2341de8256ac6c62fc38c6', 'network_id': '85a0e3d0-eaef-431c-a3f2-e8dcb3d812b3', 'ip_version': 4, 'cidr': '206.242.6.64/26', 'allocation_pools': [{'start': '206.242.6.66', 'end': '206.242.6.126'}], 'gateway_ip': '206.242.6.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.242.6.66', 'tags': [], 'project_id': 'f0462e341e2341de8256ac6c62fc38c6'}}
2025-04-14 18:55:24,792 - INFO - Created VN ctest-vn-94676398
2025-04-14 18:55:24,848 - DEBUG - VN ctest-vn-94676398 UUID is 85a0e3d0-eaef-431c-a3f2-e8dcb3d812b3
2025-04-14 18:55:25,208 - DEBUG - Response for create_network : {'network': {'id': '8eb5edb0-b374-4d16-8bf5-4732a17df51c', 'name': 'ctest-ext_vn-70505344', 'tenant_id': 'f0462e341e2341de8256ac6c62fc38c6', 'project_id': 'f0462e341e2341de8256ac6c62fc38c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08626138', 'ctest-ext_vn-70505344'], 'port_security_enabled': True, 'description': ''}}
2025-04-14 18:55:25,485 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e218d5c-8272-41fc-9c54-f5b55ad82fdb', 'name': '', 'tenant_id': 'f0462e341e2341de8256ac6c62fc38c6', 'network_id': '8eb5edb0-b374-4d16-8bf5-4732a17df51c', 'ip_version': 4, 'cidr': '34.39.58.0/26', 'allocation_pools': [{'start': '34.39.58.2', 'end': '34.39.58.62'}], 'gateway_ip': '34.39.58.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.39.58.2', 'tags': [], 'project_id': 'f0462e341e2341de8256ac6c62fc38c6'}}
2025-04-14 18:55:25,511 - INFO - Created VN ctest-ext_vn-70505344
2025-04-14 18:55:25,567 - DEBUG - VN ctest-ext_vn-70505344 UUID is 8eb5edb0-b374-4d16-8bf5-4732a17df51c
2025-04-14 18:55:25,757 - DEBUG - Services list from nova: [, , ]
2025-04-14 18:55:26,898 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3107-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3107-1)
2025-04-14 18:55:28,147 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3107-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3107-1)
2025-04-14 18:55:28,239 - INFO - Setting gateway for router 6d1179db-a4c2-4fd8-aec5-8ee15e70ff0d to network 8eb5edb0-b374-4d16-8bf5-4732a17df51c
2025-04-14 18:55:28,319 - INFO - Adding interface with subnet_id 48eea932-914b-4666-9675-0b99a8d0781d, port_id None to router 6d1179db-a4c2-4fd8-aec5-8ee15e70ff0d
2025-04-14 18:55:28,862 - INFO - Waiting for VM ctest-TestRoutersBasic-08626138-33360442 to be up..
2025-04-14 18:55:29,092 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-14 18:55:34,180 - DEBUG - VM is in ACTIVE state now
2025-04-14 18:55:34,180 - INFO - VM name : ctest-TestRoutersBasic-08626138-33360442
2025-04-14 18:55:34,280 - DEBUG - VM ctest-TestRoutersBasic-08626138-33360442 ID is 1a59f033-f031-42e3-a400-98e0ce9bdc3e
2025-04-14 18:55:34,315 - DEBUG - VM ctest-TestRoutersBasic-08626138-33360442 launched on Node cn-jenkins-deploy-platform-ansible-os-3107-1
2025-04-14 18:55:34,414 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1a59f033-f031-42e3-a400-98e0ce9bdc3e
2025-04-14 18:55:34,734 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1a59f033-f031-42e3-a400-98e0ce9bdc3e
2025-04-14 18:55:34,775 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a1d487b1-ecf6-4a8d-88e7-d5518ca4513f
2025-04-14 18:55:38,069 - 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 1034ms')
2025-04-14 18:55:38,069 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08626138-33360442 failed!
2025-04-14 18:55:38,127 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-08626138:ctest-vn-94676398 is 206.242.6.65 and allocation pool is NOT set
2025-04-14 18:55:40,200 - 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=5.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.23 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 = 2.227/3.817/5.408/1.590 ms')
2025-04-14 18:55:40,201 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08626138-33360442 passed
2025-04-14 18:55:40,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-14 18:55:40,368 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08626138-33360442, IP 206.242.6.67, Port 22
2025-04-14 18:55:40,433 - 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-04-14 18:55:40,534 - DEBUG - VM ctest-TestRoutersBasic-08626138-33360442 is NOT ready for SSH connections, VM status: ACTIVE
2025-04-14 18:55:45,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-14 18:55:45,535 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08626138-33360442, IP 206.242.6.67, Port 22
2025-04-14 18:55:45,717 - DEBUG - VM ctest-TestRoutersBasic-08626138-33360442 is ready for SSH connections
2025-04-14 18:55:45,717 - INFO - Waiting for VM ctest-TestRoutersBasic-08626138-09226092 to be up..
2025-04-14 18:55:45,805 - DEBUG - VM is in ACTIVE state now
2025-04-14 18:55:45,805 - INFO - VM name : ctest-TestRoutersBasic-08626138-09226092
2025-04-14 18:55:45,892 - DEBUG - VM ctest-TestRoutersBasic-08626138-09226092 ID is 18d65064-6574-48d8-bb55-58ecffebce99
2025-04-14 18:55:45,892 - DEBUG - VM ctest-TestRoutersBasic-08626138-09226092 launched on Node cn-jenkins-deploy-platform-ansible-os-3107-1
2025-04-14 18:55:45,983 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/18d65064-6574-48d8-bb55-58ecffebce99
2025-04-14 18:55:45,995 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/796655d6-f676-4367-870d-20f427c48181
2025-04-14 18:55:47,255 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.425 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.425/1.783/3.141/1.358 ms')
2025-04-14 18:55:47,255 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-08626138-09226092 passed
2025-04-14 18:55:47,420 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-14 18:55:47,420 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08626138-09226092, IP 34.39.58.3, Port 22
2025-04-14 18:55:47,576 - DEBUG - VM ctest-TestRoutersBasic-08626138-09226092 is ready for SSH connections
2025-04-14 18:55:47,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-14 18:55:47,576 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.39.58.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-04-14 18:55:47,576 - DEBUG - ping -s 56 -c 3 -W 1 34.39.58.3
2025-04-14 18:55:51,277 - DEBUG - PING 34.39.58.3 (34.39.58.3): 56 data bytes
64 bytes from 34.39.58.3: seq=0 ttl=62 time=6.488 ms
64 bytes from 34.39.58.3: seq=1 ttl=62 time=1.341 ms
64 bytes from 34.39.58.3: seq=2 ttl=62 time=1.016 ms
--- 34.39.58.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.016/2.948/6.488 ms
2025-04-14 18:55:51,278 - INFO - Ping to IP 34.39.58.3 from VM ctest-TestRoutersBasic-08626138-33360442 passed
2025-04-14 18:55:51,278 - INFO - Deleting interface with subnet_id 48eea932-914b-4666-9675-0b99a8d0781d, port_id None from router 6d1179db-a4c2-4fd8-aec5-8ee15e70ff0d
2025-04-14 18:55:51,525 - INFO - Deleting VM ctest-TestRoutersBasic-08626138-09226092
2025-04-14 18:55:51,609 - INFO - Deleting VM ctest-TestRoutersBasic-08626138-33360442
2025-04-14 18:55:51,702 - INFO - Deleting VN ctest-ext_vn-70505344
2025-04-14 18:55:51,784 - DEBUG - VN 8eb5edb0-b374-4d16-8bf5-4732a17df51c still in use: Unable to complete operation on network 8eb5edb0-b374-4d16-8bf5-4732a17df51c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9f5908ba-d8a3-45fc-8d22-3130d1ad39b6']
2025-04-14 18:55:51,784 - WARNING - Deleting VN ctest-ext_vn-70505344 failed..Will retry
2025-04-14 18:55:53,914 - DEBUG - Response for deleting network ()
2025-04-14 18:55:53,914 - INFO - Deleting VN ctest-vn-94676398
2025-04-14 18:55:54,041 - DEBUG - Response for deleting network ()
2025-04-14 18:55:54,317 - DEBUG - No XMPP flaps were noticed during the test
2025-04-14 18:55:54,317 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2025-04-14 18:55:54,317 - INFO - --------------------------------------------------------------------------------
2025-04-14 18:55:55,057 - INFO - Deleted project: ctest-TestRoutersBasic-08626138, ID : f0462e34-1e23-41de-8256-ac6c62fc38c6