2024-09-17 22:14:13,375 - INFO - Domain Default found not creating 2024-09-17 22:14:13,533 - INFO - Project ctest-TestBasicVMVN-99662640 not found, creating it 2024-09-17 22:14:14,021 - INFO - Created Project:ctest-TestBasicVMVN-99662640, ID : 8d5cc686-2e4c-4ed4-a526-99cbe2891e57 2024-09-17 22:14:15,560 - INFO - ================================================================================ 2024-09-17 22:14:15,560 - INFO - STARTING TEST : test_generic_link_local_service 2024-09-17 22:14:15,561 - 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-17 22:14:15,826 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.12': '0'}} with 2024-09-17 22:14:15,826 - INFO - Initial checks done. Running the testcase now 2024-09-17 22:14:15,827 - INFO - 2024-09-17 22:14:16,448 - DEBUG - Response for create_network : {'network': {'id': '14bcd908-9b76-442b-8a6c-fd9a5d1c70d3', 'name': 'ctest-vn2_metadata-81258320', 'tenant_id': '8d5cc6862e4c4ed4a52699cbe2891e57', 'project_id': '8d5cc6862e4c4ed4a52699cbe2891e57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-99662640', 'ctest-vn2_metadata-81258320'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 22:14:17,590 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c12d1b5c-8082-4e7e-8f57-1ee41ba22e38', 'name': '', 'tenant_id': '8d5cc6862e4c4ed4a52699cbe2891e57', 'network_id': '14bcd908-9b76-442b-8a6c-fd9a5d1c70d3', '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': [], 'dns_server_address': '11.1.1.2', 'tags': [], 'project_id': '8d5cc6862e4c4ed4a52699cbe2891e57'}} 2024-09-17 22:14:17,610 - INFO - Created VN ctest-vn2_metadata-81258320 2024-09-17 22:14:17,672 - DEBUG - VN ctest-vn2_metadata-81258320 UUID is 14bcd908-9b76-442b-8a6c-fd9a5d1c70d3 2024-09-17 22:14:17,858 - DEBUG - Services list from nova: [, , ] 2024-09-17 22:14:20,224 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1973-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1973-1) 2024-09-17 22:14:20,336 - DEBUG - Link local service introspect added 2024-09-17 22:14:20,377 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-17 22:14:25,463 - DEBUG - VM is in ACTIVE state now 2024-09-17 22:14:25,601 - INFO - Waiting for VM ctest-TestBasicVMVN-99662640-88386018 to be up.. 2024-09-17 22:14:25,601 - INFO - VM name : ctest-TestBasicVMVN-99662640-88386018 2024-09-17 22:14:25,690 - DEBUG - VM ctest-TestBasicVMVN-99662640-88386018 ID is 24442474-c8b8-4b7a-befd-91e22b2f0270 2024-09-17 22:14:25,690 - DEBUG - VM ctest-TestBasicVMVN-99662640-88386018 launched on Node cn-jenkins-deploy-platform-ansible-os-1973-1 2024-09-17 22:14:25,771 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/24442474-c8b8-4b7a-befd-91e22b2f0270 2024-09-17 22:14:26,073 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/24442474-c8b8-4b7a-befd-91e22b2f0270 2024-09-17 22:14:26,106 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/c55fa7a8-eacf-413d-a624-89d9f06caf84 2024-09-17 22:14:29,392 - 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 1027ms') 2024-09-17 22:14:29,392 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-99662640-88386018 failed! 2024-09-17 22:14:29,452 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-99662640:ctest-vn2_metadata-81258320 is 11.1.1.1 and allocation pool is NOT set 2024-09-17 22:14:33,841 - 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 1001ms') 2024-09-17 22:14:33,842 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-99662640-88386018 failed! 2024-09-17 22:14:33,900 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-99662640:ctest-vn2_metadata-81258320 is 11.1.1.1 and allocation pool is NOT set 2024-09-17 22:14:37,251 - 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=6.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.74 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.744/4.377/6.010/1.633 ms') 2024-09-17 22:14:37,251 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-99662640-88386018 passed 2024-09-17 22:14:37,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 22:14:37,412 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-99662640-88386018, IP 11.1.1.3, Port 22 2024-09-17 22:14:37,478 - 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-17 22:14:37,562 - DEBUG - VM ctest-TestBasicVMVN-99662640-88386018 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-17 22:14:42,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 22:14:42,562 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-99662640-88386018, IP 11.1.1.3, Port 22 2024-09-17 22:14:42,716 - DEBUG - VM ctest-TestBasicVMVN-99662640-88386018 is ready for SSH connections 2024-09-17 22:14:42,716 - INFO - Retry 0 2024-09-17 22:14:42,716 - 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.65, gateway password: c0ntrail123 2024-09-17 22:14:42,716 - DEBUG - wget http://169.254.1.2:8083 --spider && echo "Successful" 2024-09-17 22:14:44,299 - DEBUG - Connecting to 169.254.1.2:8083 (169.254.1.2:8083) Successful 2024-09-17 22:14:44,299 - INFO - Generic metadata worked 2024-09-17 22:14:44,564 - DEBUG - Link local service introspect removed 2024-09-17 22:14:44,564 - INFO - Deleting VM ctest-TestBasicVMVN-99662640-88386018 2024-09-17 22:14:44,626 - INFO - Deleting VN ctest-vn2_metadata-81258320 2024-09-17 22:14:44,664 - DEBUG - VN 14bcd908-9b76-442b-8a6c-fd9a5d1c70d3 still in use: Unable to complete operation on network 14bcd908-9b76-442b-8a6c-fd9a5d1c70d3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-51f298e9-879a-42fe-95dd-47476fb64a3f'] 2024-09-17 22:14:44,664 - WARNING - Deleting VN ctest-vn2_metadata-81258320 failed..Will retry 2024-09-17 22:14:46,763 - DEBUG - Response for deleting network () 2024-09-17 22:14:47,026 - DEBUG - No XMPP flaps were noticed during the test 2024-09-17 22:14:47,026 - INFO - END TEST : test_generic_link_local_service : PASSED[0:00:32] 2024-09-17 22:14:47,026 - INFO - -------------------------------------------------------------------------------- 2024-09-17 22:14:47,028 - INFO - ================================================================================ 2024-09-17 22:14:47,028 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2024-09-17 22:14:47,028 - 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-17 22:14:47,313 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.12': '0'}} with 2024-09-17 22:14:47,314 - INFO - Initial checks done. Running the testcase now 2024-09-17 22:14:47,314 - INFO - 2024-09-17 22:14:47,820 - DEBUG - Response for create_network : {'network': {'id': 'ad3efdb2-165d-46d2-baff-a225baf9c967', 'name': 'ctest-vn-41964676', 'tenant_id': '8d5cc6862e4c4ed4a52699cbe2891e57', 'project_id': '8d5cc6862e4c4ed4a52699cbe2891e57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-99662640', 'ctest-vn-41964676'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 22:14:47,989 - DEBUG - Response for create_subnet : {'subnet': {'id': '721df632-9cb1-46a6-98c0-56dc02f9124b', 'name': '', 'tenant_id': '8d5cc6862e4c4ed4a52699cbe2891e57', 'network_id': 'ad3efdb2-165d-46d2-baff-a225baf9c967', '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': [], 'dns_server_address': '31.1.1.2', 'tags': [], 'project_id': '8d5cc6862e4c4ed4a52699cbe2891e57'}} 2024-09-17 22:14:48,171 - DEBUG - Response for create_subnet : {'subnet': {'id': '271815e3-df5c-4862-a872-c955c657adfb', 'name': '', 'tenant_id': '8d5cc6862e4c4ed4a52699cbe2891e57', 'network_id': 'ad3efdb2-165d-46d2-baff-a225baf9c967', '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': [], 'dns_server_address': '31.1.2.2', 'tags': [], 'project_id': '8d5cc6862e4c4ed4a52699cbe2891e57'}} 2024-09-17 22:14:48,191 - INFO - Created VN ctest-vn-41964676 2024-09-17 22:14:48,252 - DEBUG - VN ctest-vn-41964676 UUID is ad3efdb2-165d-46d2-baff-a225baf9c967 2024-09-17 22:14:48,629 - DEBUG - Response for create_port : {'port': {'name': 'b32adf82-58c2-4a72-ac98-0bcfa9a1ff2b', 'id': 'b32adf82-58c2-4a72-ac98-0bcfa9a1ff2b', 'tenant_id': '8d5cc6862e4c4ed4a52699cbe2891e57', 'network_id': 'ad3efdb2-165d-46d2-baff-a225baf9c967', 'mac_address': '02:b3:2a:df:82:58', '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': '721df632-9cb1-46a6-98c0-56dc02f9124b'}], 'security_groups': ['76e87395-f61d-4514-b16d-91488130f38a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8d5cc6862e4c4ed4a52699cbe2891e57'}} 2024-09-17 22:14:48,802 - DEBUG - Response for create_port : {'port': {'name': 'de64181b-a89f-4036-ba27-e8e90914d621', 'id': 'de64181b-a89f-4036-ba27-e8e90914d621', 'tenant_id': '8d5cc6862e4c4ed4a52699cbe2891e57', 'network_id': 'ad3efdb2-165d-46d2-baff-a225baf9c967', 'mac_address': '02:de:64:18:1b:a8', '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': '271815e3-df5c-4862-a872-c955c657adfb'}], 'security_groups': ['76e87395-f61d-4514-b16d-91488130f38a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8d5cc6862e4c4ed4a52699cbe2891e57'}} 2024-09-17 22:14:49,468 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1973-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1973-1) 2024-09-17 22:14:49,856 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1973-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1973-1) 2024-09-17 22:14:51,049 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1973-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1973-1) 2024-09-17 22:14:51,050 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2024-09-17 22:14:51,057 - DEBUG - Requesting: http://10.0.0.65:8082/domain/fa443c38-210a-4cc9-b100-ab0a5c6248be 2024-09-17 22:14:51,073 - DEBUG - Requesting: http://10.0.0.65:8082/project/8d5cc686-2e4c-4ed4-a526-99cbe2891e57 2024-09-17 22:14:51,162 - DEBUG - Requesting: http://10.0.0.65:8082/network-ipam/9dde458f-fbdb-4fcf-b06a-595a789f97f8 2024-09-17 22:14:51,183 - INFO - Verifications in API Server for IPAM: ctest-ipam-78981921 passed 2024-09-17 22:14:51,190 - DEBUG - Control-node 10.0.0.65 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicVMVN-99662640:ctest-ipam-78981921', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-99662640', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11375606193492545487', 'uuid-lslong': '12712071143312300024'}, 'enable': 'true', 'created': '2024-09-17T22:14:47', 'last-modified': '2024-09-17T22:14:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.643389'} 2024-09-17 22:14:51,190 - INFO - Verifications in Control node for IPAM: ctest-ipam-78981921 passed 2024-09-17 22:14:51,190 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2024-09-17 22:14:51,198 - DEBUG - Requesting: http://10.0.0.65:8082/domain/fa443c38-210a-4cc9-b100-ab0a5c6248be 2024-09-17 22:14:51,218 - DEBUG - Requesting: http://10.0.0.65:8082/project/8d5cc686-2e4c-4ed4-a526-99cbe2891e57 2024-09-17 22:14:51,300 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/ad3efdb2-165d-46d2-baff-a225baf9c967 2024-09-17 22:14:51,323 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/ad3efdb2-165d-46d2-baff-a225baf9c967 2024-09-17 22:14:51,339 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/8d9177db-d46d-4834-bf28-6b47aef950fe 2024-09-17 22:14:51,358 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/8d9177db-d46d-4834-bf28-6b47aef950fe 2024-09-17 22:14:51,370 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/1d84c322-36bc-4f2c-aa2d-25545d44f5a4 2024-09-17 22:14:51,379 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-17 22:14:51,380 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/ad3efdb2-165d-46d2-baff-a225baf9c967 2024-09-17 22:14:51,398 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/8d9177db-d46d-4834-bf28-6b47aef950fe 2024-09-17 22:14:51,428 - INFO - Verified VN network id 8 for VN ad3efdb2-165d-46d2-baff-a225baf9c967 2024-09-17 22:14:51,428 - INFO - Verifications in API Server for VN ctest-vn-41964676 passed 2024-09-17 22:14:51,428 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/ad3efdb2-165d-46d2-baff-a225baf9c967 2024-09-17 22:14:51,448 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/8d9177db-d46d-4834-bf28-6b47aef950fe 2024-09-17 22:14:51,463 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/8d9177db-d46d-4834-bf28-6b47aef950fe 2024-09-17 22:14:51,474 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/1d84c322-36bc-4f2c-aa2d-25545d44f5a4 2024-09-17 22:14:51,496 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicVMVN-99662640:ctest-vn-41964676', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-99662640', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12483694158438811346', 'uuid-lslong': '13474666893050235239'}, 'enable': 'true', 'created': '2024-09-17T22:14:47', 'last-modified': '2024-09-17T22:14:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.353955'} 2024-09-17 22:14:51,505 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-17 22:14:51,505 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41964676 passed 2024-09-17 22:14:51,505 - DEBUG - ====Verifying policy data for ctest-vn-41964676 in API_Server ====== 2024-09-17 22:14:51,505 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2024-09-17 22:14:51,519 - DEBUG - Requesting: http://10.0.0.65:8082/domain/fa443c38-210a-4cc9-b100-ab0a5c6248be 2024-09-17 22:14:51,536 - DEBUG - Requesting: http://10.0.0.65:8082/project/8d5cc686-2e4c-4ed4-a526-99cbe2891e57 2024-09-17 22:14:51,645 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/ad3efdb2-165d-46d2-baff-a225baf9c967 2024-09-17 22:14:51,660 - DEBUG - =>VN ctest-vn-41964676 has no policy to be verified 2024-09-17 22:14:51,660 - DEBUG - Verifying the vn in opserver 2024-09-17 22:14:51,660 - DEBUG - Verifying the default-domain:ctest-TestBasicVMVN-99662640:ctest-vn-41964676 virtual network link through opserver 10.0.0.65 2024-09-17 22:14:51,660 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2024-09-17 22:14:52,044 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2024-09-17 22:14:52,113 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicVMVN-99662640:ctest-vn-41964676', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicVMVN-99662640:ctest-vn-41964676?flat'} 2024-09-17 22:14:52,113 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-99662640:ctest-vn-41964676 is found in opserver 2024-09-17 22:14:52,120 - DEBUG - VRF ids for VN ctest-vn-41964676: {'10.0.0.65': '2'} 2024-09-17 22:14:52,120 - INFO - Waiting for VM ctest-TestBasicVMVN-99662640-10821743 to be up.. 2024-09-17 22:14:52,226 - DEBUG - VM is in ACTIVE state now 2024-09-17 22:14:52,226 - INFO - VM name : ctest-TestBasicVMVN-99662640-10821743 2024-09-17 22:14:54,811 - DEBUG - VM ctest-TestBasicVMVN-99662640-10821743 ID is b8a30462-7f62-41bb-849b-5a24d349db3c 2024-09-17 22:14:54,811 - DEBUG - VM ctest-TestBasicVMVN-99662640-10821743 launched on Node cn-jenkins-deploy-platform-ansible-os-1973-1 2024-09-17 22:14:54,938 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/b8a30462-7f62-41bb-849b-5a24d349db3c 2024-09-17 22:14:54,952 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/b32adf82-58c2-4a72-ac98-0bcfa9a1ff2b 2024-09-17 22:14:58,266 - 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 1016ms') 2024-09-17 22:14:58,266 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-99662640-10821743 failed! 2024-09-17 22:14:58,328 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-99662640:ctest-vn-41964676 is 31.1.1.1 and allocation pool is NOT set 2024-09-17 22:14:58,328 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-99662640:ctest-vn-41964676 is 31.1.2.1 and allocation pool is NOT set 2024-09-17 22:15:02,418 - 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 1027ms') 2024-09-17 22:15:02,418 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-99662640-10821743 failed! 2024-09-17 22:15:02,488 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-99662640:ctest-vn-41964676 is 31.1.1.1 and allocation pool is NOT set 2024-09-17 22:15:02,488 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-99662640:ctest-vn-41964676 is 31.1.2.1 and allocation pool is NOT set 2024-09-17 22:15:04,549 - 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=4.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.93 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.928/3.136/4.344/1.208 ms') 2024-09-17 22:15:04,550 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-99662640-10821743 passed 2024-09-17 22:15:04,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 22:15:04,708 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-99662640-10821743, IP 31.1.1.4, Port 22 2024-09-17 22:15:04,877 - DEBUG - VM ctest-TestBasicVMVN-99662640-10821743 is ready for SSH connections 2024-09-17 22:15:04,877 - INFO - Waiting for VM ctest-TestBasicVMVN-99662640-19346279 to be up.. 2024-09-17 22:15:04,975 - DEBUG - VM is in ACTIVE state now 2024-09-17 22:15:04,975 - INFO - VM name : ctest-TestBasicVMVN-99662640-19346279 2024-09-17 22:15:05,063 - DEBUG - VM ctest-TestBasicVMVN-99662640-19346279 ID is f8ea81ce-5b3c-4c80-a410-4e695aa336a2 2024-09-17 22:15:05,063 - DEBUG - VM ctest-TestBasicVMVN-99662640-19346279 launched on Node cn-jenkins-deploy-platform-ansible-os-1973-1 2024-09-17 22:15:05,161 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/f8ea81ce-5b3c-4c80-a410-4e695aa336a2 2024-09-17 22:15:05,173 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/de64181b-a89f-4036-ba27-e8e90914d621 2024-09-17 22:15:06,431 - 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=2.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.359 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.359/1.528/2.698/1.169 ms') 2024-09-17 22:15:06,431 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVN-99662640-19346279 passed 2024-09-17 22:15:06,592 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 22:15:06,592 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-99662640-19346279, IP 31.1.2.4, Port 22 2024-09-17 22:15:06,748 - DEBUG - VM ctest-TestBasicVMVN-99662640-19346279 is ready for SSH connections 2024-09-17 22:15:06,748 - INFO - Waiting for VM ctest-TestBasicVMVN-99662640-72394843 to be up.. 2024-09-17 22:15:06,826 - DEBUG - VM is in ACTIVE state now 2024-09-17 22:15:06,826 - INFO - VM name : ctest-TestBasicVMVN-99662640-72394843 2024-09-17 22:15:06,971 - DEBUG - VM ctest-TestBasicVMVN-99662640-72394843 ID is 2bf7d26c-4fb2-4431-97d7-384bda8dbce2 2024-09-17 22:15:06,971 - DEBUG - VM ctest-TestBasicVMVN-99662640-72394843 launched on Node cn-jenkins-deploy-platform-ansible-os-1973-1 2024-09-17 22:15:07,046 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/2bf7d26c-4fb2-4431-97d7-384bda8dbce2 2024-09-17 22:15:07,057 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/5b71ab2d-e38f-48bd-8c96-1a518b787339 2024-09-17 22:15:08,316 - 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=4.79 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.40 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 = 1.400/3.096/4.793/1.696 ms') 2024-09-17 22:15:08,317 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestBasicVMVN-99662640-72394843 passed 2024-09-17 22:15:08,480 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 22:15:08,480 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-99662640-72394843, IP 31.1.1.3, Port 22 2024-09-17 22:15:08,640 - DEBUG - VM ctest-TestBasicVMVN-99662640-72394843 is ready for SSH connections 2024-09-17 22:15:08,640 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 22:15:08,640 - 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.65, gateway password: c0ntrail123 2024-09-17 22:15:08,640 - DEBUG - ping -s 56 -c 3 -W 1 31.1.2.4 2024-09-17 22:15:12,609 - 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.622 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=0.831 ms 64 bytes from 31.1.2.4: seq=2 ttl=63 time=0.937 ms --- 31.1.2.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.831/1.796/3.622 ms 2024-09-17 22:15:12,609 - INFO - Ping to IP 31.1.2.4 from VM ctest-TestBasicVMVN-99662640-10821743 passed 2024-09-17 22:15:12,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 22:15:12,609 - 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.65, gateway password: c0ntrail123 2024-09-17 22:15:12,609 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.4 2024-09-17 22:15:16,245 - 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=3.073 ms 64 bytes from 31.1.1.4: seq=1 ttl=63 time=0.822 ms 64 bytes from 31.1.1.4: seq=2 ttl=63 time=0.857 ms --- 31.1.1.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.822/1.584/3.073 ms 2024-09-17 22:15:16,245 - INFO - Ping to IP 31.1.1.4 from VM ctest-TestBasicVMVN-99662640-19346279 passed 2024-09-17 22:15:16,246 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 22:15:16,246 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 22:15:16,246 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 22:15:16,246 - 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.65, gateway password: c0ntrail123 2024-09-17 22:15:16,246 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-17 22:15:16,430 - DEBUG - None 2024-09-17 22:15:16,430 - 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.65, gateway password: c0ntrail123 2024-09-17 22:15:16,430 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-17 22:15:16,604 - DEBUG - None 2024-09-17 22:15:16,604 - 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.65, gateway password: c0ntrail123 2024-09-17 22:15:16,604 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-17 22:15:17,223 - DEBUG - None 2024-09-17 22:15:17,224 - 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.65, gateway password: c0ntrail123 2024-09-17 22:15:17,224 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.7 2024-09-17 22:15:19,437 - 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.817 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=6.849 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.441 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=1.697 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.404 ms --- 31.1.1.7 ping statistics --- 3 packets transmitted, 3 packets received, 2 duplicates, 0% packet loss round-trip min/avg/max = 0.404/2.241/6.849 ms 2024-09-17 22:15:19,438 - 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.65, gateway password: c0ntrail123 2024-09-17 22:15:19,438 - DEBUG - ping -s 56 -c 3 -W 1 224.0.0.1 2024-09-17 22:15:21,676 - 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.2.4: seq=0 ttl=63 time=2.638 ms (DUP!) 64 bytes from 31.1.1.3: seq=0 ttl=64 time=3.802 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.435 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=1.674 ms (DUP!) 64 bytes from 31.1.1.3: seq=1 ttl=64 time=2.550 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.410 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.410/1.781/3.802 ms 2024-09-17 22:15:21,677 - 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.65, gateway password: c0ntrail123 2024-09-17 22:15:21,677 - DEBUG - ping -s 56 -c 3 -W 1 255.255.255.255 2024-09-17 22:15:23,928 - 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.638 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=2.699 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=3.543 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.427 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=1.818 ms (DUP!) 64 bytes from 31.1.2.4: seq=1 ttl=63 time=2.602 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.603 ms --- 255.255.255.255 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.427/1.761/3.543 ms 2024-09-17 22:15:23,928 - INFO - Deleting VM ctest-TestBasicVMVN-99662640-72394843 2024-09-17 22:15:23,990 - INFO - Detaching port de64181b-a89f-4036-ba27-e8e90914d621 from VM ctest-TestBasicVMVN-99662640-19346279 2024-09-17 22:15:24,036 - INFO - Deleting VM ctest-TestBasicVMVN-99662640-19346279 2024-09-17 22:15:24,100 - INFO - Detaching port b32adf82-58c2-4a72-ac98-0bcfa9a1ff2b from VM ctest-TestBasicVMVN-99662640-10821743 2024-09-17 22:15:24,132 - INFO - Deleting VM ctest-TestBasicVMVN-99662640-10821743 2024-09-17 22:15:24,192 - INFO - Deleting VN ctest-vn-41964676 2024-09-17 22:15:24,366 - DEBUG - Response for delete_port : () 2024-09-17 22:15:24,551 - DEBUG - Response for delete_port : () 2024-09-17 22:15:24,591 - DEBUG - VN ad3efdb2-165d-46d2-baff-a225baf9c967 still in use: Unable to complete operation on network ad3efdb2-165d-46d2-baff-a225baf9c967. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-79778298-4593-4528-a7f6-670f155c1dfb'] 2024-09-17 22:15:24,591 - WARNING - Deleting VN ctest-vn-41964676 failed..Will retry 2024-09-17 22:15:26,717 - DEBUG - Response for deleting network () 2024-09-17 22:15:26,717 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/8d9177db-d46d-4834-bf28-6b47aef950fe 2024-09-17 22:15:26,725 - DEBUG - Response Code: 404 2024-09-17 22:15:26,725 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2024-09-17 22:15:26,732 - DEBUG - Requesting: http://10.0.0.65:8082/domain/fa443c38-210a-4cc9-b100-ab0a5c6248be 2024-09-17 22:15:26,788 - DEBUG - Requesting: http://10.0.0.65:8082/project/8d5cc686-2e4c-4ed4-a526-99cbe2891e57 2024-09-17 22:15:26,867 - INFO - Validated that VN ctest-vn-41964676 is not found in API Server 2024-09-17 22:15:26,879 - DEBUG - VN ctest-vn-41964676 is not present in Agent 10.0.0.65 2024-09-17 22:15:26,879 - INFO - Validated that VN ctest-vn-41964676 is not in any agent 2024-09-17 22:15:26,886 - DEBUG - VRF 2 is not seen in agent 10.0.0.65 2024-09-17 22:15:26,891 - DEBUG - Vrouter 10.0.0.65 does not have vrf 2 for VN ctest-vn-41964676 2024-09-17 22:15:26,891 - INFO - Validated that all vrouters do not have the route table for VN default-domain:ctest-TestBasicVMVN-99662640:ctest-vn-41964676 2024-09-17 22:15:26,902 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41964676 info 2024-09-17 22:15:26,992 - INFO - IPAM: ctest-ipam-78981921 is not found in API Server 2024-09-17 22:15:27,004 - INFO - IPAM:ctest-ipam-78981921 is not found in control node 2024-09-17 22:15:27,258 - DEBUG - No XMPP flaps were noticed during the test 2024-09-17 22:15:27,258 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : PASSED[0:00:40] 2024-09-17 22:15:27,258 - INFO - -------------------------------------------------------------------------------- 2024-09-17 22:15:27,987 - INFO - Deleted project: ctest-TestBasicVMVN-99662640, ID : 8d5cc686-2e4c-4ed4-a526-99cbe2891e57