2025-11-10 12:03:54,016 - INFO - Domain Default found not creating
2025-11-10 12:03:54,181 - INFO - Project ctest-TestPorts-07522245 not found, creating it
2025-11-10 12:03:54,677 - INFO - Created Project:ctest-TestPorts-07522245, ID : 6b9b5e7c-b9b5-413b-802c-3d5697632dec
2025-11-10 12:03:56,186 - INFO - ================================================================================
2025-11-10 12:03:56,186 - INFO - STARTING TEST : test_ports_bindings
2025-11-10 12:03:56,186 - 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-11-10 12:03:56,442 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with
2025-11-10 12:03:56,442 - INFO - Initial checks done. Running the testcase now
2025-11-10 12:03:56,442 - INFO -
2025-11-10 12:03:57,006 - DEBUG - Response for create_network : {'network': {'id': '7b98dd1a-5ae0-4dfd-aee5-0154a66768f8', 'name': 'ctest-vn-01588024', 'tenant_id': '6b9b5e7cb9b5413b802c3d5697632dec', 'project_id': '6b9b5e7cb9b5413b802c3d5697632dec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-07522245', 'ctest-vn-01588024'], 'port_security_enabled': True, 'description': ''}}
2025-11-10 12:03:57,166 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0efe590-6cee-4fa3-9b0a-325351e65b54', 'name': '', 'tenant_id': '6b9b5e7cb9b5413b802c3d5697632dec', 'network_id': '7b98dd1a-5ae0-4dfd-aee5-0154a66768f8', 'ip_version': 4, 'cidr': '86.38.238.64/26', 'allocation_pools': [{'start': '86.38.238.66', 'end': '86.38.238.126'}], 'gateway_ip': '86.38.238.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.38.238.66', 'tags': [], 'project_id': '6b9b5e7cb9b5413b802c3d5697632dec'}}
2025-11-10 12:03:57,186 - INFO - Created VN ctest-vn-01588024
2025-11-10 12:03:57,239 - DEBUG - VN ctest-vn-01588024 UUID is 7b98dd1a-5ae0-4dfd-aee5-0154a66768f8
2025-11-10 12:03:57,348 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-07522245', 'ctest-vmi-03970318']}
2025-11-10 12:03:57,585 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-03970318', 'id': 'dab25e66-5055-4188-860f-535c1554c4f2', 'tenant_id': '6b9b5e7cb9b5413b802c3d5697632dec', 'network_id': '7b98dd1a-5ae0-4dfd-aee5-0154a66768f8', 'mac_address': '02:da:b2:5e:66:50', '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': '86.38.238.67', 'subnet_id': 'f0efe590-6cee-4fa3-9b0a-325351e65b54'}], 'security_groups': ['427fc067-2171-4ca8-b5ea-ba06412e2a3d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6b9b5e7cb9b5413b802c3d5697632dec'}}
2025-11-10 12:03:57,585 - DEBUG - Created port dab25e66-5055-4188-860f-535c1554c4f2
2025-11-10 12:03:57,691 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/dab25e66-5055-4188-860f-535c1554c4f2
2025-11-10 12:03:57,989 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/dab25e66-5055-4188-860f-535c1554c4f2
2025-11-10 12:03:58,023 - INFO - VMI dab25e66-5055-4188-860f-535c1554c4f2 verification in API Server passed
2025-11-10 12:03:58,128 - DEBUG - Response for delete_port : ()
2025-11-10 12:03:58,128 - INFO - Deleted port dab25e66-5055-4188-860f-535c1554c4f2
2025-11-10 12:03:58,128 - INFO - Deleting VN ctest-vn-01588024
2025-11-10 12:03:58,249 - DEBUG - Response for deleting network ()
2025-11-10 12:03:58,505 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 12:03:58,505 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-10 12:03:58,505 - INFO - --------------------------------------------------------------------------------
2025-11-10 12:03:58,508 - INFO - ================================================================================
2025-11-10 12:03:58,508 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-10 12:03:58,508 - 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-11-10 12:03:58,792 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with
2025-11-10 12:03:58,792 - INFO - Initial checks done. Running the testcase now
2025-11-10 12:03:58,793 - INFO -
2025-11-10 12:03:58,982 - DEBUG - Response for create_network : {'network': {'id': 'bf27d312-528f-46f2-9ca3-27092ac5b17e', 'name': 'ctest-vn1-01181511', 'tenant_id': '6b9b5e7cb9b5413b802c3d5697632dec', 'project_id': '6b9b5e7cb9b5413b802c3d5697632dec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-07522245', 'ctest-vn1-01181511'], 'port_security_enabled': True, 'description': ''}}
2025-11-10 12:03:59,174 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e31c57f9-d187-4b1f-bd14-e2ad70163382', 'name': '', 'tenant_id': '6b9b5e7cb9b5413b802c3d5697632dec', 'network_id': 'bf27d312-528f-46f2-9ca3-27092ac5b17e', 'ip_version': 4, 'cidr': '29.75.48.0/26', 'allocation_pools': [{'start': '29.75.48.2', 'end': '29.75.48.62'}], 'gateway_ip': '29.75.48.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.75.48.2', 'tags': [], 'project_id': '6b9b5e7cb9b5413b802c3d5697632dec'}}
2025-11-10 12:03:59,345 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4e4c543-e70e-4924-ab2a-dd3b12ebf55f', 'name': '', 'tenant_id': '6b9b5e7cb9b5413b802c3d5697632dec', 'network_id': 'bf27d312-528f-46f2-9ca3-27092ac5b17e', 'ip_version': 4, 'cidr': '199.92.192.128/26', 'allocation_pools': [{'start': '199.92.192.130', 'end': '199.92.192.190'}], 'gateway_ip': '199.92.192.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.92.192.130', 'tags': [], 'project_id': '6b9b5e7cb9b5413b802c3d5697632dec'}}
2025-11-10 12:03:59,366 - INFO - Created VN ctest-vn1-01181511
2025-11-10 12:03:59,419 - DEBUG - VN ctest-vn1-01181511 UUID is bf27d312-528f-46f2-9ca3-27092ac5b17e
2025-11-10 12:03:59,745 - DEBUG - Response for create_port : {'port': {'name': 'e73d1448-7fa6-4be0-b85a-8b466638398a', 'id': 'e73d1448-7fa6-4be0-b85a-8b466638398a', 'tenant_id': '6b9b5e7cb9b5413b802c3d5697632dec', 'network_id': 'bf27d312-528f-46f2-9ca3-27092ac5b17e', 'mac_address': '02:e7:3d:14:48:7f', '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': '29.75.48.5', 'subnet_id': 'e31c57f9-d187-4b1f-bd14-e2ad70163382'}], 'security_groups': ['427fc067-2171-4ca8-b5ea-ba06412e2a3d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6b9b5e7cb9b5413b802c3d5697632dec'}}
2025-11-10 12:03:59,938 - DEBUG - Response for create_port : {'port': {'name': '130257a4-cdba-4f67-8829-47493a7c37e7', 'id': '130257a4-cdba-4f67-8829-47493a7c37e7', 'tenant_id': '6b9b5e7cb9b5413b802c3d5697632dec', 'network_id': 'bf27d312-528f-46f2-9ca3-27092ac5b17e', 'mac_address': '02:13:02:57:a4:cd', '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': '199.92.192.133', 'subnet_id': 'b4e4c543-e70e-4924-ab2a-dd3b12ebf55f'}], 'security_groups': ['427fc067-2171-4ca8-b5ea-ba06412e2a3d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6b9b5e7cb9b5413b802c3d5697632dec'}}
2025-11-10 12:04:00,000 - DEBUG - Services list from nova: [, , ]
2025-11-10 12:04:00,366 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4680-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4680-1)
2025-11-10 12:04:00,860 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4680-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4680-1)
2025-11-10 12:04:00,861 - INFO - Waiting for VM ctest-vn1-vm1-07569594 to be up..
2025-11-10 12:04:00,907 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-10 12:04:05,990 - DEBUG - VM is in ACTIVE state now
2025-11-10 12:04:05,990 - INFO - VM name : ctest-vn1-vm1-07569594
2025-11-10 12:04:06,080 - DEBUG - VM ctest-vn1-vm1-07569594 ID is 0a1de769-0d32-4487-bd4a-8a13a39f5b56
2025-11-10 12:04:06,102 - DEBUG - VM ctest-vn1-vm1-07569594 launched on Node cn-jenkins-deploy-platform-ansible-os-4680-1
2025-11-10 12:04:06,182 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0a1de769-0d32-4487-bd4a-8a13a39f5b56
2025-11-10 12:04:06,192 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e73d1448-7fa6-4be0-b85a-8b466638398a
2025-11-10 12:04:09,458 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1030ms')
2025-11-10 12:04:09,458 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-07569594 failed!
2025-11-10 12:04:09,519 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-07522245:ctest-vn1-01181511 is 29.75.48.1 and allocation pool is NOT set
2025-11-10 12:04:09,519 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-07522245:ctest-vn1-01181511 is 199.92.192.129 and allocation pool is NOT set
2025-11-10 12:04:13,591 - 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=7.87 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 7.872/7.872/7.872/0.000 ms')
2025-11-10 12:04:13,592 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-07569594 passed
2025-11-10 12:04:13,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-10 12:04:13,747 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-07569594, IP 29.75.48.5, Port 22
2025-11-10 12:04:13,907 - DEBUG - VM ctest-vn1-vm1-07569594 is ready for SSH connections
2025-11-10 12:04:13,907 - INFO - Waiting for VM ctest-vn1-vm2-63406793 to be up..
2025-11-10 12:04:13,991 - DEBUG - VM is in ACTIVE state now
2025-11-10 12:04:13,991 - INFO - VM name : ctest-vn1-vm2-63406793
2025-11-10 12:04:14,070 - DEBUG - VM ctest-vn1-vm2-63406793 ID is bfe22d76-f73d-4f2c-8d91-ecd9eb7b05b7
2025-11-10 12:04:14,070 - DEBUG - VM ctest-vn1-vm2-63406793 launched on Node cn-jenkins-deploy-platform-ansible-os-4680-1
2025-11-10 12:04:14,156 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/bfe22d76-f73d-4f2c-8d91-ecd9eb7b05b7
2025-11-10 12:04:14,166 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/130257a4-cdba-4f67-8829-47493a7c37e7
2025-11-10 12:04:15,419 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.540 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.540/1.754/2.969/1.214 ms')
2025-11-10 12:04:15,420 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-63406793 passed
2025-11-10 12:04:15,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-10 12:04:15,583 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-63406793, IP 199.92.192.133, Port 22
2025-11-10 12:04:15,743 - DEBUG - VM ctest-vn1-vm2-63406793 is ready for SSH connections
2025-11-10 12:04:15,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-10 12:04:15,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-10 12:04:15,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-10 12:04:15,743 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.75.48.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-11-10 12:04:15,743 - DEBUG - ping -s 56 -c 3 -W 1 29.75.48.5
2025-11-10 12:04:18,429 - DEBUG - PING 29.75.48.5 (29.75.48.5): 56 data bytes
64 bytes from 29.75.48.5: seq=0 ttl=63 time=3.510 ms
64 bytes from 29.75.48.5: seq=1 ttl=63 time=0.785 ms
64 bytes from 29.75.48.5: seq=2 ttl=63 time=0.911 ms
--- 29.75.48.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.785/1.735/3.510 ms
2025-11-10 12:04:18,429 - INFO - Ping to IP 29.75.48.5 from VM ctest-vn1-vm2-63406793 passed
2025-11-10 12:04:18,429 - INFO - Detaching port 130257a4-cdba-4f67-8829-47493a7c37e7 from VM ctest-vn1-vm2-63406793
2025-11-10 12:04:18,478 - INFO - Deleting VM ctest-vn1-vm2-63406793
2025-11-10 12:04:18,555 - INFO - Detaching port e73d1448-7fa6-4be0-b85a-8b466638398a from VM ctest-vn1-vm1-07569594
2025-11-10 12:04:18,600 - INFO - Deleting VM ctest-vn1-vm1-07569594
2025-11-10 12:04:18,858 - DEBUG - Response for delete_port : ()
2025-11-10 12:04:19,089 - DEBUG - Response for delete_port : ()
2025-11-10 12:04:19,089 - INFO - Deleting VN ctest-vn1-01181511
2025-11-10 12:04:19,240 - DEBUG - Response for deleting network ()
2025-11-10 12:04:19,500 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 12:04:19,500 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-11-10 12:04:19,500 - INFO - --------------------------------------------------------------------------------
2025-11-10 12:04:20,199 - INFO - Deleted project: ctest-TestPorts-07522245, ID : 6b9b5e7c-b9b5-413b-802c-3d5697632dec