2025-10-09 16:29:00,691 - INFO - Domain Default found not creating
2025-10-09 16:29:00,875 - INFO - Project ctest-TestPorts-83310294 not found, creating it
2025-10-09 16:29:01,394 - INFO - Created Project:ctest-TestPorts-83310294, ID : 7fda095a-0d0b-4cc8-9417-eb4b0a43b88c
2025-10-09 16:29:02,993 - INFO - ================================================================================
2025-10-09 16:29:02,993 - INFO - STARTING TEST : test_ports_bindings
2025-10-09 16:29:02,993 - 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
2025-10-09 16:29:03,263 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-10-09 16:29:03,263 - INFO - Initial checks done. Running the testcase now
2025-10-09 16:29:03,263 - INFO -
2025-10-09 16:29:03,869 - DEBUG - Response for create_network : {'network': {'id': 'ebd9f228-13a6-4c88-9365-f736223c40ab', 'name': 'ctest-vn-44289261', 'tenant_id': '7fda095a0d0b4cc89417eb4b0a43b88c', 'project_id': '7fda095a0d0b4cc89417eb4b0a43b88c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-83310294', 'ctest-vn-44289261'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 16:29:04,039 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9eae386-af91-4b9b-a15c-780fda32e511', 'name': '', 'tenant_id': '7fda095a0d0b4cc89417eb4b0a43b88c', 'network_id': 'ebd9f228-13a6-4c88-9365-f736223c40ab', 'ip_version': 4, 'cidr': '166.6.95.64/26', 'allocation_pools': [{'start': '166.6.95.66', 'end': '166.6.95.126'}], 'gateway_ip': '166.6.95.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.6.95.66', 'tags': [], 'project_id': '7fda095a0d0b4cc89417eb4b0a43b88c'}}
2025-10-09 16:29:04,062 - INFO - Created VN ctest-vn-44289261
2025-10-09 16:29:04,116 - DEBUG - VN ctest-vn-44289261 UUID is ebd9f228-13a6-4c88-9365-f736223c40ab
2025-10-09 16:29:04,238 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-83310294', 'ctest-vmi-65723552']}
2025-10-09 16:29:04,529 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-65723552', 'id': 'ab87d38e-0199-4468-9c09-80dec3ceb146', 'tenant_id': '7fda095a0d0b4cc89417eb4b0a43b88c', 'network_id': 'ebd9f228-13a6-4c88-9365-f736223c40ab', 'mac_address': '02:ab:87:d3:8e:01', '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': '166.6.95.67', 'subnet_id': 'd9eae386-af91-4b9b-a15c-780fda32e511'}], 'security_groups': ['99886017-506c-49e9-b9bc-6137dbf504c8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7fda095a0d0b4cc89417eb4b0a43b88c'}}
2025-10-09 16:29:04,529 - DEBUG - Created port ab87d38e-0199-4468-9c09-80dec3ceb146
2025-10-09 16:29:04,640 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ab87d38e-0199-4468-9c09-80dec3ceb146
2025-10-09 16:29:04,960 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ab87d38e-0199-4468-9c09-80dec3ceb146
2025-10-09 16:29:04,998 - INFO - VMI ab87d38e-0199-4468-9c09-80dec3ceb146 verification in API Server passed
2025-10-09 16:29:05,119 - DEBUG - Response for delete_port : ()
2025-10-09 16:29:05,120 - INFO - Deleted port ab87d38e-0199-4468-9c09-80dec3ceb146
2025-10-09 16:29:05,120 - INFO - Deleting VN ctest-vn-44289261
2025-10-09 16:29:05,242 - DEBUG - Response for deleting network ()
2025-10-09 16:29:05,516 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 16:29:05,516 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-09 16:29:05,516 - INFO - --------------------------------------------------------------------------------
2025-10-09 16:29:05,519 - INFO - ================================================================================
2025-10-09 16:29:05,520 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-09 16:29:05,520 - 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
2025-10-09 16:29:05,802 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-10-09 16:29:05,802 - INFO - Initial checks done. Running the testcase now
2025-10-09 16:29:05,803 - INFO -
2025-10-09 16:29:05,990 - DEBUG - Response for create_network : {'network': {'id': '7957ad8d-2d79-4441-bdf0-a4f4c4134b3a', 'name': 'ctest-vn1-26979981', 'tenant_id': '7fda095a0d0b4cc89417eb4b0a43b88c', 'project_id': '7fda095a0d0b4cc89417eb4b0a43b88c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-83310294', 'ctest-vn1-26979981'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 16:29:06,192 - DEBUG - Response for create_subnet : {'subnet': {'id': '9889ed77-cc09-4f9d-b721-494b7dfa61d4', 'name': '', 'tenant_id': '7fda095a0d0b4cc89417eb4b0a43b88c', 'network_id': '7957ad8d-2d79-4441-bdf0-a4f4c4134b3a', 'ip_version': 4, 'cidr': '43.161.234.128/26', 'allocation_pools': [{'start': '43.161.234.130', 'end': '43.161.234.190'}], 'gateway_ip': '43.161.234.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.161.234.130', 'tags': [], 'project_id': '7fda095a0d0b4cc89417eb4b0a43b88c'}}
2025-10-09 16:29:06,393 - DEBUG - Response for create_subnet : {'subnet': {'id': '746bd28f-7732-4ba0-a48d-acfe9107edac', 'name': '', 'tenant_id': '7fda095a0d0b4cc89417eb4b0a43b88c', 'network_id': '7957ad8d-2d79-4441-bdf0-a4f4c4134b3a', 'ip_version': 4, 'cidr': '25.11.62.64/26', 'allocation_pools': [{'start': '25.11.62.66', 'end': '25.11.62.126'}], 'gateway_ip': '25.11.62.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.11.62.66', 'tags': [], 'project_id': '7fda095a0d0b4cc89417eb4b0a43b88c'}}
2025-10-09 16:29:06,417 - INFO - Created VN ctest-vn1-26979981
2025-10-09 16:29:06,472 - DEBUG - VN ctest-vn1-26979981 UUID is 7957ad8d-2d79-4441-bdf0-a4f4c4134b3a
2025-10-09 16:29:06,809 - DEBUG - Response for create_port : {'port': {'name': 'e7e437d9-73b9-4f85-b1cd-0c6aab3d9eb6', 'id': 'e7e437d9-73b9-4f85-b1cd-0c6aab3d9eb6', 'tenant_id': '7fda095a0d0b4cc89417eb4b0a43b88c', 'network_id': '7957ad8d-2d79-4441-bdf0-a4f4c4134b3a', 'mac_address': '02:e7:e4:37:d9:73', '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': '43.161.234.133', 'subnet_id': '9889ed77-cc09-4f9d-b721-494b7dfa61d4'}], 'security_groups': ['99886017-506c-49e9-b9bc-6137dbf504c8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7fda095a0d0b4cc89417eb4b0a43b88c'}}
2025-10-09 16:29:07,056 - DEBUG - Response for create_port : {'port': {'name': 'fa797279-2080-42d8-86cb-a90c3f0bb6b9', 'id': 'fa797279-2080-42d8-86cb-a90c3f0bb6b9', 'tenant_id': '7fda095a0d0b4cc89417eb4b0a43b88c', 'network_id': '7957ad8d-2d79-4441-bdf0-a4f4c4134b3a', 'mac_address': '02:fa:79:72:79:20', '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': '25.11.62.69', 'subnet_id': '746bd28f-7732-4ba0-a48d-acfe9107edac'}], 'security_groups': ['99886017-506c-49e9-b9bc-6137dbf504c8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7fda095a0d0b4cc89417eb4b0a43b88c'}}
2025-10-09 16:29:07,133 - DEBUG - Services list from nova: [, , ]
2025-10-09 16:29:07,545 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4267-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4267-1)
2025-10-09 16:29:08,075 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4267-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4267-1)
2025-10-09 16:29:08,076 - INFO - Waiting for VM ctest-vn1-vm1-03616475 to be up..
2025-10-09 16:29:08,126 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-09 16:29:13,214 - DEBUG - VM is in ACTIVE state now
2025-10-09 16:29:13,215 - INFO - VM name : ctest-vn1-vm1-03616475
2025-10-09 16:29:13,304 - DEBUG - VM ctest-vn1-vm1-03616475 ID is 29620d11-aae4-4b36-a768-73f22f8fba59
2025-10-09 16:29:13,330 - DEBUG - VM ctest-vn1-vm1-03616475 launched on Node cn-jenkins-deploy-platform-ansible-os-4267-1
2025-10-09 16:29:13,425 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/29620d11-aae4-4b36-a768-73f22f8fba59
2025-10-09 16:29:13,434 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e7e437d9-73b9-4f85-b1cd-0c6aab3d9eb6
2025-10-09 16:29:16,707 - 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 1025ms')
2025-10-09 16:29:16,707 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03616475 failed!
2025-10-09 16:29:16,764 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-83310294:ctest-vn1-26979981 is 43.161.234.129 and allocation pool is NOT set
2025-10-09 16:29:16,764 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-83310294:ctest-vn1-26979981 is 25.11.62.65 and allocation pool is NOT set
2025-10-09 16:29:20,827 - 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.77 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 3.768/3.768/3.768/0.000 ms')
2025-10-09 16:29:20,827 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03616475 passed
2025-10-09 16:29:20,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 16:29:20,984 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-03616475, IP 43.161.234.133, Port 22
2025-10-09 16:29:21,148 - DEBUG - VM ctest-vn1-vm1-03616475 is ready for SSH connections
2025-10-09 16:29:21,148 - INFO - Waiting for VM ctest-vn1-vm2-94375102 to be up..
2025-10-09 16:29:21,233 - DEBUG - VM is in ACTIVE state now
2025-10-09 16:29:21,233 - INFO - VM name : ctest-vn1-vm2-94375102
2025-10-09 16:29:21,321 - DEBUG - VM ctest-vn1-vm2-94375102 ID is ef66d563-9607-4c3a-a82a-0a3be281afa2
2025-10-09 16:29:21,322 - DEBUG - VM ctest-vn1-vm2-94375102 launched on Node cn-jenkins-deploy-platform-ansible-os-4267-1
2025-10-09 16:29:21,401 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ef66d563-9607-4c3a-a82a-0a3be281afa2
2025-10-09 16:29:21,411 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/fa797279-2080-42d8-86cb-a90c3f0bb6b9
2025-10-09 16:29:22,659 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.611 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.611/1.808/3.005/1.197 ms')
2025-10-09 16:29:22,659 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-94375102 passed
2025-10-09 16:29:22,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 16:29:22,813 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-94375102, IP 25.11.62.69, Port 22
2025-10-09 16:29:22,972 - DEBUG - VM ctest-vn1-vm2-94375102 is ready for SSH connections
2025-10-09 16:29:22,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 16:29:22,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 16:29:22,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 16:29:22,973 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.161.234.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-10-09 16:29:22,973 - DEBUG - ping -s 56 -c 3 -W 1 43.161.234.133
2025-10-09 16:29:25,675 - DEBUG - PING 43.161.234.133 (43.161.234.133): 56 data bytes
64 bytes from 43.161.234.133: seq=0 ttl=63 time=3.779 ms
64 bytes from 43.161.234.133: seq=1 ttl=63 time=1.058 ms
64 bytes from 43.161.234.133: seq=2 ttl=63 time=1.232 ms
--- 43.161.234.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.058/2.023/3.779 ms
2025-10-09 16:29:25,675 - INFO - Ping to IP 43.161.234.133 from VM ctest-vn1-vm2-94375102 passed
2025-10-09 16:29:25,675 - INFO - Detaching port fa797279-2080-42d8-86cb-a90c3f0bb6b9 from VM ctest-vn1-vm2-94375102
2025-10-09 16:29:25,734 - INFO - Deleting VM ctest-vn1-vm2-94375102
2025-10-09 16:29:25,829 - INFO - Detaching port e7e437d9-73b9-4f85-b1cd-0c6aab3d9eb6 from VM ctest-vn1-vm1-03616475
2025-10-09 16:29:25,882 - INFO - Deleting VM ctest-vn1-vm1-03616475
2025-10-09 16:29:26,174 - DEBUG - Response for delete_port : ()
2025-10-09 16:29:26,349 - DEBUG - Response for delete_port : ()
2025-10-09 16:29:26,349 - INFO - Deleting VN ctest-vn1-26979981
2025-10-09 16:29:26,485 - DEBUG - Response for deleting network ()
2025-10-09 16:29:26,785 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 16:29:26,785 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-09 16:29:26,785 - INFO - --------------------------------------------------------------------------------
2025-10-09 16:29:27,533 - INFO - Deleted project: ctest-TestPorts-83310294, ID : 7fda095a-0d0b-4cc8-9417-eb4b0a43b88c