2026-04-17 13:22:18,725 - INFO - Domain Default found not creating
2026-04-17 13:22:18,921 - INFO - Project ctest-TestPorts-89100420 not found, creating it
2026-04-17 13:22:19,427 - INFO - Created Project:ctest-TestPorts-89100420, ID : 9a4b006f-3330-4012-9d7e-10f64254c1a0
2026-04-17 13:22:21,115 - INFO - ================================================================================
2026-04-17 13:22:21,116 - INFO - STARTING TEST : test_ports_bindings
2026-04-17 13:22:21,116 - 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-17 13:22:21,394 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2026-04-17 13:22:21,395 - INFO - Initial checks done. Running the testcase now
2026-04-17 13:22:21,395 - INFO -
2026-04-17 13:22:21,990 - DEBUG - Response for create_network : {'network': {'id': '8d6b47c3-b11c-4d0b-8605-7e1c4b061df8', 'name': 'ctest-vn-61102708', 'tenant_id': '9a4b006f333040129d7e10f64254c1a0', 'project_id': '9a4b006f333040129d7e10f64254c1a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-89100420', 'ctest-vn-61102708'], 'port_security_enabled': True, 'description': ''}}
2026-04-17 13:22:22,187 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e847a00-de7d-412f-92de-9c38d0b76806', 'name': '', 'tenant_id': '9a4b006f333040129d7e10f64254c1a0', 'network_id': '8d6b47c3-b11c-4d0b-8605-7e1c4b061df8', 'ip_version': 4, 'cidr': '202.160.96.128/26', 'allocation_pools': [{'start': '202.160.96.130', 'end': '202.160.96.190'}], 'gateway_ip': '202.160.96.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.160.96.130', 'tags': [], 'project_id': '9a4b006f333040129d7e10f64254c1a0'}}
2026-04-17 13:22:22,208 - INFO - Created VN ctest-vn-61102708
2026-04-17 13:22:22,262 - DEBUG - VN ctest-vn-61102708 UUID is 8d6b47c3-b11c-4d0b-8605-7e1c4b061df8
2026-04-17 13:22:22,380 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-89100420', 'ctest-vmi-58614527']}
2026-04-17 13:22:22,657 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-58614527', 'id': 'cd936228-de21-4643-a194-ed64ccf40771', 'tenant_id': '9a4b006f333040129d7e10f64254c1a0', 'network_id': '8d6b47c3-b11c-4d0b-8605-7e1c4b061df8', 'mac_address': '02:cd:93:62:28:de', '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': '202.160.96.131', 'subnet_id': '5e847a00-de7d-412f-92de-9c38d0b76806'}], 'security_groups': ['dd35efa4-e67b-4ccf-8f04-fb82466aae3e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9a4b006f333040129d7e10f64254c1a0'}}
2026-04-17 13:22:22,657 - DEBUG - Created port cd936228-de21-4643-a194-ed64ccf40771
2026-04-17 13:22:22,766 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cd936228-de21-4643-a194-ed64ccf40771
2026-04-17 13:22:23,065 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cd936228-de21-4643-a194-ed64ccf40771
2026-04-17 13:22:23,108 - INFO - VMI cd936228-de21-4643-a194-ed64ccf40771 verification in API Server passed
2026-04-17 13:22:23,210 - DEBUG - Response for delete_port : ()
2026-04-17 13:22:23,210 - INFO - Deleted port cd936228-de21-4643-a194-ed64ccf40771
2026-04-17 13:22:23,211 - INFO - Deleting VN ctest-vn-61102708
2026-04-17 13:22:23,326 - DEBUG - Response for deleting network ()
2026-04-17 13:22:23,588 - DEBUG - No XMPP flaps were noticed during the test
2026-04-17 13:22:23,589 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-04-17 13:22:23,589 - INFO - --------------------------------------------------------------------------------
2026-04-17 13:22:23,591 - INFO - ================================================================================
2026-04-17 13:22:23,591 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-17 13:22:23,591 - 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-17 13:22:23,885 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2026-04-17 13:22:23,885 - INFO - Initial checks done. Running the testcase now
2026-04-17 13:22:23,885 - INFO -
2026-04-17 13:22:24,118 - DEBUG - Response for create_network : {'network': {'id': '3eefcee8-d169-41d6-8119-f140e60dfc79', 'name': 'ctest-vn1-06038458', 'tenant_id': '9a4b006f333040129d7e10f64254c1a0', 'project_id': '9a4b006f333040129d7e10f64254c1a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-89100420', 'ctest-vn1-06038458'], 'port_security_enabled': True, 'description': ''}}
2026-04-17 13:22:24,345 - DEBUG - Response for create_subnet : {'subnet': {'id': '551f50aa-f656-4198-b0f5-34feeb3f9d1c', 'name': '', 'tenant_id': '9a4b006f333040129d7e10f64254c1a0', 'network_id': '3eefcee8-d169-41d6-8119-f140e60dfc79', 'ip_version': 4, 'cidr': '104.0.239.0/26', 'allocation_pools': [{'start': '104.0.239.2', 'end': '104.0.239.62'}], 'gateway_ip': '104.0.239.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.0.239.2', 'tags': [], 'project_id': '9a4b006f333040129d7e10f64254c1a0'}}
2026-04-17 13:22:24,560 - DEBUG - Response for create_subnet : {'subnet': {'id': '28c0f0ed-7f98-4fb4-aead-68231fce3c88', 'name': '', 'tenant_id': '9a4b006f333040129d7e10f64254c1a0', 'network_id': '3eefcee8-d169-41d6-8119-f140e60dfc79', 'ip_version': 4, 'cidr': '155.84.113.128/26', 'allocation_pools': [{'start': '155.84.113.130', 'end': '155.84.113.190'}], 'gateway_ip': '155.84.113.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.84.113.130', 'tags': [], 'project_id': '9a4b006f333040129d7e10f64254c1a0'}}
2026-04-17 13:22:24,583 - INFO - Created VN ctest-vn1-06038458
2026-04-17 13:22:24,642 - DEBUG - VN ctest-vn1-06038458 UUID is 3eefcee8-d169-41d6-8119-f140e60dfc79
2026-04-17 13:22:24,974 - DEBUG - Response for create_port : {'port': {'name': '2229bce2-b646-48b1-a6bd-f7d26a0af3cc', 'id': '2229bce2-b646-48b1-a6bd-f7d26a0af3cc', 'tenant_id': '9a4b006f333040129d7e10f64254c1a0', 'network_id': '3eefcee8-d169-41d6-8119-f140e60dfc79', 'mac_address': '02:22:29:bc:e2:b6', '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': '104.0.239.5', 'subnet_id': '551f50aa-f656-4198-b0f5-34feeb3f9d1c'}], 'security_groups': ['dd35efa4-e67b-4ccf-8f04-fb82466aae3e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9a4b006f333040129d7e10f64254c1a0'}}
2026-04-17 13:22:25,207 - DEBUG - Response for create_port : {'port': {'name': '7fc1f1b6-163e-4fa0-896c-ce6e018963d2', 'id': '7fc1f1b6-163e-4fa0-896c-ce6e018963d2', 'tenant_id': '9a4b006f333040129d7e10f64254c1a0', 'network_id': '3eefcee8-d169-41d6-8119-f140e60dfc79', 'mac_address': '02:7f:c1:f1:b6: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': '155.84.113.133', 'subnet_id': '28c0f0ed-7f98-4fb4-aead-68231fce3c88'}], 'security_groups': ['dd35efa4-e67b-4ccf-8f04-fb82466aae3e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9a4b006f333040129d7e10f64254c1a0'}}
2026-04-17 13:22:25,277 - DEBUG - Services list from nova: [, , ]
2026-04-17 13:22:25,687 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5636-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5636-1)
2026-04-17 13:22:26,148 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5636-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5636-1)
2026-04-17 13:22:26,148 - INFO - Waiting for VM ctest-vn1-vm1-30793621 to be up..
2026-04-17 13:22:26,194 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-17 13:22:31,282 - DEBUG - VM is in ACTIVE state now
2026-04-17 13:22:31,282 - INFO - VM name : ctest-vn1-vm1-30793621
2026-04-17 13:22:31,361 - DEBUG - VM ctest-vn1-vm1-30793621 ID is 863c6669-1c17-46ad-920c-2957aafdd749
2026-04-17 13:22:31,386 - DEBUG - VM ctest-vn1-vm1-30793621 launched on Node cn-jenkins-deploy-platform-ansible-os-5636-1
2026-04-17 13:22:31,479 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/863c6669-1c17-46ad-920c-2957aafdd749
2026-04-17 13:22:31,491 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2229bce2-b646-48b1-a6bd-f7d26a0af3cc
2026-04-17 13:22:34,740 - 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 1006ms')
2026-04-17 13:22:34,740 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-30793621 failed!
2026-04-17 13:22:34,798 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89100420:ctest-vn1-06038458 is 104.0.239.1 and allocation pool is NOT set
2026-04-17 13:22:34,798 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89100420:ctest-vn1-06038458 is 155.84.113.129 and allocation pool is NOT set
2026-04-17 13:22:38,871 - 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=6.35 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 6.354/6.354/6.354/0.000 ms')
2026-04-17 13:22:38,871 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-30793621 passed
2026-04-17 13:22:39,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-17 13:22:39,022 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-30793621, IP 104.0.239.5, Port 22
2026-04-17 13:22:39,181 - DEBUG - VM ctest-vn1-vm1-30793621 is ready for SSH connections
2026-04-17 13:22:39,181 - INFO - Waiting for VM ctest-vn1-vm2-66518677 to be up..
2026-04-17 13:22:39,264 - DEBUG - VM is in ACTIVE state now
2026-04-17 13:22:39,264 - INFO - VM name : ctest-vn1-vm2-66518677
2026-04-17 13:22:39,348 - DEBUG - VM ctest-vn1-vm2-66518677 ID is ccbdfb2a-fabd-4d9b-8cc1-52c13fecf36f
2026-04-17 13:22:39,348 - DEBUG - VM ctest-vn1-vm2-66518677 launched on Node cn-jenkins-deploy-platform-ansible-os-5636-1
2026-04-17 13:22:39,427 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ccbdfb2a-fabd-4d9b-8cc1-52c13fecf36f
2026-04-17 13:22:39,436 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7fc1f1b6-163e-4fa0-896c-ce6e018963d2
2026-04-17 13:22:40,681 - 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=3.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.499 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.499/1.891/3.283/1.392 ms')
2026-04-17 13:22:40,681 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-66518677 passed
2026-04-17 13:22:40,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-17 13:22:40,838 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-66518677, IP 155.84.113.133, Port 22
2026-04-17 13:22:41,004 - DEBUG - VM ctest-vn1-vm2-66518677 is ready for SSH connections
2026-04-17 13:22:41,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-17 13:22:41,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-17 13:22:41,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-17 13:22:41,004 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.0.239.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-04-17 13:22:41,004 - DEBUG - ping -s 56 -c 3 -W 1 104.0.239.5
2026-04-17 13:22:43,735 - DEBUG - PING 104.0.239.5 (104.0.239.5): 56 data bytes
64 bytes from 104.0.239.5: seq=0 ttl=63 time=3.774 ms
64 bytes from 104.0.239.5: seq=1 ttl=63 time=0.902 ms
64 bytes from 104.0.239.5: seq=2 ttl=63 time=0.869 ms
--- 104.0.239.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.869/1.848/3.774 ms
2026-04-17 13:22:43,735 - INFO - Ping to IP 104.0.239.5 from VM ctest-vn1-vm2-66518677 passed
2026-04-17 13:22:43,735 - INFO - Detaching port 7fc1f1b6-163e-4fa0-896c-ce6e018963d2 from VM ctest-vn1-vm2-66518677
2026-04-17 13:22:43,787 - INFO - Deleting VM ctest-vn1-vm2-66518677
2026-04-17 13:22:43,864 - INFO - Detaching port 2229bce2-b646-48b1-a6bd-f7d26a0af3cc from VM ctest-vn1-vm1-30793621
2026-04-17 13:22:43,905 - INFO - Deleting VM ctest-vn1-vm1-30793621
2026-04-17 13:22:44,169 - DEBUG - Response for delete_port : ()
2026-04-17 13:22:44,352 - DEBUG - Response for delete_port : ()
2026-04-17 13:22:44,352 - INFO - Deleting VN ctest-vn1-06038458
2026-04-17 13:22:44,499 - DEBUG - Response for deleting network ()
2026-04-17 13:22:44,763 - DEBUG - No XMPP flaps were noticed during the test
2026-04-17 13:22:44,763 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2026-04-17 13:22:44,763 - INFO - --------------------------------------------------------------------------------
2026-04-17 13:22:45,550 - INFO - Deleted project: ctest-TestPorts-89100420, ID : 9a4b006f-3330-4012-9d7e-10f64254c1a0