2026-02-03 07:07:35,840 - INFO - Reading existing Domain with UUID a20a955c-6c44-478d-8a7f-02c90676183f
2026-02-03 07:07:35,851 - INFO - Using existing domain ['admin_domain'](a20a955c-6c44-478d-8a7f-02c90676183f)
2026-02-03 07:07:36,043 - INFO - Project ctest-TestPorts-58589928 not found, creating it
2026-02-03 07:07:36,535 - INFO - Created Project:ctest-TestPorts-58589928, ID : a6e2608b-e30e-4df3-a4f3-2c878c64326a
2026-02-03 07:07:38,169 - INFO - ================================================================================
2026-02-03 07:07:38,169 - INFO - STARTING TEST : test_ports_bindings
2026-02-03 07:07:38,169 - 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-02-03 07:07:38,552 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with
2026-02-03 07:07:38,552 - INFO - Initial checks done. Running the testcase now
2026-02-03 07:07:38,552 - INFO -
2026-02-03 07:07:39,252 - DEBUG - Response for create_network : {'network': {'id': '888f1d15-d580-42c4-936d-e4040dbe625c', 'name': 'ctest-vn-18368551', 'tenant_id': 'a6e2608be30e4df3a4f32c878c64326a', 'project_id': 'a6e2608be30e4df3a4f32c878c64326a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-58589928', 'ctest-vn-18368551'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-02-03 07:07:39,447 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf3eee9e-47ca-4ded-a02a-f8d5f6aa7847', 'name': '', 'tenant_id': 'a6e2608be30e4df3a4f32c878c64326a', 'network_id': '888f1d15-d580-42c4-936d-e4040dbe625c', 'ip_version': 4, 'cidr': '133.161.102.128/26', 'allocation_pools': [{'start': '133.161.102.130', 'end': '133.161.102.190'}], 'gateway_ip': '133.161.102.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-03T07:07:39.356650', 'updated_at': '2026-02-03T07:07:39.356650', 'dns_server_address': '133.161.102.130', 'tags': [], 'project_id': 'a6e2608be30e4df3a4f32c878c64326a'}}
2026-02-03 07:07:39,508 - INFO - Created VN ctest-vn-18368551
2026-02-03 07:07:39,562 - DEBUG - VN ctest-vn-18368551 UUID is 888f1d15-d580-42c4-936d-e4040dbe625c
2026-02-03 07:07:39,765 - DEBUG - Read virtual machine interface {'fq_name': ['admin_domain', 'ctest-TestPorts-58589928', 'ctest-vmi-13586858']}
2026-02-03 07:07:40,059 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-13586858', 'id': 'f1f60ffe-3c45-4529-b6b2-118d0126d201', 'tenant_id': 'a6e2608be30e4df3a4f32c878c64326a', 'network_id': '888f1d15-d580-42c4-936d-e4040dbe625c', 'mac_address': '02:f1:f6:0f:fe:3c', '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': '133.161.102.131', 'subnet_id': 'cf3eee9e-47ca-4ded-a02a-f8d5f6aa7847'}], 'security_groups': ['5ba33b8e-898e-4533-8ff1-0a4deddf789d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-02-03T07:07:39.871444', 'updated_at': '2026-02-03T07:07:39.934864', 'project_id': 'a6e2608be30e4df3a4f32c878c64326a'}}
2026-02-03 07:07:40,059 - DEBUG - Created port f1f60ffe-3c45-4529-b6b2-118d0126d201
2026-02-03 07:07:40,166 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/f1f60ffe-3c45-4529-b6b2-118d0126d201
2026-02-03 07:07:40,508 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/f1f60ffe-3c45-4529-b6b2-118d0126d201
2026-02-03 07:07:40,593 - INFO - VMI f1f60ffe-3c45-4529-b6b2-118d0126d201 verification in API Server passed
2026-02-03 07:07:40,767 - DEBUG - Response for delete_port : ()
2026-02-03 07:07:40,767 - INFO - Deleted port f1f60ffe-3c45-4529-b6b2-118d0126d201
2026-02-03 07:07:40,767 - INFO - Deleting VN ctest-vn-18368551
2026-02-03 07:07:40,960 - DEBUG - Response for deleting network ()
2026-02-03 07:07:41,351 - DEBUG - No XMPP flaps were noticed during the test
2026-02-03 07:07:41,351 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-02-03 07:07:41,352 - INFO - --------------------------------------------------------------------------------
2026-02-03 07:07:41,354 - INFO - ================================================================================
2026-02-03 07:07:41,354 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-02-03 07:07:41,354 - 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-02-03 07:07:41,735 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with
2026-02-03 07:07:41,735 - INFO - Initial checks done. Running the testcase now
2026-02-03 07:07:41,735 - INFO -
2026-02-03 07:07:42,007 - DEBUG - Response for create_network : {'network': {'id': '0a3cb242-e6bf-4a36-8919-649e28970b2f', 'name': 'ctest-vn1-93507505', 'tenant_id': 'a6e2608be30e4df3a4f32c878c64326a', 'project_id': 'a6e2608be30e4df3a4f32c878c64326a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-58589928', 'ctest-vn1-93507505'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-02-03 07:07:42,194 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f8f567e-2e48-41bd-b5da-962f0d63f7c4', 'name': '', 'tenant_id': 'a6e2608be30e4df3a4f32c878c64326a', 'network_id': '0a3cb242-e6bf-4a36-8919-649e28970b2f', 'ip_version': 4, 'cidr': '175.67.78.0/26', 'allocation_pools': [{'start': '175.67.78.2', 'end': '175.67.78.62'}], 'gateway_ip': '175.67.78.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-03T07:07:42.105376', 'updated_at': '2026-02-03T07:07:42.105376', 'dns_server_address': '175.67.78.2', 'tags': [], 'project_id': 'a6e2608be30e4df3a4f32c878c64326a'}}
2026-02-03 07:07:42,439 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e54671d-a9db-402c-bac7-553c430fc087', 'name': '', 'tenant_id': 'a6e2608be30e4df3a4f32c878c64326a', 'network_id': '0a3cb242-e6bf-4a36-8919-649e28970b2f', 'ip_version': 4, 'cidr': '168.156.61.128/26', 'allocation_pools': [{'start': '168.156.61.130', 'end': '168.156.61.190'}], 'gateway_ip': '168.156.61.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-03T07:07:42.311000', 'updated_at': '2026-02-03T07:07:42.311000', 'dns_server_address': '168.156.61.130', 'tags': [], 'project_id': 'a6e2608be30e4df3a4f32c878c64326a'}}
2026-02-03 07:07:42,500 - INFO - Created VN ctest-vn1-93507505
2026-02-03 07:07:42,554 - DEBUG - VN ctest-vn1-93507505 UUID is 0a3cb242-e6bf-4a36-8919-649e28970b2f
2026-02-03 07:07:43,047 - DEBUG - Response for create_port : {'port': {'name': '738d3f87-1cc1-436c-8867-8e3b7efd5a7e', 'id': '738d3f87-1cc1-436c-8867-8e3b7efd5a7e', 'tenant_id': 'a6e2608be30e4df3a4f32c878c64326a', 'network_id': '0a3cb242-e6bf-4a36-8919-649e28970b2f', 'mac_address': '02:73:8d:3f:87:1c', '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.67.78.5', 'subnet_id': '8f8f567e-2e48-41bd-b5da-962f0d63f7c4'}], 'security_groups': ['5ba33b8e-898e-4533-8ff1-0a4deddf789d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-02-03T07:07:42.880094', 'updated_at': '2026-02-03T07:07:42.940950', 'project_id': 'a6e2608be30e4df3a4f32c878c64326a'}}
2026-02-03 07:07:43,283 - DEBUG - Response for create_port : {'port': {'name': 'aa3f67b8-583d-4027-bcaa-3c4fe36a07a5', 'id': 'aa3f67b8-583d-4027-bcaa-3c4fe36a07a5', 'tenant_id': 'a6e2608be30e4df3a4f32c878c64326a', 'network_id': '0a3cb242-e6bf-4a36-8919-649e28970b2f', 'mac_address': '02:aa:3f:67:b8:58', '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': '168.156.61.133', 'subnet_id': '5e54671d-a9db-402c-bac7-553c430fc087'}], 'security_groups': ['5ba33b8e-898e-4533-8ff1-0a4deddf789d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-02-03T07:07:43.100955', 'updated_at': '2026-02-03T07:07:43.167988', 'project_id': 'a6e2608be30e4df3a4f32c878c64326a'}}
2026-02-03 07:07:43,385 - DEBUG - Services list from nova: [, , ]
2026-02-03 07:07:44,071 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-668-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-668-1)
2026-02-03 07:07:44,856 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-668-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-668-1)
2026-02-03 07:07:44,856 - INFO - Waiting for VM ctest-vn1-vm1-87519033 to be up..
2026-02-03 07:07:44,962 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-03 07:07:50,104 - DEBUG - VM is in ACTIVE state now
2026-02-03 07:07:50,104 - INFO - VM name : ctest-vn1-vm1-87519033
2026-02-03 07:07:50,237 - DEBUG - VM ctest-vn1-vm1-87519033 ID is 6abe79f2-20d3-4ce9-9329-7e0e284b8505
2026-02-03 07:07:50,269 - DEBUG - VM ctest-vn1-vm1-87519033 launched on Node cn-jenkins-deploy-platform-juju-os-668-1
2026-02-03 07:07:50,388 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/6abe79f2-20d3-4ce9-9329-7e0e284b8505
2026-02-03 07:07:50,439 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/738d3f87-1cc1-436c-8867-8e3b7efd5a7e
2026-02-03 07:07:53,880 - 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 1007ms')
2026-02-03 07:07:53,880 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-87519033 failed!
2026-02-03 07:07:53,938 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-58589928:ctest-vn1-93507505 is 175.67.78.1 and allocation pool is NOT set
2026-02-03 07:07:53,938 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-58589928:ctest-vn1-93507505 is 168.156.61.129 and allocation pool is NOT set
2026-02-03 07:07:58,040 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.10 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 3.095/3.095/3.095/0.000 ms')
2026-02-03 07:07:58,040 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-87519033 passed
2026-02-03 07:07:58,194 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-03 07:07:58,194 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-87519033, IP 175.67.78.5, Port 22
2026-02-03 07:07:58,408 - DEBUG - VM ctest-vn1-vm1-87519033 is ready for SSH connections
2026-02-03 07:07:58,409 - INFO - Waiting for VM ctest-vn1-vm2-13626344 to be up..
2026-02-03 07:07:58,532 - DEBUG - VM is in ACTIVE state now
2026-02-03 07:07:58,532 - INFO - VM name : ctest-vn1-vm2-13626344
2026-02-03 07:07:58,658 - DEBUG - VM ctest-vn1-vm2-13626344 ID is bc3962be-a3e1-4c6d-a55d-738a5eba7342
2026-02-03 07:07:58,658 - DEBUG - VM ctest-vn1-vm2-13626344 launched on Node cn-jenkins-deploy-platform-juju-os-668-1
2026-02-03 07:07:58,783 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/bc3962be-a3e1-4c6d-a55d-738a5eba7342
2026-02-03 07:07:58,839 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/aa3f67b8-583d-4027-bcaa-3c4fe36a07a5
2026-02-03 07:08:00,280 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.394 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.394/1.647/2.901/1.253 ms')
2026-02-03 07:08:00,280 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-13626344 passed
2026-02-03 07:08:00,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-03 07:08:00,439 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-13626344, IP 168.156.61.133, Port 22
2026-02-03 07:08:00,648 - DEBUG - VM ctest-vn1-vm2-13626344 is ready for SSH connections
2026-02-03 07:08:00,648 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-03 07:08:00,648 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-03 07:08:00,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-03 07:08:00,649 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.67.78.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2026-02-03 07:08:00,649 - DEBUG - ping -s 56 -c 3 -W 1 175.67.78.5
2026-02-03 07:08:03,285 - DEBUG - PING 175.67.78.5 (175.67.78.5): 56 data bytes
64 bytes from 175.67.78.5: seq=0 ttl=63 time=3.541 ms
64 bytes from 175.67.78.5: seq=1 ttl=63 time=0.815 ms
64 bytes from 175.67.78.5: seq=2 ttl=63 time=0.850 ms
--- 175.67.78.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.815/1.735/3.541 ms
2026-02-03 07:08:03,285 - INFO - Ping to IP 175.67.78.5 from VM ctest-vn1-vm2-13626344 passed
2026-02-03 07:08:03,286 - INFO - Detaching port aa3f67b8-583d-4027-bcaa-3c4fe36a07a5 from VM ctest-vn1-vm2-13626344
2026-02-03 07:08:03,467 - INFO - Deleting VM ctest-vn1-vm2-13626344
2026-02-03 07:08:03,607 - INFO - Detaching port 738d3f87-1cc1-436c-8867-8e3b7efd5a7e from VM ctest-vn1-vm1-87519033
2026-02-03 07:08:03,672 - INFO - Deleting VM ctest-vn1-vm1-87519033
2026-02-03 07:08:04,053 - DEBUG - Response for delete_port : ()
2026-02-03 07:08:04,336 - DEBUG - Response for delete_port : ()
2026-02-03 07:08:04,336 - INFO - Deleting VN ctest-vn1-93507505
2026-02-03 07:08:04,536 - DEBUG - Response for deleting network ()
2026-02-03 07:08:04,931 - DEBUG - No XMPP flaps were noticed during the test
2026-02-03 07:08:04,931 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2026-02-03 07:08:04,932 - INFO - --------------------------------------------------------------------------------
2026-02-03 07:08:05,644 - INFO - Deleted project: ctest-TestPorts-58589928, ID : a6e2608b-e30e-4df3-a4f3-2c878c64326a