2025-01-05 13:49:09,751 - INFO - Domain Default found not creating
2025-01-05 13:49:09,881 - INFO - Project ctest-TestRoutersBasic-02337022 not found, creating it
2025-01-05 13:49:10,339 - INFO - Created Project:ctest-TestRoutersBasic-02337022, ID : c9b0d688-4c27-494a-b90b-b802d9492f75
2025-01-05 13:49:11,816 - INFO - ================================================================================
2025-01-05 13:49:11,816 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-05 13:49:11,816 - 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-05 13:49:12,075 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.5': '0'}} with
2025-01-05 13:49:12,076 - INFO - Initial checks done. Running the testcase now
2025-01-05 13:49:12,076 - INFO -
2025-01-05 13:49:12,774 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-02337022
2025-01-05 13:49:12,869 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-02337022
2025-01-05 13:49:13,205 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02337022', 'default']}
2025-01-05 13:49:13,510 - DEBUG - Response for create_network : {'network': {'id': '762ff2d3-f4b1-463a-9e4f-4f2b29b620db', 'name': 'ctest-vn-77906079', 'tenant_id': 'c9b0d6884c27494ab90bb802d9492f75', 'project_id': 'c9b0d6884c27494ab90bb802d9492f75', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02337022', 'ctest-vn-77906079'], 'port_security_enabled': True, 'description': ''}}
2025-01-05 13:49:13,684 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b65987c5-3719-44c8-bf28-5474624f7172', 'name': '', 'tenant_id': 'c9b0d6884c27494ab90bb802d9492f75', 'network_id': '762ff2d3-f4b1-463a-9e4f-4f2b29b620db', 'ip_version': 4, 'cidr': '157.78.221.128/26', 'allocation_pools': [{'start': '157.78.221.130', 'end': '157.78.221.190'}], 'gateway_ip': '157.78.221.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.78.221.130', 'tags': [], 'project_id': 'c9b0d6884c27494ab90bb802d9492f75'}}
2025-01-05 13:49:13,702 - INFO - Created VN ctest-vn-77906079
2025-01-05 13:49:13,753 - DEBUG - VN ctest-vn-77906079 UUID is 762ff2d3-f4b1-463a-9e4f-4f2b29b620db
2025-01-05 13:49:14,112 - DEBUG - Response for create_network : {'network': {'id': '04d638b2-34f3-4f93-84ab-7784511fdad0', 'name': 'ctest-ext_vn-54797697', 'tenant_id': 'c9b0d6884c27494ab90bb802d9492f75', 'project_id': 'c9b0d6884c27494ab90bb802d9492f75', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02337022', 'ctest-ext_vn-54797697'], 'port_security_enabled': True, 'description': ''}}
2025-01-05 13:49:14,326 - DEBUG - Response for create_subnet : {'subnet': {'id': '21c7d2c5-7fd6-43ee-8200-08d6853379d6', 'name': '', 'tenant_id': 'c9b0d6884c27494ab90bb802d9492f75', 'network_id': '04d638b2-34f3-4f93-84ab-7784511fdad0', 'ip_version': 4, 'cidr': '60.77.50.0/26', 'allocation_pools': [{'start': '60.77.50.2', 'end': '60.77.50.62'}], 'gateway_ip': '60.77.50.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.77.50.2', 'tags': [], 'project_id': 'c9b0d6884c27494ab90bb802d9492f75'}}
2025-01-05 13:49:14,346 - INFO - Created VN ctest-ext_vn-54797697
2025-01-05 13:49:14,401 - DEBUG - VN ctest-ext_vn-54797697 UUID is 04d638b2-34f3-4f93-84ab-7784511fdad0
2025-01-05 13:49:14,563 - DEBUG - Services list from nova: [, , ]
2025-01-05 13:49:15,534 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2535-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2535-1)
2025-01-05 13:49:16,687 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2535-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2535-1)
2025-01-05 13:49:17,053 - INFO - Setting gateway for router f974beef-ebdf-42b5-866d-fee6ff2dece0 to network 04d638b2-34f3-4f93-84ab-7784511fdad0
2025-01-05 13:49:17,091 - INFO - Adding interface with subnet_id b65987c5-3719-44c8-bf28-5474624f7172, port_id None to router f974beef-ebdf-42b5-866d-fee6ff2dece0
2025-01-05 13:49:17,483 - INFO - Waiting for VM ctest-TestRoutersBasic-02337022-92871224 to be up..
2025-01-05 13:49:17,664 - DEBUG - VM is in ACTIVE state now
2025-01-05 13:49:17,664 - INFO - VM name : ctest-TestRoutersBasic-02337022-92871224
2025-01-05 13:49:17,756 - DEBUG - VM ctest-TestRoutersBasic-02337022-92871224 ID is 9e937f8e-5ef5-4555-8ea7-0e6ad3262e60
2025-01-05 13:49:17,778 - DEBUG - VM ctest-TestRoutersBasic-02337022-92871224 launched on Node cn-jenkins-deploy-platform-ansible-os-2535-1
2025-01-05 13:49:17,883 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/9e937f8e-5ef5-4555-8ea7-0e6ad3262e60
2025-01-05 13:49:18,178 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/9e937f8e-5ef5-4555-8ea7-0e6ad3262e60
2025-01-05 13:49:18,233 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/940df438-45db-48aa-b38f-2fd447ac8490
2025-01-05 13:49:21,509 - 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 1005ms')
2025-01-05 13:49:21,509 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02337022-92871224 failed!
2025-01-05 13:49:21,569 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-02337022:ctest-vn-77906079 is 157.78.221.129 and allocation pool is NOT set
2025-01-05 13:49:25,639 - 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-05 13:49:25,639 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02337022-92871224 failed!
2025-01-05 13:49:25,693 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-02337022:ctest-vn-77906079 is 157.78.221.129 and allocation pool is NOT set
2025-01-05 13:49:27,754 - 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=13.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.419 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 = 0.419/6.907/13.395/6.488 ms')
2025-01-05 13:49:27,754 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02337022-92871224 passed
2025-01-05 13:49:27,913 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-05 13:49:27,913 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02337022-92871224, IP 157.78.221.131, Port 22
2025-01-05 13:49:28,081 - DEBUG - VM ctest-TestRoutersBasic-02337022-92871224 is ready for SSH connections
2025-01-05 13:49:28,081 - INFO - Waiting for VM ctest-TestRoutersBasic-02337022-24490713 to be up..
2025-01-05 13:49:28,158 - DEBUG - VM is in ACTIVE state now
2025-01-05 13:49:28,158 - INFO - VM name : ctest-TestRoutersBasic-02337022-24490713
2025-01-05 13:49:28,236 - DEBUG - VM ctest-TestRoutersBasic-02337022-24490713 ID is a60958e0-c791-4949-b3ce-293c30791225
2025-01-05 13:49:28,236 - DEBUG - VM ctest-TestRoutersBasic-02337022-24490713 launched on Node cn-jenkins-deploy-platform-ansible-os-2535-1
2025-01-05 13:49:28,315 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/a60958e0-c791-4949-b3ce-293c30791225
2025-01-05 13:49:28,326 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/1b575fef-c7bc-4d75-a138-1fddc25e6a3b
2025-01-05 13:49:29,581 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.420 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.420/2.099/3.779/1.679 ms')
2025-01-05 13:49:29,581 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-02337022-24490713 passed
2025-01-05 13:49:29,733 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-05 13:49:29,733 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02337022-24490713, IP 60.77.50.3, Port 22
2025-01-05 13:49:29,885 - DEBUG - VM ctest-TestRoutersBasic-02337022-24490713 is ready for SSH connections
2025-01-05 13:49:29,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-05 13:49:29,885 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.77.50.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123
2025-01-05 13:49:29,885 - DEBUG - ping -s 56 -c 3 -W 1 60.77.50.3
2025-01-05 13:49:33,812 - DEBUG - PING 60.77.50.3 (60.77.50.3): 56 data bytes
64 bytes from 60.77.50.3: seq=0 ttl=62 time=4.071 ms
64 bytes from 60.77.50.3: seq=1 ttl=62 time=0.730 ms
64 bytes from 60.77.50.3: seq=2 ttl=62 time=1.122 ms
--- 60.77.50.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.730/1.974/4.071 ms
2025-01-05 13:49:33,812 - INFO - Ping to IP 60.77.50.3 from VM ctest-TestRoutersBasic-02337022-92871224 passed
2025-01-05 13:49:33,812 - INFO - Deleting interface with subnet_id b65987c5-3719-44c8-bf28-5474624f7172, port_id None from router f974beef-ebdf-42b5-866d-fee6ff2dece0
2025-01-05 13:49:34,031 - INFO - Deleting VM ctest-TestRoutersBasic-02337022-24490713
2025-01-05 13:49:34,108 - INFO - Deleting VM ctest-TestRoutersBasic-02337022-92871224
2025-01-05 13:49:34,198 - INFO - Deleting VN ctest-ext_vn-54797697
2025-01-05 13:49:34,269 - DEBUG - VN 04d638b2-34f3-4f93-84ab-7784511fdad0 still in use: Unable to complete operation on network 04d638b2-34f3-4f93-84ab-7784511fdad0. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-72d53ae7-51e6-4d22-a6d6-70114b4001b8']
2025-01-05 13:49:34,270 - WARNING - Deleting VN ctest-ext_vn-54797697 failed..Will retry
2025-01-05 13:49:36,372 - DEBUG - Response for deleting network ()
2025-01-05 13:49:36,372 - INFO - Deleting VN ctest-vn-77906079
2025-01-05 13:49:36,476 - DEBUG - Response for deleting network ()
2025-01-05 13:49:36,739 - DEBUG - No XMPP flaps were noticed during the test
2025-01-05 13:49:36,739 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-01-05 13:49:36,739 - INFO - --------------------------------------------------------------------------------
2025-01-05 13:49:37,415 - INFO - Deleted project: ctest-TestRoutersBasic-02337022, ID : c9b0d688-4c27-494a-b90b-b802d9492f75