2026-04-28 13:31:00,953 - INFO - Domain Default found not creating
2026-04-28 13:31:01,190 - INFO - Project ctest-TestPorts-13185173 not found, creating it
2026-04-28 13:31:01,706 - INFO - Created Project:ctest-TestPorts-13185173, ID : af6f4c34-b155-4935-a1bc-020aa8a8db5f
2026-04-28 13:31:03,550 - INFO - ================================================================================
2026-04-28 13:31:03,550 - INFO - STARTING TEST : test_ports_bindings
2026-04-28 13:31:03,550 - 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
2026-04-28 13:31:03,810 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2026-04-28 13:31:03,810 - INFO - Initial checks done. Running the testcase now
2026-04-28 13:31:03,810 - INFO -
2026-04-28 13:31:04,514 - DEBUG - Response for create_network : {'network': {'id': '141093cf-8595-4ff6-bdf5-ada0402787dd', 'name': 'ctest-vn-97467221', 'tenant_id': 'af6f4c34b1554935a1bc020aa8a8db5f', 'project_id': 'af6f4c34b1554935a1bc020aa8a8db5f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-13185173', 'ctest-vn-97467221'], 'port_security_enabled': True, 'description': ''}}
2026-04-28 13:31:04,717 - DEBUG - Response for create_subnet : {'subnet': {'id': '0156d8af-5725-4bc1-ab7d-2f284e361c12', 'name': '', 'tenant_id': 'af6f4c34b1554935a1bc020aa8a8db5f', 'network_id': '141093cf-8595-4ff6-bdf5-ada0402787dd', 'ip_version': 4, 'cidr': '175.148.165.64/26', 'allocation_pools': [{'start': '175.148.165.66', 'end': '175.148.165.126'}], 'gateway_ip': '175.148.165.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.148.165.66', 'tags': [], 'project_id': 'af6f4c34b1554935a1bc020aa8a8db5f'}}
2026-04-28 13:31:04,743 - INFO - Created VN ctest-vn-97467221
2026-04-28 13:31:04,799 - DEBUG - VN ctest-vn-97467221 UUID is 141093cf-8595-4ff6-bdf5-ada0402787dd
2026-04-28 13:31:04,925 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-13185173', 'ctest-vmi-46119351']}
2026-04-28 13:31:05,213 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-46119351', 'id': 'e21f4a7e-e9e7-4aab-857a-bd4f6d962c27', 'tenant_id': 'af6f4c34b1554935a1bc020aa8a8db5f', 'network_id': '141093cf-8595-4ff6-bdf5-ada0402787dd', 'mac_address': '02:e2:1f:4a:7e:e9', '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': '175.148.165.67', 'subnet_id': '0156d8af-5725-4bc1-ab7d-2f284e361c12'}], 'security_groups': ['437d6a79-9944-47d6-ba9f-087f983a23ef'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'af6f4c34b1554935a1bc020aa8a8db5f'}}
2026-04-28 13:31:05,213 - DEBUG - Created port e21f4a7e-e9e7-4aab-857a-bd4f6d962c27
2026-04-28 13:31:05,323 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/e21f4a7e-e9e7-4aab-857a-bd4f6d962c27
2026-04-28 13:31:05,674 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/e21f4a7e-e9e7-4aab-857a-bd4f6d962c27
2026-04-28 13:31:05,718 - INFO - VMI e21f4a7e-e9e7-4aab-857a-bd4f6d962c27 verification in API Server passed
2026-04-28 13:31:05,831 - DEBUG - Response for delete_port : ()
2026-04-28 13:31:05,831 - INFO - Deleted port e21f4a7e-e9e7-4aab-857a-bd4f6d962c27
2026-04-28 13:31:05,831 - INFO - Deleting VN ctest-vn-97467221
2026-04-28 13:31:05,968 - DEBUG - Response for deleting network ()
2026-04-28 13:31:06,229 - DEBUG - No XMPP flaps were noticed during the test
2026-04-28 13:31:06,229 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-04-28 13:31:06,229 - INFO - --------------------------------------------------------------------------------
2026-04-28 13:31:06,232 - INFO - ================================================================================
2026-04-28 13:31:06,232 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-28 13:31:06,232 - 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
2026-04-28 13:31:06,529 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2026-04-28 13:31:06,529 - INFO - Initial checks done. Running the testcase now
2026-04-28 13:31:06,529 - INFO -
2026-04-28 13:31:06,758 - DEBUG - Response for create_network : {'network': {'id': 'ebc96789-e065-45b0-9394-95a2750702cf', 'name': 'ctest-vn1-87232129', 'tenant_id': 'af6f4c34b1554935a1bc020aa8a8db5f', 'project_id': 'af6f4c34b1554935a1bc020aa8a8db5f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-13185173', 'ctest-vn1-87232129'], 'port_security_enabled': True, 'description': ''}}
2026-04-28 13:31:06,962 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a70b1776-900a-44bf-8234-18cc35352e3f', 'name': '', 'tenant_id': 'af6f4c34b1554935a1bc020aa8a8db5f', 'network_id': 'ebc96789-e065-45b0-9394-95a2750702cf', 'ip_version': 4, 'cidr': '99.175.194.0/26', 'allocation_pools': [{'start': '99.175.194.2', 'end': '99.175.194.62'}], 'gateway_ip': '99.175.194.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.175.194.2', 'tags': [], 'project_id': 'af6f4c34b1554935a1bc020aa8a8db5f'}}
2026-04-28 13:31:07,142 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b052dbae-d6ae-4eaf-8c4f-1d2614357555', 'name': '', 'tenant_id': 'af6f4c34b1554935a1bc020aa8a8db5f', 'network_id': 'ebc96789-e065-45b0-9394-95a2750702cf', 'ip_version': 4, 'cidr': '188.93.170.0/26', 'allocation_pools': [{'start': '188.93.170.2', 'end': '188.93.170.62'}], 'gateway_ip': '188.93.170.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.93.170.2', 'tags': [], 'project_id': 'af6f4c34b1554935a1bc020aa8a8db5f'}}
2026-04-28 13:31:07,167 - INFO - Created VN ctest-vn1-87232129
2026-04-28 13:31:07,223 - DEBUG - VN ctest-vn1-87232129 UUID is ebc96789-e065-45b0-9394-95a2750702cf
2026-04-28 13:31:07,578 - DEBUG - Response for create_port : {'port': {'name': '43ff18f5-057e-454e-9fb4-2f163d4e20c8', 'id': '43ff18f5-057e-454e-9fb4-2f163d4e20c8', 'tenant_id': 'af6f4c34b1554935a1bc020aa8a8db5f', 'network_id': 'ebc96789-e065-45b0-9394-95a2750702cf', 'mac_address': '02:43:ff:18:f5:05', '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.175.194.5', 'subnet_id': 'a70b1776-900a-44bf-8234-18cc35352e3f'}], 'security_groups': ['437d6a79-9944-47d6-ba9f-087f983a23ef'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'af6f4c34b1554935a1bc020aa8a8db5f'}}
2026-04-28 13:31:07,792 - DEBUG - Response for create_port : {'port': {'name': '98e6fc88-95ba-43ca-baaf-3f413f80c44c', 'id': '98e6fc88-95ba-43ca-baaf-3f413f80c44c', 'tenant_id': 'af6f4c34b1554935a1bc020aa8a8db5f', 'network_id': 'ebc96789-e065-45b0-9394-95a2750702cf', 'mac_address': '02:98:e6:fc:88:95', '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': '188.93.170.5', 'subnet_id': 'b052dbae-d6ae-4eaf-8c4f-1d2614357555'}], 'security_groups': ['437d6a79-9944-47d6-ba9f-087f983a23ef'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'af6f4c34b1554935a1bc020aa8a8db5f'}}
2026-04-28 13:31:07,867 - DEBUG - Services list from nova: [, , ]
2026-04-28 13:31:08,261 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5703-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5703-1)
2026-04-28 13:31:08,787 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5703-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5703-1)
2026-04-28 13:31:08,787 - INFO - Waiting for VM ctest-vn1-vm1-57143341 to be up..
2026-04-28 13:31:08,835 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-28 13:31:13,927 - DEBUG - VM is in ACTIVE state now
2026-04-28 13:31:13,928 - INFO - VM name : ctest-vn1-vm1-57143341
2026-04-28 13:31:14,025 - DEBUG - VM ctest-vn1-vm1-57143341 ID is 4de0fdb8-784e-40f3-9e6c-79662337b94a
2026-04-28 13:31:14,051 - DEBUG - VM ctest-vn1-vm1-57143341 launched on Node cn-jenkins-deploy-platform-ansible-os-5703-1
2026-04-28 13:31:14,150 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/4de0fdb8-784e-40f3-9e6c-79662337b94a
2026-04-28 13:31:14,160 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/43ff18f5-057e-454e-9fb4-2f163d4e20c8
2026-04-28 13:31:17,416 - 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 1015ms')
2026-04-28 13:31:17,416 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57143341 failed!
2026-04-28 13:31:17,475 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-13185173:ctest-vn1-87232129 is 99.175.194.1 and allocation pool is NOT set
2026-04-28 13:31:17,476 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-13185173:ctest-vn1-87232129 is 188.93.170.1 and allocation pool is NOT set
2026-04-28 13:31:21,544 - 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')
2026-04-28 13:31:21,545 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57143341 failed!
2026-04-28 13:31:21,611 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-13185173:ctest-vn1-87232129 is 99.175.194.1 and allocation pool is NOT set
2026-04-28 13:31:21,612 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-13185173:ctest-vn1-87232129 is 188.93.170.1 and allocation pool is NOT set
2026-04-28 13:31:23,678 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.37 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 = 3.372/4.329/5.287/0.957 ms')
2026-04-28 13:31:23,678 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57143341 passed
2026-04-28 13:31:23,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-28 13:31:23,835 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57143341, IP 99.175.194.5, Port 22
2026-04-28 13:31:24,002 - DEBUG - VM ctest-vn1-vm1-57143341 is ready for SSH connections
2026-04-28 13:31:24,002 - INFO - Waiting for VM ctest-vn1-vm2-67801027 to be up..
2026-04-28 13:31:24,099 - DEBUG - VM is in ACTIVE state now
2026-04-28 13:31:24,099 - INFO - VM name : ctest-vn1-vm2-67801027
2026-04-28 13:31:24,206 - DEBUG - VM ctest-vn1-vm2-67801027 ID is 46c30460-7f2c-4e35-bf26-c8077247d3d4
2026-04-28 13:31:24,206 - DEBUG - VM ctest-vn1-vm2-67801027 launched on Node cn-jenkins-deploy-platform-ansible-os-5703-1
2026-04-28 13:31:24,298 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/46c30460-7f2c-4e35-bf26-c8077247d3d4
2026-04-28 13:31:24,308 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/98e6fc88-95ba-43ca-baaf-3f413f80c44c
2026-04-28 13:31:25,557 - 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=4.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.492 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.492/2.342/4.192/1.850 ms')
2026-04-28 13:31:25,557 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-67801027 passed
2026-04-28 13:31:25,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-28 13:31:25,711 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-67801027, IP 188.93.170.5, Port 22
2026-04-28 13:31:25,885 - DEBUG - VM ctest-vn1-vm2-67801027 is ready for SSH connections
2026-04-28 13:31:25,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-28 13:31:25,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-28 13:31:25,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-28 13:31:25,886 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.175.194.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-04-28 13:31:25,886 - DEBUG - ping -s 56 -c 3 -W 1 99.175.194.5
2026-04-28 13:31:28,738 - DEBUG - PING 99.175.194.5 (99.175.194.5): 56 data bytes
64 bytes from 99.175.194.5: seq=0 ttl=63 time=5.149 ms
64 bytes from 99.175.194.5: seq=1 ttl=63 time=1.199 ms
64 bytes from 99.175.194.5: seq=2 ttl=63 time=1.061 ms
--- 99.175.194.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.061/2.469/5.149 ms
2026-04-28 13:31:28,738 - INFO - Ping to IP 99.175.194.5 from VM ctest-vn1-vm2-67801027 passed
2026-04-28 13:31:28,738 - INFO - Detaching port 98e6fc88-95ba-43ca-baaf-3f413f80c44c from VM ctest-vn1-vm2-67801027
2026-04-28 13:31:28,802 - INFO - Deleting VM ctest-vn1-vm2-67801027
2026-04-28 13:31:28,900 - INFO - Detaching port 43ff18f5-057e-454e-9fb4-2f163d4e20c8 from VM ctest-vn1-vm1-57143341
2026-04-28 13:31:28,941 - INFO - Deleting VM ctest-vn1-vm1-57143341
2026-04-28 13:31:29,267 - DEBUG - Response for delete_port : ()
2026-04-28 13:31:29,495 - DEBUG - Response for delete_port : ()
2026-04-28 13:31:29,495 - INFO - Deleting VN ctest-vn1-87232129
2026-04-28 13:31:29,684 - DEBUG - Response for deleting network ()
2026-04-28 13:31:29,957 - DEBUG - No XMPP flaps were noticed during the test
2026-04-28 13:31:29,957 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2026-04-28 13:31:29,957 - INFO - --------------------------------------------------------------------------------
2026-04-28 13:31:30,751 - INFO - Deleted project: ctest-TestPorts-13185173, ID : af6f4c34-b155-4935-a1bc-020aa8a8db5f