2026-03-06 13:11:33,326 - INFO - Reading existing Domain with UUID 18ce25eb-0c3f-4af5-9f79-0fc6a509b3f1
2026-03-06 13:11:33,345 - INFO - Using existing domain ['admin_domain'](18ce25eb-0c3f-4af5-9f79-0fc6a509b3f1)
2026-03-06 13:11:33,609 - INFO - Project ctest-TestPorts-89101891 not found, creating it
2026-03-06 13:11:34,597 - INFO - Created Project:ctest-TestPorts-89101891, ID : 8128f222-fd70-4c4e-b9ab-ae7a3dcf8f8e
2026-03-06 13:11:36,511 - INFO - ================================================================================
2026-03-06 13:11:36,511 - INFO - STARTING TEST : test_ports_bindings
2026-03-06 13:11:36,511 - 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-03-06 13:11:36,914 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.0.0.41': '0'}} with
2026-03-06 13:11:36,914 - INFO - Initial checks done. Running the testcase now
2026-03-06 13:11:36,914 - INFO -
2026-03-06 13:11:37,880 - DEBUG - Response for create_network : {'network': {'id': '39affe3a-dbb0-4e69-b521-5a23a71eff08', 'name': 'ctest-vn-97255288', 'tenant_id': '8128f222fd704c4eb9abae7a3dcf8f8e', 'project_id': '8128f222fd704c4eb9abae7a3dcf8f8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-89101891', 'ctest-vn-97255288'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-03-06 13:11:38,162 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b64204d-570c-4d04-bf74-776a5c051044', 'name': '', 'tenant_id': '8128f222fd704c4eb9abae7a3dcf8f8e', 'network_id': '39affe3a-dbb0-4e69-b521-5a23a71eff08', 'ip_version': 4, 'cidr': '193.73.12.128/26', 'allocation_pools': [{'start': '193.73.12.130', 'end': '193.73.12.190'}], 'gateway_ip': '193.73.12.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-03-06T13:11:38.032468', 'updated_at': '2026-03-06T13:11:38.032468', 'dns_server_address': '193.73.12.130', 'tags': [], 'project_id': '8128f222fd704c4eb9abae7a3dcf8f8e'}}
2026-03-06 13:11:38,230 - INFO - Created VN ctest-vn-97255288
2026-03-06 13:11:38,288 - DEBUG - VN ctest-vn-97255288 UUID is 39affe3a-dbb0-4e69-b521-5a23a71eff08
2026-03-06 13:11:38,498 - DEBUG - Read virtual machine interface {'fq_name': ['admin_domain', 'ctest-TestPorts-89101891', 'ctest-vmi-30756283']}
2026-03-06 13:11:38,849 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-30756283', 'id': '76f926e5-4369-4a47-b2a5-e674ee9c5e20', 'tenant_id': '8128f222fd704c4eb9abae7a3dcf8f8e', 'network_id': '39affe3a-dbb0-4e69-b521-5a23a71eff08', 'mac_address': '02:76:f9:26:e5:43', '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': '193.73.12.131', 'subnet_id': '0b64204d-570c-4d04-bf74-776a5c051044'}], 'security_groups': ['953122cb-f984-4c63-9650-5b3ef39ceecd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-03-06T13:11:38.621903', 'updated_at': '2026-03-06T13:11:38.703174', 'project_id': '8128f222fd704c4eb9abae7a3dcf8f8e'}}
2026-03-06 13:11:38,849 - DEBUG - Created port 76f926e5-4369-4a47-b2a5-e674ee9c5e20
2026-03-06 13:11:38,964 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine-interface/76f926e5-4369-4a47-b2a5-e674ee9c5e20
2026-03-06 13:11:39,322 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine-interface/76f926e5-4369-4a47-b2a5-e674ee9c5e20
2026-03-06 13:11:39,422 - INFO - VMI 76f926e5-4369-4a47-b2a5-e674ee9c5e20 verification in API Server passed
2026-03-06 13:11:39,612 - DEBUG - Response for delete_port : ()
2026-03-06 13:11:39,612 - INFO - Deleted port 76f926e5-4369-4a47-b2a5-e674ee9c5e20
2026-03-06 13:11:39,612 - INFO - Deleting VN ctest-vn-97255288
2026-03-06 13:11:39,805 - DEBUG - Response for deleting network ()
2026-03-06 13:11:40,217 - DEBUG - No XMPP flaps were noticed during the test
2026-03-06 13:11:40,217 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04]
2026-03-06 13:11:40,217 - INFO - --------------------------------------------------------------------------------
2026-03-06 13:11:40,219 - INFO - ================================================================================
2026-03-06 13:11:40,219 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-03-06 13:11:40,219 - 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-03-06 13:11:40,605 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.0.0.41': '0'}} with
2026-03-06 13:11:40,605 - INFO - Initial checks done. Running the testcase now
2026-03-06 13:11:40,605 - INFO -
2026-03-06 13:11:40,957 - DEBUG - Response for create_network : {'network': {'id': 'ddcfa9d7-f0a3-482e-8686-1534b61cf155', 'name': 'ctest-vn1-24511720', 'tenant_id': '8128f222fd704c4eb9abae7a3dcf8f8e', 'project_id': '8128f222fd704c4eb9abae7a3dcf8f8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-89101891', 'ctest-vn1-24511720'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-03-06 13:11:41,242 - DEBUG - Response for create_subnet : {'subnet': {'id': '0bf20f2f-4dbc-45d5-b498-5e99428244cc', 'name': '', 'tenant_id': '8128f222fd704c4eb9abae7a3dcf8f8e', 'network_id': 'ddcfa9d7-f0a3-482e-8686-1534b61cf155', 'ip_version': 4, 'cidr': '79.168.163.128/26', 'allocation_pools': [{'start': '79.168.163.130', 'end': '79.168.163.190'}], 'gateway_ip': '79.168.163.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-03-06T13:11:41.120616', 'updated_at': '2026-03-06T13:11:41.120616', 'dns_server_address': '79.168.163.130', 'tags': [], 'project_id': '8128f222fd704c4eb9abae7a3dcf8f8e'}}
2026-03-06 13:11:41,522 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6eb775c-2c29-4715-bc60-e6e69a368456', 'name': '', 'tenant_id': '8128f222fd704c4eb9abae7a3dcf8f8e', 'network_id': 'ddcfa9d7-f0a3-482e-8686-1534b61cf155', 'ip_version': 4, 'cidr': '128.28.36.192/26', 'allocation_pools': [{'start': '128.28.36.194', 'end': '128.28.36.254'}], 'gateway_ip': '128.28.36.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-03-06T13:11:41.396958', 'updated_at': '2026-03-06T13:11:41.396958', 'dns_server_address': '128.28.36.194', 'tags': [], 'project_id': '8128f222fd704c4eb9abae7a3dcf8f8e'}}
2026-03-06 13:11:41,598 - INFO - Created VN ctest-vn1-24511720
2026-03-06 13:11:41,652 - DEBUG - VN ctest-vn1-24511720 UUID is ddcfa9d7-f0a3-482e-8686-1534b61cf155
2026-03-06 13:11:42,234 - DEBUG - Response for create_port : {'port': {'name': 'c0b7beb0-ae0a-4ea4-ac52-49ba6afb7715', 'id': 'c0b7beb0-ae0a-4ea4-ac52-49ba6afb7715', 'tenant_id': '8128f222fd704c4eb9abae7a3dcf8f8e', 'network_id': 'ddcfa9d7-f0a3-482e-8686-1534b61cf155', 'mac_address': '02:c0:b7:be:b0: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': '79.168.163.133', 'subnet_id': '0bf20f2f-4dbc-45d5-b498-5e99428244cc'}], 'security_groups': ['953122cb-f984-4c63-9650-5b3ef39ceecd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-03-06T13:11:42.016152', 'updated_at': '2026-03-06T13:11:42.100864', 'project_id': '8128f222fd704c4eb9abae7a3dcf8f8e'}}
2026-03-06 13:11:42,493 - DEBUG - Response for create_port : {'port': {'name': 'c2e3e418-0db9-474d-85d1-097b34d999e5', 'id': 'c2e3e418-0db9-474d-85d1-097b34d999e5', 'tenant_id': '8128f222fd704c4eb9abae7a3dcf8f8e', 'network_id': 'ddcfa9d7-f0a3-482e-8686-1534b61cf155', 'mac_address': '02:c2:e3:e4:18:0d', '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': '128.28.36.197', 'subnet_id': 'd6eb775c-2c29-4715-bc60-e6e69a368456'}], 'security_groups': ['953122cb-f984-4c63-9650-5b3ef39ceecd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-03-06T13:11:42.306837', 'updated_at': '2026-03-06T13:11:42.369511', 'project_id': '8128f222fd704c4eb9abae7a3dcf8f8e'}}
2026-03-06 13:11:42,575 - DEBUG - Services list from nova: [, , ]
2026-03-06 13:11:43,925 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-681-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-681-1)
2026-03-06 13:11:45,403 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-681-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-681-1)
2026-03-06 13:11:45,404 - INFO - Waiting for VM ctest-vn1-vm1-45185385 to be up..
2026-03-06 13:11:45,519 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-03-06 13:11:50,665 - DEBUG - VM is in ACTIVE state now
2026-03-06 13:11:50,665 - INFO - VM name : ctest-vn1-vm1-45185385
2026-03-06 13:11:50,805 - DEBUG - VM ctest-vn1-vm1-45185385 ID is eb4ba05a-3a21-4ff5-ab39-49468ad1e20d
2026-03-06 13:11:50,847 - DEBUG - VM ctest-vn1-vm1-45185385 launched on Node cn-jenkins-deploy-platform-juju-os-681-1
2026-03-06 13:11:50,992 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/eb4ba05a-3a21-4ff5-ab39-49468ad1e20d
2026-03-06 13:11:51,053 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine-interface/c0b7beb0-ae0a-4ea4-ac52-49ba6afb7715
2026-03-06 13:11:54,558 - 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 1026ms')
2026-03-06 13:11:54,558 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45185385 failed!
2026-03-06 13:11:54,616 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-89101891:ctest-vn1-24511720 is 79.168.163.129 and allocation pool is NOT set
2026-03-06 13:11:54,616 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-89101891:ctest-vn1-24511720 is 128.28.36.193 and allocation pool is NOT set
2026-03-06 13:11:58,748 - 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 1032ms')
2026-03-06 13:11:58,748 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45185385 failed!
2026-03-06 13:11:58,811 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-89101891:ctest-vn1-24511720 is 79.168.163.129 and allocation pool is NOT set
2026-03-06 13:11:58,812 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-89101891:ctest-vn1-24511720 is 128.28.36.193 and allocation pool is NOT set
2026-03-06 13:12:00,903 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.513 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.513/2.054/3.595/1.541 ms')
2026-03-06 13:12:00,903 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45185385 passed
2026-03-06 13:12:01,060 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-06 13:12:01,060 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-45185385, IP 79.168.163.133, Port 22
2026-03-06 13:12:01,274 - DEBUG - VM ctest-vn1-vm1-45185385 is ready for SSH connections
2026-03-06 13:12:01,274 - INFO - Waiting for VM ctest-vn1-vm2-58979530 to be up..
2026-03-06 13:12:01,426 - DEBUG - VM is in ACTIVE state now
2026-03-06 13:12:01,426 - INFO - VM name : ctest-vn1-vm2-58979530
2026-03-06 13:12:01,577 - DEBUG - VM ctest-vn1-vm2-58979530 ID is 5ea1b5c7-5b91-40a6-809b-99eb82c09e4a
2026-03-06 13:12:01,577 - DEBUG - VM ctest-vn1-vm2-58979530 launched on Node cn-jenkins-deploy-platform-juju-os-681-1
2026-03-06 13:12:01,744 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/5ea1b5c7-5b91-40a6-809b-99eb82c09e4a
2026-03-06 13:12:01,805 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine-interface/c2e3e418-0db9-474d-85d1-097b34d999e5
2026-03-06 13:12:03,267 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.596 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.596/1.714/2.833/1.118 ms')
2026-03-06 13:12:03,267 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-58979530 passed
2026-03-06 13:12:03,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-06 13:12:03,424 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-58979530, IP 128.28.36.197, Port 22
2026-03-06 13:12:03,650 - DEBUG - VM ctest-vn1-vm2-58979530 is ready for SSH connections
2026-03-06 13:12:03,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-06 13:12:03,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-06 13:12:03,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-06 13:12:03,651 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.168.163.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2026-03-06 13:12:03,651 - DEBUG - ping -s 56 -c 3 -W 1 79.168.163.133
2026-03-06 13:12:06,894 - DEBUG - PING 79.168.163.133 (79.168.163.133): 56 data bytes
64 bytes from 79.168.163.133: seq=0 ttl=63 time=15.887 ms
64 bytes from 79.168.163.133: seq=1 ttl=63 time=1.302 ms
64 bytes from 79.168.163.133: seq=2 ttl=63 time=1.386 ms
--- 79.168.163.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.302/6.191/15.887 ms
2026-03-06 13:12:06,894 - INFO - Ping to IP 79.168.163.133 from VM ctest-vn1-vm2-58979530 passed
2026-03-06 13:12:06,894 - INFO - Detaching port c2e3e418-0db9-474d-85d1-097b34d999e5 from VM ctest-vn1-vm2-58979530
2026-03-06 13:12:06,980 - INFO - Deleting VM ctest-vn1-vm2-58979530
2026-03-06 13:12:07,148 - INFO - Detaching port c0b7beb0-ae0a-4ea4-ac52-49ba6afb7715 from VM ctest-vn1-vm1-45185385
2026-03-06 13:12:07,251 - INFO - Deleting VM ctest-vn1-vm1-45185385
2026-03-06 13:12:07,675 - DEBUG - Response for delete_port : ()
2026-03-06 13:12:08,016 - DEBUG - Response for delete_port : ()
2026-03-06 13:12:08,016 - INFO - Deleting VN ctest-vn1-24511720
2026-03-06 13:12:08,249 - DEBUG - Response for deleting network ()
2026-03-06 13:12:08,645 - DEBUG - No XMPP flaps were noticed during the test
2026-03-06 13:12:08,645 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:28]
2026-03-06 13:12:08,645 - INFO - --------------------------------------------------------------------------------
2026-03-06 13:12:09,465 - INFO - Deleted project: ctest-TestPorts-89101891, ID : 8128f222-fd70-4c4e-b9ab-ae7a3dcf8f8e