2025-03-28 15:55:09,444 - INFO - Domain Default found not creating
2025-03-28 15:55:09,606 - INFO - Project ctest-TestRoutersBasic-48190895 not found, creating it
2025-03-28 15:55:10,099 - INFO - Created Project:ctest-TestRoutersBasic-48190895, ID : 41fc26f7-520a-44ab-bc3f-b7de1c91042d
2025-03-28 15:55:11,581 - INFO - ================================================================================
2025-03-28 15:55:11,581 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-03-28 15:55:11,581 - 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-03-28 15:55:11,843 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.23': '0'}} with
2025-03-28 15:55:11,843 - INFO - Initial checks done. Running the testcase now
2025-03-28 15:55:11,843 - INFO -
2025-03-28 15:55:12,560 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-48190895
2025-03-28 15:55:12,664 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-48190895
2025-03-28 15:55:12,988 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48190895', 'default']}
2025-03-28 15:55:13,304 - DEBUG - Response for create_network : {'network': {'id': 'bf54536d-b3e5-4f14-984a-1d2931c38be2', 'name': 'ctest-vn-83292094', 'tenant_id': '41fc26f7520a44abbc3fb7de1c91042d', 'project_id': '41fc26f7520a44abbc3fb7de1c91042d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48190895', 'ctest-vn-83292094'], 'port_security_enabled': True, 'description': ''}}
2025-03-28 15:55:13,511 - DEBUG - Response for create_subnet : {'subnet': {'id': '60146557-2ff9-49dd-9f48-8c6ec6ee4b3a', 'name': '', 'tenant_id': '41fc26f7520a44abbc3fb7de1c91042d', 'network_id': 'bf54536d-b3e5-4f14-984a-1d2931c38be2', 'ip_version': 4, 'cidr': '79.188.56.64/26', 'allocation_pools': [{'start': '79.188.56.66', 'end': '79.188.56.126'}], 'gateway_ip': '79.188.56.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.188.56.66', 'tags': [], 'project_id': '41fc26f7520a44abbc3fb7de1c91042d'}}
2025-03-28 15:55:13,532 - INFO - Created VN ctest-vn-83292094
2025-03-28 15:55:13,584 - DEBUG - VN ctest-vn-83292094 UUID is bf54536d-b3e5-4f14-984a-1d2931c38be2
2025-03-28 15:55:13,933 - DEBUG - Response for create_network : {'network': {'id': 'b5c4cec8-c4df-42ac-848b-12046562229d', 'name': 'ctest-ext_vn-51950775', 'tenant_id': '41fc26f7520a44abbc3fb7de1c91042d', 'project_id': '41fc26f7520a44abbc3fb7de1c91042d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48190895', 'ctest-ext_vn-51950775'], 'port_security_enabled': True, 'description': ''}}
2025-03-28 15:55:14,121 - DEBUG - Response for create_subnet : {'subnet': {'id': '728acce5-7ffa-4e0c-b3ed-ab27e181c0b8', 'name': '', 'tenant_id': '41fc26f7520a44abbc3fb7de1c91042d', 'network_id': 'b5c4cec8-c4df-42ac-848b-12046562229d', 'ip_version': 4, 'cidr': '136.46.137.64/26', 'allocation_pools': [{'start': '136.46.137.66', 'end': '136.46.137.126'}], 'gateway_ip': '136.46.137.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.46.137.66', 'tags': [], 'project_id': '41fc26f7520a44abbc3fb7de1c91042d'}}
2025-03-28 15:55:14,140 - INFO - Created VN ctest-ext_vn-51950775
2025-03-28 15:55:14,196 - DEBUG - VN ctest-ext_vn-51950775 UUID is b5c4cec8-c4df-42ac-848b-12046562229d
2025-03-28 15:55:14,381 - DEBUG - Services list from nova: [, , ]
2025-03-28 15:55:15,434 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2991-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2991-1)
2025-03-28 15:55:16,686 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2991-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2991-1)
2025-03-28 15:55:16,815 - INFO - Setting gateway for router 33e3fa08-0600-4489-b2db-d3b0670c2791 to network b5c4cec8-c4df-42ac-848b-12046562229d
2025-03-28 15:55:16,887 - INFO - Adding interface with subnet_id 60146557-2ff9-49dd-9f48-8c6ec6ee4b3a, port_id None to router 33e3fa08-0600-4489-b2db-d3b0670c2791
2025-03-28 15:55:17,375 - INFO - Waiting for VM ctest-TestRoutersBasic-48190895-72328865 to be up..
2025-03-28 15:55:17,563 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-28 15:55:22,665 - DEBUG - VM is in ACTIVE state now
2025-03-28 15:55:22,665 - INFO - VM name : ctest-TestRoutersBasic-48190895-72328865
2025-03-28 15:55:22,751 - DEBUG - VM ctest-TestRoutersBasic-48190895-72328865 ID is 9aef79a6-b091-4a89-9af5-79fb3d47bf92
2025-03-28 15:55:22,776 - DEBUG - VM ctest-TestRoutersBasic-48190895-72328865 launched on Node cn-jenkins-deploy-platform-ansible-os-2991-1
2025-03-28 15:55:22,874 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/9aef79a6-b091-4a89-9af5-79fb3d47bf92
2025-03-28 15:55:23,188 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/9aef79a6-b091-4a89-9af5-79fb3d47bf92
2025-03-28 15:55:23,224 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/2c87f56b-7d13-494a-a75f-6454def3dc10
2025-03-28 15:55:26,494 - 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-03-28 15:55:26,494 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-48190895-72328865 failed!
2025-03-28 15:55:26,552 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-48190895:ctest-vn-83292094 is 79.188.56.65 and allocation pool is NOT set
2025-03-28 15:55:28,610 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.443 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 = 0.443/1.583/2.723/1.140 ms')
2025-03-28 15:55:28,610 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-48190895-72328865 passed
2025-03-28 15:55:28,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-28 15:55:28,764 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48190895-72328865, IP 79.188.56.67, Port 22
2025-03-28 15:55:28,923 - DEBUG - VM ctest-TestRoutersBasic-48190895-72328865 is ready for SSH connections
2025-03-28 15:55:28,923 - INFO - Waiting for VM ctest-TestRoutersBasic-48190895-56089218 to be up..
2025-03-28 15:55:29,001 - DEBUG - VM is in ACTIVE state now
2025-03-28 15:55:29,002 - INFO - VM name : ctest-TestRoutersBasic-48190895-56089218
2025-03-28 15:55:29,076 - DEBUG - VM ctest-TestRoutersBasic-48190895-56089218 ID is eb3b61c6-69d5-419a-8789-2a9495d3f6b8
2025-03-28 15:55:29,077 - DEBUG - VM ctest-TestRoutersBasic-48190895-56089218 launched on Node cn-jenkins-deploy-platform-ansible-os-2991-1
2025-03-28 15:55:29,159 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/eb3b61c6-69d5-419a-8789-2a9495d3f6b8
2025-03-28 15:55:29,169 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/0683bbce-7441-4ee9-a7f8-bc028a2c1fa8
2025-03-28 15:55:30,420 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.579 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.579/1.705/2.832/1.126 ms')
2025-03-28 15:55:30,420 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-48190895-56089218 passed
2025-03-28 15:55:30,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-28 15:55:30,576 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48190895-56089218, IP 136.46.137.67, Port 22
2025-03-28 15:55:30,748 - DEBUG - VM ctest-TestRoutersBasic-48190895-56089218 is ready for SSH connections
2025-03-28 15:55:30,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-28 15:55:30,748 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.46.137.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123
2025-03-28 15:55:30,748 - DEBUG - ping -s 56 -c 3 -W 1 136.46.137.67
2025-03-28 15:55:34,760 - DEBUG - PING 136.46.137.67 (136.46.137.67): 56 data bytes
64 bytes from 136.46.137.67: seq=0 ttl=62 time=7.059 ms
64 bytes from 136.46.137.67: seq=1 ttl=62 time=1.028 ms
64 bytes from 136.46.137.67: seq=2 ttl=62 time=1.127 ms
--- 136.46.137.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.028/3.071/7.059 ms
2025-03-28 15:55:34,760 - INFO - Ping to IP 136.46.137.67 from VM ctest-TestRoutersBasic-48190895-72328865 passed
2025-03-28 15:55:34,760 - INFO - Deleting interface with subnet_id 60146557-2ff9-49dd-9f48-8c6ec6ee4b3a, port_id None from router 33e3fa08-0600-4489-b2db-d3b0670c2791
2025-03-28 15:55:34,951 - INFO - Deleting VM ctest-TestRoutersBasic-48190895-56089218
2025-03-28 15:55:35,026 - INFO - Deleting VM ctest-TestRoutersBasic-48190895-72328865
2025-03-28 15:55:35,119 - INFO - Deleting VN ctest-ext_vn-51950775
2025-03-28 15:55:35,178 - DEBUG - VN b5c4cec8-c4df-42ac-848b-12046562229d still in use: Unable to complete operation on network b5c4cec8-c4df-42ac-848b-12046562229d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a907640e-1b54-4bcd-a06b-baef93085eea']
2025-03-28 15:55:35,179 - WARNING - Deleting VN ctest-ext_vn-51950775 failed..Will retry
2025-03-28 15:55:37,290 - DEBUG - Response for deleting network ()
2025-03-28 15:55:37,290 - INFO - Deleting VN ctest-vn-83292094
2025-03-28 15:55:37,398 - DEBUG - Response for deleting network ()
2025-03-28 15:55:37,654 - DEBUG - No XMPP flaps were noticed during the test
2025-03-28 15:55:37,654 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-03-28 15:55:37,654 - INFO - --------------------------------------------------------------------------------
2025-03-28 15:55:38,349 - INFO - Deleted project: ctest-TestRoutersBasic-48190895, ID : 41fc26f7-520a-44ab-bc3f-b7de1c91042d