2025-01-02 23:26:22,865 - INFO - Domain Default found not creating
2025-01-02 23:26:23,006 - INFO - Project ctest-TestRoutersBasic-09355045 not found, creating it
2025-01-02 23:26:23,465 - INFO - Created Project:ctest-TestRoutersBasic-09355045, ID : c0d8af48-9c13-4969-b5e9-ce1f644b0d20
2025-01-02 23:26:24,906 - INFO - ================================================================================
2025-01-02 23:26:24,906 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-02 23:26:24,906 - 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-02 23:26:25,164 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.5': '0'}} with
2025-01-02 23:26:25,164 - INFO - Initial checks done. Running the testcase now
2025-01-02 23:26:25,165 - INFO -
2025-01-02 23:26:25,857 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-09355045
2025-01-02 23:26:25,958 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-09355045
2025-01-02 23:26:26,278 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09355045', 'default']}
2025-01-02 23:26:26,570 - DEBUG - Response for create_network : {'network': {'id': 'c90c9953-85a0-4636-86e6-fc0bed3165b7', 'name': 'ctest-vn-26240811', 'tenant_id': 'c0d8af489c134969b5e9ce1f644b0d20', 'project_id': 'c0d8af489c134969b5e9ce1f644b0d20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09355045', 'ctest-vn-26240811'], 'port_security_enabled': True, 'description': ''}}
2025-01-02 23:26:26,721 - DEBUG - Response for create_subnet : {'subnet': {'id': '8aa4620c-97a8-4c66-af3d-4a71166f9688', 'name': '', 'tenant_id': 'c0d8af489c134969b5e9ce1f644b0d20', 'network_id': 'c90c9953-85a0-4636-86e6-fc0bed3165b7', 'ip_version': 4, 'cidr': '202.69.8.128/26', 'allocation_pools': [{'start': '202.69.8.130', 'end': '202.69.8.190'}], 'gateway_ip': '202.69.8.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.69.8.130', 'tags': [], 'project_id': 'c0d8af489c134969b5e9ce1f644b0d20'}}
2025-01-02 23:26:26,740 - INFO - Created VN ctest-vn-26240811
2025-01-02 23:26:26,790 - DEBUG - VN ctest-vn-26240811 UUID is c90c9953-85a0-4636-86e6-fc0bed3165b7
2025-01-02 23:26:27,135 - DEBUG - Response for create_network : {'network': {'id': '28b15b25-26d9-42ff-b018-89b93bd52f10', 'name': 'ctest-ext_vn-50885377', 'tenant_id': 'c0d8af489c134969b5e9ce1f644b0d20', 'project_id': 'c0d8af489c134969b5e9ce1f644b0d20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09355045', 'ctest-ext_vn-50885377'], 'port_security_enabled': True, 'description': ''}}
2025-01-02 23:26:27,316 - DEBUG - Response for create_subnet : {'subnet': {'id': '903eb24e-6ab8-49c4-a3b8-317875fb231f', 'name': '', 'tenant_id': 'c0d8af489c134969b5e9ce1f644b0d20', 'network_id': '28b15b25-26d9-42ff-b018-89b93bd52f10', 'ip_version': 4, 'cidr': '161.116.225.64/26', 'allocation_pools': [{'start': '161.116.225.66', 'end': '161.116.225.126'}], 'gateway_ip': '161.116.225.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.116.225.66', 'tags': [], 'project_id': 'c0d8af489c134969b5e9ce1f644b0d20'}}
2025-01-02 23:26:27,332 - INFO - Created VN ctest-ext_vn-50885377
2025-01-02 23:26:27,386 - DEBUG - VN ctest-ext_vn-50885377 UUID is 28b15b25-26d9-42ff-b018-89b93bd52f10
2025-01-02 23:26:27,593 - DEBUG - Services list from nova: [, , ]
2025-01-02 23:26:28,601 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2517-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2517-1)
2025-01-02 23:26:29,726 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2517-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2517-1)
2025-01-02 23:26:29,810 - INFO - Setting gateway for router b7224a05-3b21-4571-87c4-eddb7b3026d0 to network 28b15b25-26d9-42ff-b018-89b93bd52f10
2025-01-02 23:26:29,870 - INFO - Adding interface with subnet_id 8aa4620c-97a8-4c66-af3d-4a71166f9688, port_id None to router b7224a05-3b21-4571-87c4-eddb7b3026d0
2025-01-02 23:26:30,185 - INFO - Waiting for VM ctest-TestRoutersBasic-09355045-61251094 to be up..
2025-01-02 23:26:30,391 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-02 23:26:35,473 - DEBUG - VM is in ACTIVE state now
2025-01-02 23:26:35,474 - INFO - VM name : ctest-TestRoutersBasic-09355045-61251094
2025-01-02 23:26:35,545 - DEBUG - VM ctest-TestRoutersBasic-09355045-61251094 ID is 924972d2-8b85-4ad4-8c8c-a5d1cf0607c2
2025-01-02 23:26:35,562 - DEBUG - VM ctest-TestRoutersBasic-09355045-61251094 launched on Node cn-jenkins-deploy-platform-ansible-os-2517-1
2025-01-02 23:26:35,631 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/924972d2-8b85-4ad4-8c8c-a5d1cf0607c2
2025-01-02 23:26:35,936 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/924972d2-8b85-4ad4-8c8c-a5d1cf0607c2
2025-01-02 23:26:35,967 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/f894dded-1be2-4a9c-b292-78b44397b38e
2025-01-02 23:26:39,203 - 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 1003ms')
2025-01-02 23:26:39,203 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09355045-61251094 failed!
2025-01-02 23:26:39,262 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-09355045:ctest-vn-26240811 is 202.69.8.129 and allocation pool is NOT set
2025-01-02 23:26:41,326 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.451 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.451/1.691/2.931/1.240 ms')
2025-01-02 23:26:41,326 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09355045-61251094 passed
2025-01-02 23:26:41,434 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-02 23:26:41,434 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09355045-61251094, IP 202.69.8.131, Port 22
2025-01-02 23:26:41,591 - DEBUG - VM ctest-TestRoutersBasic-09355045-61251094 is ready for SSH connections
2025-01-02 23:26:41,591 - INFO - Waiting for VM ctest-TestRoutersBasic-09355045-70750795 to be up..
2025-01-02 23:26:41,671 - DEBUG - VM is in ACTIVE state now
2025-01-02 23:26:41,671 - INFO - VM name : ctest-TestRoutersBasic-09355045-70750795
2025-01-02 23:26:41,744 - DEBUG - VM ctest-TestRoutersBasic-09355045-70750795 ID is 06265b26-816a-4200-87d6-5e00aac09120
2025-01-02 23:26:41,744 - DEBUG - VM ctest-TestRoutersBasic-09355045-70750795 launched on Node cn-jenkins-deploy-platform-ansible-os-2517-1
2025-01-02 23:26:41,832 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/06265b26-816a-4200-87d6-5e00aac09120
2025-01-02 23:26:41,841 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/9a773df1-d5fd-4b1a-a97d-7c4f18f711af
2025-01-02 23:26:43,087 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.333 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.333/1.634/2.935/1.301 ms')
2025-01-02 23:26:43,087 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-09355045-70750795 passed
2025-01-02 23:26:43,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-02 23:26:43,238 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09355045-70750795, IP 161.116.225.67, Port 22
2025-01-02 23:26:43,394 - DEBUG - VM ctest-TestRoutersBasic-09355045-70750795 is ready for SSH connections
2025-01-02 23:26:43,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-02 23:26:43,394 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.116.225.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123
2025-01-02 23:26:43,394 - DEBUG - ping -s 56 -c 3 -W 1 161.116.225.67
2025-01-02 23:26:47,369 - DEBUG - PING 161.116.225.67 (161.116.225.67): 56 data bytes
64 bytes from 161.116.225.67: seq=0 ttl=62 time=6.485 ms
64 bytes from 161.116.225.67: seq=1 ttl=62 time=1.077 ms
64 bytes from 161.116.225.67: seq=2 ttl=62 time=0.752 ms
--- 161.116.225.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.752/2.771/6.485 ms
2025-01-02 23:26:47,369 - INFO - Ping to IP 161.116.225.67 from VM ctest-TestRoutersBasic-09355045-61251094 passed
2025-01-02 23:26:47,369 - INFO - Deleting interface with subnet_id 8aa4620c-97a8-4c66-af3d-4a71166f9688, port_id None from router b7224a05-3b21-4571-87c4-eddb7b3026d0
2025-01-02 23:26:47,546 - INFO - Deleting VM ctest-TestRoutersBasic-09355045-70750795
2025-01-02 23:26:47,610 - INFO - Deleting VM ctest-TestRoutersBasic-09355045-61251094
2025-01-02 23:26:47,680 - INFO - Deleting VN ctest-ext_vn-50885377
2025-01-02 23:26:47,746 - DEBUG - VN 28b15b25-26d9-42ff-b018-89b93bd52f10 still in use: Unable to complete operation on network 28b15b25-26d9-42ff-b018-89b93bd52f10. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-46386da7-454e-4a59-9863-99a8b10b4dc8']
2025-01-02 23:26:47,746 - WARNING - Deleting VN ctest-ext_vn-50885377 failed..Will retry
2025-01-02 23:26:49,851 - DEBUG - Response for deleting network ()
2025-01-02 23:26:49,852 - INFO - Deleting VN ctest-vn-26240811
2025-01-02 23:26:49,961 - DEBUG - Response for deleting network ()
2025-01-02 23:26:50,216 - DEBUG - No XMPP flaps were noticed during the test
2025-01-02 23:26:50,216 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-02 23:26:50,216 - INFO - --------------------------------------------------------------------------------
2025-01-02 23:26:50,873 - INFO - Deleted project: ctest-TestRoutersBasic-09355045, ID : c0d8af48-9c13-4969-b5e9-ce1f644b0d20