2025-08-11 02:30:18,187 - INFO - Domain Default found not creating
2025-08-11 02:30:18,369 - INFO - Project ctest-TestPorts-56721828 not found, creating it
2025-08-11 02:30:18,949 - INFO - Created Project:ctest-TestPorts-56721828, ID : 2795e463-55ca-4136-b3ac-3d0d124081a5
2025-08-11 02:30:20,449 - INFO - ================================================================================
2025-08-11 02:30:20,449 - INFO - STARTING TEST : test_aap_with_fip
2025-08-11 02:30:20,449 - 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-11 02:30:21,728 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.65': {'10.20.0.129': '0', '10.20.0.25': '0'}} with
2025-08-11 02:30:21,728 - INFO - Initial checks done. Running the testcase now
2025-08-11 02:30:21,728 - INFO -
2025-08-11 02:30:21,728 - INFO - Create a FVN. Create a FIP-Pool and FIP
2025-08-11 02:30:22,399 - DEBUG - Response for create_network : {'network': {'id': 'ac18e00a-f1a0-46e2-86b5-ecb5f29bf24d', 'name': 'ctest-fvn-07796858', 'tenant_id': '2795e46355ca4136b3ac3d0d124081a5', 'project_id': '2795e46355ca4136b3ac3d0d124081a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-56721828', 'ctest-fvn-07796858'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 02:30:22,668 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce2de8f0-df24-4da7-b507-b82ec5b82e8c', 'name': '', 'tenant_id': '2795e46355ca4136b3ac3d0d124081a5', 'network_id': 'ac18e00a-f1a0-46e2-86b5-ecb5f29bf24d', 'ip_version': 4, 'cidr': '116.236.114.64/26', 'allocation_pools': [{'start': '116.236.114.66', 'end': '116.236.114.126'}], 'gateway_ip': '116.236.114.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.236.114.66', 'tags': [], 'project_id': '2795e46355ca4136b3ac3d0d124081a5'}}
2025-08-11 02:30:22,689 - INFO - Created VN ctest-fvn-07796858
2025-08-11 02:30:22,703 - DEBUG - VN ctest-fvn-07796858 UUID is ac18e00a-f1a0-46e2-86b5-ecb5f29bf24d
2025-08-11 02:30:22,832 - DEBUG - Services list from nova: [, , , ]
2025-08-11 02:30:23,903 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3794-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3794-2)
2025-08-11 02:30:23,903 - INFO - Waiting for VM ctest-fvn-vm-03325423 to be up..
2025-08-11 02:30:23,965 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 02:30:29,050 - DEBUG - VM is in ACTIVE state now
2025-08-11 02:30:29,050 - INFO - VM name : ctest-fvn-vm-03325423
2025-08-11 02:30:29,140 - DEBUG - VM ctest-fvn-vm-03325423 ID is e9df7179-b5a5-4d76-99b0-51e815428eba
2025-08-11 02:30:29,166 - DEBUG - VM ctest-fvn-vm-03325423 launched on Node an-jenkins-deploy-platform-ansible-os-3794-2
2025-08-11 02:30:29,244 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/e9df7179-b5a5-4d76-99b0-51e815428eba
2025-08-11 02:30:29,538 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/e9df7179-b5a5-4d76-99b0-51e815428eba
2025-08-11 02:30:29,574 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/b7300d69-73e3-4334-8aa8-0b6912bb1ba9
2025-08-11 02:30:32,812 - 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 1020ms')
2025-08-11 02:30:32,812 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-fvn-vm-03325423 failed!
2025-08-11 02:30:32,830 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-56721828:ctest-fvn-07796858 is 116.236.114.65 and allocation pool is NOT set
2025-08-11 02:30:34,888 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.395 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.395/2.193/3.991/1.798 ms')
2025-08-11 02:30:34,889 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-fvn-vm-03325423 passed
2025-08-11 02:30:34,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:30:34,999 - DEBUG - Waiting to SSH to VM ctest-fvn-vm-03325423, IP 116.236.114.67, Port 22
2025-08-11 02:30:35,154 - DEBUG - VM ctest-fvn-vm-03325423 is ready for SSH connections
2025-08-11 02:30:35,303 - INFO - Creating Floating IP pool some-pool1 in API Server
2025-08-11 02:30:35,462 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2025-08-11 02:30:35,766 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2025-08-11 02:30:35,794 - DEBUG - Requesting: http://10.0.0.23:8082/domain/e652ea40-e608-445e-8759-8973ddbd3f22
2025-08-11 02:30:35,813 - DEBUG - Requesting: http://10.0.0.23:8082/project/2795e463-55ca-4136-b3ac-3d0d124081a5
2025-08-11 02:30:35,907 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/ac18e00a-f1a0-46e2-86b5-ecb5f29bf24d
2025-08-11 02:30:35,921 - DEBUG - Requesting: http://10.0.0.23:8082/floating-ip-pool/4509a151-2bca-41b8-8f42-0ae40dfd4228
2025-08-11 02:30:35,930 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2025-08-11 02:30:35,937 - DEBUG - Requesting: http://10.0.0.23:8082/domain/e652ea40-e608-445e-8759-8973ddbd3f22
2025-08-11 02:30:35,953 - DEBUG - Requesting: http://10.0.0.23:8082/project/2795e463-55ca-4136-b3ac-3d0d124081a5
2025-08-11 02:30:36,059 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/ac18e00a-f1a0-46e2-86b5-ecb5f29bf24d
2025-08-11 02:30:36,072 - DEBUG - FIP Pool some-pool1 found in API Server
2025-08-11 02:30:36,072 - INFO - Verification for FIP pool some-pool1 in API Server passed
2025-08-11 02:30:36,088 - DEBUG - Control-node Ifmap-view has FIP pool some-pool1 information
2025-08-11 02:30:36,093 - DEBUG - Control-node Ifmap-view has FIP pool some-pool1 information
2025-08-11 02:30:36,099 - DEBUG - Control-node Ifmap-view has FIP pool some-pool1 information
2025-08-11 02:30:36,099 - INFO - Verification for FIP pool some-pool1 in Control-node passed
2025-08-11 02:30:36,099 - INFO - Creating FIP from some-pool1
2025-08-11 02:30:36,591 - DEBUG - Response for create_network : {'network': {'id': '56ddd68c-b768-4448-935a-a507aed63b9e', 'name': 'ctest-vn1-87713877', 'tenant_id': '2795e46355ca4136b3ac3d0d124081a5', 'project_id': '2795e46355ca4136b3ac3d0d124081a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-56721828', 'ctest-vn1-87713877'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 02:30:36,860 - DEBUG - Response for create_subnet : {'subnet': {'id': '41b4c411-d04b-4549-852b-f2eae5a290e7', 'name': '', 'tenant_id': '2795e46355ca4136b3ac3d0d124081a5', 'network_id': '56ddd68c-b768-4448-935a-a507aed63b9e', 'ip_version': 4, 'cidr': '119.232.201.128/26', 'allocation_pools': [{'start': '119.232.201.130', 'end': '119.232.201.190'}], 'gateway_ip': '119.232.201.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.232.201.130', 'tags': [], 'project_id': '2795e46355ca4136b3ac3d0d124081a5'}}
2025-08-11 02:30:36,883 - INFO - Created VN ctest-vn1-87713877
2025-08-11 02:30:36,896 - DEBUG - VN ctest-vn1-87713877 UUID is 56ddd68c-b768-4448-935a-a507aed63b9e
2025-08-11 02:30:37,245 - DEBUG - Response for create_port : {'port': {'name': '0de5f1a5-b636-4aff-b396-85525ce49d2a', 'id': '0de5f1a5-b636-4aff-b396-85525ce49d2a', 'tenant_id': '2795e46355ca4136b3ac3d0d124081a5', 'network_id': '56ddd68c-b768-4448-935a-a507aed63b9e', 'mac_address': '02:0d:e5:f1:a5:b6', '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': '119.232.201.131', 'subnet_id': '41b4c411-d04b-4549-852b-f2eae5a290e7'}], 'security_groups': ['aaaaf479-4c2a-4694-82fa-d6da0627baeb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2795e46355ca4136b3ac3d0d124081a5'}}
2025-08-11 02:30:37,538 - DEBUG - Response for create_port : {'port': {'name': 'b31f9886-8df5-421c-9eff-80e8a764d2b8', 'id': 'b31f9886-8df5-421c-9eff-80e8a764d2b8', 'tenant_id': '2795e46355ca4136b3ac3d0d124081a5', 'network_id': '56ddd68c-b768-4448-935a-a507aed63b9e', 'mac_address': '02:b3:1f:98:86:8d', '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': '119.232.201.132', 'subnet_id': '41b4c411-d04b-4549-852b-f2eae5a290e7'}], 'security_groups': ['aaaaf479-4c2a-4694-82fa-d6da0627baeb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2795e46355ca4136b3ac3d0d124081a5'}}
2025-08-11 02:30:37,679 - DEBUG - Image by name ubuntu-keepalive not found
2025-08-11 02:30:37,680 - DEBUG - Installing image ubuntu-keepalive
2025-08-11 02:30:37,680 - 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-11 02:30:37,680 - DEBUG - Image build path http://nexus.opensdn.io/repository///images//ubuntu-keepalive.img.gz
2025-08-11 02:30:37,680 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images//ubuntu-keepalive.img.gz
2025-08-11 02:30:37,691 - 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-11 02:30:39,652 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-keepalive.img.gz
2025-08-11 02:30:39,653 - DEBUG - Unzip image
2025-08-11 02:30:39,653 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-keepalive.img.gz
2025-08-11 02:30:47,275 - DEBUG - Try to create image in user context
2025-08-11 02:30:52,964 - DEBUG - Image has been created in user context
2025-08-11 02:30:52,964 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-keepalive.img
2025-08-11 02:30:53,087 - DEBUG - Downloaded image has been removed
2025-08-11 02:30:53,099 - DEBUG - Uploaded image status = active
2025-08-11 02:30:53,549 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3794-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3794-1)
2025-08-11 02:30:54,257 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3794-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3794-2)
2025-08-11 02:30:54,517 - DEBUG - Image by name ubuntu not found
2025-08-11 02:30:54,517 - DEBUG - Installing image ubuntu
2025-08-11 02:30:54,517 - 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-11 02:30:54,518 - DEBUG - Image build path file:///contrail-test/images/ubuntu.vmdk.gz
2025-08-11 02:30:54,518 - DEBUG - Download image from local file file:///contrail-test/images/ubuntu.vmdk.gz
2025-08-11 02:30:54,518 - DEBUG - Unzip image
2025-08-11 02:30:54,518 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu.vmdk.gz
2025-08-11 02:30:54,541 - INFO - image /contrail-test/images/ubuntu.vmdk is not found
2025-08-11 02:30:54,542 - INFO - Skip interface_detach for VM ctest-vm2-67969030 in state BUILD
2025-08-11 02:30:54,542 - INFO - Deleting VM ctest-vm2-67969030
2025-08-11 02:30:54,542 - ERROR - VM ctest-vm2-67969030 has failed to come up
2025-08-11 02:30:54,542 - ERROR - Nova failed to get host of the VM
2025-08-11 02:30:54,542 - ERROR - VM ctest-vm2-67969030 has failed to come up
2025-08-11 02:30:54,542 - ERROR - Nova failed to get host of the VM
2025-08-11 02:30:54,858 - INFO - Skip interface_detach for VM ctest-vm1-73115005 in state BUILD
2025-08-11 02:30:54,858 - INFO - Deleting VM ctest-vm1-73115005
2025-08-11 02:30:54,859 - ERROR - VM ctest-vm1-73115005 has failed to come up
2025-08-11 02:30:54,859 - ERROR - Nova failed to get host of the VM
2025-08-11 02:30:54,859 - ERROR - VM ctest-vm1-73115005 has failed to come up
2025-08-11 02:30:54,859 - ERROR - Nova failed to get host of the VM
2025-08-11 02:30:55,294 - DEBUG - Response for delete_port : ()
2025-08-11 02:30:55,591 - DEBUG - Response for delete_port : ()
2025-08-11 02:30:55,591 - INFO - Deleting VN ctest-vn1-87713877
2025-08-11 02:30:55,746 - DEBUG - Response for deleting network ()
2025-08-11 02:30:55,824 - INFO - Deleting the FIP pool some-pool1
2025-08-11 02:30:55,980 - DEBUG - Control-node Ifmap-view does not have FIP pool some-pool1 information
2025-08-11 02:30:55,987 - DEBUG - Control-node Ifmap-view does not have FIP pool some-pool1 information
2025-08-11 02:30:55,994 - DEBUG - Control-node Ifmap-view does not have FIP pool some-pool1 information
2025-08-11 02:30:55,995 - INFO - Deleting VM ctest-fvn-vm-03325423
2025-08-11 02:30:56,068 - INFO - Deleting VN ctest-fvn-07796858
2025-08-11 02:30:56,114 - DEBUG - VN ac18e00a-f1a0-46e2-86b5-ecb5f29bf24d still in use: Unable to complete operation on network ac18e00a-f1a0-46e2-86b5-ecb5f29bf24d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-01f04518-67e0-4372-96cd-9ed41ed8b90c']
2025-08-11 02:30:56,115 - WARNING - Deleting VN ctest-fvn-07796858 failed..Will retry
2025-08-11 02:30:58,309 - DEBUG - Response for deleting network ()
2025-08-11 02:30:59,603 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 02:30:59,603 - INFO -
2025-08-11 02:30:59,603 - INFO - END TEST : test_aap_with_fip : SKIPPED[0:00:39]
2025-08-11 02:30:59,603 - INFO - --------------------------------------------------------------------------------
2025-08-11 02:30:59,606 - INFO - ================================================================================
2025-08-11 02:30:59,606 - INFO - STARTING TEST : test_aap_with_zero_mac
2025-08-11 02:30:59,606 - 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-11 02:31:00,879 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.65': {'10.20.0.129': '0', '10.20.0.25': '0'}} with
2025-08-11 02:31:00,879 - INFO - Initial checks done. Running the testcase now
2025-08-11 02:31:00,879 - INFO -
2025-08-11 02:31:01,142 - DEBUG - Response for create_network : {'network': {'id': 'bba514db-16d2-44a3-b66d-a588f614078c', 'name': 'ctest-vn1-73251625', 'tenant_id': '2795e46355ca4136b3ac3d0d124081a5', 'project_id': '2795e46355ca4136b3ac3d0d124081a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-56721828', 'ctest-vn1-73251625'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 02:31:01,385 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ce7f98c-f298-4b0e-8a61-3e66a1c36ca0', 'name': '', 'tenant_id': '2795e46355ca4136b3ac3d0d124081a5', 'network_id': 'bba514db-16d2-44a3-b66d-a588f614078c', 'ip_version': 4, 'cidr': '123.153.214.0/26', 'allocation_pools': [{'start': '123.153.214.2', 'end': '123.153.214.62'}], 'gateway_ip': '123.153.214.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.153.214.2', 'tags': [], 'project_id': '2795e46355ca4136b3ac3d0d124081a5'}}
2025-08-11 02:31:01,405 - INFO - Created VN ctest-vn1-73251625
2025-08-11 02:31:01,421 - DEBUG - VN ctest-vn1-73251625 UUID is bba514db-16d2-44a3-b66d-a588f614078c
2025-08-11 02:31:01,751 - DEBUG - Response for create_port : {'port': {'name': '3c5731a8-4f17-47a8-bf8f-725e203f3e96', 'id': '3c5731a8-4f17-47a8-bf8f-725e203f3e96', 'tenant_id': '2795e46355ca4136b3ac3d0d124081a5', 'network_id': 'bba514db-16d2-44a3-b66d-a588f614078c', 'mac_address': '02:3c:57:31:a8:4f', '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': '123.153.214.3', 'subnet_id': '9ce7f98c-f298-4b0e-8a61-3e66a1c36ca0'}], 'security_groups': ['aaaaf479-4c2a-4694-82fa-d6da0627baeb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2795e46355ca4136b3ac3d0d124081a5'}}
2025-08-11 02:31:02,005 - DEBUG - Response for create_port : {'port': {'name': '723028a6-7572-40aa-8294-544637e6cf8e', 'id': '723028a6-7572-40aa-8294-544637e6cf8e', 'tenant_id': '2795e46355ca4136b3ac3d0d124081a5', 'network_id': 'bba514db-16d2-44a3-b66d-a588f614078c', 'mac_address': '02:72:30:28:a6:75', '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': '123.153.214.4', 'subnet_id': '9ce7f98c-f298-4b0e-8a61-3e66a1c36ca0'}], 'security_groups': ['aaaaf479-4c2a-4694-82fa-d6da0627baeb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2795e46355ca4136b3ac3d0d124081a5'}}
2025-08-11 02:31:02,443 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3794-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3794-2)
2025-08-11 02:31:02,959 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3794-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3794-1)
2025-08-11 02:31:03,204 - DEBUG - Image by name ubuntu not found
2025-08-11 02:31:03,204 - DEBUG - Installing image ubuntu
2025-08-11 02:31:03,204 - 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-11 02:31:03,205 - DEBUG - Image build path file:///contrail-test/images/ubuntu.vmdk.gz
2025-08-11 02:31:03,205 - DEBUG - Download image from local file file:///contrail-test/images/ubuntu.vmdk.gz
2025-08-11 02:31:03,205 - DEBUG - Unzip image
2025-08-11 02:31:03,205 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu.vmdk.gz
2025-08-11 02:31:03,224 - INFO - image /contrail-test/images/ubuntu.vmdk is not found
2025-08-11 02:31:03,225 - INFO - Skip interface_detach for VM ctest-vm2-16962275 in state BUILD
2025-08-11 02:31:03,225 - INFO - Deleting VM ctest-vm2-16962275
2025-08-11 02:31:03,226 - ERROR - VM ctest-vm2-16962275 has failed to come up
2025-08-11 02:31:03,226 - ERROR - Nova failed to get host of the VM
2025-08-11 02:31:03,227 - ERROR - VM ctest-vm2-16962275 has failed to come up
2025-08-11 02:31:03,227 - ERROR - Nova failed to get host of the VM
2025-08-11 02:31:03,502 - INFO - Skip interface_detach for VM ctest-vm1-01777654 in state BUILD
2025-08-11 02:31:03,502 - INFO - Deleting VM ctest-vm1-01777654
2025-08-11 02:31:03,502 - ERROR - VM ctest-vm1-01777654 has failed to come up
2025-08-11 02:31:03,502 - ERROR - Nova failed to get host of the VM
2025-08-11 02:31:03,502 - ERROR - VM ctest-vm1-01777654 has failed to come up
2025-08-11 02:31:03,502 - ERROR - Nova failed to get host of the VM
2025-08-11 02:31:03,755 - DEBUG - Response for delete_port : ()
2025-08-11 02:31:04,008 - DEBUG - Response for delete_port : ()
2025-08-11 02:31:04,008 - INFO - Deleting VN ctest-vn1-73251625
2025-08-11 02:31:04,242 - DEBUG - Response for deleting network ()
2025-08-11 02:31:05,589 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 02:31:05,589 - INFO -
2025-08-11 02:31:05,589 - INFO - END TEST : test_aap_with_zero_mac : SKIPPED[0:00:06]
2025-08-11 02:31:05,589 - INFO - --------------------------------------------------------------------------------
2025-08-11 02:31:05,592 - INFO - ================================================================================
2025-08-11 02:31:05,592 - INFO - STARTING TEST : test_ports_bindings
2025-08-11 02:31:05,592 - 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-11 02:31:06,886 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.65': {'10.20.0.129': '0', '10.20.0.25': '0'}} with
2025-08-11 02:31:06,886 - INFO - Initial checks done. Running the testcase now
2025-08-11 02:31:06,886 - INFO -
2025-08-11 02:31:07,186 - DEBUG - Response for create_network : {'network': {'id': '60b8e087-8501-4990-99b5-4ab68fe8cdd6', 'name': 'ctest-vn-36610625', 'tenant_id': '2795e46355ca4136b3ac3d0d124081a5', 'project_id': '2795e46355ca4136b3ac3d0d124081a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-56721828', 'ctest-vn-36610625'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 02:31:07,461 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c96c4a72-915d-40c3-b762-40ca5af5bff4', 'name': '', 'tenant_id': '2795e46355ca4136b3ac3d0d124081a5', 'network_id': '60b8e087-8501-4990-99b5-4ab68fe8cdd6', 'ip_version': 4, 'cidr': '92.206.45.0/26', 'allocation_pools': [{'start': '92.206.45.2', 'end': '92.206.45.62'}], 'gateway_ip': '92.206.45.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.206.45.2', 'tags': [], 'project_id': '2795e46355ca4136b3ac3d0d124081a5'}}
2025-08-11 02:31:07,482 - INFO - Created VN ctest-vn-36610625
2025-08-11 02:31:07,493 - DEBUG - VN ctest-vn-36610625 UUID is 60b8e087-8501-4990-99b5-4ab68fe8cdd6
2025-08-11 02:31:07,566 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-56721828', 'ctest-vmi-33327276']}
2025-08-11 02:31:07,892 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-33327276', 'id': '4ff7a9f0-9380-4a9b-af29-e1394acee314', 'tenant_id': '2795e46355ca4136b3ac3d0d124081a5', 'network_id': '60b8e087-8501-4990-99b5-4ab68fe8cdd6', 'mac_address': '02:4f:f7:a9:f0:93', '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': '92.206.45.3', 'subnet_id': 'c96c4a72-915d-40c3-b762-40ca5af5bff4'}], 'security_groups': ['aaaaf479-4c2a-4694-82fa-d6da0627baeb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2795e46355ca4136b3ac3d0d124081a5'}}
2025-08-11 02:31:07,892 - DEBUG - Created port 4ff7a9f0-9380-4a9b-af29-e1394acee314
2025-08-11 02:31:07,966 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/4ff7a9f0-9380-4a9b-af29-e1394acee314
2025-08-11 02:31:07,980 - INFO - VMI 4ff7a9f0-9380-4a9b-af29-e1394acee314 verification in API Server passed
2025-08-11 02:31:08,122 - DEBUG - Response for delete_port : ()
2025-08-11 02:31:08,122 - INFO - Deleted port 4ff7a9f0-9380-4a9b-af29-e1394acee314
2025-08-11 02:31:08,122 - INFO - Deleting VN ctest-vn-36610625
2025-08-11 02:31:08,275 - DEBUG - Response for deleting network ()
2025-08-11 02:31:09,555 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 02:31:09,555 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04]
2025-08-11 02:31:09,555 - INFO - --------------------------------------------------------------------------------
2025-08-11 02:31:09,559 - INFO - ================================================================================
2025-08-11 02:31:09,559 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-11 02:31:09,559 - 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-11 02:31:10,806 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.65': {'10.20.0.129': '0', '10.20.0.25': '0'}} with
2025-08-11 02:31:10,806 - INFO - Initial checks done. Running the testcase now
2025-08-11 02:31:10,806 - INFO -
2025-08-11 02:31:11,091 - DEBUG - Response for create_network : {'network': {'id': '178ff6cd-2ee2-4dfd-aeab-e8dcac4e13d8', 'name': 'ctest-vn1-44150045', 'tenant_id': '2795e46355ca4136b3ac3d0d124081a5', 'project_id': '2795e46355ca4136b3ac3d0d124081a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-56721828', 'ctest-vn1-44150045'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 02:31:11,340 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6e21321-3ef9-4e4c-855c-103e05c9ec24', 'name': '', 'tenant_id': '2795e46355ca4136b3ac3d0d124081a5', 'network_id': '178ff6cd-2ee2-4dfd-aeab-e8dcac4e13d8', 'ip_version': 4, 'cidr': '99.52.94.64/26', 'allocation_pools': [{'start': '99.52.94.66', 'end': '99.52.94.126'}], 'gateway_ip': '99.52.94.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.52.94.66', 'tags': [], 'project_id': '2795e46355ca4136b3ac3d0d124081a5'}}
2025-08-11 02:31:11,611 - DEBUG - Response for create_subnet : {'subnet': {'id': '15be47bd-8c31-451b-b258-3f8b0933f528', 'name': '', 'tenant_id': '2795e46355ca4136b3ac3d0d124081a5', 'network_id': '178ff6cd-2ee2-4dfd-aeab-e8dcac4e13d8', 'ip_version': 4, 'cidr': '149.33.51.192/26', 'allocation_pools': [{'start': '149.33.51.194', 'end': '149.33.51.254'}], 'gateway_ip': '149.33.51.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.33.51.194', 'tags': [], 'project_id': '2795e46355ca4136b3ac3d0d124081a5'}}
2025-08-11 02:31:11,635 - INFO - Created VN ctest-vn1-44150045
2025-08-11 02:31:11,723 - DEBUG - VN ctest-vn1-44150045 UUID is 178ff6cd-2ee2-4dfd-aeab-e8dcac4e13d8
2025-08-11 02:31:12,060 - DEBUG - Response for create_port : {'port': {'name': '473810ff-a75d-41c0-8a51-48c76bf819b3', 'id': '473810ff-a75d-41c0-8a51-48c76bf819b3', 'tenant_id': '2795e46355ca4136b3ac3d0d124081a5', 'network_id': '178ff6cd-2ee2-4dfd-aeab-e8dcac4e13d8', 'mac_address': '02:47:38:10:ff:a7', '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': '99.52.94.69', 'subnet_id': 'c6e21321-3ef9-4e4c-855c-103e05c9ec24'}], 'security_groups': ['aaaaf479-4c2a-4694-82fa-d6da0627baeb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2795e46355ca4136b3ac3d0d124081a5'}}
2025-08-11 02:31:12,360 - DEBUG - Response for create_port : {'port': {'name': '4ce83eda-43a4-4112-ba4b-33a82328f6b4', 'id': '4ce83eda-43a4-4112-ba4b-33a82328f6b4', 'tenant_id': '2795e46355ca4136b3ac3d0d124081a5', 'network_id': '178ff6cd-2ee2-4dfd-aeab-e8dcac4e13d8', 'mac_address': '02:4c:e8:3e:da:43', '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': '149.33.51.197', 'subnet_id': '15be47bd-8c31-451b-b258-3f8b0933f528'}], 'security_groups': ['aaaaf479-4c2a-4694-82fa-d6da0627baeb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2795e46355ca4136b3ac3d0d124081a5'}}
2025-08-11 02:31:12,763 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3794-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3794-1)
2025-08-11 02:31:13,202 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3794-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3794-2)
2025-08-11 02:31:13,202 - INFO - Waiting for VM ctest-vn1-vm1-76061125 to be up..
2025-08-11 02:31:13,274 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 02:31:18,348 - DEBUG - VM is in ACTIVE state now
2025-08-11 02:31:18,348 - INFO - VM name : ctest-vn1-vm1-76061125
2025-08-11 02:31:18,419 - DEBUG - VM ctest-vn1-vm1-76061125 ID is 3309b044-133b-4968-968f-fbf697c6ea2f
2025-08-11 02:31:18,419 - DEBUG - VM ctest-vn1-vm1-76061125 launched on Node an-jenkins-deploy-platform-ansible-os-3794-1
2025-08-11 02:31:18,498 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/3309b044-133b-4968-968f-fbf697c6ea2f
2025-08-11 02:31:18,510 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/473810ff-a75d-41c0-8a51-48c76bf819b3
2025-08-11 02:31:21,731 - 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 1012ms')
2025-08-11 02:31:21,732 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76061125 failed!
2025-08-11 02:31:21,747 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-56721828:ctest-vn1-44150045 is 99.52.94.65 and allocation pool is NOT set
2025-08-11 02:31:21,747 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-56721828:ctest-vn1-44150045 is 149.33.51.193 and allocation pool is NOT set
2025-08-11 02:31:23,807 - 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.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.26 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 = 1.258/2.736/4.214/1.478 ms')
2025-08-11 02:31:23,807 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76061125 passed
2025-08-11 02:31:23,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:31:23,931 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76061125, IP 99.52.94.69, Port 22
2025-08-11 02:31:23,998 - 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-11 02:31:24,069 - DEBUG - VM ctest-vn1-vm1-76061125 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-11 02:31:29,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:31:29,070 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76061125, IP 99.52.94.69, Port 22
2025-08-11 02:31:29,232 - DEBUG - VM ctest-vn1-vm1-76061125 is ready for SSH connections
2025-08-11 02:31:29,232 - INFO - Waiting for VM ctest-vn1-vm2-75072302 to be up..
2025-08-11 02:31:29,303 - DEBUG - VM is in ACTIVE state now
2025-08-11 02:31:29,303 - INFO - VM name : ctest-vn1-vm2-75072302
2025-08-11 02:31:29,404 - DEBUG - VM ctest-vn1-vm2-75072302 ID is 960aa5f1-e7c9-4cd4-9ffa-131f48640956
2025-08-11 02:31:29,404 - DEBUG - VM ctest-vn1-vm2-75072302 launched on Node an-jenkins-deploy-platform-ansible-os-3794-2
2025-08-11 02:31:29,481 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/960aa5f1-e7c9-4cd4-9ffa-131f48640956
2025-08-11 02:31:29,492 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/4ce83eda-43a4-4112-ba4b-33a82328f6b4
2025-08-11 02:31:30,683 - 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.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.294 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 = 0.294/1.689/3.084/1.395 ms')
2025-08-11 02:31:30,683 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-75072302 passed
2025-08-11 02:31:30,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:31:30,795 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-75072302, IP 149.33.51.197, Port 22
2025-08-11 02:31:30,948 - DEBUG - VM ctest-vn1-vm2-75072302 is ready for SSH connections
2025-08-11 02:31:30,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:31:30,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:31:30,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:31:30,949 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.52.94.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-08-11 02:31:30,949 - DEBUG - ping -s 56 -c 3 -W 1 99.52.94.69
2025-08-11 02:31:34,820 - DEBUG - PING 99.52.94.69 (99.52.94.69): 56 data bytes
64 bytes from 99.52.94.69: seq=0 ttl=63 time=5.542 ms
64 bytes from 99.52.94.69: seq=1 ttl=63 time=0.934 ms
64 bytes from 99.52.94.69: seq=2 ttl=63 time=0.947 ms
--- 99.52.94.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.934/2.474/5.542 ms
2025-08-11 02:31:34,820 - INFO - Ping to IP 99.52.94.69 from VM ctest-vn1-vm2-75072302 passed
2025-08-11 02:31:34,820 - INFO - Detaching port 4ce83eda-43a4-4112-ba4b-33a82328f6b4 from VM ctest-vn1-vm2-75072302
2025-08-11 02:31:34,864 - INFO - Deleting VM ctest-vn1-vm2-75072302
2025-08-11 02:31:34,922 - INFO - Detaching port 473810ff-a75d-41c0-8a51-48c76bf819b3 from VM ctest-vn1-vm1-76061125
2025-08-11 02:31:34,947 - INFO - Deleting VM ctest-vn1-vm1-76061125
2025-08-11 02:31:35,210 - DEBUG - Response for delete_port : ()
2025-08-11 02:31:35,414 - DEBUG - Response for delete_port : ()
2025-08-11 02:31:35,414 - INFO - Deleting VN ctest-vn1-44150045
2025-08-11 02:31:35,588 - DEBUG - Response for deleting network ()
2025-08-11 02:31:37,507 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 02:31:37,507 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:28]
2025-08-11 02:31:37,507 - INFO - --------------------------------------------------------------------------------
2025-08-11 02:31:38,534 - INFO - Deleted project: ctest-TestPorts-56721828, ID : 2795e463-55ca-4136-b3ac-3d0d124081a5