2026-04-24 15:36:34,056 - INFO - Domain Default found not creating
2026-04-24 15:36:34,268 - INFO - Project ctest-TestPorts-45429891 not found, creating it
2026-04-24 15:36:34,814 - INFO - Created Project:ctest-TestPorts-45429891, ID : a5853dee-33d7-4be4-ac41-ab805989d238
2026-04-24 15:36:36,569 - INFO - ================================================================================
2026-04-24 15:36:36,569 - INFO - STARTING TEST : test_ports_bindings
2026-04-24 15:36:36,569 - 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-24 15:36:36,830 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-04-24 15:36:36,830 - INFO - Initial checks done. Running the testcase now
2026-04-24 15:36:36,830 - INFO -
2026-04-24 15:36:37,447 - DEBUG - Response for create_network : {'network': {'id': '07af1b4f-07e7-4cd4-a51a-43790779d6df', 'name': 'ctest-vn-83735719', 'tenant_id': 'a5853dee33d74be4ac41ab805989d238', 'project_id': 'a5853dee33d74be4ac41ab805989d238', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45429891', 'ctest-vn-83735719'], 'port_security_enabled': True, 'description': ''}}
2026-04-24 15:36:37,651 - DEBUG - Response for create_subnet : {'subnet': {'id': '38dcf147-0a6a-486b-8695-e70f169817d0', 'name': '', 'tenant_id': 'a5853dee33d74be4ac41ab805989d238', 'network_id': '07af1b4f-07e7-4cd4-a51a-43790779d6df', 'ip_version': 4, 'cidr': '131.76.250.0/26', 'allocation_pools': [{'start': '131.76.250.2', 'end': '131.76.250.62'}], 'gateway_ip': '131.76.250.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.76.250.2', 'tags': [], 'project_id': 'a5853dee33d74be4ac41ab805989d238'}}
2026-04-24 15:36:37,675 - INFO - Created VN ctest-vn-83735719
2026-04-24 15:36:37,731 - DEBUG - VN ctest-vn-83735719 UUID is 07af1b4f-07e7-4cd4-a51a-43790779d6df
2026-04-24 15:36:37,850 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-45429891', 'ctest-vmi-93405234']}
2026-04-24 15:36:38,102 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-93405234', 'id': '4b4c3ee7-aea9-42fb-992d-ef5b8787e0fd', 'tenant_id': 'a5853dee33d74be4ac41ab805989d238', 'network_id': '07af1b4f-07e7-4cd4-a51a-43790779d6df', 'mac_address': '02:4b:4c:3e:e7:ae', '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': '131.76.250.3', 'subnet_id': '38dcf147-0a6a-486b-8695-e70f169817d0'}], 'security_groups': ['542a90f6-c137-421c-afa5-7ad299743d25'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a5853dee33d74be4ac41ab805989d238'}}
2026-04-24 15:36:38,102 - DEBUG - Created port 4b4c3ee7-aea9-42fb-992d-ef5b8787e0fd
2026-04-24 15:36:38,215 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4b4c3ee7-aea9-42fb-992d-ef5b8787e0fd
2026-04-24 15:36:38,528 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4b4c3ee7-aea9-42fb-992d-ef5b8787e0fd
2026-04-24 15:36:38,577 - INFO - VMI 4b4c3ee7-aea9-42fb-992d-ef5b8787e0fd verification in API Server passed
2026-04-24 15:36:38,691 - DEBUG - Response for delete_port : ()
2026-04-24 15:36:38,691 - INFO - Deleted port 4b4c3ee7-aea9-42fb-992d-ef5b8787e0fd
2026-04-24 15:36:38,691 - INFO - Deleting VN ctest-vn-83735719
2026-04-24 15:36:38,824 - DEBUG - Response for deleting network ()
2026-04-24 15:36:39,091 - DEBUG - No XMPP flaps were noticed during the test
2026-04-24 15:36:39,091 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-04-24 15:36:39,091 - INFO - --------------------------------------------------------------------------------
2026-04-24 15:36:39,096 - INFO - ================================================================================
2026-04-24 15:36:39,096 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-24 15:36:39,096 - 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-24 15:36:39,405 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-04-24 15:36:39,405 - INFO - Initial checks done. Running the testcase now
2026-04-24 15:36:39,405 - INFO -
2026-04-24 15:36:39,609 - DEBUG - Response for create_network : {'network': {'id': 'dbc02e5a-6db7-4a43-9897-e15872c59eb3', 'name': 'ctest-vn1-51650223', 'tenant_id': 'a5853dee33d74be4ac41ab805989d238', 'project_id': 'a5853dee33d74be4ac41ab805989d238', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45429891', 'ctest-vn1-51650223'], 'port_security_enabled': True, 'description': ''}}
2026-04-24 15:36:39,790 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e041eb11-f284-47fa-b1c5-2073d3833e90', 'name': '', 'tenant_id': 'a5853dee33d74be4ac41ab805989d238', 'network_id': 'dbc02e5a-6db7-4a43-9897-e15872c59eb3', 'ip_version': 4, 'cidr': '145.240.226.128/26', 'allocation_pools': [{'start': '145.240.226.130', 'end': '145.240.226.190'}], 'gateway_ip': '145.240.226.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.240.226.130', 'tags': [], 'project_id': 'a5853dee33d74be4ac41ab805989d238'}}
2026-04-24 15:36:40,019 - DEBUG - Response for create_subnet : {'subnet': {'id': '266d8757-af2a-4d93-90a1-8207ae22b91b', 'name': '', 'tenant_id': 'a5853dee33d74be4ac41ab805989d238', 'network_id': 'dbc02e5a-6db7-4a43-9897-e15872c59eb3', 'ip_version': 4, 'cidr': '201.154.139.128/26', 'allocation_pools': [{'start': '201.154.139.130', 'end': '201.154.139.190'}], 'gateway_ip': '201.154.139.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.154.139.130', 'tags': [], 'project_id': 'a5853dee33d74be4ac41ab805989d238'}}
2026-04-24 15:36:40,044 - INFO - Created VN ctest-vn1-51650223
2026-04-24 15:36:40,099 - DEBUG - VN ctest-vn1-51650223 UUID is dbc02e5a-6db7-4a43-9897-e15872c59eb3
2026-04-24 15:36:40,493 - DEBUG - Response for create_port : {'port': {'name': '383edc25-1695-4e17-8d5e-87e920a64215', 'id': '383edc25-1695-4e17-8d5e-87e920a64215', 'tenant_id': 'a5853dee33d74be4ac41ab805989d238', 'network_id': 'dbc02e5a-6db7-4a43-9897-e15872c59eb3', 'mac_address': '02:38:3e:dc:25:16', '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': '145.240.226.133', 'subnet_id': 'e041eb11-f284-47fa-b1c5-2073d3833e90'}], 'security_groups': ['542a90f6-c137-421c-afa5-7ad299743d25'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a5853dee33d74be4ac41ab805989d238'}}
2026-04-24 15:36:40,727 - DEBUG - Response for create_port : {'port': {'name': '78853ecc-e3fb-4cde-ae8e-e16cd5455fa1', 'id': '78853ecc-e3fb-4cde-ae8e-e16cd5455fa1', 'tenant_id': 'a5853dee33d74be4ac41ab805989d238', 'network_id': 'dbc02e5a-6db7-4a43-9897-e15872c59eb3', 'mac_address': '02:78:85:3e:cc:e3', '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': '201.154.139.133', 'subnet_id': '266d8757-af2a-4d93-90a1-8207ae22b91b'}], 'security_groups': ['542a90f6-c137-421c-afa5-7ad299743d25'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a5853dee33d74be4ac41ab805989d238'}}
2026-04-24 15:36:40,803 - DEBUG - Services list from nova: [, , ]
2026-04-24 15:36:41,220 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5682-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5682-1)
2026-04-24 15:36:41,748 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5682-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5682-1)
2026-04-24 15:36:41,748 - INFO - Waiting for VM ctest-vn1-vm1-37287400 to be up..
2026-04-24 15:36:41,796 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-24 15:36:46,901 - DEBUG - VM is in ACTIVE state now
2026-04-24 15:36:46,901 - INFO - VM name : ctest-vn1-vm1-37287400
2026-04-24 15:36:46,992 - DEBUG - VM ctest-vn1-vm1-37287400 ID is ead09b5d-24ad-431f-9645-9366cecb6ac6
2026-04-24 15:36:47,018 - DEBUG - VM ctest-vn1-vm1-37287400 launched on Node cn-jenkins-deploy-platform-ansible-os-5682-1
2026-04-24 15:36:47,119 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ead09b5d-24ad-431f-9645-9366cecb6ac6
2026-04-24 15:36:47,130 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/383edc25-1695-4e17-8d5e-87e920a64215
2026-04-24 15:36:50,415 - 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 1024ms')
2026-04-24 15:36:50,415 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-37287400 failed!
2026-04-24 15:36:50,475 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45429891:ctest-vn1-51650223 is 145.240.226.129 and allocation pool is NOT set
2026-04-24 15:36:50,475 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45429891:ctest-vn1-51650223 is 201.154.139.129 and allocation pool is NOT set
2026-04-24 15:36:54,571 - 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-04-24 15:36:54,571 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-37287400 failed!
2026-04-24 15:36:54,627 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45429891:ctest-vn1-51650223 is 145.240.226.129 and allocation pool is NOT set
2026-04-24 15:36:54,627 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45429891:ctest-vn1-51650223 is 201.154.139.129 and allocation pool is NOT set
2026-04-24 15:36:56,695 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.573 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.573/1.856/3.139/1.283 ms')
2026-04-24 15:36:56,695 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-37287400 passed
2026-04-24 15:36:56,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-24 15:36:56,807 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-37287400, IP 145.240.226.133, Port 22
2026-04-24 15:36:56,985 - DEBUG - VM ctest-vn1-vm1-37287400 is ready for SSH connections
2026-04-24 15:36:56,985 - INFO - Waiting for VM ctest-vn1-vm2-10622464 to be up..
2026-04-24 15:36:57,075 - DEBUG - VM is in ACTIVE state now
2026-04-24 15:36:57,075 - INFO - VM name : ctest-vn1-vm2-10622464
2026-04-24 15:36:57,161 - DEBUG - VM ctest-vn1-vm2-10622464 ID is d7683b44-f83a-4287-8f89-79e0a59006de
2026-04-24 15:36:57,162 - DEBUG - VM ctest-vn1-vm2-10622464 launched on Node cn-jenkins-deploy-platform-ansible-os-5682-1
2026-04-24 15:36:57,252 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d7683b44-f83a-4287-8f89-79e0a59006de
2026-04-24 15:36:57,263 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/78853ecc-e3fb-4cde-ae8e-e16cd5455fa1
2026-04-24 15:36:58,510 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.533 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.533/2.535/4.537/2.002 ms')
2026-04-24 15:36:58,510 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-10622464 passed
2026-04-24 15:36:58,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-24 15:36:58,667 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-10622464, IP 201.154.139.133, Port 22
2026-04-24 15:36:58,839 - DEBUG - VM ctest-vn1-vm2-10622464 is ready for SSH connections
2026-04-24 15:36:58,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-24 15:36:58,840 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-24 15:36:58,840 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-24 15:36:58,840 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 145.240.226.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2026-04-24 15:36:58,840 - DEBUG - ping -s 56 -c 3 -W 1 145.240.226.133
2026-04-24 15:37:01,545 - DEBUG - PING 145.240.226.133 (145.240.226.133): 56 data bytes
64 bytes from 145.240.226.133: seq=0 ttl=63 time=4.758 ms
64 bytes from 145.240.226.133: seq=1 ttl=63 time=1.079 ms
64 bytes from 145.240.226.133: seq=2 ttl=63 time=1.695 ms
--- 145.240.226.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.079/2.510/4.758 ms
2026-04-24 15:37:01,546 - INFO - Ping to IP 145.240.226.133 from VM ctest-vn1-vm2-10622464 passed
2026-04-24 15:37:01,546 - INFO - Detaching port 78853ecc-e3fb-4cde-ae8e-e16cd5455fa1 from VM ctest-vn1-vm2-10622464
2026-04-24 15:37:01,604 - INFO - Deleting VM ctest-vn1-vm2-10622464
2026-04-24 15:37:01,707 - INFO - Detaching port 383edc25-1695-4e17-8d5e-87e920a64215 from VM ctest-vn1-vm1-37287400
2026-04-24 15:37:01,757 - INFO - Deleting VM ctest-vn1-vm1-37287400
2026-04-24 15:37:02,062 - DEBUG - Response for delete_port : ()
2026-04-24 15:37:02,277 - DEBUG - Response for delete_port : ()
2026-04-24 15:37:02,277 - INFO - Deleting VN ctest-vn1-51650223
2026-04-24 15:37:02,441 - DEBUG - Response for deleting network ()
2026-04-24 15:37:02,713 - DEBUG - No XMPP flaps were noticed during the test
2026-04-24 15:37:02,713 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2026-04-24 15:37:02,713 - INFO - --------------------------------------------------------------------------------
2026-04-24 15:37:03,537 - INFO - Deleted project: ctest-TestPorts-45429891, ID : a5853dee-33d7-4be4-ac41-ab805989d238