2025-08-02 23:29:18,945 - INFO - Domain Default found not creating
2025-08-02 23:29:19,159 - INFO - Project ctest-TestPorts-52747769 not found, creating it
2025-08-02 23:29:19,779 - INFO - Created Project:ctest-TestPorts-52747769, ID : ebb1c195-92d3-4690-b0e1-1abc203ac876
2025-08-02 23:29:21,234 - INFO - ================================================================================
2025-08-02 23:29:21,234 - INFO - STARTING TEST : test_aap_with_fip
2025-08-02 23:29:21,234 - 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-02 23:29:22,604 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0', '10.20.0.14': '0'}, '10.0.0.49': {'10.20.0.17': '0', '10.20.0.14': '0'}} with
2025-08-02 23:29:22,604 - INFO - Initial checks done. Running the testcase now
2025-08-02 23:29:22,604 - INFO -
2025-08-02 23:29:22,604 - INFO - Create a FVN. Create a FIP-Pool and FIP
2025-08-02 23:29:23,732 - DEBUG - Response for create_network : {'network': {'id': '1dfbeabc-c6c6-4466-9389-f4aff726b5d9', 'name': 'ctest-fvn-51729335', 'tenant_id': 'ebb1c19592d34690b0e11abc203ac876', 'project_id': 'ebb1c19592d34690b0e11abc203ac876', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52747769', 'ctest-fvn-51729335'], 'port_security_enabled': True, 'description': ''}}
2025-08-02 23:29:24,000 - DEBUG - Response for create_subnet : {'subnet': {'id': '23a26839-9d86-4bbf-aca8-758c72653580', 'name': '', 'tenant_id': 'ebb1c19592d34690b0e11abc203ac876', 'network_id': '1dfbeabc-c6c6-4466-9389-f4aff726b5d9', 'ip_version': 4, 'cidr': '129.19.9.128/26', 'allocation_pools': [{'start': '129.19.9.130', 'end': '129.19.9.190'}], 'gateway_ip': '129.19.9.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.19.9.130', 'tags': [], 'project_id': 'ebb1c19592d34690b0e11abc203ac876'}}
2025-08-02 23:29:24,024 - INFO - Created VN ctest-fvn-51729335
2025-08-02 23:29:24,043 - DEBUG - VN ctest-fvn-51729335 UUID is 1dfbeabc-c6c6-4466-9389-f4aff726b5d9
2025-08-02 23:29:24,292 - DEBUG - Services list from nova: [, , , ]
2025-08-02 23:29:25,499 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3743-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3743-2)
2025-08-02 23:29:25,499 - INFO - Waiting for VM ctest-fvn-vm-97943272 to be up..
2025-08-02 23:29:25,544 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-02 23:29:30,667 - DEBUG - VM is in ACTIVE state now
2025-08-02 23:29:30,667 - INFO - VM name : ctest-fvn-vm-97943272
2025-08-02 23:29:30,768 - DEBUG - VM ctest-fvn-vm-97943272 ID is ab503aa9-174a-4ade-893d-9a0d35a440fe
2025-08-02 23:29:30,800 - DEBUG - VM ctest-fvn-vm-97943272 launched on Node an-jenkins-deploy-platform-ansible-os-3743-2
2025-08-02 23:29:30,911 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ab503aa9-174a-4ade-893d-9a0d35a440fe
2025-08-02 23:29:31,230 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ab503aa9-174a-4ade-893d-9a0d35a440fe
2025-08-02 23:29:31,267 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b751db79-6e39-4aff-a753-827f27496034
2025-08-02 23:29:34,539 - 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 1033ms')
2025-08-02 23:29:34,539 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-fvn-vm-97943272 failed!
2025-08-02 23:29:34,600 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-52747769:ctest-fvn-51729335 is 129.19.9.129 and allocation pool is NOT set
2025-08-02 23:29:36,665 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.93 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.927/3.775/4.623/0.848 ms')
2025-08-02 23:29:36,666 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-fvn-vm-97943272 passed
2025-08-02 23:29:36,811 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-02 23:29:36,811 - DEBUG - Waiting to SSH to VM ctest-fvn-vm-97943272, IP 129.19.9.131, Port 22
2025-08-02 23:29:36,973 - DEBUG - VM ctest-fvn-vm-97943272 is ready for SSH connections
2025-08-02 23:29:37,193 - INFO - Creating Floating IP pool some-pool1 in API Server
2025-08-02 23:29:37,374 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-08-02 23:29:37,958 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-08-02 23:29:37,993 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e48a4202-dd3d-4b87-9406-48f7b2154028
2025-08-02 23:29:38,013 - DEBUG - Requesting: http://10.0.0.38:8082/project/ebb1c195-92d3-4690-b0e1-1abc203ac876
2025-08-02 23:29:38,128 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1dfbeabc-c6c6-4466-9389-f4aff726b5d9
2025-08-02 23:29:38,150 - DEBUG - Requesting: http://10.0.0.38:8082/floating-ip-pool/f2eb20ef-0485-4f39-9073-d68a9177d276
2025-08-02 23:29:38,160 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-08-02 23:29:38,169 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e48a4202-dd3d-4b87-9406-48f7b2154028
2025-08-02 23:29:38,188 - DEBUG - Requesting: http://10.0.0.38:8082/project/ebb1c195-92d3-4690-b0e1-1abc203ac876
2025-08-02 23:29:38,319 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1dfbeabc-c6c6-4466-9389-f4aff726b5d9
2025-08-02 23:29:38,336 - DEBUG - FIP Pool some-pool1 found in API Server
2025-08-02 23:29:38,336 - INFO - Verification for FIP pool some-pool1 in API Server passed
2025-08-02 23:29:38,360 - DEBUG - Control-node Ifmap-view has FIP pool some-pool1 information
2025-08-02 23:29:38,369 - DEBUG - Control-node Ifmap-view has FIP pool some-pool1 information
2025-08-02 23:29:38,392 - DEBUG - Control-node Ifmap-view has FIP pool some-pool1 information
2025-08-02 23:29:38,392 - INFO - Verification for FIP pool some-pool1 in Control-node passed
2025-08-02 23:29:38,392 - INFO - Creating FIP from some-pool1
2025-08-02 23:29:39,090 - DEBUG - Response for create_network : {'network': {'id': '04fb0e32-41bc-4200-808f-c2ec6b9fce57', 'name': 'ctest-vn1-59398737', 'tenant_id': 'ebb1c19592d34690b0e11abc203ac876', 'project_id': 'ebb1c19592d34690b0e11abc203ac876', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52747769', 'ctest-vn1-59398737'], 'port_security_enabled': True, 'description': ''}}
2025-08-02 23:29:39,378 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd93f5aa2-ece5-4bc6-a962-04527926e3f7', 'name': '', 'tenant_id': 'ebb1c19592d34690b0e11abc203ac876', 'network_id': '04fb0e32-41bc-4200-808f-c2ec6b9fce57', 'ip_version': 4, 'cidr': '172.11.141.192/26', 'allocation_pools': [{'start': '172.11.141.194', 'end': '172.11.141.254'}], 'gateway_ip': '172.11.141.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.11.141.194', 'tags': [], 'project_id': 'ebb1c19592d34690b0e11abc203ac876'}}
2025-08-02 23:29:39,418 - INFO - Created VN ctest-vn1-59398737
2025-08-02 23:29:39,435 - DEBUG - VN ctest-vn1-59398737 UUID is 04fb0e32-41bc-4200-808f-c2ec6b9fce57
2025-08-02 23:29:39,860 - DEBUG - Response for create_port : {'port': {'name': 'a2d72493-dcec-43e9-b8e4-d1897f866854', 'id': 'a2d72493-dcec-43e9-b8e4-d1897f866854', 'tenant_id': 'ebb1c19592d34690b0e11abc203ac876', 'network_id': '04fb0e32-41bc-4200-808f-c2ec6b9fce57', 'mac_address': '02:a2:d7:24:93:dc', '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': '172.11.141.195', 'subnet_id': 'd93f5aa2-ece5-4bc6-a962-04527926e3f7'}], 'security_groups': ['0f1afe9b-e046-42bf-a967-0c58b4966388'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ebb1c19592d34690b0e11abc203ac876'}}
2025-08-02 23:29:40,184 - DEBUG - Response for create_port : {'port': {'name': '08f4cfab-b84d-47c0-878e-e7641fb9000a', 'id': '08f4cfab-b84d-47c0-878e-e7641fb9000a', 'tenant_id': 'ebb1c19592d34690b0e11abc203ac876', 'network_id': '04fb0e32-41bc-4200-808f-c2ec6b9fce57', 'mac_address': '02:08:f4:cf:ab:b8', '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': '172.11.141.196', 'subnet_id': 'd93f5aa2-ece5-4bc6-a962-04527926e3f7'}], 'security_groups': ['0f1afe9b-e046-42bf-a967-0c58b4966388'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ebb1c19592d34690b0e11abc203ac876'}}
2025-08-02 23:29:40,365 - DEBUG - Image by name ubuntu-keepalive not found
2025-08-02 23:29:40,365 - DEBUG - Installing image ubuntu-keepalive
2025-08-02 23:29:40,366 - 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-02 23:29:40,366 - DEBUG - Image build path http://nexus.opensdn.io/repository///images//ubuntu-keepalive.img.gz
2025-08-02 23:29:40,366 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images//ubuntu-keepalive.img.gz
2025-08-02 23:29:40,381 - 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-02 23:29:42,348 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-keepalive.img.gz
2025-08-02 23:29:42,348 - DEBUG - Unzip image
2025-08-02 23:29:42,348 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-keepalive.img.gz
2025-08-02 23:29:50,215 - DEBUG - Try to create image in user context
2025-08-02 23:29:55,614 - DEBUG - Image has been created in user context
2025-08-02 23:29:55,614 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-keepalive.img
2025-08-02 23:29:55,732 - DEBUG - Downloaded image has been removed
2025-08-02 23:29:55,750 - DEBUG - Uploaded image status = active
2025-08-02 23:29:56,299 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3743-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3743-1)
2025-08-02 23:29:56,991 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3743-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3743-2)
2025-08-02 23:29:57,230 - DEBUG - Image by name ubuntu not found
2025-08-02 23:29:57,230 - DEBUG - Installing image ubuntu
2025-08-02 23:29:57,230 - 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-02 23:29:57,230 - DEBUG - Image build path file:///contrail-test/images/ubuntu.vmdk.gz
2025-08-02 23:29:57,230 - DEBUG - Download image from local file file:///contrail-test/images/ubuntu.vmdk.gz
2025-08-02 23:29:57,230 - DEBUG - Unzip image
2025-08-02 23:29:57,230 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu.vmdk.gz
2025-08-02 23:29:57,249 - INFO - image /contrail-test/images/ubuntu.vmdk is not found
2025-08-02 23:29:57,249 - INFO - Skip interface_detach for VM ctest-vm2-34588715 in state BUILD
2025-08-02 23:29:57,249 - INFO - Deleting VM ctest-vm2-34588715
2025-08-02 23:29:57,249 - ERROR - VM ctest-vm2-34588715 has failed to come up
2025-08-02 23:29:57,249 - ERROR - Nova failed to get host of the VM
2025-08-02 23:29:57,249 - ERROR - VM ctest-vm2-34588715 has failed to come up
2025-08-02 23:29:57,249 - ERROR - Nova failed to get host of the VM
2025-08-02 23:29:57,543 - INFO - Skip interface_detach for VM ctest-vm1-90696936 in state BUILD
2025-08-02 23:29:57,543 - INFO - Deleting VM ctest-vm1-90696936
2025-08-02 23:29:57,543 - ERROR - VM ctest-vm1-90696936 has failed to come up
2025-08-02 23:29:57,543 - ERROR - Nova failed to get host of the VM
2025-08-02 23:29:57,543 - ERROR - VM ctest-vm1-90696936 has failed to come up
2025-08-02 23:29:57,543 - ERROR - Nova failed to get host of the VM
2025-08-02 23:29:58,033 - DEBUG - Response for delete_port : ()
2025-08-02 23:29:58,615 - DEBUG - Response for delete_port : ()
2025-08-02 23:29:58,615 - INFO - Deleting VN ctest-vn1-59398737
2025-08-02 23:29:59,054 - DEBUG - Response for deleting network ()
2025-08-02 23:29:59,187 - INFO - Deleting the FIP pool some-pool1
2025-08-02 23:29:59,471 - DEBUG - Control-node Ifmap-view does not have FIP pool some-pool1 information
2025-08-02 23:29:59,493 - DEBUG - Control-node Ifmap-view does not have FIP pool some-pool1 information
2025-08-02 23:29:59,514 - DEBUG - Control-node Ifmap-view does not have FIP pool some-pool1 information
2025-08-02 23:29:59,514 - INFO - Deleting VM ctest-fvn-vm-97943272
2025-08-02 23:29:59,591 - INFO - Deleting VN ctest-fvn-51729335
2025-08-02 23:29:59,696 - DEBUG - VN 1dfbeabc-c6c6-4466-9389-f4aff726b5d9 still in use: Unable to complete operation on network 1dfbeabc-c6c6-4466-9389-f4aff726b5d9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-14b175df-6514-408d-9089-54b6f79edcda']
2025-08-02 23:29:59,696 - WARNING - Deleting VN ctest-fvn-51729335 failed..Will retry
2025-08-02 23:30:02,122 - DEBUG - Response for deleting network ()
2025-08-02 23:30:03,809 - DEBUG - No XMPP flaps were noticed during the test
2025-08-02 23:30:03,809 - INFO -
2025-08-02 23:30:03,809 - INFO - END TEST : test_aap_with_fip : SKIPPED[0:00:42]
2025-08-02 23:30:03,809 - INFO - --------------------------------------------------------------------------------
2025-08-02 23:30:03,812 - INFO - ================================================================================
2025-08-02 23:30:03,812 - INFO - STARTING TEST : test_aap_with_zero_mac
2025-08-02 23:30:03,812 - 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-02 23:30:05,533 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0', '10.20.0.14': '0'}, '10.0.0.49': {'10.20.0.17': '0', '10.20.0.14': '0'}} with
2025-08-02 23:30:05,533 - INFO - Initial checks done. Running the testcase now
2025-08-02 23:30:05,533 - INFO -
2025-08-02 23:30:06,093 - DEBUG - Response for create_network : {'network': {'id': '575988cd-4a1a-4311-b99a-67108859691e', 'name': 'ctest-vn1-17204391', 'tenant_id': 'ebb1c19592d34690b0e11abc203ac876', 'project_id': 'ebb1c19592d34690b0e11abc203ac876', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52747769', 'ctest-vn1-17204391'], 'port_security_enabled': True, 'description': ''}}
2025-08-02 23:30:06,419 - DEBUG - Response for create_subnet : {'subnet': {'id': '47b4e38d-c84e-41bc-a30a-7a89c0e94304', 'name': '', 'tenant_id': 'ebb1c19592d34690b0e11abc203ac876', 'network_id': '575988cd-4a1a-4311-b99a-67108859691e', 'ip_version': 4, 'cidr': '46.58.41.0/26', 'allocation_pools': [{'start': '46.58.41.2', 'end': '46.58.41.62'}], 'gateway_ip': '46.58.41.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.58.41.2', 'tags': [], 'project_id': 'ebb1c19592d34690b0e11abc203ac876'}}
2025-08-02 23:30:06,441 - INFO - Created VN ctest-vn1-17204391
2025-08-02 23:30:06,455 - DEBUG - VN ctest-vn1-17204391 UUID is 575988cd-4a1a-4311-b99a-67108859691e
2025-08-02 23:30:06,856 - DEBUG - Response for create_port : {'port': {'name': '369c6e8e-23c5-4590-92d0-32a76bfe7dd9', 'id': '369c6e8e-23c5-4590-92d0-32a76bfe7dd9', 'tenant_id': 'ebb1c19592d34690b0e11abc203ac876', 'network_id': '575988cd-4a1a-4311-b99a-67108859691e', 'mac_address': '02:36:9c:6e:8e:23', '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': '46.58.41.3', 'subnet_id': '47b4e38d-c84e-41bc-a30a-7a89c0e94304'}], 'security_groups': ['0f1afe9b-e046-42bf-a967-0c58b4966388'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ebb1c19592d34690b0e11abc203ac876'}}
2025-08-02 23:30:07,123 - DEBUG - Response for create_port : {'port': {'name': '4998308d-16d5-4022-9519-02e3cce3026d', 'id': '4998308d-16d5-4022-9519-02e3cce3026d', 'tenant_id': 'ebb1c19592d34690b0e11abc203ac876', 'network_id': '575988cd-4a1a-4311-b99a-67108859691e', 'mac_address': '02:49:98:30:8d:16', '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': '46.58.41.4', 'subnet_id': '47b4e38d-c84e-41bc-a30a-7a89c0e94304'}], 'security_groups': ['0f1afe9b-e046-42bf-a967-0c58b4966388'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ebb1c19592d34690b0e11abc203ac876'}}
2025-08-02 23:30:07,694 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3743-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3743-2)
2025-08-02 23:30:08,364 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3743-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3743-1)
2025-08-02 23:30:08,711 - DEBUG - Image by name ubuntu not found
2025-08-02 23:30:08,711 - DEBUG - Installing image ubuntu
2025-08-02 23:30:08,711 - 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-02 23:30:08,711 - DEBUG - Image build path file:///contrail-test/images/ubuntu.vmdk.gz
2025-08-02 23:30:08,711 - DEBUG - Download image from local file file:///contrail-test/images/ubuntu.vmdk.gz
2025-08-02 23:30:08,711 - DEBUG - Unzip image
2025-08-02 23:30:08,711 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu.vmdk.gz
2025-08-02 23:30:08,728 - INFO - image /contrail-test/images/ubuntu.vmdk is not found
2025-08-02 23:30:08,729 - INFO - Skip interface_detach for VM ctest-vm2-28176342 in state BUILD
2025-08-02 23:30:08,729 - INFO - Deleting VM ctest-vm2-28176342
2025-08-02 23:30:08,729 - ERROR - VM ctest-vm2-28176342 has failed to come up
2025-08-02 23:30:08,729 - ERROR - Nova failed to get host of the VM
2025-08-02 23:30:08,729 - ERROR - VM ctest-vm2-28176342 has failed to come up
2025-08-02 23:30:08,729 - ERROR - Nova failed to get host of the VM
2025-08-02 23:30:09,083 - INFO - Skip interface_detach for VM ctest-vm1-13652809 in state BUILD
2025-08-02 23:30:09,084 - INFO - Deleting VM ctest-vm1-13652809
2025-08-02 23:30:09,084 - ERROR - VM ctest-vm1-13652809 has failed to come up
2025-08-02 23:30:09,084 - ERROR - Nova failed to get host of the VM
2025-08-02 23:30:09,084 - ERROR - VM ctest-vm1-13652809 has failed to come up
2025-08-02 23:30:09,084 - ERROR - Nova failed to get host of the VM
2025-08-02 23:30:09,623 - DEBUG - Response for delete_port : ()
2025-08-02 23:30:10,249 - DEBUG - Response for delete_port : ()
2025-08-02 23:30:10,249 - INFO - Deleting VN ctest-vn1-17204391
2025-08-02 23:30:10,669 - DEBUG - Response for deleting network ()
2025-08-02 23:30:12,349 - DEBUG - No XMPP flaps were noticed during the test
2025-08-02 23:30:12,349 - INFO -
2025-08-02 23:30:12,350 - INFO - END TEST : test_aap_with_zero_mac : SKIPPED[0:00:09]
2025-08-02 23:30:12,350 - INFO - --------------------------------------------------------------------------------
2025-08-02 23:30:12,354 - INFO - ================================================================================
2025-08-02 23:30:12,354 - INFO - STARTING TEST : test_ports_bindings
2025-08-02 23:30:12,354 - 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-02 23:30:14,014 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0', '10.20.0.14': '0'}, '10.0.0.49': {'10.20.0.17': '0', '10.20.0.14': '0'}} with
2025-08-02 23:30:14,014 - INFO - Initial checks done. Running the testcase now
2025-08-02 23:30:14,014 - INFO -
2025-08-02 23:30:14,593 - DEBUG - Response for create_network : {'network': {'id': 'edd3b493-0b06-45bb-9062-8fadfc238df7', 'name': 'ctest-vn-38704731', 'tenant_id': 'ebb1c19592d34690b0e11abc203ac876', 'project_id': 'ebb1c19592d34690b0e11abc203ac876', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52747769', 'ctest-vn-38704731'], 'port_security_enabled': True, 'description': ''}}
2025-08-02 23:30:15,024 - DEBUG - Response for create_subnet : {'subnet': {'id': '127ae268-2ee8-4fea-934c-5c294d1f5bd9', 'name': '', 'tenant_id': 'ebb1c19592d34690b0e11abc203ac876', 'network_id': 'edd3b493-0b06-45bb-9062-8fadfc238df7', 'ip_version': 4, 'cidr': '28.73.146.192/26', 'allocation_pools': [{'start': '28.73.146.194', 'end': '28.73.146.254'}], 'gateway_ip': '28.73.146.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.73.146.194', 'tags': [], 'project_id': 'ebb1c19592d34690b0e11abc203ac876'}}
2025-08-02 23:30:15,075 - INFO - Created VN ctest-vn-38704731
2025-08-02 23:30:15,114 - DEBUG - VN ctest-vn-38704731 UUID is edd3b493-0b06-45bb-9062-8fadfc238df7
2025-08-02 23:30:15,256 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-52747769', 'ctest-vmi-32968502']}
2025-08-02 23:30:15,777 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-32968502', 'id': '9d7b4846-237d-48ac-bcf8-1108b2d7642d', 'tenant_id': 'ebb1c19592d34690b0e11abc203ac876', 'network_id': 'edd3b493-0b06-45bb-9062-8fadfc238df7', 'mac_address': '02:9d:7b:48:46:23', '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': '28.73.146.195', 'subnet_id': '127ae268-2ee8-4fea-934c-5c294d1f5bd9'}], 'security_groups': ['0f1afe9b-e046-42bf-a967-0c58b4966388'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ebb1c19592d34690b0e11abc203ac876'}}
2025-08-02 23:30:15,777 - DEBUG - Created port 9d7b4846-237d-48ac-bcf8-1108b2d7642d
2025-08-02 23:30:15,878 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9d7b4846-237d-48ac-bcf8-1108b2d7642d
2025-08-02 23:30:15,978 - INFO - VMI 9d7b4846-237d-48ac-bcf8-1108b2d7642d verification in API Server passed
2025-08-02 23:30:16,294 - DEBUG - Response for delete_port : ()
2025-08-02 23:30:16,295 - INFO - Deleted port 9d7b4846-237d-48ac-bcf8-1108b2d7642d
2025-08-02 23:30:16,295 - INFO - Deleting VN ctest-vn-38704731
2025-08-02 23:30:16,490 - DEBUG - Response for deleting network ()
2025-08-02 23:30:17,876 - DEBUG - No XMPP flaps were noticed during the test
2025-08-02 23:30:17,876 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2025-08-02 23:30:17,876 - INFO - --------------------------------------------------------------------------------
2025-08-02 23:30:17,879 - INFO - ================================================================================
2025-08-02 23:30:17,879 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-02 23:30:17,879 - 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-02 23:30:19,261 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0', '10.20.0.14': '0'}, '10.0.0.49': {'10.20.0.17': '0', '10.20.0.14': '0'}} with
2025-08-02 23:30:19,261 - INFO - Initial checks done. Running the testcase now
2025-08-02 23:30:19,261 - INFO -
2025-08-02 23:30:19,713 - DEBUG - Response for create_network : {'network': {'id': '573df981-8117-452b-8752-e0504cc65930', 'name': 'ctest-vn1-12309602', 'tenant_id': 'ebb1c19592d34690b0e11abc203ac876', 'project_id': 'ebb1c19592d34690b0e11abc203ac876', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52747769', 'ctest-vn1-12309602'], 'port_security_enabled': True, 'description': ''}}
2025-08-02 23:30:19,983 - DEBUG - Response for create_subnet : {'subnet': {'id': '73b77543-8af6-4abf-83da-1f708cfe2b17', 'name': '', 'tenant_id': 'ebb1c19592d34690b0e11abc203ac876', 'network_id': '573df981-8117-452b-8752-e0504cc65930', 'ip_version': 4, 'cidr': '71.131.65.128/26', 'allocation_pools': [{'start': '71.131.65.130', 'end': '71.131.65.190'}], 'gateway_ip': '71.131.65.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.131.65.130', 'tags': [], 'project_id': 'ebb1c19592d34690b0e11abc203ac876'}}
2025-08-02 23:30:20,342 - DEBUG - Response for create_subnet : {'subnet': {'id': '594b8da6-c89b-4f46-bfc7-a49330c3e789', 'name': '', 'tenant_id': 'ebb1c19592d34690b0e11abc203ac876', 'network_id': '573df981-8117-452b-8752-e0504cc65930', 'ip_version': 4, 'cidr': '42.233.103.0/26', 'allocation_pools': [{'start': '42.233.103.2', 'end': '42.233.103.62'}], 'gateway_ip': '42.233.103.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.233.103.2', 'tags': [], 'project_id': 'ebb1c19592d34690b0e11abc203ac876'}}
2025-08-02 23:30:20,373 - INFO - Created VN ctest-vn1-12309602
2025-08-02 23:30:20,392 - DEBUG - VN ctest-vn1-12309602 UUID is 573df981-8117-452b-8752-e0504cc65930
2025-08-02 23:30:20,841 - DEBUG - Response for create_port : {'port': {'name': 'd92debb2-c51c-466c-bbea-d2756d023ff0', 'id': 'd92debb2-c51c-466c-bbea-d2756d023ff0', 'tenant_id': 'ebb1c19592d34690b0e11abc203ac876', 'network_id': '573df981-8117-452b-8752-e0504cc65930', 'mac_address': '02:d9:2d:eb:b2:c5', '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': '71.131.65.133', 'subnet_id': '73b77543-8af6-4abf-83da-1f708cfe2b17'}], 'security_groups': ['0f1afe9b-e046-42bf-a967-0c58b4966388'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ebb1c19592d34690b0e11abc203ac876'}}
2025-08-02 23:30:21,080 - DEBUG - Response for create_port : {'port': {'name': '6b87cb42-aeec-4c7c-85e6-dd5bd296846f', 'id': '6b87cb42-aeec-4c7c-85e6-dd5bd296846f', 'tenant_id': 'ebb1c19592d34690b0e11abc203ac876', 'network_id': '573df981-8117-452b-8752-e0504cc65930', 'mac_address': '02:6b:87:cb:42:ae', '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': '42.233.103.5', 'subnet_id': '594b8da6-c89b-4f46-bfc7-a49330c3e789'}], 'security_groups': ['0f1afe9b-e046-42bf-a967-0c58b4966388'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ebb1c19592d34690b0e11abc203ac876'}}
2025-08-02 23:30:21,655 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3743-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3743-1)
2025-08-02 23:30:22,409 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3743-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3743-2)
2025-08-02 23:30:22,409 - INFO - Waiting for VM ctest-vn1-vm1-56201299 to be up..
2025-08-02 23:30:22,522 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-02 23:30:27,639 - DEBUG - VM is in ACTIVE state now
2025-08-02 23:30:27,639 - INFO - VM name : ctest-vn1-vm1-56201299
2025-08-02 23:30:27,748 - DEBUG - VM ctest-vn1-vm1-56201299 ID is 98ac40ff-ef0c-4fc5-82bc-b2b3c16f8596
2025-08-02 23:30:27,748 - DEBUG - VM ctest-vn1-vm1-56201299 launched on Node an-jenkins-deploy-platform-ansible-os-3743-1
2025-08-02 23:30:27,880 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/98ac40ff-ef0c-4fc5-82bc-b2b3c16f8596
2025-08-02 23:30:27,901 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d92debb2-c51c-466c-bbea-d2756d023ff0
2025-08-02 23:30:31,178 - 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 1021ms')
2025-08-02 23:30:31,178 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56201299 failed!
2025-08-02 23:30:31,204 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-52747769:ctest-vn1-12309602 is 71.131.65.129 and allocation pool is NOT set
2025-08-02 23:30:31,204 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-52747769:ctest-vn1-12309602 is 42.233.103.1 and allocation pool is NOT set
2025-08-02 23:30:33,267 - 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=11.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.427 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.427/6.080/11.734/5.653 ms')
2025-08-02 23:30:33,267 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56201299 passed
2025-08-02 23:30:33,421 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-02 23:30:33,421 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56201299, IP 71.131.65.133, Port 22
2025-08-02 23:30:33,590 - DEBUG - VM ctest-vn1-vm1-56201299 is ready for SSH connections
2025-08-02 23:30:33,591 - INFO - Waiting for VM ctest-vn1-vm2-88649958 to be up..
2025-08-02 23:30:33,712 - DEBUG - VM is in ACTIVE state now
2025-08-02 23:30:33,712 - INFO - VM name : ctest-vn1-vm2-88649958
2025-08-02 23:30:33,815 - DEBUG - VM ctest-vn1-vm2-88649958 ID is 29574c96-e3cf-4041-9e8b-79b51e305399
2025-08-02 23:30:33,816 - DEBUG - VM ctest-vn1-vm2-88649958 launched on Node an-jenkins-deploy-platform-ansible-os-3743-2
2025-08-02 23:30:33,928 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/29574c96-e3cf-4041-9e8b-79b51e305399
2025-08-02 23:30:33,953 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6b87cb42-aeec-4c7c-85e6-dd5bd296846f
2025-08-02 23:30:35,218 - 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.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.04 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 = 2.039/3.970/5.901/1.931 ms')
2025-08-02 23:30:35,218 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-88649958 passed
2025-08-02 23:30:35,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-02 23:30:35,369 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-88649958, IP 42.233.103.5, Port 22
2025-08-02 23:30:35,525 - DEBUG - VM ctest-vn1-vm2-88649958 is ready for SSH connections
2025-08-02 23:30:35,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-02 23:30:35,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-02 23:30:35,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-02 23:30:35,526 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.131.65.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-08-02 23:30:35,526 - DEBUG - ping -s 56 -c 3 -W 1 71.131.65.133
2025-08-02 23:30:39,486 - DEBUG - PING 71.131.65.133 (71.131.65.133): 56 data bytes
64 bytes from 71.131.65.133: seq=0 ttl=63 time=5.083 ms
64 bytes from 71.131.65.133: seq=1 ttl=63 time=1.319 ms
64 bytes from 71.131.65.133: seq=2 ttl=63 time=1.155 ms
--- 71.131.65.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.155/2.519/5.083 ms
2025-08-02 23:30:39,486 - INFO - Ping to IP 71.131.65.133 from VM ctest-vn1-vm2-88649958 passed
2025-08-02 23:30:39,487 - INFO - Detaching port 6b87cb42-aeec-4c7c-85e6-dd5bd296846f from VM ctest-vn1-vm2-88649958
2025-08-02 23:30:39,538 - INFO - Deleting VM ctest-vn1-vm2-88649958
2025-08-02 23:30:39,605 - INFO - Detaching port d92debb2-c51c-466c-bbea-d2756d023ff0 from VM ctest-vn1-vm1-56201299
2025-08-02 23:30:39,643 - INFO - Deleting VM ctest-vn1-vm1-56201299
2025-08-02 23:30:40,204 - DEBUG - Response for delete_port : ()
2025-08-02 23:30:40,525 - DEBUG - Response for delete_port : ()
2025-08-02 23:30:40,525 - INFO - Deleting VN ctest-vn1-12309602
2025-08-02 23:30:40,847 - DEBUG - Response for deleting network ()
2025-08-02 23:30:42,233 - DEBUG - No XMPP flaps were noticed during the test
2025-08-02 23:30:42,233 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-08-02 23:30:42,233 - INFO - --------------------------------------------------------------------------------
2025-08-02 23:30:43,117 - INFO - Deleted project: ctest-TestPorts-52747769, ID : ebb1c195-92d3-4690-b0e1-1abc203ac876