2025-07-21 02:24:24,760 - INFO - Domain Default found not creating
2025-07-21 02:24:24,921 - INFO - Project ctest-TestRoutersBasic-39317139 not found, creating it
2025-07-21 02:24:25,395 - INFO - Created Project:ctest-TestRoutersBasic-39317139, ID : b604b3a6-4feb-47ed-8a68-f046aa090f85
2025-07-21 02:24:26,833 - INFO - ================================================================================
2025-07-21 02:24:26,833 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-21 02:24:26,833 - 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 02:24:27,091 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with
2025-07-21 02:24:27,091 - INFO - Initial checks done. Running the testcase now
2025-07-21 02:24:27,091 - INFO -
2025-07-21 02:24:27,800 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-39317139
2025-07-21 02:24:27,901 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-39317139
2025-07-21 02:24:28,225 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39317139', 'default']}
2025-07-21 02:24:28,532 - DEBUG - Response for create_network : {'network': {'id': '6288f4c4-9694-4712-b54f-8eaa9638a44a', 'name': 'ctest-vn-53373483', 'tenant_id': 'b604b3a64feb47ed8a68f046aa090f85', 'project_id': 'b604b3a64feb47ed8a68f046aa090f85', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39317139', 'ctest-vn-53373483'], 'port_security_enabled': True, 'description': ''}}
2025-07-21 02:24:28,750 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd113ee0-ddd2-4e5d-96cc-347713a6a2be', 'name': '', 'tenant_id': 'b604b3a64feb47ed8a68f046aa090f85', 'network_id': '6288f4c4-9694-4712-b54f-8eaa9638a44a', 'ip_version': 4, 'cidr': '96.219.201.128/26', 'allocation_pools': [{'start': '96.219.201.130', 'end': '96.219.201.190'}], 'gateway_ip': '96.219.201.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.219.201.130', 'tags': [], 'project_id': 'b604b3a64feb47ed8a68f046aa090f85'}}
2025-07-21 02:24:28,768 - INFO - Created VN ctest-vn-53373483
2025-07-21 02:24:28,821 - DEBUG - VN ctest-vn-53373483 UUID is 6288f4c4-9694-4712-b54f-8eaa9638a44a
2025-07-21 02:24:29,279 - DEBUG - Response for create_network : {'network': {'id': 'db08021a-b3ac-483a-82fa-fa615cf04b3e', 'name': 'ctest-ext_vn-43951390', 'tenant_id': 'b604b3a64feb47ed8a68f046aa090f85', 'project_id': 'b604b3a64feb47ed8a68f046aa090f85', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39317139', 'ctest-ext_vn-43951390'], 'port_security_enabled': True, 'description': ''}}
2025-07-21 02:24:29,440 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e50c002f-fb5a-40b7-9e5b-19089fb01525', 'name': '', 'tenant_id': 'b604b3a64feb47ed8a68f046aa090f85', 'network_id': 'db08021a-b3ac-483a-82fa-fa615cf04b3e', 'ip_version': 4, 'cidr': '139.236.179.128/26', 'allocation_pools': [{'start': '139.236.179.130', 'end': '139.236.179.190'}], 'gateway_ip': '139.236.179.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.236.179.130', 'tags': [], 'project_id': 'b604b3a64feb47ed8a68f046aa090f85'}}
2025-07-21 02:24:29,458 - INFO - Created VN ctest-ext_vn-43951390
2025-07-21 02:24:29,513 - DEBUG - VN ctest-ext_vn-43951390 UUID is db08021a-b3ac-483a-82fa-fa615cf04b3e
2025-07-21 02:24:29,695 - DEBUG - Services list from nova: [, , ]
2025-07-21 02:24:30,831 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3676-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3676-1)
2025-07-21 02:24:32,018 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3676-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3676-1)
2025-07-21 02:24:32,089 - INFO - Setting gateway for router bf025a7e-55c7-4741-9eb2-333d4833f4ea to network db08021a-b3ac-483a-82fa-fa615cf04b3e
2025-07-21 02:24:32,153 - INFO - Adding interface with subnet_id bd113ee0-ddd2-4e5d-96cc-347713a6a2be, port_id None to router bf025a7e-55c7-4741-9eb2-333d4833f4ea
2025-07-21 02:24:32,552 - INFO - Waiting for VM ctest-TestRoutersBasic-39317139-31957512 to be up..
2025-07-21 02:24:32,702 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-21 02:24:37,785 - DEBUG - VM is in ACTIVE state now
2025-07-21 02:24:37,785 - INFO - VM name : ctest-TestRoutersBasic-39317139-31957512
2025-07-21 02:24:37,885 - DEBUG - VM ctest-TestRoutersBasic-39317139-31957512 ID is 87b058be-ca9d-47c4-ac75-be5364bf5027
2025-07-21 02:24:37,905 - DEBUG - VM ctest-TestRoutersBasic-39317139-31957512 launched on Node cn-jenkins-deploy-platform-ansible-os-3676-1
2025-07-21 02:24:37,984 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/87b058be-ca9d-47c4-ac75-be5364bf5027
2025-07-21 02:24:38,278 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/87b058be-ca9d-47c4-ac75-be5364bf5027
2025-07-21 02:24:38,324 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/dd5ad5c2-8b75-4d0b-853c-fc5287faefc5
2025-07-21 02:24:41,572 - 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 1006ms')
2025-07-21 02:24:41,572 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-39317139-31957512 failed!
2025-07-21 02:24:41,629 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-39317139:ctest-vn-53373483 is 96.219.201.129 and allocation pool is NOT set
2025-07-21 02:24:43,692 - 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=3.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.519 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.519/2.161/3.803/1.642 ms')
2025-07-21 02:24:43,692 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-39317139-31957512 passed
2025-07-21 02:24:43,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-21 02:24:43,849 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39317139-31957512, IP 96.219.201.131, Port 22
2025-07-21 02:24:44,005 - DEBUG - VM ctest-TestRoutersBasic-39317139-31957512 is ready for SSH connections
2025-07-21 02:24:44,005 - INFO - Waiting for VM ctest-TestRoutersBasic-39317139-37323384 to be up..
2025-07-21 02:24:44,079 - DEBUG - VM is in ACTIVE state now
2025-07-21 02:24:44,079 - INFO - VM name : ctest-TestRoutersBasic-39317139-37323384
2025-07-21 02:24:44,149 - DEBUG - VM ctest-TestRoutersBasic-39317139-37323384 ID is b542e584-1d19-47dd-b809-255872272c38
2025-07-21 02:24:44,149 - DEBUG - VM ctest-TestRoutersBasic-39317139-37323384 launched on Node cn-jenkins-deploy-platform-ansible-os-3676-1
2025-07-21 02:24:44,231 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b542e584-1d19-47dd-b809-255872272c38
2025-07-21 02:24:44,241 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/7df1263a-d7b4-417e-ac48-952a3034aae2
2025-07-21 02:24:45,477 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.376 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.376/1.832/3.288/1.456 ms')
2025-07-21 02:24:45,477 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-39317139-37323384 passed
2025-07-21 02:24:45,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-21 02:24:45,629 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39317139-37323384, IP 139.236.179.131, Port 22
2025-07-21 02:24:45,784 - DEBUG - VM ctest-TestRoutersBasic-39317139-37323384 is ready for SSH connections
2025-07-21 02:24:45,785 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-21 02:24:45,785 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.236.179.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-07-21 02:24:45,785 - DEBUG - ping -s 56 -c 3 -W 1 139.236.179.131
2025-07-21 02:24:49,830 - DEBUG - PING 139.236.179.131 (139.236.179.131): 56 data bytes
64 bytes from 139.236.179.131: seq=0 ttl=62 time=6.849 ms
64 bytes from 139.236.179.131: seq=1 ttl=62 time=0.795 ms
64 bytes from 139.236.179.131: seq=2 ttl=62 time=1.148 ms
--- 139.236.179.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.795/2.930/6.849 ms
2025-07-21 02:24:49,830 - INFO - Ping to IP 139.236.179.131 from VM ctest-TestRoutersBasic-39317139-31957512 passed
2025-07-21 02:24:49,830 - INFO - Deleting interface with subnet_id bd113ee0-ddd2-4e5d-96cc-347713a6a2be, port_id None from router bf025a7e-55c7-4741-9eb2-333d4833f4ea
2025-07-21 02:24:50,040 - INFO - Deleting VM ctest-TestRoutersBasic-39317139-37323384
2025-07-21 02:24:50,110 - INFO - Deleting VM ctest-TestRoutersBasic-39317139-31957512
2025-07-21 02:24:50,192 - INFO - Deleting VN ctest-ext_vn-43951390
2025-07-21 02:24:50,259 - DEBUG - VN db08021a-b3ac-483a-82fa-fa615cf04b3e still in use: Unable to complete operation on network db08021a-b3ac-483a-82fa-fa615cf04b3e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-858869f2-2cda-4f3a-99da-5568d39b760b']
2025-07-21 02:24:50,259 - WARNING - Deleting VN ctest-ext_vn-43951390 failed..Will retry
2025-07-21 02:24:52,376 - DEBUG - Response for deleting network ()
2025-07-21 02:24:52,377 - INFO - Deleting VN ctest-vn-53373483
2025-07-21 02:24:52,482 - DEBUG - Response for deleting network ()
2025-07-21 02:24:52,735 - DEBUG - No XMPP flaps were noticed during the test
2025-07-21 02:24:52,735 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-21 02:24:52,735 - INFO - --------------------------------------------------------------------------------
2025-07-21 02:24:53,422 - INFO - Deleted project: ctest-TestRoutersBasic-39317139, ID : b604b3a6-4feb-47ed-8a68-f046aa090f85