2025-01-13 18:57:04,961 - INFO - Domain Default found not creating
2025-01-13 18:57:05,133 - INFO - Project ctest-TestRoutersBasic-02635361 not found, creating it
2025-01-13 18:57:05,645 - INFO - Created Project:ctest-TestRoutersBasic-02635361, ID : eb262462-92ae-4878-9af7-b0bc837a339c
2025-01-13 18:57:07,174 - INFO - ================================================================================
2025-01-13 18:57:07,174 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-13 18:57:07,174 - 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-13 18:57:07,430 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.34': '0'}} with
2025-01-13 18:57:07,430 - INFO - Initial checks done. Running the testcase now
2025-01-13 18:57:07,430 - INFO -
2025-01-13 18:57:08,154 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-02635361
2025-01-13 18:57:08,254 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-02635361
2025-01-13 18:57:08,593 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02635361', 'default']}
2025-01-13 18:57:08,915 - DEBUG - Response for create_network : {'network': {'id': 'e4617ee4-4312-4e4f-9c82-589a4e962090', 'name': 'ctest-vn-54339291', 'tenant_id': 'eb26246292ae48789af7b0bc837a339c', 'project_id': 'eb26246292ae48789af7b0bc837a339c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02635361', 'ctest-vn-54339291'], 'port_security_enabled': True, 'description': ''}}
2025-01-13 18:57:09,098 - DEBUG - Response for create_subnet : {'subnet': {'id': '2f7237ec-529a-4bfa-9d52-2274fa257f3b', 'name': '', 'tenant_id': 'eb26246292ae48789af7b0bc837a339c', 'network_id': 'e4617ee4-4312-4e4f-9c82-589a4e962090', 'ip_version': 4, 'cidr': '109.186.60.64/26', 'allocation_pools': [{'start': '109.186.60.66', 'end': '109.186.60.126'}], 'gateway_ip': '109.186.60.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.186.60.66', 'tags': [], 'project_id': 'eb26246292ae48789af7b0bc837a339c'}}
2025-01-13 18:57:09,121 - INFO - Created VN ctest-vn-54339291
2025-01-13 18:57:09,178 - DEBUG - VN ctest-vn-54339291 UUID is e4617ee4-4312-4e4f-9c82-589a4e962090
2025-01-13 18:57:09,551 - DEBUG - Response for create_network : {'network': {'id': 'b7a9bf93-2068-4138-a27e-cd6b4c7c4af1', 'name': 'ctest-ext_vn-66541206', 'tenant_id': 'eb26246292ae48789af7b0bc837a339c', 'project_id': 'eb26246292ae48789af7b0bc837a339c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02635361', 'ctest-ext_vn-66541206'], 'port_security_enabled': True, 'description': ''}}
2025-01-13 18:57:09,741 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea825c36-7341-4f6a-a972-ed55498d4a6b', 'name': '', 'tenant_id': 'eb26246292ae48789af7b0bc837a339c', 'network_id': 'b7a9bf93-2068-4138-a27e-cd6b4c7c4af1', 'ip_version': 4, 'cidr': '128.178.16.128/26', 'allocation_pools': [{'start': '128.178.16.130', 'end': '128.178.16.190'}], 'gateway_ip': '128.178.16.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.178.16.130', 'tags': [], 'project_id': 'eb26246292ae48789af7b0bc837a339c'}}
2025-01-13 18:57:09,761 - INFO - Created VN ctest-ext_vn-66541206
2025-01-13 18:57:09,814 - DEBUG - VN ctest-ext_vn-66541206 UUID is b7a9bf93-2068-4138-a27e-cd6b4c7c4af1
2025-01-13 18:57:10,004 - DEBUG - Services list from nova: [, , ]
2025-01-13 18:57:11,109 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2616-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2616-1)
2025-01-13 18:57:12,389 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2616-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2616-1)
2025-01-13 18:57:12,482 - INFO - Setting gateway for router 2355d983-0d31-4f55-91b4-4bdb9e947864 to network b7a9bf93-2068-4138-a27e-cd6b4c7c4af1
2025-01-13 18:57:12,549 - INFO - Adding interface with subnet_id 2f7237ec-529a-4bfa-9d52-2274fa257f3b, port_id None to router 2355d983-0d31-4f55-91b4-4bdb9e947864
2025-01-13 18:57:13,002 - INFO - Waiting for VM ctest-TestRoutersBasic-02635361-11993775 to be up..
2025-01-13 18:57:13,159 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-13 18:57:18,248 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-13 18:57:23,340 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-13 18:57:28,427 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-13 18:57:33,533 - DEBUG - VM is in ACTIVE state now
2025-01-13 18:57:33,533 - INFO - VM name : ctest-TestRoutersBasic-02635361-11993775
2025-01-13 18:57:33,633 - DEBUG - VM ctest-TestRoutersBasic-02635361-11993775 ID is c291cd0c-254c-4f59-b28a-00e2be7802e9
2025-01-13 18:57:33,654 - DEBUG - VM ctest-TestRoutersBasic-02635361-11993775 launched on Node cn-jenkins-deploy-platform-ansible-os-2616-1
2025-01-13 18:57:33,741 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/c291cd0c-254c-4f59-b28a-00e2be7802e9
2025-01-13 18:57:34,048 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/c291cd0c-254c-4f59-b28a-00e2be7802e9
2025-01-13 18:57:34,087 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/d9d0e5e5-a98a-4442-b0cb-05387f17e715
2025-01-13 18:57:37,348 - 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 1007ms')
2025-01-13 18:57:37,348 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02635361-11993775 failed!
2025-01-13 18:57:37,458 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-02635361:ctest-vn-54339291 is 109.186.60.65 and allocation pool is NOT set
2025-01-13 18:57:39,522 - 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=7.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.35 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.351/4.606/7.862/3.255 ms')
2025-01-13 18:57:39,522 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02635361-11993775 passed
2025-01-13 18:57:39,685 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 18:57:39,686 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02635361-11993775, IP 109.186.60.67, Port 22
2025-01-13 18:57:39,864 - DEBUG - VM ctest-TestRoutersBasic-02635361-11993775 is ready for SSH connections
2025-01-13 18:57:39,864 - INFO - Waiting for VM ctest-TestRoutersBasic-02635361-25522566 to be up..
2025-01-13 18:57:39,951 - DEBUG - VM is in ACTIVE state now
2025-01-13 18:57:39,951 - INFO - VM name : ctest-TestRoutersBasic-02635361-25522566
2025-01-13 18:57:40,036 - DEBUG - VM ctest-TestRoutersBasic-02635361-25522566 ID is 6000e509-86c6-4b9e-afdf-90accd2e3a79
2025-01-13 18:57:40,036 - DEBUG - VM ctest-TestRoutersBasic-02635361-25522566 launched on Node cn-jenkins-deploy-platform-ansible-os-2616-1
2025-01-13 18:57:40,130 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/6000e509-86c6-4b9e-afdf-90accd2e3a79
2025-01-13 18:57:40,141 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/7b25a7ac-9066-481f-aea3-f2022cc4deed
2025-01-13 18:57:41,395 - 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=7.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.24 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 = 2.235/5.073/7.912/2.838 ms')
2025-01-13 18:57:41,395 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-02635361-25522566 passed
2025-01-13 18:57:41,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 18:57:41,550 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02635361-25522566, IP 128.178.16.131, Port 22
2025-01-13 18:57:41,607 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-01-13 18:57:41,727 - DEBUG - VM ctest-TestRoutersBasic-02635361-25522566 is NOT ready for SSH connections, VM status: ACTIVE
2025-01-13 18:57:46,728 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 18:57:46,728 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02635361-25522566, IP 128.178.16.131, Port 22
2025-01-13 18:57:46,890 - DEBUG - VM ctest-TestRoutersBasic-02635361-25522566 is ready for SSH connections
2025-01-13 18:57:46,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 18:57:46,890 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.178.16.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123
2025-01-13 18:57:46,890 - DEBUG - ping -s 56 -c 3 -W 1 128.178.16.131
2025-01-13 18:57:50,601 - DEBUG - PING 128.178.16.131 (128.178.16.131): 56 data bytes
64 bytes from 128.178.16.131: seq=0 ttl=62 time=6.698 ms
64 bytes from 128.178.16.131: seq=1 ttl=62 time=1.114 ms
64 bytes from 128.178.16.131: seq=2 ttl=62 time=1.098 ms
--- 128.178.16.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.098/2.970/6.698 ms
2025-01-13 18:57:50,601 - INFO - Ping to IP 128.178.16.131 from VM ctest-TestRoutersBasic-02635361-11993775 passed
2025-01-13 18:57:50,602 - INFO - Deleting interface with subnet_id 2f7237ec-529a-4bfa-9d52-2274fa257f3b, port_id None from router 2355d983-0d31-4f55-91b4-4bdb9e947864
2025-01-13 18:57:50,833 - INFO - Deleting VM ctest-TestRoutersBasic-02635361-25522566
2025-01-13 18:57:50,925 - INFO - Deleting VM ctest-TestRoutersBasic-02635361-11993775
2025-01-13 18:57:51,008 - INFO - Deleting VN ctest-ext_vn-66541206
2025-01-13 18:57:51,089 - DEBUG - VN b7a9bf93-2068-4138-a27e-cd6b4c7c4af1 still in use: Unable to complete operation on network b7a9bf93-2068-4138-a27e-cd6b4c7c4af1. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-22852afc-7e74-4c8c-85d8-117f7d02efa5']
2025-01-13 18:57:51,089 - WARNING - Deleting VN ctest-ext_vn-66541206 failed..Will retry
2025-01-13 18:57:53,206 - DEBUG - Response for deleting network ()
2025-01-13 18:57:53,206 - INFO - Deleting VN ctest-vn-54339291
2025-01-13 18:57:53,318 - DEBUG - Response for deleting network ()
2025-01-13 18:57:53,572 - DEBUG - No XMPP flaps were noticed during the test
2025-01-13 18:57:53,572 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:46]
2025-01-13 18:57:53,572 - INFO - --------------------------------------------------------------------------------
2025-01-13 18:57:54,331 - INFO - Deleted project: ctest-TestRoutersBasic-02635361, ID : eb262462-92ae-4878-9af7-b0bc837a339c