2025-08-07 02:41:18,568 - INFO - Domain Default found not creating 2025-08-07 02:41:18,729 - INFO - Project ctest-TestPorts-17466027 not found, creating it 2025-08-07 02:41:19,374 - INFO - Created Project:ctest-TestPorts-17466027, ID : b02d63bc-afac-41bc-aabd-8d01e9362405 2025-08-07 02:41:20,930 - INFO - ================================================================================ 2025-08-07 02:41:20,930 - INFO - STARTING TEST : test_aap_with_fip 2025-08-07 02:41:20,931 - INFO - TEST DESCRIPTION : 1. Create 2 VMs and enable keepalived between them, specifying a vIP. 2. Update the ports of the respective VMs to allow the vIP so configured. 3. Associate the same FIP to both the ports using API. 4. In the Floating IP object, add the vIP as the fixed_ip_address. 5. Ping to the vIP and FIP should be answered by the AAP active port. 6. Cause a keepalived mastership switchover. 7. The vIP and FIP should still be accessible via the new VRRP master. Maintainer: ganeshahv@juniper.net 2025-08-07 02:41:22,212 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.61': {'10.20.0.17': '0', '10.20.0.25': '0'}} with 2025-08-07 02:41:22,212 - INFO - Initial checks done. Running the testcase now 2025-08-07 02:41:22,212 - INFO - 2025-08-07 02:41:22,212 - INFO - Create a FVN. Create a FIP-Pool and FIP 2025-08-07 02:41:22,950 - DEBUG - Response for create_network : {'network': {'id': 'b60a40e3-68d8-4173-860a-c8bbfb7c72f1', 'name': 'ctest-fvn-26144696', 'tenant_id': 'b02d63bcafac41bcaabd8d01e9362405', 'project_id': 'b02d63bcafac41bcaabd8d01e9362405', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-17466027', 'ctest-fvn-26144696'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:41:23,278 - DEBUG - Response for create_subnet : {'subnet': {'id': '099e3fe4-2e86-43bc-9543-a71c9047bc3c', 'name': '', 'tenant_id': 'b02d63bcafac41bcaabd8d01e9362405', 'network_id': 'b60a40e3-68d8-4173-860a-c8bbfb7c72f1', 'ip_version': 4, 'cidr': '129.211.141.128/26', 'allocation_pools': [{'start': '129.211.141.130', 'end': '129.211.141.190'}], 'gateway_ip': '129.211.141.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.211.141.130', 'tags': [], 'project_id': 'b02d63bcafac41bcaabd8d01e9362405'}} 2025-08-07 02:41:23,317 - INFO - Created VN ctest-fvn-26144696 2025-08-07 02:41:23,330 - DEBUG - VN ctest-fvn-26144696 UUID is b60a40e3-68d8-4173-860a-c8bbfb7c72f1 2025-08-07 02:41:23,554 - DEBUG - Services list from nova: [, , , ] 2025-08-07 02:41:24,759 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3767-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3767-2) 2025-08-07 02:41:24,759 - INFO - Waiting for VM ctest-fvn-vm-46743009 to be up.. 2025-08-07 02:41:24,830 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 02:41:29,922 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:41:29,922 - INFO - VM name : ctest-fvn-vm-46743009 2025-08-07 02:41:30,020 - DEBUG - VM ctest-fvn-vm-46743009 ID is b5ad2d07-7454-4af9-9e52-13a1e5c04852 2025-08-07 02:41:30,047 - DEBUG - VM ctest-fvn-vm-46743009 launched on Node an-jenkins-deploy-platform-ansible-os-3767-2 2025-08-07 02:41:30,135 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b5ad2d07-7454-4af9-9e52-13a1e5c04852 2025-08-07 02:41:30,446 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b5ad2d07-7454-4af9-9e52-13a1e5c04852 2025-08-07 02:41:30,483 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/837ea54a-0fd9-471a-8080-ad1735380d81 2025-08-07 02:41:33,724 - 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') 2025-08-07 02:41:33,724 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-fvn-vm-46743009 failed! 2025-08-07 02:41:33,742 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-17466027:ctest-fvn-26144696 is 129.211.141.129 and allocation pool is NOT set 2025-08-07 02:41:37,825 - 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=3.31 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 3.310/3.310/3.310/0.000 ms') 2025-08-07 02:41:37,826 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-fvn-vm-46743009 passed 2025-08-07 02:41:37,951 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:41:37,952 - DEBUG - Waiting to SSH to VM ctest-fvn-vm-46743009, IP 129.211.141.131, Port 22 2025-08-07 02:41:38,109 - DEBUG - VM ctest-fvn-vm-46743009 is ready for SSH connections 2025-08-07 02:41:38,282 - INFO - Creating Floating IP pool some-pool1 in API Server 2025-08-07 02:41:38,453 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-08-07 02:41:38,756 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-08-07 02:41:38,791 - DEBUG - Requesting: http://10.0.0.56:8082/domain/fb2d80da-9971-40dc-80ca-c5bb54e98569 2025-08-07 02:41:38,816 - DEBUG - Requesting: http://10.0.0.56:8082/project/b02d63bc-afac-41bc-aabd-8d01e9362405 2025-08-07 02:41:38,928 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/b60a40e3-68d8-4173-860a-c8bbfb7c72f1 2025-08-07 02:41:38,951 - DEBUG - Requesting: http://10.0.0.56:8082/floating-ip-pool/c8ae4b6d-8f0a-4fea-9cf1-884857698077 2025-08-07 02:41:38,963 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-08-07 02:41:38,970 - DEBUG - Requesting: http://10.0.0.56:8082/domain/fb2d80da-9971-40dc-80ca-c5bb54e98569 2025-08-07 02:41:38,984 - DEBUG - Requesting: http://10.0.0.56:8082/project/b02d63bc-afac-41bc-aabd-8d01e9362405 2025-08-07 02:41:39,100 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/b60a40e3-68d8-4173-860a-c8bbfb7c72f1 2025-08-07 02:41:39,112 - DEBUG - FIP Pool some-pool1 found in API Server 2025-08-07 02:41:39,112 - INFO - Verification for FIP pool some-pool1 in API Server passed 2025-08-07 02:41:39,134 - DEBUG - Control-node Ifmap-view has FIP pool some-pool1 information 2025-08-07 02:41:39,143 - DEBUG - Control-node Ifmap-view has FIP pool some-pool1 information 2025-08-07 02:41:39,151 - DEBUG - Control-node Ifmap-view has FIP pool some-pool1 information 2025-08-07 02:41:39,151 - INFO - Verification for FIP pool some-pool1 in Control-node passed 2025-08-07 02:41:39,151 - INFO - Creating FIP from some-pool1 2025-08-07 02:41:39,688 - DEBUG - Response for create_network : {'network': {'id': '63d3275f-5703-4dd9-aa08-b89424e4869d', 'name': 'ctest-vn1-47568074', 'tenant_id': 'b02d63bcafac41bcaabd8d01e9362405', 'project_id': 'b02d63bcafac41bcaabd8d01e9362405', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-17466027', 'ctest-vn1-47568074'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:41:39,932 - DEBUG - Response for create_subnet : {'subnet': {'id': '7eeef95d-7d8c-4d1b-84ee-f3d08e4d6886', 'name': '', 'tenant_id': 'b02d63bcafac41bcaabd8d01e9362405', 'network_id': '63d3275f-5703-4dd9-aa08-b89424e4869d', 'ip_version': 4, 'cidr': '174.174.39.0/26', 'allocation_pools': [{'start': '174.174.39.2', 'end': '174.174.39.62'}], 'gateway_ip': '174.174.39.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.174.39.2', 'tags': [], 'project_id': 'b02d63bcafac41bcaabd8d01e9362405'}} 2025-08-07 02:41:39,958 - INFO - Created VN ctest-vn1-47568074 2025-08-07 02:41:39,972 - DEBUG - VN ctest-vn1-47568074 UUID is 63d3275f-5703-4dd9-aa08-b89424e4869d 2025-08-07 02:41:40,422 - DEBUG - Response for create_port : {'port': {'name': 'b267d6dd-6d42-4a19-af8a-fe76ee9c62d4', 'id': 'b267d6dd-6d42-4a19-af8a-fe76ee9c62d4', 'tenant_id': 'b02d63bcafac41bcaabd8d01e9362405', 'network_id': '63d3275f-5703-4dd9-aa08-b89424e4869d', 'mac_address': '02:b2:67:d6:dd:6d', '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': '174.174.39.3', 'subnet_id': '7eeef95d-7d8c-4d1b-84ee-f3d08e4d6886'}], 'security_groups': ['1c3de6c8-eacf-41dc-bd67-f230d1b89d1b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b02d63bcafac41bcaabd8d01e9362405'}} 2025-08-07 02:41:40,721 - DEBUG - Response for create_port : {'port': {'name': 'e7cc2b34-1bf6-4de6-97f7-9588f1cf08ea', 'id': 'e7cc2b34-1bf6-4de6-97f7-9588f1cf08ea', 'tenant_id': 'b02d63bcafac41bcaabd8d01e9362405', 'network_id': '63d3275f-5703-4dd9-aa08-b89424e4869d', 'mac_address': '02:e7:cc:2b:34:1b', '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': '174.174.39.4', 'subnet_id': '7eeef95d-7d8c-4d1b-84ee-f3d08e4d6886'}], 'security_groups': ['1c3de6c8-eacf-41dc-bd67-f230d1b89d1b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b02d63bcafac41bcaabd8d01e9362405'}} 2025-08-07 02:41:40,870 - DEBUG - Image by name ubuntu-keepalive not found 2025-08-07 02:41:40,870 - DEBUG - Installing image ubuntu-keepalive 2025-08-07 02:41:40,870 - DEBUG - Image info {'name': 'ubuntu-keepalive.img.gz', 'webserver': '', 'location': '/images/', 'username': 'ubuntu', 'password': 'ubuntu', 'type': 'os', 'flavor': 'contrail_flavor_large', 'params': '--container-format ovf --disk-format qcow2 --property hypervisor_type=qemu', 'name_docker': 'phusion-baseimage-enablesshd'} 2025-08-07 02:41:40,870 - DEBUG - Image build path http://nexus.opensdn.io/repository///images//ubuntu-keepalive.img.gz 2025-08-07 02:41:40,871 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images//ubuntu-keepalive.img.gz 2025-08-07 02:41:40,886 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: wget -nv http://nexus.opensdn.io/repository///images//ubuntu-keepalive.img.gz -O /contrail-test/images/ubuntu-keepalive.img.gz 2025-08-07 02:41:42,847 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-keepalive.img.gz 2025-08-07 02:41:42,848 - DEBUG - Unzip image 2025-08-07 02:41:42,848 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-keepalive.img.gz 2025-08-07 02:41:51,392 - DEBUG - Try to create image in user context 2025-08-07 02:41:56,784 - DEBUG - Image has been created in user context 2025-08-07 02:41:56,784 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-keepalive.img 2025-08-07 02:41:56,917 - DEBUG - Downloaded image has been removed 2025-08-07 02:41:56,930 - DEBUG - Uploaded image status = active 2025-08-07 02:41:57,392 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3767-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3767-1) 2025-08-07 02:41:58,001 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3767-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3767-2) 2025-08-07 02:41:58,177 - DEBUG - Image by name ubuntu not found 2025-08-07 02:41:58,178 - DEBUG - Installing image ubuntu 2025-08-07 02:41:58,178 - DEBUG - Image info {'name': 'ubuntu.vmdk.gz', 'webserver': '', 'location': '/images/converts/', 'username': 'ubuntu', 'password': 'ubuntu', 'type': 'os', 'flavor': 'contrail_flavor_tiny', 'params': '--container-format bare --disk-format vmdk --property vmware_disktype="sparse" --property vmware_adaptertype="ide" --property hw_scsi_model=virtio-scsi --property hw_disk_bus_model=virtio-scsi --property hw_disk_bus=virtio', 'name_docker': 'phusion-baseimage-enablesshd'} 2025-08-07 02:41:58,178 - DEBUG - Image build path file:///contrail-test/images/ubuntu.vmdk.gz 2025-08-07 02:41:58,178 - DEBUG - Download image from local file file:///contrail-test/images/ubuntu.vmdk.gz 2025-08-07 02:41:58,178 - DEBUG - Unzip image 2025-08-07 02:41:58,178 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu.vmdk.gz 2025-08-07 02:41:58,199 - INFO - image /contrail-test/images/ubuntu.vmdk is not found 2025-08-07 02:41:58,200 - INFO - Skip interface_detach for VM ctest-vm2-75809585 in state BUILD 2025-08-07 02:41:58,200 - INFO - Deleting VM ctest-vm2-75809585 2025-08-07 02:41:58,200 - ERROR - VM ctest-vm2-75809585 has failed to come up 2025-08-07 02:41:58,200 - ERROR - Nova failed to get host of the VM 2025-08-07 02:41:58,200 - ERROR - VM ctest-vm2-75809585 has failed to come up 2025-08-07 02:41:58,200 - ERROR - Nova failed to get host of the VM 2025-08-07 02:41:58,523 - INFO - Skip interface_detach for VM ctest-vm1-62945558 in state BUILD 2025-08-07 02:41:58,523 - INFO - Deleting VM ctest-vm1-62945558 2025-08-07 02:41:58,523 - ERROR - VM ctest-vm1-62945558 has failed to come up 2025-08-07 02:41:58,523 - ERROR - Nova failed to get host of the VM 2025-08-07 02:41:58,523 - ERROR - VM ctest-vm1-62945558 has failed to come up 2025-08-07 02:41:58,523 - ERROR - Nova failed to get host of the VM 2025-08-07 02:41:58,968 - DEBUG - Response for delete_port : () 2025-08-07 02:41:59,500 - DEBUG - Response for delete_port : () 2025-08-07 02:41:59,500 - INFO - Deleting VN ctest-vn1-47568074 2025-08-07 02:41:59,843 - DEBUG - Response for deleting network () 2025-08-07 02:41:59,947 - INFO - Deleting the FIP pool some-pool1 2025-08-07 02:42:00,180 - DEBUG - Control-node Ifmap-view does not have FIP pool some-pool1 information 2025-08-07 02:42:00,197 - DEBUG - Control-node Ifmap-view does not have FIP pool some-pool1 information 2025-08-07 02:42:00,215 - DEBUG - Control-node Ifmap-view does not have FIP pool some-pool1 information 2025-08-07 02:42:00,216 - INFO - Deleting VM ctest-fvn-vm-46743009 2025-08-07 02:42:00,343 - INFO - Deleting VN ctest-fvn-26144696 2025-08-07 02:42:00,424 - DEBUG - VN b60a40e3-68d8-4173-860a-c8bbfb7c72f1 still in use: Unable to complete operation on network b60a40e3-68d8-4173-860a-c8bbfb7c72f1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8edd25f9-dc8d-4e03-9ebb-c27bfc7e0fb0'] 2025-08-07 02:42:00,425 - WARNING - Deleting VN ctest-fvn-26144696 failed..Will retry 2025-08-07 02:42:02,734 - DEBUG - Response for deleting network () 2025-08-07 02:42:04,060 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 02:42:04,060 - INFO -
2025-08-07 02:42:04,060 - INFO - END TEST : test_aap_with_fip : SKIPPED[0:00:44]
2025-08-07 02:42:04,060 - INFO - -------------------------------------------------------------------------------- 2025-08-07 02:42:04,064 - INFO - ================================================================================ 2025-08-07 02:42:04,064 - INFO - STARTING TEST : test_aap_with_zero_mac 2025-08-07 02:42:04,064 - INFO - TEST DESCRIPTION : Verify VIP reachability over L2 network when AAP MAC is configured with all zeo 1. Launch 2 vms on same virtual network. 2. Configure high availability between them with keepalived. 3. Launch third VM in same VM. 4. Check the reachability of VIP from 3rd VM. 5. Shutdown keepalive in master VM to induce VIP switch over. 6. Check the reachability of VIP from 3rd VM again. 7. Bring back master VM which will cause switchover of VIP again. 8. Check the reachability of VIP from 3rd VM again. Pass criteria: Step 4,6 and 8 should pass Maintainer: chhandak@juniper.net 2025-08-07 02:42:05,356 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.61': {'10.20.0.17': '0', '10.20.0.25': '0'}} with 2025-08-07 02:42:05,356 - INFO - Initial checks done. Running the testcase now 2025-08-07 02:42:05,356 - INFO - 2025-08-07 02:42:05,654 - DEBUG - Response for create_network : {'network': {'id': '8dcd4903-3eaa-45ff-9f54-4b68d8098e15', 'name': 'ctest-vn1-73570724', 'tenant_id': 'b02d63bcafac41bcaabd8d01e9362405', 'project_id': 'b02d63bcafac41bcaabd8d01e9362405', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-17466027', 'ctest-vn1-73570724'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:42:05,947 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6b015fe-bbdd-4752-8345-5b78e4e2bdf7', 'name': '', 'tenant_id': 'b02d63bcafac41bcaabd8d01e9362405', 'network_id': '8dcd4903-3eaa-45ff-9f54-4b68d8098e15', 'ip_version': 4, 'cidr': '20.41.32.64/26', 'allocation_pools': [{'start': '20.41.32.66', 'end': '20.41.32.126'}], 'gateway_ip': '20.41.32.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.41.32.66', 'tags': [], 'project_id': 'b02d63bcafac41bcaabd8d01e9362405'}} 2025-08-07 02:42:05,979 - INFO - Created VN ctest-vn1-73570724 2025-08-07 02:42:05,994 - DEBUG - VN ctest-vn1-73570724 UUID is 8dcd4903-3eaa-45ff-9f54-4b68d8098e15 2025-08-07 02:42:06,485 - DEBUG - Response for create_port : {'port': {'name': 'c1f44949-606b-4937-b0e8-12362372b341', 'id': 'c1f44949-606b-4937-b0e8-12362372b341', 'tenant_id': 'b02d63bcafac41bcaabd8d01e9362405', 'network_id': '8dcd4903-3eaa-45ff-9f54-4b68d8098e15', 'mac_address': '02:c1:f4:49:49:60', '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': '20.41.32.67', 'subnet_id': 'd6b015fe-bbdd-4752-8345-5b78e4e2bdf7'}], 'security_groups': ['1c3de6c8-eacf-41dc-bd67-f230d1b89d1b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b02d63bcafac41bcaabd8d01e9362405'}} 2025-08-07 02:42:06,798 - DEBUG - Response for create_port : {'port': {'name': 'ab8129cf-fd72-4a6f-9fff-e2b1467e2681', 'id': 'ab8129cf-fd72-4a6f-9fff-e2b1467e2681', 'tenant_id': 'b02d63bcafac41bcaabd8d01e9362405', 'network_id': '8dcd4903-3eaa-45ff-9f54-4b68d8098e15', 'mac_address': '02:ab:81:29:cf:fd', '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': '20.41.32.68', 'subnet_id': 'd6b015fe-bbdd-4752-8345-5b78e4e2bdf7'}], 'security_groups': ['1c3de6c8-eacf-41dc-bd67-f230d1b89d1b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b02d63bcafac41bcaabd8d01e9362405'}} 2025-08-07 02:42:07,339 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3767-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3767-2) 2025-08-07 02:42:08,158 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3767-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3767-1) 2025-08-07 02:42:08,454 - DEBUG - Image by name ubuntu not found 2025-08-07 02:42:08,454 - DEBUG - Installing image ubuntu 2025-08-07 02:42:08,454 - DEBUG - Image info {'name': 'ubuntu.vmdk.gz', 'webserver': '', 'location': '/images/converts/', 'username': 'ubuntu', 'password': 'ubuntu', 'type': 'os', 'flavor': 'contrail_flavor_tiny', 'params': '--container-format bare --disk-format vmdk --property vmware_disktype="sparse" --property vmware_adaptertype="ide" --property hw_scsi_model=virtio-scsi --property hw_disk_bus_model=virtio-scsi --property hw_disk_bus=virtio', 'name_docker': 'phusion-baseimage-enablesshd'} 2025-08-07 02:42:08,455 - DEBUG - Image build path file:///contrail-test/images/ubuntu.vmdk.gz 2025-08-07 02:42:08,455 - DEBUG - Download image from local file file:///contrail-test/images/ubuntu.vmdk.gz 2025-08-07 02:42:08,455 - DEBUG - Unzip image 2025-08-07 02:42:08,455 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu.vmdk.gz 2025-08-07 02:42:08,475 - INFO - image /contrail-test/images/ubuntu.vmdk is not found 2025-08-07 02:42:08,475 - INFO - Skip interface_detach for VM ctest-vm2-32630343 in state BUILD 2025-08-07 02:42:08,476 - INFO - Deleting VM ctest-vm2-32630343 2025-08-07 02:42:08,476 - ERROR - VM ctest-vm2-32630343 has failed to come up 2025-08-07 02:42:08,477 - ERROR - Nova failed to get host of the VM 2025-08-07 02:42:08,477 - ERROR - VM ctest-vm2-32630343 has failed to come up 2025-08-07 02:42:08,477 - ERROR - Nova failed to get host of the VM 2025-08-07 02:42:08,777 - INFO - Skip interface_detach for VM ctest-vm1-47887552 in state BUILD 2025-08-07 02:42:08,778 - INFO - Deleting VM ctest-vm1-47887552 2025-08-07 02:42:08,779 - ERROR - VM ctest-vm1-47887552 has failed to come up 2025-08-07 02:42:08,779 - ERROR - Nova failed to get host of the VM 2025-08-07 02:42:08,779 - ERROR - VM ctest-vm1-47887552 has failed to come up 2025-08-07 02:42:08,779 - ERROR - Nova failed to get host of the VM 2025-08-07 02:42:09,192 - DEBUG - Response for delete_port : () 2025-08-07 02:42:09,729 - DEBUG - Response for delete_port : () 2025-08-07 02:42:09,729 - INFO - Deleting VN ctest-vn1-73570724 2025-08-07 02:42:10,047 - DEBUG - Response for deleting network () 2025-08-07 02:42:11,548 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 02:42:11,548 - INFO -
2025-08-07 02:42:11,548 - INFO - END TEST : test_aap_with_zero_mac : SKIPPED[0:00:07]
2025-08-07 02:42:11,549 - INFO - -------------------------------------------------------------------------------- 2025-08-07 02:42:11,553 - INFO - ================================================================================ 2025-08-07 02:42:11,553 - INFO - STARTING TEST : test_ports_bindings 2025-08-07 02:42:11,553 - INFO - TEST DESCRIPTION : Verify that we are able to create a port with custom port bindings Steps: 1) Create Port with Port bindings profile set to {'foo': 'bar'} 2) Retrieve and verify the same is set 2025-08-07 02:42:13,006 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.61': {'10.20.0.17': '0', '10.20.0.25': '0'}} with 2025-08-07 02:42:13,006 - INFO - Initial checks done. Running the testcase now 2025-08-07 02:42:13,006 - INFO - 2025-08-07 02:42:13,345 - DEBUG - Response for create_network : {'network': {'id': '543fc0cc-1f8d-4bde-bf2b-0b864bdbe30a', 'name': 'ctest-vn-33674407', 'tenant_id': 'b02d63bcafac41bcaabd8d01e9362405', 'project_id': 'b02d63bcafac41bcaabd8d01e9362405', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-17466027', 'ctest-vn-33674407'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:42:13,651 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b2f0f2a-e1ef-42d0-a6ae-0c70dc9a6aee', 'name': '', 'tenant_id': 'b02d63bcafac41bcaabd8d01e9362405', 'network_id': '543fc0cc-1f8d-4bde-bf2b-0b864bdbe30a', 'ip_version': 4, 'cidr': '164.231.168.128/26', 'allocation_pools': [{'start': '164.231.168.130', 'end': '164.231.168.190'}], 'gateway_ip': '164.231.168.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.231.168.130', 'tags': [], 'project_id': 'b02d63bcafac41bcaabd8d01e9362405'}} 2025-08-07 02:42:13,677 - INFO - Created VN ctest-vn-33674407 2025-08-07 02:42:13,692 - DEBUG - VN ctest-vn-33674407 UUID is 543fc0cc-1f8d-4bde-bf2b-0b864bdbe30a 2025-08-07 02:42:13,778 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-17466027', 'ctest-vmi-67906566']} 2025-08-07 02:42:14,109 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-67906566', 'id': '8c4d9d70-3ede-4a01-8cda-da890494c07c', 'tenant_id': 'b02d63bcafac41bcaabd8d01e9362405', 'network_id': '543fc0cc-1f8d-4bde-bf2b-0b864bdbe30a', 'mac_address': '02:8c:4d:9d:70:3e', 'binding:profile': {'foo': 'bar'}, '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': '164.231.168.131', 'subnet_id': '1b2f0f2a-e1ef-42d0-a6ae-0c70dc9a6aee'}], 'security_groups': ['1c3de6c8-eacf-41dc-bd67-f230d1b89d1b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b02d63bcafac41bcaabd8d01e9362405'}} 2025-08-07 02:42:14,109 - DEBUG - Created port 8c4d9d70-3ede-4a01-8cda-da890494c07c 2025-08-07 02:42:14,187 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/8c4d9d70-3ede-4a01-8cda-da890494c07c 2025-08-07 02:42:14,200 - INFO - VMI 8c4d9d70-3ede-4a01-8cda-da890494c07c verification in API Server passed 2025-08-07 02:42:14,396 - DEBUG - Response for delete_port : () 2025-08-07 02:42:14,396 - INFO - Deleted port 8c4d9d70-3ede-4a01-8cda-da890494c07c 2025-08-07 02:42:14,396 - INFO - Deleting VN ctest-vn-33674407 2025-08-07 02:42:14,586 - DEBUG - Response for deleting network () 2025-08-07 02:42:15,900 - DEBUG - No XMPP flaps were noticed during the test
2025-08-07 02:42:15,900 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04]
2025-08-07 02:42:15,900 - INFO - -------------------------------------------------------------------------------- 2025-08-07 02:42:15,902 - INFO - ================================================================================ 2025-08-07 02:42:15,902 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-07 02:42:15,903 - INFO - TEST DESCRIPTION : Create ports with specific Subnet and IP Create two ports in a VN with 2 subnets and specific IPs Attach to two VMs Ping between them should pass 2025-08-07 02:42:17,185 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.61': {'10.20.0.17': '0', '10.20.0.25': '0'}} with 2025-08-07 02:42:17,185 - INFO - Initial checks done. Running the testcase now 2025-08-07 02:42:17,185 - INFO - 2025-08-07 02:42:17,480 - DEBUG - Response for create_network : {'network': {'id': '5aa5636d-8209-491a-9c76-353555033236', 'name': 'ctest-vn1-11274181', 'tenant_id': 'b02d63bcafac41bcaabd8d01e9362405', 'project_id': 'b02d63bcafac41bcaabd8d01e9362405', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-17466027', 'ctest-vn1-11274181'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:42:17,716 - DEBUG - Response for create_subnet : {'subnet': {'id': '90fb5aaf-dcba-4bc0-a6f5-794d171bfee0', 'name': '', 'tenant_id': 'b02d63bcafac41bcaabd8d01e9362405', 'network_id': '5aa5636d-8209-491a-9c76-353555033236', 'ip_version': 4, 'cidr': '187.7.133.192/26', 'allocation_pools': [{'start': '187.7.133.194', 'end': '187.7.133.254'}], 'gateway_ip': '187.7.133.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.7.133.194', 'tags': [], 'project_id': 'b02d63bcafac41bcaabd8d01e9362405'}} 2025-08-07 02:42:17,951 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a6a5355-6434-4343-8940-95677a8f4a58', 'name': '', 'tenant_id': 'b02d63bcafac41bcaabd8d01e9362405', 'network_id': '5aa5636d-8209-491a-9c76-353555033236', 'ip_version': 4, 'cidr': '3.137.42.192/26', 'allocation_pools': [{'start': '3.137.42.194', 'end': '3.137.42.254'}], 'gateway_ip': '3.137.42.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.137.42.194', 'tags': [], 'project_id': 'b02d63bcafac41bcaabd8d01e9362405'}} 2025-08-07 02:42:17,981 - INFO - Created VN ctest-vn1-11274181 2025-08-07 02:42:17,999 - DEBUG - VN ctest-vn1-11274181 UUID is 5aa5636d-8209-491a-9c76-353555033236 2025-08-07 02:42:18,470 - DEBUG - Response for create_port : {'port': {'name': '972b590c-fc49-449d-931d-a2ed3bcf18ab', 'id': '972b590c-fc49-449d-931d-a2ed3bcf18ab', 'tenant_id': 'b02d63bcafac41bcaabd8d01e9362405', 'network_id': '5aa5636d-8209-491a-9c76-353555033236', 'mac_address': '02:97:2b:59:0c:fc', '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': '187.7.133.197', 'subnet_id': '90fb5aaf-dcba-4bc0-a6f5-794d171bfee0'}], 'security_groups': ['1c3de6c8-eacf-41dc-bd67-f230d1b89d1b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b02d63bcafac41bcaabd8d01e9362405'}} 2025-08-07 02:42:18,786 - DEBUG - Response for create_port : {'port': {'name': '2eca31e2-67fd-4859-9c57-ea012db308a8', 'id': '2eca31e2-67fd-4859-9c57-ea012db308a8', 'tenant_id': 'b02d63bcafac41bcaabd8d01e9362405', 'network_id': '5aa5636d-8209-491a-9c76-353555033236', 'mac_address': '02:2e:ca:31:e2:67', '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': '3.137.42.197', 'subnet_id': '2a6a5355-6434-4343-8940-95677a8f4a58'}], 'security_groups': ['1c3de6c8-eacf-41dc-bd67-f230d1b89d1b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b02d63bcafac41bcaabd8d01e9362405'}} 2025-08-07 02:42:19,375 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3767-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3767-1) 2025-08-07 02:42:20,106 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3767-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3767-2) 2025-08-07 02:42:20,106 - INFO - Waiting for VM ctest-vn1-vm1-27252603 to be up.. 2025-08-07 02:42:20,236 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 02:42:25,570 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:42:25,570 - INFO - VM name : ctest-vn1-vm1-27252603 2025-08-07 02:42:25,670 - DEBUG - VM ctest-vn1-vm1-27252603 ID is d99b4544-24e3-4913-8f38-3e64a61258c9 2025-08-07 02:42:25,670 - DEBUG - VM ctest-vn1-vm1-27252603 launched on Node an-jenkins-deploy-platform-ansible-os-3767-1 2025-08-07 02:42:25,799 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/d99b4544-24e3-4913-8f38-3e64a61258c9 2025-08-07 02:42:25,822 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/972b590c-fc49-449d-931d-a2ed3bcf18ab 2025-08-07 02:42:29,086 - 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 1013ms') 2025-08-07 02:42:29,086 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-27252603 failed! 2025-08-07 02:42:29,103 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-17466027:ctest-vn1-11274181 is 187.7.133.193 and allocation pool is NOT set 2025-08-07 02:42:29,103 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-17466027:ctest-vn1-11274181 is 3.137.42.193 and allocation pool is NOT set 2025-08-07 02:42:31,174 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=13.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.36 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 = 2.356/8.003/13.651/5.647 ms') 2025-08-07 02:42:31,174 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-27252603 passed 2025-08-07 02:42:31,301 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:42:31,301 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-27252603, IP 187.7.133.197, Port 22 2025-08-07 02:42:31,369 - 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': ''} 2025-08-07 02:42:31,469 - DEBUG - VM ctest-vn1-vm1-27252603 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 02:42:36,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:42:36,470 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-27252603, IP 187.7.133.197, Port 22 2025-08-07 02:42:36,636 - DEBUG - VM ctest-vn1-vm1-27252603 is ready for SSH connections 2025-08-07 02:42:36,636 - INFO - Waiting for VM ctest-vn1-vm2-90297304 to be up.. 2025-08-07 02:42:36,724 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:42:36,724 - INFO - VM name : ctest-vn1-vm2-90297304 2025-08-07 02:42:36,814 - DEBUG - VM ctest-vn1-vm2-90297304 ID is 08609929-67a7-415f-8b0c-f22f43ef8678 2025-08-07 02:42:36,814 - DEBUG - VM ctest-vn1-vm2-90297304 launched on Node an-jenkins-deploy-platform-ansible-os-3767-2 2025-08-07 02:42:36,914 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/08609929-67a7-415f-8b0c-f22f43ef8678 2025-08-07 02:42:36,927 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/2eca31e2-67fd-4859-9c57-ea012db308a8 2025-08-07 02:42:38,141 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.343 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.343/1.747/3.151/1.404 ms') 2025-08-07 02:42:38,141 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-90297304 passed 2025-08-07 02:42:38,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:42:38,268 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-90297304, IP 3.137.42.197, Port 22 2025-08-07 02:42:38,424 - DEBUG - VM ctest-vn1-vm2-90297304 is ready for SSH connections 2025-08-07 02:42:38,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:42:38,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:42:38,425 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:42:38,425 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.7.133.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-08-07 02:42:38,425 - DEBUG - ping -s 56 -c 3 -W 1 187.7.133.197 2025-08-07 02:42:42,450 - DEBUG - PING 187.7.133.197 (187.7.133.197): 56 data bytes 64 bytes from 187.7.133.197: seq=0 ttl=63 time=5.828 ms 64 bytes from 187.7.133.197: seq=1 ttl=63 time=1.426 ms 64 bytes from 187.7.133.197: seq=2 ttl=63 time=1.301 ms --- 187.7.133.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.301/2.851/5.828 ms 2025-08-07 02:42:42,450 - INFO - Ping to IP 187.7.133.197 from VM ctest-vn1-vm2-90297304 passed 2025-08-07 02:42:42,451 - INFO - Detaching port 2eca31e2-67fd-4859-9c57-ea012db308a8 from VM ctest-vn1-vm2-90297304 2025-08-07 02:42:42,506 - INFO - Deleting VM ctest-vn1-vm2-90297304 2025-08-07 02:42:42,580 - INFO - Detaching port 972b590c-fc49-449d-931d-a2ed3bcf18ab from VM ctest-vn1-vm1-27252603 2025-08-07 02:42:42,612 - INFO - Deleting VM ctest-vn1-vm1-27252603 2025-08-07 02:42:43,026 - DEBUG - Response for delete_port : () 2025-08-07 02:42:43,307 - DEBUG - Response for delete_port : () 2025-08-07 02:42:43,307 - INFO - Deleting VN ctest-vn1-11274181 2025-08-07 02:42:43,533 - DEBUG - Response for deleting network () 2025-08-07 02:42:44,828 - DEBUG - No XMPP flaps were noticed during the test
2025-08-07 02:42:44,828 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:29]
2025-08-07 02:42:44,828 - INFO - -------------------------------------------------------------------------------- 2025-08-07 02:42:45,594 - INFO - Deleted project: ctest-TestPorts-17466027, ID : b02d63bc-afac-41bc-aabd-8d01e9362405