2024-09-02 02:35:46,291 - INFO - Reading existing Domain with UUID defd8f32-afd5-4b15-a3c8-9368d3af4005 2024-09-02 02:35:46,302 - INFO - Using existing domain ['admin_domain'](defd8f32-afd5-4b15-a3c8-9368d3af4005) 2024-09-02 02:35:46,486 - INFO - Project ctest-TestBasicVMVN-13907368 not found, creating it 2024-09-02 02:35:47,251 - INFO - Created Project:ctest-TestBasicVMVN-13907368, ID : 4a9c53b3-4de3-4dfe-8149-4a8291132214 2024-09-02 02:35:49,985 - INFO - ================================================================================ 2024-09-02 02:35:49,985 - INFO - STARTING TEST : test_generic_link_local_service 2024-09-02 02:35:49,985 - INFO - TEST DESCRIPTION : Description: Test to validate generic linklocal service - running nova list from vm. 1.Create generic link local service to be able to wget to jenkins 2.Create a vm 3.Try wget to jenkins - passes if successful else fails Maintainer: sandipd@juniper.net 2024-09-02 02:35:50,371 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.0.0.24': '0'}} with 2024-09-02 02:35:50,371 - INFO - Initial checks done. Running the testcase now 2024-09-02 02:35:50,371 - INFO - 2024-09-02 02:35:51,142 - DEBUG - Response for create_network : {'network': {'id': '01a1772e-d277-45d2-813c-631c13351f4b', 'name': 'ctest-vn2_metadata-09345782', 'tenant_id': '4a9c53b34de34dfe81494a8291132214', 'project_id': '4a9c53b34de34dfe81494a8291132214', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVN-13907368', 'ctest-vn2_metadata-09345782'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2024-09-02 02:35:51,342 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c478554-1e22-4db0-904b-0cd61b70051f', 'name': '', 'tenant_id': '4a9c53b34de34dfe81494a8291132214', 'network_id': '01a1772e-d277-45d2-813c-631c13351f4b', 'ip_version': 4, 'cidr': '11.1.1.0/24', 'allocation_pools': [{'start': '11.1.1.2', 'end': '11.1.1.254'}], 'gateway_ip': '11.1.1.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2024-09-02T02:35:51.242794', 'updated_at': '2024-09-02T02:35:51.242794', 'dns_server_address': '11.1.1.2', 'tags': [], 'project_id': '4a9c53b34de34dfe81494a8291132214'}} 2024-09-02 02:35:51,403 - INFO - Created VN ctest-vn2_metadata-09345782 2024-09-02 02:35:51,457 - DEBUG - VN ctest-vn2_metadata-09345782 UUID is 01a1772e-d277-45d2-813c-631c13351f4b 2024-09-02 02:35:51,789 - DEBUG - Services list from nova: [, , ] 2024-09-02 02:35:53,535 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-390-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-390-1) 2024-09-02 02:35:53,645 - DEBUG - Link local service introspect added 2024-09-02 02:35:53,751 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-02 02:35:58,889 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-02 02:36:04,025 - DEBUG - VM is in ACTIVE state now 2024-09-02 02:36:04,187 - INFO - Waiting for VM ctest-TestBasicVMVN-13907368-64695302 to be up.. 2024-09-02 02:36:04,188 - INFO - VM name : ctest-TestBasicVMVN-13907368-64695302 2024-09-02 02:36:04,329 - DEBUG - VM ctest-TestBasicVMVN-13907368-64695302 ID is e1dabc7c-72b8-4cdc-b100-315b1671fec4 2024-09-02 02:36:04,329 - DEBUG - VM ctest-TestBasicVMVN-13907368-64695302 launched on Node cn-jenkins-deploy-platform-juju-os-390-1 2024-09-02 02:36:04,472 - DEBUG - Requesting: https://10.0.0.24:8082/virtual-machine/e1dabc7c-72b8-4cdc-b100-315b1671fec4 2024-09-02 02:36:04,815 - DEBUG - Requesting: https://10.0.0.24:8082/virtual-machine/e1dabc7c-72b8-4cdc-b100-315b1671fec4 2024-09-02 02:36:04,894 - DEBUG - Requesting: https://10.0.0.24:8082/virtual-machine-interface/39078933-209c-4518-9c28-b92fd7ff4708 2024-09-02 02:36:08,383 - 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 1024ms') 2024-09-02 02:36:08,383 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-13907368-64695302 failed! 2024-09-02 02:36:08,441 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVN-13907368:ctest-vn2_metadata-09345782 is 11.1.1.1 and allocation pool is NOT set 2024-09-02 02:36:10,527 - 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=10.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.54 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.543/6.308/10.073/3.765 ms') 2024-09-02 02:36:10,527 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-13907368-64695302 passed 2024-09-02 02:36:10,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:36:10,678 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-13907368-64695302, IP 11.1.1.3, Port 22 2024-09-02 02:36:10,763 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-09-02 02:36:10,911 - DEBUG - VM ctest-TestBasicVMVN-13907368-64695302 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-02 02:36:15,912 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:36:15,912 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-13907368-64695302, IP 11.1.1.3, Port 22 2024-09-02 02:36:16,125 - DEBUG - VM ctest-TestBasicVMVN-13907368-64695302 is ready for SSH connections 2024-09-02 02:36:16,125 - INFO - Retry 0 2024-09-02 02:36:16,125 - DEBUG - Running remote_cmd, Cmd : wget http://169.254.1.2:8083 --spider && echo "Successful", host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-09-02 02:36:16,125 - DEBUG - wget http://169.254.1.2:8083 --spider && echo "Successful" 2024-09-02 02:36:17,745 - DEBUG - Connecting to 169.254.1.2:8083 (169.254.1.2:8083) wget: no response from server 2024-09-02 02:36:17,745 - INFO - Generic metadata worked 2024-09-02 02:36:18,037 - DEBUG - Link local service introspect removed 2024-09-02 02:36:18,037 - INFO - Deleting VM ctest-TestBasicVMVN-13907368-64695302 2024-09-02 02:36:19,511 - INFO - Deleting VN ctest-vn2_metadata-09345782 2024-09-02 02:36:19,648 - DEBUG - VN 01a1772e-d277-45d2-813c-631c13351f4b still in use: Unable to complete operation on network 01a1772e-d277-45d2-813c-631c13351f4b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-208088ba-ad7b-4cc4-b6ec-3e22f85f4395'] 2024-09-02 02:36:19,649 - WARNING - Deleting VN ctest-vn2_metadata-09345782 failed..Will retry 2024-09-02 02:36:21,792 - DEBUG - VN 01a1772e-d277-45d2-813c-631c13351f4b still in use: Unable to complete operation on network 01a1772e-d277-45d2-813c-631c13351f4b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1396921f-0f73-45f7-a22a-ad17fb12f830'] 2024-09-02 02:36:21,793 - WARNING - Deleting VN ctest-vn2_metadata-09345782 failed..Will retry 2024-09-02 02:36:23,973 - DEBUG - Response for deleting network () 2024-09-02 02:36:26,227 - DEBUG - No XMPP flaps were noticed during the test 2024-09-02 02:36:26,227 - INFO - END TEST : test_generic_link_local_service : PASSED[0:00:37] 2024-09-02 02:36:26,227 - INFO - -------------------------------------------------------------------------------- 2024-09-02 02:36:26,230 - INFO - ================================================================================ 2024-09-02 02:36:26,230 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2024-09-02 02:36:26,230 - INFO - TEST DESCRIPTION : Description: Validate Ping between 2 VMs in the same VN, 2 VMs in different VN subnets. Test steps: 1. Create 1 IPAM's. 2. Create 1 VN with 2 subnets and launch 2 VMs in them. 3. Ping between the VMs in the same VN should go thru fine. 4. Ping to the subnet broadcast and all-broadcast address. Pass criteria: VM in the same subnet will respond to both the pings, while the VM in a different VN should respond only to the all-broadcast address. Maintainer : ganeshahv@juniper.net 2024-09-02 02:36:26,611 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.0.0.24': '0'}} with 2024-09-02 02:36:26,611 - INFO - Initial checks done. Running the testcase now 2024-09-02 02:36:26,611 - INFO - 2024-09-02 02:36:28,994 - DEBUG - Response for create_network : {'network': {'id': '85956bba-b3ed-4fbf-9044-fb7a04aa1434', 'name': 'ctest-vn-38091290', 'tenant_id': '4a9c53b34de34dfe81494a8291132214', 'project_id': '4a9c53b34de34dfe81494a8291132214', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVN-13907368', 'ctest-vn-38091290'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2024-09-02 02:36:29,223 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0def491-4bf2-47c7-9ff4-ac795f4d36ea', 'name': '', 'tenant_id': '4a9c53b34de34dfe81494a8291132214', 'network_id': '85956bba-b3ed-4fbf-9044-fb7a04aa1434', 'ip_version': 4, 'cidr': '31.1.1.0/29', 'allocation_pools': [{'start': '31.1.1.2', 'end': '31.1.1.6'}], 'gateway_ip': '31.1.1.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2024-09-02T02:36:29.116614', 'updated_at': '2024-09-02T02:36:29.116614', 'dns_server_address': '31.1.1.2', 'tags': [], 'project_id': '4a9c53b34de34dfe81494a8291132214'}} 2024-09-02 02:36:29,446 - DEBUG - Response for create_subnet : {'subnet': {'id': '72f3910a-81e0-4a29-9b04-fd2df3e6e965', 'name': '', 'tenant_id': '4a9c53b34de34dfe81494a8291132214', 'network_id': '85956bba-b3ed-4fbf-9044-fb7a04aa1434', 'ip_version': 4, 'cidr': '31.1.2.0/29', 'allocation_pools': [{'start': '31.1.2.2', 'end': '31.1.2.6'}], 'gateway_ip': '31.1.2.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2024-09-02T02:36:29.350744', 'updated_at': '2024-09-02T02:36:29.350744', 'dns_server_address': '31.1.2.2', 'tags': [], 'project_id': '4a9c53b34de34dfe81494a8291132214'}} 2024-09-02 02:36:29,512 - INFO - Created VN ctest-vn-38091290 2024-09-02 02:36:29,522 - DEBUG - VN ctest-vn-38091290 UUID is 85956bba-b3ed-4fbf-9044-fb7a04aa1434 2024-09-02 02:36:30,226 - DEBUG - Response for create_port : {'port': {'name': '9c54047a-4423-4e2c-b79d-be42dbd6727c', 'id': '9c54047a-4423-4e2c-b79d-be42dbd6727c', 'tenant_id': '4a9c53b34de34dfe81494a8291132214', 'network_id': '85956bba-b3ed-4fbf-9044-fb7a04aa1434', 'mac_address': '02:9c:54:04:7a:44', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '31.1.1.4', 'subnet_id': 'e0def491-4bf2-47c7-9ff4-ac795f4d36ea'}], 'security_groups': ['ea54ba72-4419-4e81-9208-3543019754bd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2024-09-02T02:36:30.062183', 'updated_at': '2024-09-02T02:36:30.122814', 'project_id': '4a9c53b34de34dfe81494a8291132214'}} 2024-09-02 02:36:30,478 - DEBUG - Response for create_port : {'port': {'name': '85274ff5-26fc-4860-a37c-719cfc133713', 'id': '85274ff5-26fc-4860-a37c-719cfc133713', 'tenant_id': '4a9c53b34de34dfe81494a8291132214', 'network_id': '85956bba-b3ed-4fbf-9044-fb7a04aa1434', 'mac_address': '02:85:27:4f:f5:26', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '31.1.2.4', 'subnet_id': '72f3910a-81e0-4a29-9b04-fd2df3e6e965'}], 'security_groups': ['ea54ba72-4419-4e81-9208-3543019754bd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2024-09-02T02:36:30.283128', 'updated_at': '2024-09-02T02:36:30.346187', 'project_id': '4a9c53b34de34dfe81494a8291132214'}} 2024-09-02 02:36:31,282 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-390-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-390-1) 2024-09-02 02:36:32,082 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-390-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-390-1) 2024-09-02 02:36:33,327 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-390-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-390-1) 2024-09-02 02:36:33,328 - DEBUG - Requesting: https://10.0.0.24:8082/domains 2024-09-02 02:36:33,387 - DEBUG - Requesting: https://10.0.0.24:8082/domain/defd8f32-afd5-4b15-a3c8-9368d3af4005 2024-09-02 02:36:33,467 - DEBUG - Requesting: https://10.0.0.24:8082/project/4a9c53b3-4de3-4dfe-8149-4a8291132214 2024-09-02 02:36:33,567 - DEBUG - Requesting: https://10.0.0.24:8082/network-ipam/1d448d01-ee4d-4711-bc0f-84d5b39b3bb0 2024-09-02 02:36:33,638 - INFO - Verifications in API Server for IPAM: ctest-ipam-29610293 passed 2024-09-02 02:36:33,693 - DEBUG - Control-node 10.0.0.24 : IPAM object is : {'node_name': 'network-ipam:admin_domain:ctest-TestBasicVMVN-13907368:ctest-ipam-29610293', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-13907368', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2108965564948760337', 'uuid-lslong': '13551195857157307312'}, 'enable': 'true', 'created': '2024-09-02T02:36:28', 'last-modified': '2024-09-02T02:36:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:05.051015'} 2024-09-02 02:36:33,694 - INFO - Verifications in Control node for IPAM: ctest-ipam-29610293 passed 2024-09-02 02:36:33,698 - DEBUG - Requesting: https://10.0.0.24:8082/domains 2024-09-02 02:36:33,758 - DEBUG - Requesting: https://10.0.0.24:8082/domain/defd8f32-afd5-4b15-a3c8-9368d3af4005 2024-09-02 02:36:33,815 - DEBUG - Requesting: https://10.0.0.24:8082/project/4a9c53b3-4de3-4dfe-8149-4a8291132214 2024-09-02 02:36:33,891 - DEBUG - Requesting: https://10.0.0.24:8082/virtual-network/85956bba-b3ed-4fbf-9044-fb7a04aa1434 2024-09-02 02:36:33,949 - DEBUG - Requesting: https://10.0.0.24:8082/virtual-network/85956bba-b3ed-4fbf-9044-fb7a04aa1434 2024-09-02 02:36:34,004 - DEBUG - Requesting: https://10.0.0.24:8082/routing-instance/6927cdd2-36e1-43d8-9536-745d4c39fda1 2024-09-02 02:36:34,059 - DEBUG - Requesting: https://10.0.0.24:8082/routing-instance/6927cdd2-36e1-43d8-9536-745d4c39fda1 2024-09-02 02:36:34,111 - DEBUG - Requesting: https://10.0.0.24:8082/route-target/e88052c7-1eb4-4213-8551-6aadba372a85 2024-09-02 02:36:34,162 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-02 02:36:34,162 - DEBUG - Requesting: https://10.0.0.24:8082/virtual-network/85956bba-b3ed-4fbf-9044-fb7a04aa1434 2024-09-02 02:36:34,216 - DEBUG - Requesting: https://10.0.0.24:8082/routing-instance/6927cdd2-36e1-43d8-9536-745d4c39fda1 2024-09-02 02:36:34,281 - INFO - Verified VN network id 7 for VN 85956bba-b3ed-4fbf-9044-fb7a04aa1434 2024-09-02 02:36:34,281 - INFO - Verifications in API Server for VN ctest-vn-38091290 passed 2024-09-02 02:36:34,281 - DEBUG - Requesting: https://10.0.0.24:8082/virtual-network/85956bba-b3ed-4fbf-9044-fb7a04aa1434 2024-09-02 02:36:34,340 - DEBUG - Requesting: https://10.0.0.24:8082/routing-instance/6927cdd2-36e1-43d8-9536-745d4c39fda1 2024-09-02 02:36:34,396 - DEBUG - Requesting: https://10.0.0.24:8082/routing-instance/6927cdd2-36e1-43d8-9536-745d4c39fda1 2024-09-02 02:36:34,455 - DEBUG - Requesting: https://10.0.0.24:8082/route-target/e88052c7-1eb4-4213-8551-6aadba372a85 2024-09-02 02:36:34,562 - DEBUG - Control-node 10.0.0.24 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicVMVN-13907368:ctest-vn-38091290', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-13907368', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9625718228201066431', 'uuid-lslong': '10395710341360784436'}, 'enable': 'true', 'created': '2024-09-02T02:36:28', 'last-modified': '2024-09-02T02:36:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:05.144814'} 2024-09-02 02:36:34,615 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-02 02:36:34,615 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38091290 passed 2024-09-02 02:36:34,616 - DEBUG - ====Verifying policy data for ctest-vn-38091290 in API_Server ====== 2024-09-02 02:36:34,616 - DEBUG - Requesting: https://10.0.0.24:8082/domains 2024-09-02 02:36:34,674 - DEBUG - Requesting: https://10.0.0.24:8082/domain/defd8f32-afd5-4b15-a3c8-9368d3af4005 2024-09-02 02:36:34,735 - DEBUG - Requesting: https://10.0.0.24:8082/project/4a9c53b3-4de3-4dfe-8149-4a8291132214 2024-09-02 02:36:34,816 - DEBUG - Requesting: https://10.0.0.24:8082/virtual-network/85956bba-b3ed-4fbf-9044-fb7a04aa1434 2024-09-02 02:36:34,874 - DEBUG - =>VN ctest-vn-38091290 has no policy to be verified 2024-09-02 02:36:34,874 - DEBUG - Verifying the vn in opserver 2024-09-02 02:36:34,874 - DEBUG - Verifying the admin_domain:ctest-TestBasicVMVN-13907368:ctest-vn-38091290 virtual network link through opserver 10.0.0.24 2024-09-02 02:36:34,874 - DEBUG - Requesting: https://10.0.0.24:8081/analytics/uves/virtual-networks 2024-09-02 02:36:35,236 - DEBUG - Requesting: https://10.0.0.24:8081/analytics/uves/virtual-networks 2024-09-02 02:36:35,374 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicVMVN-13907368:ctest-vn-38091290', 'href': 'https://10.0.0.24:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicVMVN-13907368:ctest-vn-38091290?flat'} 2024-09-02 02:36:35,374 - INFO - Validated that VN admin_domain:ctest-TestBasicVMVN-13907368:ctest-vn-38091290 is found in opserver 2024-09-02 02:36:35,478 - DEBUG - Do not have enough data to verify VN in agent 2024-09-02 02:36:35,526 - DEBUG - VRF ids for VN ctest-vn-38091290: {} 2024-09-02 02:36:35,526 - INFO - Waiting for VM ctest-TestBasicVMVN-13907368-43369024 to be up.. 2024-09-02 02:36:35,668 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-02 02:36:40,811 - DEBUG - VM is in ACTIVE state now 2024-09-02 02:36:40,811 - INFO - VM name : ctest-TestBasicVMVN-13907368-43369024 2024-09-02 02:36:40,950 - DEBUG - VM ctest-TestBasicVMVN-13907368-43369024 ID is 519dc77f-b917-4333-a17c-2646f7f2ea66 2024-09-02 02:36:40,950 - DEBUG - VM ctest-TestBasicVMVN-13907368-43369024 launched on Node cn-jenkins-deploy-platform-juju-os-390-1 2024-09-02 02:36:41,090 - DEBUG - Requesting: https://10.0.0.24:8082/virtual-machine/519dc77f-b917-4333-a17c-2646f7f2ea66 2024-09-02 02:36:41,150 - DEBUG - Requesting: https://10.0.0.24:8082/virtual-machine-interface/9c54047a-4423-4e2c-b79d-be42dbd6727c 2024-09-02 02:36:44,637 - 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 1028ms') 2024-09-02 02:36:44,638 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-13907368-43369024 failed! 2024-09-02 02:36:44,693 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVN-13907368:ctest-vn-38091290 is 31.1.1.1 and allocation pool is NOT set 2024-09-02 02:36:44,693 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVN-13907368:ctest-vn-38091290 is 31.1.2.1 and allocation pool is NOT set 2024-09-02 02:36:48,793 - 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=2 ttl=63 time=11.1 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 11.145/11.145/11.145/0.000 ms') 2024-09-02 02:36:48,794 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-13907368-43369024 passed 2024-09-02 02:36:48,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:36:48,962 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-13907368-43369024, IP 31.1.1.4, Port 22 2024-09-02 02:36:49,177 - DEBUG - VM ctest-TestBasicVMVN-13907368-43369024 is ready for SSH connections 2024-09-02 02:36:49,177 - INFO - Waiting for VM ctest-TestBasicVMVN-13907368-38288577 to be up.. 2024-09-02 02:36:49,347 - DEBUG - VM is in ACTIVE state now 2024-09-02 02:36:49,347 - INFO - VM name : ctest-TestBasicVMVN-13907368-38288577 2024-09-02 02:36:49,489 - DEBUG - VM ctest-TestBasicVMVN-13907368-38288577 ID is 02e9a257-2993-4ec4-b2e1-ab865ad490a5 2024-09-02 02:36:49,489 - DEBUG - VM ctest-TestBasicVMVN-13907368-38288577 launched on Node cn-jenkins-deploy-platform-juju-os-390-1 2024-09-02 02:36:49,624 - DEBUG - Requesting: https://10.0.0.24:8082/virtual-machine/02e9a257-2993-4ec4-b2e1-ab865ad490a5 2024-09-02 02:36:49,682 - DEBUG - Requesting: https://10.0.0.24:8082/virtual-machine-interface/85274ff5-26fc-4860-a37c-719cfc133713 2024-09-02 02:36:51,133 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.371 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.371/2.006/3.642/1.635 ms') 2024-09-02 02:36:51,133 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVN-13907368-38288577 passed 2024-09-02 02:36:51,289 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:36:51,290 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-13907368-38288577, IP 31.1.2.4, Port 22 2024-09-02 02:36:51,511 - DEBUG - VM ctest-TestBasicVMVN-13907368-38288577 is ready for SSH connections 2024-09-02 02:36:51,511 - INFO - Waiting for VM ctest-TestBasicVMVN-13907368-80436625 to be up.. 2024-09-02 02:36:51,708 - DEBUG - VM is in ACTIVE state now 2024-09-02 02:36:51,708 - INFO - VM name : ctest-TestBasicVMVN-13907368-80436625 2024-09-02 02:36:51,863 - DEBUG - VM ctest-TestBasicVMVN-13907368-80436625 ID is 0e50f3ec-aa66-404a-8b6f-b57d896ba65b 2024-09-02 02:36:51,863 - DEBUG - VM ctest-TestBasicVMVN-13907368-80436625 launched on Node cn-jenkins-deploy-platform-juju-os-390-1 2024-09-02 02:36:52,003 - DEBUG - Requesting: https://10.0.0.24:8082/virtual-machine/0e50f3ec-aa66-404a-8b6f-b57d896ba65b 2024-09-02 02:36:52,063 - DEBUG - Requesting: https://10.0.0.24:8082/virtual-machine-interface/c2797737-682b-4c9f-beed-7a22cf8a2bd2 2024-09-02 02:36:53,526 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=3.69 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.340 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.340/2.012/3.685/1.672 ms') 2024-09-02 02:36:53,526 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestBasicVMVN-13907368-80436625 passed 2024-09-02 02:36:53,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:36:53,677 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-13907368-80436625, IP 31.1.1.3, Port 22 2024-09-02 02:36:53,884 - DEBUG - VM ctest-TestBasicVMVN-13907368-80436625 is ready for SSH connections 2024-09-02 02:36:53,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:36:53,884 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.1.2.4, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-09-02 02:36:53,884 - DEBUG - ping -s 56 -c 3 -W 1 31.1.2.4 2024-09-02 02:36:57,556 - DEBUG - PING 31.1.2.4 (31.1.2.4): 56 data bytes 64 bytes from 31.1.2.4: seq=0 ttl=63 time=3.610 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=0.773 ms 64 bytes from 31.1.2.4: seq=2 ttl=63 time=1.708 ms --- 31.1.2.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.773/2.030/3.610 ms 2024-09-02 02:36:57,556 - INFO - Ping to IP 31.1.2.4 from VM ctest-TestBasicVMVN-13907368-43369024 passed 2024-09-02 02:36:57,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:36:57,556 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.1.1.4, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-09-02 02:36:57,556 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.4 2024-09-02 02:37:01,190 - DEBUG - PING 31.1.1.4 (31.1.1.4): 56 data bytes 64 bytes from 31.1.1.4: seq=0 ttl=63 time=2.791 ms 64 bytes from 31.1.1.4: seq=1 ttl=63 time=0.838 ms 64 bytes from 31.1.1.4: seq=2 ttl=63 time=0.875 ms --- 31.1.1.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.838/1.501/2.791 ms 2024-09-02 02:37:01,190 - INFO - Ping to IP 31.1.1.4 from VM ctest-TestBasicVMVN-13907368-38288577 passed 2024-09-02 02:37:01,191 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:37:01,191 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:37:01,191 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:37:01,191 - DEBUG - Running remote_cmd, Cmd : echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-09-02 02:37:01,191 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-02 02:37:01,366 - DEBUG - None 2024-09-02 02:37:01,366 - DEBUG - Running remote_cmd, Cmd : echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-09-02 02:37:01,366 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-02 02:37:01,541 - DEBUG - None 2024-09-02 02:37:01,541 - DEBUG - Running remote_cmd, Cmd : echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-09-02 02:37:01,541 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-02 02:37:02,148 - DEBUG - None 2024-09-02 02:37:02,149 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.1.1.7, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-09-02 02:37:02,149 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.7 2024-09-02 02:37:04,350 - DEBUG - PING 31.1.1.7 (31.1.1.7): 56 data bytes 64 bytes from 31.1.1.4: seq=0 ttl=64 time=1.865 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=6.490 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.403 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=2.078 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.399 ms --- 31.1.1.7 ping statistics --- 3 packets transmitted, 3 packets received, 2 duplicates, 0% packet loss round-trip min/avg/max = 0.399/2.247/6.490 ms 2024-09-02 02:37:04,351 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 224.0.0.1, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-09-02 02:37:04,351 - DEBUG - ping -s 56 -c 3 -W 1 224.0.0.1 2024-09-02 02:37:06,580 - DEBUG - PING 224.0.0.1 (224.0.0.1): 56 data bytes 64 bytes from 31.1.1.4: seq=0 ttl=64 time=0.964 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=2.796 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=4.704 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.437 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=2.415 ms (DUP!) 64 bytes from 31.1.1.3: seq=1 ttl=64 time=3.778 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.355 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.355/2.207/4.704 ms 2024-09-02 02:37:06,580 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 255.255.255.255, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-09-02 02:37:06,580 - DEBUG - ping -s 56 -c 3 -W 1 255.255.255.255 2024-09-02 02:37:08,831 - DEBUG - PING 255.255.255.255 (255.255.255.255): 56 data bytes 64 bytes from 31.1.1.4: seq=0 ttl=64 time=0.728 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=3.129 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=4.044 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.655 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=2.578 ms (DUP!) 64 bytes from 31.1.1.3: seq=1 ttl=64 time=3.780 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.451 ms --- 255.255.255.255 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.451/2.195/4.044 ms 2024-09-02 02:37:08,831 - INFO - Deleting VM ctest-TestBasicVMVN-13907368-80436625 2024-09-02 02:37:14,236 - INFO - Detaching port 85274ff5-26fc-4860-a37c-719cfc133713 from VM ctest-TestBasicVMVN-13907368-38288577 2024-09-02 02:37:16,431 - INFO - Deleting VM ctest-TestBasicVMVN-13907368-38288577 2024-09-02 02:37:18,703 - INFO - Detaching port 9c54047a-4423-4e2c-b79d-be42dbd6727c from VM ctest-TestBasicVMVN-13907368-43369024 2024-09-02 02:37:18,786 - INFO - Deleting VM ctest-TestBasicVMVN-13907368-43369024 2024-09-02 02:37:18,894 - INFO - Deleting VN ctest-vn-38091290 2024-09-02 02:37:19,241 - DEBUG - Response for delete_port : () 2024-09-02 02:37:19,528 - DEBUG - Response for delete_port : () 2024-09-02 02:37:20,960 - DEBUG - Response for deleting network () 2024-09-02 02:37:20,960 - DEBUG - Requesting: https://10.0.0.24:8082/routing-instance/6927cdd2-36e1-43d8-9536-745d4c39fda1 2024-09-02 02:37:21,017 - DEBUG - Response Code: 404 2024-09-02 02:37:21,018 - DEBUG - Requesting: https://10.0.0.24:8082/domains 2024-09-02 02:37:21,070 - DEBUG - Requesting: https://10.0.0.24:8082/domain/defd8f32-afd5-4b15-a3c8-9368d3af4005 2024-09-02 02:37:21,127 - DEBUG - Requesting: https://10.0.0.24:8082/project/4a9c53b3-4de3-4dfe-8149-4a8291132214 2024-09-02 02:37:21,207 - INFO - Validated that VN ctest-vn-38091290 is not found in API Server 2024-09-02 02:37:21,310 - DEBUG - VN ctest-vn-38091290 is not present in Agent 10.0.0.24 2024-09-02 02:37:21,310 - INFO - Validated that VN ctest-vn-38091290 is not in any agent 2024-09-02 02:37:21,467 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38091290 info 2024-09-02 02:37:21,557 - INFO - IPAM: ctest-ipam-29610293 is not found in API Server 2024-09-02 02:37:21,662 - INFO - IPAM:ctest-ipam-29610293 is not found in control node 2024-09-02 02:37:22,046 - DEBUG - No XMPP flaps were noticed during the test 2024-09-02 02:37:22,046 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : PASSED[0:00:56] 2024-09-02 02:37:22,046 - INFO - -------------------------------------------------------------------------------- 2024-09-02 02:37:25,394 - INFO - Deleted project: ctest-TestBasicVMVN-13907368, ID : 4a9c53b3-4de3-4dfe-8149-4a8291132214