2024-09-04 11:20:03,478 - INFO - Reading existing Domain with UUID 5fc23b5e-6535-4002-b7dc-a80fda751e6b 2024-09-04 11:20:03,507 - INFO - Using existing domain ['admin_domain'](5fc23b5e-6535-4002-b7dc-a80fda751e6b) 2024-09-04 11:20:03,957 - INFO - Project ctest-TestBasicVMVN-31015741 not found, creating it 2024-09-04 11:20:04,641 - INFO - Created Project:ctest-TestBasicVMVN-31015741, ID : bdbb07a5-8dd0-4696-9eb1-d74701ca4b72 2024-09-04 11:20:07,543 - INFO - ================================================================================ 2024-09-04 11:20:07,544 - INFO - STARTING TEST : test_generic_link_local_service 2024-09-04 11:20:07,544 - 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-04 11:20:08,088 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.0.0.17': '0'}} with 2024-09-04 11:20:08,089 - INFO - Initial checks done. Running the testcase now 2024-09-04 11:20:08,089 - INFO - 2024-09-04 11:20:09,299 - DEBUG - Response for create_network : {'network': {'id': '04d38a11-5107-4c8b-ac85-e9a6d926aab2', 'name': 'ctest-vn2_metadata-16897992', 'tenant_id': 'bdbb07a58dd046969eb1d74701ca4b72', 'project_id': 'bdbb07a58dd046969eb1d74701ca4b72', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVN-31015741', 'ctest-vn2_metadata-16897992'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2024-09-04 11:20:09,571 - DEBUG - Response for create_subnet : {'subnet': {'id': '99258e30-e957-4184-8c12-ab2fe40991b9', 'name': '', 'tenant_id': 'bdbb07a58dd046969eb1d74701ca4b72', 'network_id': '04d38a11-5107-4c8b-ac85-e9a6d926aab2', '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-04T11:20:09.413706', 'updated_at': '2024-09-04T11:20:09.413706', 'dns_server_address': '11.1.1.2', 'tags': [], 'project_id': 'bdbb07a58dd046969eb1d74701ca4b72'}} 2024-09-04 11:20:09,666 - INFO - Created VN ctest-vn2_metadata-16897992 2024-09-04 11:20:09,736 - DEBUG - VN ctest-vn2_metadata-16897992 UUID is 04d38a11-5107-4c8b-ac85-e9a6d926aab2 2024-09-04 11:20:10,284 - DEBUG - Services list from nova: [, , ] 2024-09-04 11:20:11,843 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-402-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-402-1) 2024-09-04 11:20:11,995 - DEBUG - Link local service introspect added 2024-09-04 11:20:12,138 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-04 11:20:17,366 - DEBUG - VM is in ACTIVE state now 2024-09-04 11:20:17,587 - INFO - Waiting for VM ctest-TestBasicVMVN-31015741-24841583 to be up.. 2024-09-04 11:20:17,587 - INFO - VM name : ctest-TestBasicVMVN-31015741-24841583 2024-09-04 11:20:17,800 - DEBUG - VM ctest-TestBasicVMVN-31015741-24841583 ID is 3c21de5f-d82e-4628-8821-fa7217b7c1fa 2024-09-04 11:20:17,800 - DEBUG - VM ctest-TestBasicVMVN-31015741-24841583 launched on Node cn-jenkins-deploy-platform-juju-os-402-1 2024-09-04 11:20:18,066 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine/3c21de5f-d82e-4628-8821-fa7217b7c1fa 2024-09-04 11:20:18,508 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine/3c21de5f-d82e-4628-8821-fa7217b7c1fa 2024-09-04 11:20:18,625 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine-interface/c2ce8ef6-2546-4c60-a04b-5e6d2da1c374 2024-09-04 11:20:22,171 - 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 1019ms') 2024-09-04 11:20:22,171 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-31015741-24841583 failed! 2024-09-04 11:20:22,232 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVN-31015741:ctest-vn2_metadata-16897992 is 11.1.1.1 and allocation pool is NOT set 2024-09-04 11:20:26,394 - 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 1023ms') 2024-09-04 11:20:26,394 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-31015741-24841583 failed! 2024-09-04 11:20:26,464 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVN-31015741:ctest-vn2_metadata-16897992 is 11.1.1.1 and allocation pool is NOT set 2024-09-04 11:20:28,572 - 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=7.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.84 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 = 3.841/5.852/7.864/2.011 ms') 2024-09-04 11:20:28,572 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-31015741-24841583 passed 2024-09-04 11:20:28,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 11:20:28,752 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-31015741-24841583, IP 11.1.1.3, Port 22 2024-09-04 11:20:28,848 - 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-04 11:20:29,019 - DEBUG - VM ctest-TestBasicVMVN-31015741-24841583 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-04 11:20:34,020 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 11:20:34,020 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-31015741-24841583, IP 11.1.1.3, Port 22 2024-09-04 11:20:34,299 - DEBUG - VM ctest-TestBasicVMVN-31015741-24841583 is ready for SSH connections 2024-09-04 11:20:34,300 - INFO - Retry 0 2024-09-04 11:20:34,300 - 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.17, gateway password: c0ntrail123 2024-09-04 11:20:34,300 - DEBUG - wget http://169.254.1.2:8083 --spider && echo "Successful" 2024-09-04 11:20:36,362 - DEBUG - Connecting to 169.254.1.2:8083 (169.254.1.2:8083) wget: no response from server 2024-09-04 11:20:36,362 - INFO - Generic metadata worked 2024-09-04 11:20:36,723 - DEBUG - Link local service introspect removed 2024-09-04 11:20:36,723 - INFO - Deleting VM ctest-TestBasicVMVN-31015741-24841583 2024-09-04 11:20:36,926 - INFO - Deleting VN ctest-vn2_metadata-16897992 2024-09-04 11:20:37,124 - DEBUG - VN 04d38a11-5107-4c8b-ac85-e9a6d926aab2 still in use: Unable to complete operation on network 04d38a11-5107-4c8b-ac85-e9a6d926aab2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1e19a74c-ff89-4fb7-b432-e24795dcd106'] 2024-09-04 11:20:37,125 - WARNING - Deleting VN ctest-vn2_metadata-16897992 failed..Will retry 2024-09-04 11:20:39,412 - DEBUG - Response for deleting network () 2024-09-04 11:20:39,924 - DEBUG - No XMPP flaps were noticed during the test 2024-09-04 11:20:39,924 - INFO - -------------------------------------------------------------------------------- 2024-09-04 11:20:39,929 - INFO - ================================================================================ 2024-09-04 11:20:39,929 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2024-09-04 11:20:39,930 - 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-04 11:20:40,485 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.0.0.17': '0'}} with 2024-09-04 11:20:40,485 - INFO - Initial checks done. Running the testcase now 2024-09-04 11:20:40,485 - INFO - 2024-09-04 11:20:41,369 - DEBUG - Response for create_network : {'network': {'id': 'f9913e5e-cfb4-4a9d-b27e-af078ebb8afa', 'name': 'ctest-vn-89368868', 'tenant_id': 'bdbb07a58dd046969eb1d74701ca4b72', 'project_id': 'bdbb07a58dd046969eb1d74701ca4b72', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVN-31015741', 'ctest-vn-89368868'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2024-09-04 11:20:41,742 - DEBUG - Response for create_subnet : {'subnet': {'id': '1c9ec4df-95fd-4a1d-b3d3-14a77ed7c2bd', 'name': '', 'tenant_id': 'bdbb07a58dd046969eb1d74701ca4b72', 'network_id': 'f9913e5e-cfb4-4a9d-b27e-af078ebb8afa', '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-04T11:20:41.558669', 'updated_at': '2024-09-04T11:20:41.558669', 'dns_server_address': '31.1.1.2', 'tags': [], 'project_id': 'bdbb07a58dd046969eb1d74701ca4b72'}} 2024-09-04 11:20:42,045 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3176c1e-ea24-40a2-9ae6-b894e275dec3', 'name': '', 'tenant_id': 'bdbb07a58dd046969eb1d74701ca4b72', 'network_id': 'f9913e5e-cfb4-4a9d-b27e-af078ebb8afa', '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-04T11:20:41.926029', 'updated_at': '2024-09-04T11:20:41.926029', 'dns_server_address': '31.1.2.2', 'tags': [], 'project_id': 'bdbb07a58dd046969eb1d74701ca4b72'}} 2024-09-04 11:20:42,120 - INFO - Created VN ctest-vn-89368868 2024-09-04 11:20:42,184 - DEBUG - VN ctest-vn-89368868 UUID is f9913e5e-cfb4-4a9d-b27e-af078ebb8afa 2024-09-04 11:20:43,410 - DEBUG - Response for create_port : {'port': {'name': '48ec66ad-b4f2-4641-846a-4c5f98db4025', 'id': '48ec66ad-b4f2-4641-846a-4c5f98db4025', 'tenant_id': 'bdbb07a58dd046969eb1d74701ca4b72', 'network_id': 'f9913e5e-cfb4-4a9d-b27e-af078ebb8afa', 'mac_address': '02:48:ec:66:ad:b4', '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': '1c9ec4df-95fd-4a1d-b3d3-14a77ed7c2bd'}], 'security_groups': ['f2c95cf7-cf48-4dcf-a69b-c86de83daf0b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2024-09-04T11:20:43.129658', 'updated_at': '2024-09-04T11:20:43.217042', 'project_id': 'bdbb07a58dd046969eb1d74701ca4b72'}} 2024-09-04 11:20:43,794 - DEBUG - Response for create_port : {'port': {'name': 'a42e50bd-cc2f-4cac-a7b7-e8946b6f2893', 'id': 'a42e50bd-cc2f-4cac-a7b7-e8946b6f2893', 'tenant_id': 'bdbb07a58dd046969eb1d74701ca4b72', 'network_id': 'f9913e5e-cfb4-4a9d-b27e-af078ebb8afa', 'mac_address': '02:a4:2e:50:bd:cc', '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': 'a3176c1e-ea24-40a2-9ae6-b894e275dec3'}], 'security_groups': ['f2c95cf7-cf48-4dcf-a69b-c86de83daf0b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2024-09-04T11:20:43.513332', 'updated_at': '2024-09-04T11:20:43.604942', 'project_id': 'bdbb07a58dd046969eb1d74701ca4b72'}} 2024-09-04 11:20:45,285 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-402-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-402-1) 2024-09-04 11:20:46,488 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-402-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-402-1) 2024-09-04 11:20:48,041 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-402-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-402-1) 2024-09-04 11:20:48,041 - DEBUG - Requesting: https://10.0.0.17:8082/domains 2024-09-04 11:20:48,096 - DEBUG - Requesting: https://10.0.0.17:8082/domain/5fc23b5e-6535-4002-b7dc-a80fda751e6b 2024-09-04 11:20:48,161 - DEBUG - Requesting: https://10.0.0.17:8082/project/bdbb07a5-8dd0-4696-9eb1-d74701ca4b72 2024-09-04 11:20:48,272 - DEBUG - Requesting: https://10.0.0.17:8082/network-ipam/cf7ad387-113b-45f6-8eb1-af9b0140e711 2024-09-04 11:20:48,338 - INFO - Verifications in API Server for IPAM: ctest-ipam-25129045 passed 2024-09-04 11:20:48,397 - DEBUG - Control-node 10.0.0.17 : IPAM object is : {'node_name': 'network-ipam:admin_domain:ctest-TestBasicVMVN-31015741:ctest-ipam-25129045', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-31015741', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14950494490072925686', 'uuid-lslong': '10282192504539375377'}, 'enable': 'true', 'created': '2024-09-04T11:20:40', 'last-modified': '2024-09-04T11:20:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:07.492980'} 2024-09-04 11:20:48,397 - INFO - Verifications in Control node for IPAM: ctest-ipam-25129045 passed 2024-09-04 11:20:48,398 - DEBUG - Requesting: https://10.0.0.17:8082/domains 2024-09-04 11:20:48,456 - DEBUG - Requesting: https://10.0.0.17:8082/domain/5fc23b5e-6535-4002-b7dc-a80fda751e6b 2024-09-04 11:20:48,536 - DEBUG - Requesting: https://10.0.0.17:8082/project/bdbb07a5-8dd0-4696-9eb1-d74701ca4b72 2024-09-04 11:20:48,679 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-network/f9913e5e-cfb4-4a9d-b27e-af078ebb8afa 2024-09-04 11:20:48,739 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-network/f9913e5e-cfb4-4a9d-b27e-af078ebb8afa 2024-09-04 11:20:48,833 - DEBUG - Requesting: https://10.0.0.17:8082/routing-instance/47cf3835-b871-485b-a942-482d5b51bbb1 2024-09-04 11:20:48,922 - DEBUG - Requesting: https://10.0.0.17:8082/routing-instance/47cf3835-b871-485b-a942-482d5b51bbb1 2024-09-04 11:20:48,987 - DEBUG - Requesting: https://10.0.0.17:8082/route-target/f17f8463-5b57-4a1a-ac6d-abbcacafc8f4 2024-09-04 11:20:49,045 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-04 11:20:49,045 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-network/f9913e5e-cfb4-4a9d-b27e-af078ebb8afa 2024-09-04 11:20:49,124 - DEBUG - Requesting: https://10.0.0.17:8082/routing-instance/47cf3835-b871-485b-a942-482d5b51bbb1 2024-09-04 11:20:49,195 - INFO - Verified VN network id 7 for VN f9913e5e-cfb4-4a9d-b27e-af078ebb8afa 2024-09-04 11:20:49,195 - INFO - Verifications in API Server for VN ctest-vn-89368868 passed 2024-09-04 11:20:49,195 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-network/f9913e5e-cfb4-4a9d-b27e-af078ebb8afa 2024-09-04 11:20:49,261 - DEBUG - Requesting: https://10.0.0.17:8082/routing-instance/47cf3835-b871-485b-a942-482d5b51bbb1 2024-09-04 11:20:49,337 - DEBUG - Requesting: https://10.0.0.17:8082/routing-instance/47cf3835-b871-485b-a942-482d5b51bbb1 2024-09-04 11:20:49,398 - DEBUG - Requesting: https://10.0.0.17:8082/route-target/f17f8463-5b57-4a1a-ac6d-abbcacafc8f4 2024-09-04 11:20:49,538 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicVMVN-31015741:ctest-vn-89368868', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-31015741', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17983223363999648413', 'uuid-lslong': '12861910032811002618'}, 'enable': 'true', 'created': '2024-09-04T11:20:41', 'last-modified': '2024-09-04T11:20:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:07.526670'} 2024-09-04 11:20:49,608 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-04 11:20:49,608 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89368868 passed 2024-09-04 11:20:49,608 - DEBUG - ====Verifying policy data for ctest-vn-89368868 in API_Server ====== 2024-09-04 11:20:49,608 - DEBUG - Requesting: https://10.0.0.17:8082/domains 2024-09-04 11:20:49,680 - DEBUG - Requesting: https://10.0.0.17:8082/domain/5fc23b5e-6535-4002-b7dc-a80fda751e6b 2024-09-04 11:20:49,753 - DEBUG - Requesting: https://10.0.0.17:8082/project/bdbb07a5-8dd0-4696-9eb1-d74701ca4b72 2024-09-04 11:20:49,862 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-network/f9913e5e-cfb4-4a9d-b27e-af078ebb8afa 2024-09-04 11:20:49,923 - DEBUG - =>VN ctest-vn-89368868 has no policy to be verified 2024-09-04 11:20:49,923 - DEBUG - Verifying the vn in opserver 2024-09-04 11:20:49,923 - DEBUG - Verifying the admin_domain:ctest-TestBasicVMVN-31015741:ctest-vn-89368868 virtual network link through opserver 10.0.0.17 2024-09-04 11:20:49,924 - DEBUG - Requesting: https://10.0.0.17:8081/analytics/uves/virtual-networks 2024-09-04 11:20:50,300 - DEBUG - Requesting: https://10.0.0.17:8081/analytics/uves/virtual-networks 2024-09-04 11:20:50,433 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicVMVN-31015741:ctest-vn-89368868', 'href': 'https://10.0.0.17:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicVMVN-31015741:ctest-vn-89368868?flat'} 2024-09-04 11:20:50,433 - INFO - Validated that VN admin_domain:ctest-TestBasicVMVN-31015741:ctest-vn-89368868 is found in opserver 2024-09-04 11:20:50,502 - DEBUG - VRF ids for VN ctest-vn-89368868: {'10.0.0.17': '2'} 2024-09-04 11:20:50,502 - INFO - Waiting for VM ctest-TestBasicVMVN-31015741-21452074 to be up.. 2024-09-04 11:20:50,663 - DEBUG - VM is in ACTIVE state now 2024-09-04 11:20:50,663 - INFO - VM name : ctest-TestBasicVMVN-31015741-21452074 2024-09-04 11:20:50,828 - DEBUG - VM ctest-TestBasicVMVN-31015741-21452074 ID is 925c672e-6d2b-4af1-8a4d-caeb736a28c1 2024-09-04 11:20:50,829 - DEBUG - VM ctest-TestBasicVMVN-31015741-21452074 launched on Node cn-jenkins-deploy-platform-juju-os-402-1 2024-09-04 11:20:51,017 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine/925c672e-6d2b-4af1-8a4d-caeb736a28c1 2024-09-04 11:20:51,078 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine-interface/48ec66ad-b4f2-4641-846a-4c5f98db4025 2024-09-04 11:20:54,649 - 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 1030ms') 2024-09-04 11:20:54,649 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-31015741-21452074 failed! 2024-09-04 11:20:54,724 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVN-31015741:ctest-vn-89368868 is 31.1.1.1 and allocation pool is NOT set 2024-09-04 11:20:54,724 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVN-31015741:ctest-vn-89368868 is 31.1.2.1 and allocation pool is NOT set 2024-09-04 11:20:58,869 - 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 1009ms') 2024-09-04 11:20:58,869 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-31015741-21452074 failed! 2024-09-04 11:20:58,944 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVN-31015741:ctest-vn-89368868 is 31.1.1.1 and allocation pool is NOT set 2024-09-04 11:20:58,944 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVN-31015741:ctest-vn-89368868 is 31.1.2.1 and allocation pool is NOT set 2024-09-04 11:21:01,050 - 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=5.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.943 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.943/3.293/5.643/2.350 ms') 2024-09-04 11:21:01,050 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-31015741-21452074 passed 2024-09-04 11:21:01,232 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 11:21:01,232 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-31015741-21452074, IP 31.1.1.4, Port 22 2024-09-04 11:21:01,471 - DEBUG - VM ctest-TestBasicVMVN-31015741-21452074 is ready for SSH connections 2024-09-04 11:21:01,471 - INFO - Waiting for VM ctest-TestBasicVMVN-31015741-72733844 to be up.. 2024-09-04 11:21:01,688 - DEBUG - VM is in ACTIVE state now 2024-09-04 11:21:01,688 - INFO - VM name : ctest-TestBasicVMVN-31015741-72733844 2024-09-04 11:21:01,873 - DEBUG - VM ctest-TestBasicVMVN-31015741-72733844 ID is 931252d7-0246-4901-a649-23bed192906f 2024-09-04 11:21:01,874 - DEBUG - VM ctest-TestBasicVMVN-31015741-72733844 launched on Node cn-jenkins-deploy-platform-juju-os-402-1 2024-09-04 11:21:02,083 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine/931252d7-0246-4901-a649-23bed192906f 2024-09-04 11:21:02,157 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine-interface/a42e50bd-cc2f-4cac-a7b7-e8946b6f2893 2024-09-04 11:21:03,674 - 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=7.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.974 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.974/4.215/7.456/3.241 ms') 2024-09-04 11:21:03,674 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVN-31015741-72733844 passed 2024-09-04 11:21:03,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 11:21:03,856 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-31015741-72733844, IP 31.1.2.4, Port 22 2024-09-04 11:21:04,128 - DEBUG - VM ctest-TestBasicVMVN-31015741-72733844 is ready for SSH connections 2024-09-04 11:21:04,128 - INFO - Waiting for VM ctest-TestBasicVMVN-31015741-34204585 to be up.. 2024-09-04 11:21:04,368 - DEBUG - VM is in ACTIVE state now 2024-09-04 11:21:04,369 - INFO - VM name : ctest-TestBasicVMVN-31015741-34204585 2024-09-04 11:21:04,586 - DEBUG - VM ctest-TestBasicVMVN-31015741-34204585 ID is 6a5a4260-86a1-49f4-8a0a-1a2015468d3f 2024-09-04 11:21:04,586 - DEBUG - VM ctest-TestBasicVMVN-31015741-34204585 launched on Node cn-jenkins-deploy-platform-juju-os-402-1 2024-09-04 11:21:04,837 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine/6a5a4260-86a1-49f4-8a0a-1a2015468d3f 2024-09-04 11:21:04,907 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine-interface/fe4ede18-de05-44f4-a3b5-5cae1c951489 2024-09-04 11:21:06,530 - 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=9.39 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.03 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.030/5.207/9.385/4.177 ms') 2024-09-04 11:21:06,531 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestBasicVMVN-31015741-34204585 passed 2024-09-04 11:21:06,709 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 11:21:06,709 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-31015741-34204585, IP 31.1.1.3, Port 22 2024-09-04 11:21:07,002 - DEBUG - VM ctest-TestBasicVMVN-31015741-34204585 is ready for SSH connections 2024-09-04 11:21:07,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 11:21:07,003 - 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.17, gateway password: c0ntrail123 2024-09-04 11:21:07,003 - DEBUG - ping -s 56 -c 3 -W 1 31.1.2.4 2024-09-04 11:21:11,282 - 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=6.663 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=1.551 ms 64 bytes from 31.1.2.4: seq=2 ttl=63 time=5.294 ms --- 31.1.2.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.551/4.502/6.663 ms 2024-09-04 11:21:11,282 - INFO - Ping to IP 31.1.2.4 from VM ctest-TestBasicVMVN-31015741-21452074 passed 2024-09-04 11:21:11,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 11:21:11,283 - 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.17, gateway password: c0ntrail123 2024-09-04 11:21:11,283 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.4 2024-09-04 11:21:15,316 - 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=4.414 ms 64 bytes from 31.1.1.4: seq=1 ttl=63 time=1.962 ms 64 bytes from 31.1.1.4: seq=2 ttl=63 time=2.405 ms --- 31.1.1.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.962/2.927/4.414 ms 2024-09-04 11:21:15,317 - INFO - Ping to IP 31.1.1.4 from VM ctest-TestBasicVMVN-31015741-72733844 passed 2024-09-04 11:21:15,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 11:21:15,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 11:21:15,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 11:21:15,318 - 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.17, gateway password: c0ntrail123 2024-09-04 11:21:15,318 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-04 11:21:15,564 - DEBUG - None 2024-09-04 11:21:15,565 - 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.17, gateway password: c0ntrail123 2024-09-04 11:21:15,565 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-04 11:21:15,776 - DEBUG - None 2024-09-04 11:21:15,776 - 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.17, gateway password: c0ntrail123 2024-09-04 11:21:15,776 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-04 11:21:16,726 - DEBUG - None 2024-09-04 11:21:16,727 - 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.17, gateway password: c0ntrail123 2024-09-04 11:21:16,727 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.7 2024-09-04 11:21:19,033 - 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=2.247 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=6.381 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.569 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=4.208 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=1.077 ms --- 31.1.1.7 ping statistics --- 3 packets transmitted, 3 packets received, 2 duplicates, 0% packet loss round-trip min/avg/max = 0.569/2.896/6.381 ms 2024-09-04 11:21:19,034 - 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.17, gateway password: c0ntrail123 2024-09-04 11:21:19,034 - DEBUG - ping -s 56 -c 3 -W 1 224.0.0.1 2024-09-04 11:21:21,319 - 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=1.068 ms 64 bytes from 31.1.2.4: seq=0 ttl=63 time=4.410 ms (DUP!) 64 bytes from 31.1.1.3: seq=0 ttl=64 time=6.582 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.925 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=5.246 ms (DUP!) 64 bytes from 31.1.1.3: seq=1 ttl=64 time=7.363 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=1.176 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.925/3.824/7.363 ms 2024-09-04 11:21:21,325 - 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.17, gateway password: c0ntrail123 2024-09-04 11:21:21,325 - DEBUG - ping -s 56 -c 3 -W 1 255.255.255.255 2024-09-04 11:21:23,607 - 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.668 ms 64 bytes from 31.1.2.4: seq=0 ttl=63 time=2.650 ms (DUP!) 64 bytes from 31.1.1.3: seq=0 ttl=64 time=3.464 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=1.703 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=12.105 ms (DUP!) 64 bytes from 31.1.2.4: seq=1 ttl=63 time=14.314 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=1.040 ms --- 255.255.255.255 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.668/5.134/14.314 ms 2024-09-04 11:21:23,608 - INFO - Deleting VM ctest-TestBasicVMVN-31015741-34204585 2024-09-04 11:21:23,810 - INFO - Detaching port a42e50bd-cc2f-4cac-a7b7-e8946b6f2893 from VM ctest-TestBasicVMVN-31015741-72733844 2024-09-04 11:21:23,923 - INFO - Deleting VM ctest-TestBasicVMVN-31015741-72733844 2024-09-04 11:21:24,074 - INFO - Detaching port 48ec66ad-b4f2-4641-846a-4c5f98db4025 from VM ctest-TestBasicVMVN-31015741-21452074 2024-09-04 11:21:24,167 - INFO - Deleting VM ctest-TestBasicVMVN-31015741-21452074 2024-09-04 11:21:24,341 - INFO - Deleting VN ctest-vn-89368868 2024-09-04 11:21:24,809 - DEBUG - Response for delete_port : () 2024-09-04 11:21:25,227 - DEBUG - Response for delete_port : () 2024-09-04 11:21:25,491 - DEBUG - Response for deleting network () 2024-09-04 11:21:25,491 - DEBUG - Requesting: https://10.0.0.17:8082/routing-instance/47cf3835-b871-485b-a942-482d5b51bbb1 2024-09-04 11:21:25,553 - DEBUG - Response Code: 404 2024-09-04 11:21:25,554 - DEBUG - Requesting: https://10.0.0.17:8082/domains 2024-09-04 11:21:25,620 - DEBUG - Requesting: https://10.0.0.17:8082/domain/5fc23b5e-6535-4002-b7dc-a80fda751e6b 2024-09-04 11:21:25,689 - DEBUG - Requesting: https://10.0.0.17:8082/project/bdbb07a5-8dd0-4696-9eb1-d74701ca4b72 2024-09-04 11:21:25,786 - INFO - Validated that VN ctest-vn-89368868 is not found in API Server 2024-09-04 11:21:25,896 - DEBUG - VN ctest-vn-89368868 is not present in Agent 10.0.0.17 2024-09-04 11:21:25,896 - INFO - Validated that VN ctest-vn-89368868 is not in any agent 2024-09-04 11:21:25,953 - DEBUG - VRF 2 is not seen in agent 10.0.0.17 2024-09-04 11:21:26,014 - DEBUG - Vrouter 10.0.0.17 does not have vrf 2 for VN ctest-vn-89368868 2024-09-04 11:21:26,015 - INFO - Validated that all vrouters do not have the route table for VN admin_domain:ctest-TestBasicVMVN-31015741:ctest-vn-89368868 2024-09-04 11:21:26,139 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89368868 info 2024-09-04 11:21:26,255 - INFO - IPAM: ctest-ipam-25129045 is not found in API Server 2024-09-04 11:21:26,378 - INFO - IPAM:ctest-ipam-25129045 is not found in control node 2024-09-04 11:21:26,926 - DEBUG - No XMPP flaps were noticed during the test
2024-09-04 11:21:26,926 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : PASSED[0:00:47]
2024-09-04 11:21:26,927 - INFO - -------------------------------------------------------------------------------- 2024-09-04 11:21:28,069 - INFO - Deleted project: ctest-TestBasicVMVN-31015741, ID : bdbb07a5-8dd0-4696-9eb1-d74701ca4b72