2026-08-24 12:23:40,805 - INFO - Domain Default found not creating
2026-08-24 12:23:40,975 - INFO - Project ctest-TestPorts-52941455 not found, creating it
2026-08-24 12:23:41,480 - INFO - Created Project:ctest-TestPorts-52941455, ID : 8879892f-9d4d-4a22-bf69-9da61333e283
2026-08-24 12:23:43,046 - INFO - ================================================================================
2026-08-24 12:23:43,046 - INFO - STARTING TEST : test_ports_bindings
2026-08-24 12:23:43,046 - 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-08-24 12:23:43,307 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-08-24 12:23:43,308 - INFO - Initial checks done. Running the testcase now
2026-08-24 12:23:43,308 - INFO -
2026-08-24 12:23:43,898 - DEBUG - Response for create_network : {'network': {'id': 'dfb4d820-8abb-4430-ac47-70aa20332b20', 'name': 'ctest-vn-61829452', 'tenant_id': '8879892f9d4d4a22bf699da61333e283', 'project_id': '8879892f9d4d4a22bf699da61333e283', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52941455', 'ctest-vn-61829452'], 'port_security_enabled': True, 'description': ''}}
2026-08-24 12:23:44,071 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f12553f-3d9e-4ca0-a2c2-082d76c90416', 'name': '', 'tenant_id': '8879892f9d4d4a22bf699da61333e283', 'network_id': 'dfb4d820-8abb-4430-ac47-70aa20332b20', 'ip_version': 4, 'cidr': '30.115.171.0/26', 'allocation_pools': [{'start': '30.115.171.2', 'end': '30.115.171.62'}], 'gateway_ip': '30.115.171.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.115.171.2', 'tags': [], 'project_id': '8879892f9d4d4a22bf699da61333e283'}}
2026-08-24 12:23:44,090 - INFO - Created VN ctest-vn-61829452
2026-08-24 12:23:44,145 - DEBUG - VN ctest-vn-61829452 UUID is dfb4d820-8abb-4430-ac47-70aa20332b20
2026-08-24 12:23:44,258 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-52941455', 'ctest-vmi-54785855']}
2026-08-24 12:23:44,533 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-54785855', 'id': '4a8497cc-88f8-4f00-9c75-91e2ed5d7696', 'tenant_id': '8879892f9d4d4a22bf699da61333e283', 'network_id': 'dfb4d820-8abb-4430-ac47-70aa20332b20', 'mac_address': '02:4a:84:97:cc:88', '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': '30.115.171.3', 'subnet_id': '8f12553f-3d9e-4ca0-a2c2-082d76c90416'}], 'security_groups': ['0db904d4-fd2a-4bc2-ac27-798ae132e8b9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8879892f9d4d4a22bf699da61333e283'}}
2026-08-24 12:23:44,533 - DEBUG - Created port 4a8497cc-88f8-4f00-9c75-91e2ed5d7696
2026-08-24 12:23:44,641 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4a8497cc-88f8-4f00-9c75-91e2ed5d7696
2026-08-24 12:23:44,967 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4a8497cc-88f8-4f00-9c75-91e2ed5d7696
2026-08-24 12:23:44,997 - INFO - VMI 4a8497cc-88f8-4f00-9c75-91e2ed5d7696 verification in API Server passed
2026-08-24 12:23:45,104 - DEBUG - Response for delete_port : ()
2026-08-24 12:23:45,104 - INFO - Deleted port 4a8497cc-88f8-4f00-9c75-91e2ed5d7696
2026-08-24 12:23:45,104 - INFO - Deleting VN ctest-vn-61829452
2026-08-24 12:23:45,225 - DEBUG - Response for deleting network ()
2026-08-24 12:23:45,482 - DEBUG - No XMPP flaps were noticed during the test
2026-08-24 12:23:45,482 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-08-24 12:23:45,483 - INFO - --------------------------------------------------------------------------------
2026-08-24 12:23:45,485 - INFO - ================================================================================
2026-08-24 12:23:45,486 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-08-24 12:23:45,486 - 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-08-24 12:23:45,780 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-08-24 12:23:45,780 - INFO - Initial checks done. Running the testcase now
2026-08-24 12:23:45,780 - INFO -
2026-08-24 12:23:45,980 - DEBUG - Response for create_network : {'network': {'id': '57e8d45a-d89b-46d8-bdd7-47372dd50f5d', 'name': 'ctest-vn1-96688793', 'tenant_id': '8879892f9d4d4a22bf699da61333e283', 'project_id': '8879892f9d4d4a22bf699da61333e283', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52941455', 'ctest-vn1-96688793'], 'port_security_enabled': True, 'description': ''}}
2026-08-24 12:23:46,203 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd4a01187-3ad1-485e-9045-65e37b36b12f', 'name': '', 'tenant_id': '8879892f9d4d4a22bf699da61333e283', 'network_id': '57e8d45a-d89b-46d8-bdd7-47372dd50f5d', 'ip_version': 4, 'cidr': '107.119.167.0/26', 'allocation_pools': [{'start': '107.119.167.2', 'end': '107.119.167.62'}], 'gateway_ip': '107.119.167.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.119.167.2', 'tags': [], 'project_id': '8879892f9d4d4a22bf699da61333e283'}}
2026-08-24 12:23:46,388 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a7d236d-e0fc-4f51-a7f2-856e614272a9', 'name': '', 'tenant_id': '8879892f9d4d4a22bf699da61333e283', 'network_id': '57e8d45a-d89b-46d8-bdd7-47372dd50f5d', 'ip_version': 4, 'cidr': '53.54.241.64/26', 'allocation_pools': [{'start': '53.54.241.66', 'end': '53.54.241.126'}], 'gateway_ip': '53.54.241.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.54.241.66', 'tags': [], 'project_id': '8879892f9d4d4a22bf699da61333e283'}}
2026-08-24 12:23:46,409 - INFO - Created VN ctest-vn1-96688793
2026-08-24 12:23:46,465 - DEBUG - VN ctest-vn1-96688793 UUID is 57e8d45a-d89b-46d8-bdd7-47372dd50f5d
2026-08-24 12:23:46,789 - DEBUG - Response for create_port : {'port': {'name': '227b726f-c7e1-4534-b354-569a955ab43b', 'id': '227b726f-c7e1-4534-b354-569a955ab43b', 'tenant_id': '8879892f9d4d4a22bf699da61333e283', 'network_id': '57e8d45a-d89b-46d8-bdd7-47372dd50f5d', 'mac_address': '02:22:7b:72:6f:c7', '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': '107.119.167.5', 'subnet_id': 'd4a01187-3ad1-485e-9045-65e37b36b12f'}], 'security_groups': ['0db904d4-fd2a-4bc2-ac27-798ae132e8b9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8879892f9d4d4a22bf699da61333e283'}}
2026-08-24 12:23:46,992 - DEBUG - Response for create_port : {'port': {'name': 'fbfe5749-8963-4518-a519-0e8c98163662', 'id': 'fbfe5749-8963-4518-a519-0e8c98163662', 'tenant_id': '8879892f9d4d4a22bf699da61333e283', 'network_id': '57e8d45a-d89b-46d8-bdd7-47372dd50f5d', 'mac_address': '02:fb:fe:57:49:89', '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': '53.54.241.69', 'subnet_id': '4a7d236d-e0fc-4f51-a7f2-856e614272a9'}], 'security_groups': ['0db904d4-fd2a-4bc2-ac27-798ae132e8b9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8879892f9d4d4a22bf699da61333e283'}}
2026-08-24 12:23:47,051 - DEBUG - Services list from nova: [, , ]
2026-08-24 12:23:47,420 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6214-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6214-1)
2026-08-24 12:23:47,853 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6214-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6214-1)
2026-08-24 12:23:47,853 - INFO - Waiting for VM ctest-vn1-vm1-00634976 to be up..
2026-08-24 12:23:47,897 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-24 12:23:52,948 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-24 12:23:58,026 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-24 12:24:03,111 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-24 12:24:08,209 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-24 12:24:13,284 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-24 12:24:18,374 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-24 12:24:23,460 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-24 12:24:28,543 - DEBUG - VM is in ACTIVE state now
2026-08-24 12:24:28,543 - INFO - VM name : ctest-vn1-vm1-00634976
2026-08-24 12:24:28,644 - DEBUG - VM ctest-vn1-vm1-00634976 ID is 8c00fbca-056a-41d0-9457-7028c9b284c6
2026-08-24 12:24:28,667 - DEBUG - VM ctest-vn1-vm1-00634976 launched on Node cn-jenkins-deploy-platform-ansible-os-6214-1
2026-08-24 12:24:28,749 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8c00fbca-056a-41d0-9457-7028c9b284c6
2026-08-24 12:24:28,761 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/227b726f-c7e1-4534-b354-569a955ab43b
2026-08-24 12:24:32,031 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms')
2026-08-24 12:24:32,031 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-00634976 failed!
2026-08-24 12:24:32,085 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-52941455:ctest-vn1-96688793 is 107.119.167.1 and allocation pool is NOT set
2026-08-24 12:24:32,085 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-52941455:ctest-vn1-96688793 is 53.54.241.65 and allocation pool is NOT set
2026-08-24 12:24:36,159 - 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=2 ttl=63 time=9.68 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 9.681/9.681/9.681/0.000 ms')
2026-08-24 12:24:36,159 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-00634976 passed
2026-08-24 12:24:36,309 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-24 12:24:36,309 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-00634976, IP 107.119.167.5, Port 22
2026-08-24 12:24:36,483 - DEBUG - VM ctest-vn1-vm1-00634976 is ready for SSH connections
2026-08-24 12:24:36,483 - INFO - Waiting for VM ctest-vn1-vm2-10242087 to be up..
2026-08-24 12:24:36,555 - DEBUG - VM is in ACTIVE state now
2026-08-24 12:24:36,555 - INFO - VM name : ctest-vn1-vm2-10242087
2026-08-24 12:24:36,633 - DEBUG - VM ctest-vn1-vm2-10242087 ID is 54789f2c-92ae-4a4d-9a14-3ebb2bb8432a
2026-08-24 12:24:36,633 - DEBUG - VM ctest-vn1-vm2-10242087 launched on Node cn-jenkins-deploy-platform-ansible-os-6214-1
2026-08-24 12:24:36,707 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/54789f2c-92ae-4a4d-9a14-3ebb2bb8432a
2026-08-24 12:24:36,716 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fbfe5749-8963-4518-a519-0e8c98163662
2026-08-24 12:24:37,960 - 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.547 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.547/1.845/3.143/1.298 ms')
2026-08-24 12:24:37,960 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-10242087 passed
2026-08-24 12:24:38,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-24 12:24:38,113 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-10242087, IP 53.54.241.69, Port 22
2026-08-24 12:24:38,273 - DEBUG - VM ctest-vn1-vm2-10242087 is ready for SSH connections
2026-08-24 12:24:38,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-24 12:24:38,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-24 12:24:38,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-24 12:24:38,273 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.119.167.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-08-24 12:24:38,274 - DEBUG - ping -s 56 -c 3 -W 1 107.119.167.5
2026-08-24 12:24:42,336 - DEBUG - PING 107.119.167.5 (107.119.167.5): 56 data bytes
64 bytes from 107.119.167.5: seq=0 ttl=63 time=4.158 ms
64 bytes from 107.119.167.5: seq=1 ttl=63 time=1.168 ms
64 bytes from 107.119.167.5: seq=2 ttl=63 time=0.952 ms
--- 107.119.167.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.952/2.092/4.158 ms
2026-08-24 12:24:42,336 - INFO - Ping to IP 107.119.167.5 from VM ctest-vn1-vm2-10242087 passed
2026-08-24 12:24:42,336 - INFO - Detaching port fbfe5749-8963-4518-a519-0e8c98163662 from VM ctest-vn1-vm2-10242087
2026-08-24 12:24:42,396 - INFO - Deleting VM ctest-vn1-vm2-10242087
2026-08-24 12:24:42,515 - INFO - Detaching port 227b726f-c7e1-4534-b354-569a955ab43b from VM ctest-vn1-vm1-00634976
2026-08-24 12:24:42,551 - INFO - Deleting VM ctest-vn1-vm1-00634976
2026-08-24 12:24:42,776 - DEBUG - Response for delete_port : ()
2026-08-24 12:24:42,969 - DEBUG - Response for delete_port : ()
2026-08-24 12:24:42,969 - INFO - Deleting VN ctest-vn1-96688793
2026-08-24 12:24:43,110 - DEBUG - Response for deleting network ()
2026-08-24 12:24:43,382 - DEBUG - No XMPP flaps were noticed during the test
2026-08-24 12:24:43,382 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:58]
2026-08-24 12:24:43,382 - INFO - --------------------------------------------------------------------------------
2026-08-24 12:24:44,149 - INFO - Deleted project: ctest-TestPorts-52941455, ID : 8879892f-9d4d-4a22-bf69-9da61333e283