2025-07-21 12:45:35,270 - INFO - Domain Default found not creating
2025-07-21 12:45:35,699 - INFO - Project ctest-TestRoutersBasic-25889909 not found, creating it
2025-07-21 12:45:36,375 - INFO - Created Project:ctest-TestRoutersBasic-25889909, ID : 8e72745d-9941-49c0-aaa5-9c396538ea4b
2025-07-21 12:45:38,515 - INFO - ================================================================================
2025-07-21 12:45:38,515 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-21 12:45:38,515 - 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-07-21 12:45:38,847 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-07-21 12:45:38,847 - INFO - Initial checks done. Running the testcase now
2025-07-21 12:45:38,847 - INFO -
2025-07-21 12:45:39,796 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-25889909
2025-07-21 12:45:39,910 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-25889909
2025-07-21 12:45:40,349 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25889909', 'default']}
2025-07-21 12:45:40,730 - DEBUG - Response for create_network : {'network': {'id': '78aba508-a65a-4b9e-bc71-9fc951b2b576', 'name': 'ctest-vn-44761608', 'tenant_id': '8e72745d994149c0aaa59c396538ea4b', 'project_id': '8e72745d994149c0aaa59c396538ea4b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25889909', 'ctest-vn-44761608'], 'port_security_enabled': True, 'description': ''}}
2025-07-21 12:45:40,976 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b898a78-c002-4c14-a540-6788e026900d', 'name': '', 'tenant_id': '8e72745d994149c0aaa59c396538ea4b', 'network_id': '78aba508-a65a-4b9e-bc71-9fc951b2b576', 'ip_version': 4, 'cidr': '149.50.133.64/26', 'allocation_pools': [{'start': '149.50.133.66', 'end': '149.50.133.126'}], 'gateway_ip': '149.50.133.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.50.133.66', 'tags': [], 'project_id': '8e72745d994149c0aaa59c396538ea4b'}}
2025-07-21 12:45:41,004 - INFO - Created VN ctest-vn-44761608
2025-07-21 12:45:41,069 - DEBUG - VN ctest-vn-44761608 UUID is 78aba508-a65a-4b9e-bc71-9fc951b2b576
2025-07-21 12:45:41,484 - DEBUG - Response for create_network : {'network': {'id': 'a0ff281a-f001-4856-8829-aa1b95545070', 'name': 'ctest-ext_vn-17025426', 'tenant_id': '8e72745d994149c0aaa59c396538ea4b', 'project_id': '8e72745d994149c0aaa59c396538ea4b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25889909', 'ctest-ext_vn-17025426'], 'port_security_enabled': True, 'description': ''}}
2025-07-21 12:45:41,719 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a37457d-f010-49f3-b97b-6fa58a49790d', 'name': '', 'tenant_id': '8e72745d994149c0aaa59c396538ea4b', 'network_id': 'a0ff281a-f001-4856-8829-aa1b95545070', 'ip_version': 4, 'cidr': '4.231.111.128/26', 'allocation_pools': [{'start': '4.231.111.130', 'end': '4.231.111.190'}], 'gateway_ip': '4.231.111.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.231.111.130', 'tags': [], 'project_id': '8e72745d994149c0aaa59c396538ea4b'}}
2025-07-21 12:45:41,743 - INFO - Created VN ctest-ext_vn-17025426
2025-07-21 12:45:41,801 - DEBUG - VN ctest-ext_vn-17025426 UUID is a0ff281a-f001-4856-8829-aa1b95545070
2025-07-21 12:45:41,981 - DEBUG - Services list from nova: [, , ]
2025-07-21 12:45:43,288 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3677-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3677-1)
2025-07-21 12:45:44,631 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3677-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3677-1)
2025-07-21 12:45:44,741 - INFO - Setting gateway for router 28b76e34-1445-4e82-8c3b-6b1ed33c816d to network a0ff281a-f001-4856-8829-aa1b95545070
2025-07-21 12:45:44,824 - INFO - Adding interface with subnet_id 7b898a78-c002-4c14-a540-6788e026900d, port_id None to router 28b76e34-1445-4e82-8c3b-6b1ed33c816d
2025-07-21 12:45:45,242 - INFO - Waiting for VM ctest-TestRoutersBasic-25889909-53371822 to be up..
2025-07-21 12:45:45,424 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-21 12:45:50,559 - DEBUG - VM is in ACTIVE state now
2025-07-21 12:45:50,560 - INFO - VM name : ctest-TestRoutersBasic-25889909-53371822
2025-07-21 12:45:50,703 - DEBUG - VM ctest-TestRoutersBasic-25889909-53371822 ID is 2e126dfa-8bea-4045-b166-d5080a68a5ca
2025-07-21 12:45:50,726 - DEBUG - VM ctest-TestRoutersBasic-25889909-53371822 launched on Node cn-jenkins-deploy-platform-ansible-os-3677-1.
2025-07-21 12:45:50,825 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2e126dfa-8bea-4045-b166-d5080a68a5ca
2025-07-21 12:45:51,150 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2e126dfa-8bea-4045-b166-d5080a68a5ca
2025-07-21 12:45:51,238 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5dd540a2-fd5c-4ca1-a332-0d71d1479571
2025-07-21 12:45:54,548 - 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 1029ms')
2025-07-21 12:45:54,548 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25889909-53371822 failed!
2025-07-21 12:45:54,609 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-25889909:ctest-vn-44761608 is 149.50.133.65 and allocation pool is NOT set
2025-07-21 12:45:56,682 - 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.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.28 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 = 2.276/5.090/7.905/2.814 ms')
2025-07-21 12:45:56,683 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25889909-53371822 passed
2025-07-21 12:45:56,877 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-21 12:45:56,877 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25889909-53371822, IP 149.50.133.67, Port 22
2025-07-21 12:45:57,080 - DEBUG - VM ctest-TestRoutersBasic-25889909-53371822 is ready for SSH connections
2025-07-21 12:45:57,080 - INFO - Waiting for VM ctest-TestRoutersBasic-25889909-06713462 to be up..
2025-07-21 12:45:57,237 - DEBUG - VM is in ACTIVE state now
2025-07-21 12:45:57,238 - INFO - VM name : ctest-TestRoutersBasic-25889909-06713462
2025-07-21 12:45:57,420 - DEBUG - VM ctest-TestRoutersBasic-25889909-06713462 ID is 48e8d09d-3273-4f64-a48b-07319c1bfbc6
2025-07-21 12:45:57,420 - DEBUG - VM ctest-TestRoutersBasic-25889909-06713462 launched on Node cn-jenkins-deploy-platform-ansible-os-3677-1.
2025-07-21 12:45:57,571 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/48e8d09d-3273-4f64-a48b-07319c1bfbc6
2025-07-21 12:45:57,594 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8283f0e9-e1ca-45f9-9fca-78418c764dc8
2025-07-21 12:45:58,966 - 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=6.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.32 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.323/4.176/6.030/1.853 ms')
2025-07-21 12:45:58,966 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-25889909-06713462 passed
2025-07-21 12:45:59,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-21 12:45:59,145 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25889909-06713462, IP 4.231.111.131, Port 22
2025-07-21 12:45:59,213 - 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-07-21 12:45:59,369 - DEBUG - VM ctest-TestRoutersBasic-25889909-06713462 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-21 12:46:04,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-21 12:46:04,371 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25889909-06713462, IP 4.231.111.131, Port 22
2025-07-21 12:46:04,580 - DEBUG - VM ctest-TestRoutersBasic-25889909-06713462 is ready for SSH connections
2025-07-21 12:46:04,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-21 12:46:04,581 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.231.111.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-07-21 12:46:04,581 - DEBUG - ping -s 56 -c 3 -W 1 4.231.111.131
2025-07-21 12:46:09,158 - DEBUG - PING 4.231.111.131 (4.231.111.131): 56 data bytes
64 bytes from 4.231.111.131: seq=0 ttl=62 time=6.726 ms
64 bytes from 4.231.111.131: seq=1 ttl=62 time=2.041 ms
64 bytes from 4.231.111.131: seq=2 ttl=62 time=1.768 ms
--- 4.231.111.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.768/3.511/6.726 ms
2025-07-21 12:46:09,158 - INFO - Ping to IP 4.231.111.131 from VM ctest-TestRoutersBasic-25889909-53371822 passed
2025-07-21 12:46:09,158 - INFO - Deleting interface with subnet_id 7b898a78-c002-4c14-a540-6788e026900d, port_id None from router 28b76e34-1445-4e82-8c3b-6b1ed33c816d
2025-07-21 12:46:09,497 - INFO - Deleting VM ctest-TestRoutersBasic-25889909-06713462
2025-07-21 12:46:09,613 - INFO - Deleting VM ctest-TestRoutersBasic-25889909-53371822
2025-07-21 12:46:09,710 - INFO - Deleting VN ctest-ext_vn-17025426
2025-07-21 12:46:09,785 - DEBUG - VN a0ff281a-f001-4856-8829-aa1b95545070 still in use: Unable to complete operation on network a0ff281a-f001-4856-8829-aa1b95545070. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-87e63953-b191-4502-8781-1d1d35302e93']
2025-07-21 12:46:09,785 - WARNING - Deleting VN ctest-ext_vn-17025426 failed..Will retry
2025-07-21 12:46:11,961 - DEBUG - Response for deleting network ()
2025-07-21 12:46:11,961 - INFO - Deleting VN ctest-vn-44761608
2025-07-21 12:46:12,137 - DEBUG - Response for deleting network ()
2025-07-21 12:46:12,447 - DEBUG - No XMPP flaps were noticed during the test
2025-07-21 12:46:12,447 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34]
2025-07-21 12:46:12,447 - INFO - --------------------------------------------------------------------------------
2025-07-21 12:46:13,446 - INFO - Deleted project: ctest-TestRoutersBasic-25889909, ID : 8e72745d-9941-49c0-aaa5-9c396538ea4b