2025-06-22 18:22:59,550 - INFO - Domain Default found not creating
2025-06-22 18:22:59,685 - INFO - Project ctest-TestRoutersBasic-89119977 not found, creating it
2025-06-22 18:23:00,127 - INFO - Created Project:ctest-TestRoutersBasic-89119977, ID : fd61a559-e387-4f12-bb61-f4726f71bb77
2025-06-22 18:23:01,562 - INFO - ================================================================================
2025-06-22 18:23:01,562 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-22 18:23:01,562 - 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-06-22 18:23:01,822 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-06-22 18:23:01,822 - INFO - Initial checks done. Running the testcase now
2025-06-22 18:23:01,822 - INFO -
2025-06-22 18:23:02,510 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-89119977
2025-06-22 18:23:02,607 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-89119977
2025-06-22 18:23:02,939 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89119977', 'default']}
2025-06-22 18:23:03,230 - DEBUG - Response for create_network : {'network': {'id': '6ec4a309-a2f1-49ea-bd99-a585314af02f', 'name': 'ctest-vn-55124595', 'tenant_id': 'fd61a559e3874f12bb61f4726f71bb77', 'project_id': 'fd61a559e3874f12bb61f4726f71bb77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89119977', 'ctest-vn-55124595'], 'port_security_enabled': True, 'description': ''}}
2025-06-22 18:23:03,424 - DEBUG - Response for create_subnet : {'subnet': {'id': '56df6844-53c9-48f5-a4bc-082a4214fafa', 'name': '', 'tenant_id': 'fd61a559e3874f12bb61f4726f71bb77', 'network_id': '6ec4a309-a2f1-49ea-bd99-a585314af02f', 'ip_version': 4, 'cidr': '140.43.119.192/26', 'allocation_pools': [{'start': '140.43.119.194', 'end': '140.43.119.254'}], 'gateway_ip': '140.43.119.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.43.119.194', 'tags': [], 'project_id': 'fd61a559e3874f12bb61f4726f71bb77'}}
2025-06-22 18:23:03,440 - INFO - Created VN ctest-vn-55124595
2025-06-22 18:23:03,491 - DEBUG - VN ctest-vn-55124595 UUID is 6ec4a309-a2f1-49ea-bd99-a585314af02f
2025-06-22 18:23:03,908 - DEBUG - Response for create_network : {'network': {'id': 'bd5ea79c-b0d7-4259-887c-f4096b8b2f33', 'name': 'ctest-ext_vn-33655714', 'tenant_id': 'fd61a559e3874f12bb61f4726f71bb77', 'project_id': 'fd61a559e3874f12bb61f4726f71bb77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89119977', 'ctest-ext_vn-33655714'], 'port_security_enabled': True, 'description': ''}}
2025-06-22 18:23:04,079 - DEBUG - Response for create_subnet : {'subnet': {'id': '7f2e8d79-7781-41c7-af48-fc3248dc8a06', 'name': '', 'tenant_id': 'fd61a559e3874f12bb61f4726f71bb77', 'network_id': 'bd5ea79c-b0d7-4259-887c-f4096b8b2f33', 'ip_version': 4, 'cidr': '116.233.55.128/26', 'allocation_pools': [{'start': '116.233.55.130', 'end': '116.233.55.190'}], 'gateway_ip': '116.233.55.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.233.55.130', 'tags': [], 'project_id': 'fd61a559e3874f12bb61f4726f71bb77'}}
2025-06-22 18:23:04,096 - INFO - Created VN ctest-ext_vn-33655714
2025-06-22 18:23:04,151 - DEBUG - VN ctest-ext_vn-33655714 UUID is bd5ea79c-b0d7-4259-887c-f4096b8b2f33
2025-06-22 18:23:04,315 - DEBUG - Services list from nova: [, , ]
2025-06-22 18:23:05,287 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3514-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3514-1)
2025-06-22 18:23:06,413 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3514-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3514-1)
2025-06-22 18:23:06,482 - INFO - Setting gateway for router 26682ca8-d7b7-4ed7-9843-2e309e769450 to network bd5ea79c-b0d7-4259-887c-f4096b8b2f33
2025-06-22 18:23:06,565 - INFO - Adding interface with subnet_id 56df6844-53c9-48f5-a4bc-082a4214fafa, port_id None to router 26682ca8-d7b7-4ed7-9843-2e309e769450
2025-06-22 18:23:07,007 - INFO - Waiting for VM ctest-TestRoutersBasic-89119977-52665531 to be up..
2025-06-22 18:23:07,202 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-22 18:23:12,296 - DEBUG - VM is in ACTIVE state now
2025-06-22 18:23:12,296 - INFO - VM name : ctest-TestRoutersBasic-89119977-52665531
2025-06-22 18:23:12,382 - DEBUG - VM ctest-TestRoutersBasic-89119977-52665531 ID is e9236f3c-315d-4be9-944c-58a22f439338
2025-06-22 18:23:12,400 - DEBUG - VM ctest-TestRoutersBasic-89119977-52665531 launched on Node cn-jenkins-deploy-platform-ansible-os-3514-1
2025-06-22 18:23:12,476 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e9236f3c-315d-4be9-944c-58a22f439338
2025-06-22 18:23:12,773 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e9236f3c-315d-4be9-944c-58a22f439338
2025-06-22 18:23:12,804 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1adc573e-498f-442c-9c56-ee248700d388
2025-06-22 18:23:16,051 - 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 1015ms')
2025-06-22 18:23:16,051 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-89119977-52665531 failed!
2025-06-22 18:23:16,107 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-89119977:ctest-vn-55124595 is 140.43.119.193 and allocation pool is NOT set
2025-06-22 18:23:18,172 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.418 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.418/1.607/2.796/1.189 ms')
2025-06-22 18:23:18,172 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-89119977-52665531 passed
2025-06-22 18:23:18,319 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-22 18:23:18,319 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89119977-52665531, IP 140.43.119.195, Port 22
2025-06-22 18:23:18,475 - DEBUG - VM ctest-TestRoutersBasic-89119977-52665531 is ready for SSH connections
2025-06-22 18:23:18,475 - INFO - Waiting for VM ctest-TestRoutersBasic-89119977-08110686 to be up..
2025-06-22 18:23:18,550 - DEBUG - VM is in ACTIVE state now
2025-06-22 18:23:18,550 - INFO - VM name : ctest-TestRoutersBasic-89119977-08110686
2025-06-22 18:23:18,622 - DEBUG - VM ctest-TestRoutersBasic-89119977-08110686 ID is 5fc6659d-1203-4d43-aa27-392c92bdfafd
2025-06-22 18:23:18,623 - DEBUG - VM ctest-TestRoutersBasic-89119977-08110686 launched on Node cn-jenkins-deploy-platform-ansible-os-3514-1
2025-06-22 18:23:18,696 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5fc6659d-1203-4d43-aa27-392c92bdfafd
2025-06-22 18:23:18,704 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/52cf716d-2796-42cf-b376-82ff93f5949a
2025-06-22 18:23:19,942 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.321 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.321/2.139/3.958/1.818 ms')
2025-06-22 18:23:19,942 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-89119977-08110686 passed
2025-06-22 18:23:20,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-22 18:23:20,091 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89119977-08110686, IP 116.233.55.131, Port 22
2025-06-22 18:23:20,269 - DEBUG - VM ctest-TestRoutersBasic-89119977-08110686 is ready for SSH connections
2025-06-22 18:23:20,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-22 18:23:20,269 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.233.55.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-06-22 18:23:20,269 - DEBUG - ping -s 56 -c 3 -W 1 116.233.55.131
2025-06-22 18:23:24,228 - DEBUG - PING 116.233.55.131 (116.233.55.131): 56 data bytes
64 bytes from 116.233.55.131: seq=0 ttl=62 time=5.532 ms
64 bytes from 116.233.55.131: seq=1 ttl=62 time=1.034 ms
64 bytes from 116.233.55.131: seq=2 ttl=62 time=0.873 ms
--- 116.233.55.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.873/2.479/5.532 ms
2025-06-22 18:23:24,228 - INFO - Ping to IP 116.233.55.131 from VM ctest-TestRoutersBasic-89119977-52665531 passed
2025-06-22 18:23:24,228 - INFO - Deleting interface with subnet_id 56df6844-53c9-48f5-a4bc-082a4214fafa, port_id None from router 26682ca8-d7b7-4ed7-9843-2e309e769450
2025-06-22 18:23:24,408 - INFO - Deleting VM ctest-TestRoutersBasic-89119977-08110686
2025-06-22 18:23:24,472 - INFO - Deleting VM ctest-TestRoutersBasic-89119977-52665531
2025-06-22 18:23:24,543 - INFO - Deleting VN ctest-ext_vn-33655714
2025-06-22 18:23:24,600 - DEBUG - VN bd5ea79c-b0d7-4259-887c-f4096b8b2f33 still in use: Unable to complete operation on network bd5ea79c-b0d7-4259-887c-f4096b8b2f33. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-57a42bf5-2d62-425e-bf49-409ae9a4eb8c']
2025-06-22 18:23:24,601 - WARNING - Deleting VN ctest-ext_vn-33655714 failed..Will retry
2025-06-22 18:23:26,697 - DEBUG - Response for deleting network ()
2025-06-22 18:23:26,697 - INFO - Deleting VN ctest-vn-55124595
2025-06-22 18:23:26,798 - DEBUG - Response for deleting network ()
2025-06-22 18:23:27,053 - DEBUG - No XMPP flaps were noticed during the test
2025-06-22 18:23:27,053 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-22 18:23:27,053 - INFO - --------------------------------------------------------------------------------
2025-06-22 18:23:27,715 - INFO - Deleted project: ctest-TestRoutersBasic-89119977, ID : fd61a559-e387-4f12-bb61-f4726f71bb77