2025-09-01 17:22:57,785 - INFO - Domain Default found not creating
2025-09-01 17:22:57,906 - INFO - Project ctest-TestPorts-90993049 not found, creating it
2025-09-01 17:22:58,397 - INFO - Created Project:ctest-TestPorts-90993049, ID : 98d8bed5-ac34-4666-be47-7567fcbe8c14
2025-09-01 17:22:59,762 - INFO - ================================================================================
2025-09-01 17:22:59,762 - INFO - STARTING TEST : test_ports_bindings
2025-09-01 17:22:59,762 - 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-09-01 17:23:00,010 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-09-01 17:23:00,010 - INFO - Initial checks done. Running the testcase now
2025-09-01 17:23:00,010 - INFO -
2025-09-01 17:23:00,537 - DEBUG - Response for create_network : {'network': {'id': 'd589ba38-56cb-443a-a8cb-8be8dcb97670', 'name': 'ctest-vn-59840884', 'tenant_id': '98d8bed5ac344666be477567fcbe8c14', 'project_id': '98d8bed5ac344666be477567fcbe8c14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-90993049', 'ctest-vn-59840884'], 'port_security_enabled': True, 'description': ''}}
2025-09-01 17:23:00,697 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f08f8c8-0c5e-4406-b467-9ae1d7f90f11', 'name': '', 'tenant_id': '98d8bed5ac344666be477567fcbe8c14', 'network_id': 'd589ba38-56cb-443a-a8cb-8be8dcb97670', 'ip_version': 4, 'cidr': '214.227.165.64/26', 'allocation_pools': [{'start': '214.227.165.66', 'end': '214.227.165.126'}], 'gateway_ip': '214.227.165.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.227.165.66', 'tags': [], 'project_id': '98d8bed5ac344666be477567fcbe8c14'}}
2025-09-01 17:23:00,714 - INFO - Created VN ctest-vn-59840884
2025-09-01 17:23:00,769 - DEBUG - VN ctest-vn-59840884 UUID is d589ba38-56cb-443a-a8cb-8be8dcb97670
2025-09-01 17:23:00,868 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-90993049', 'ctest-vmi-32587512']}
2025-09-01 17:23:01,134 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-32587512', 'id': '1e5f56ab-2543-4f88-bc46-909655bfb9e5', 'tenant_id': '98d8bed5ac344666be477567fcbe8c14', 'network_id': 'd589ba38-56cb-443a-a8cb-8be8dcb97670', 'mac_address': '02:1e:5f:56:ab:25', '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': '214.227.165.67', 'subnet_id': '1f08f8c8-0c5e-4406-b467-9ae1d7f90f11'}], 'security_groups': ['96f8695c-5f3c-4895-9fd4-8d6eb6c8ad36'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '98d8bed5ac344666be477567fcbe8c14'}}
2025-09-01 17:23:01,134 - DEBUG - Created port 1e5f56ab-2543-4f88-bc46-909655bfb9e5
2025-09-01 17:23:01,241 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1e5f56ab-2543-4f88-bc46-909655bfb9e5
2025-09-01 17:23:01,530 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1e5f56ab-2543-4f88-bc46-909655bfb9e5
2025-09-01 17:23:01,558 - INFO - VMI 1e5f56ab-2543-4f88-bc46-909655bfb9e5 verification in API Server passed
2025-09-01 17:23:01,636 - DEBUG - Response for delete_port : ()
2025-09-01 17:23:01,636 - INFO - Deleted port 1e5f56ab-2543-4f88-bc46-909655bfb9e5
2025-09-01 17:23:01,636 - INFO - Deleting VN ctest-vn-59840884
2025-09-01 17:23:01,720 - DEBUG - Response for deleting network ()
2025-09-01 17:23:01,974 - DEBUG - No XMPP flaps were noticed during the test
2025-09-01 17:23:01,975 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-01 17:23:01,975 - INFO - --------------------------------------------------------------------------------
2025-09-01 17:23:01,977 - INFO - ================================================================================
2025-09-01 17:23:01,977 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-01 17:23:01,977 - 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-09-01 17:23:02,259 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-09-01 17:23:02,259 - INFO - Initial checks done. Running the testcase now
2025-09-01 17:23:02,259 - INFO -
2025-09-01 17:23:02,416 - DEBUG - Response for create_network : {'network': {'id': 'ba119853-60a0-40cb-975c-7fe20f81a5b8', 'name': 'ctest-vn1-94736307', 'tenant_id': '98d8bed5ac344666be477567fcbe8c14', 'project_id': '98d8bed5ac344666be477567fcbe8c14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-90993049', 'ctest-vn1-94736307'], 'port_security_enabled': True, 'description': ''}}
2025-09-01 17:23:02,578 - DEBUG - Response for create_subnet : {'subnet': {'id': '6aab37c7-640f-4493-982a-bd3e67364076', 'name': '', 'tenant_id': '98d8bed5ac344666be477567fcbe8c14', 'network_id': 'ba119853-60a0-40cb-975c-7fe20f81a5b8', 'ip_version': 4, 'cidr': '90.84.36.128/26', 'allocation_pools': [{'start': '90.84.36.130', 'end': '90.84.36.190'}], 'gateway_ip': '90.84.36.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.84.36.130', 'tags': [], 'project_id': '98d8bed5ac344666be477567fcbe8c14'}}
2025-09-01 17:23:02,790 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2393de5-2f76-4f9c-bd3e-bfd0989a92c3', 'name': '', 'tenant_id': '98d8bed5ac344666be477567fcbe8c14', 'network_id': 'ba119853-60a0-40cb-975c-7fe20f81a5b8', 'ip_version': 4, 'cidr': '124.46.213.192/26', 'allocation_pools': [{'start': '124.46.213.194', 'end': '124.46.213.254'}], 'gateway_ip': '124.46.213.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.46.213.194', 'tags': [], 'project_id': '98d8bed5ac344666be477567fcbe8c14'}}
2025-09-01 17:23:02,809 - INFO - Created VN ctest-vn1-94736307
2025-09-01 17:23:02,861 - DEBUG - VN ctest-vn1-94736307 UUID is ba119853-60a0-40cb-975c-7fe20f81a5b8
2025-09-01 17:23:03,143 - DEBUG - Response for create_port : {'port': {'name': '8291f8bf-3aae-4224-834f-a621b8e33a85', 'id': '8291f8bf-3aae-4224-834f-a621b8e33a85', 'tenant_id': '98d8bed5ac344666be477567fcbe8c14', 'network_id': 'ba119853-60a0-40cb-975c-7fe20f81a5b8', 'mac_address': '02:82:91:f8:bf:3a', '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': '90.84.36.133', 'subnet_id': '6aab37c7-640f-4493-982a-bd3e67364076'}], 'security_groups': ['96f8695c-5f3c-4895-9fd4-8d6eb6c8ad36'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '98d8bed5ac344666be477567fcbe8c14'}}
2025-09-01 17:23:03,314 - DEBUG - Response for create_port : {'port': {'name': '6b4b7e8d-c56a-4c93-9699-d4247028ca7d', 'id': '6b4b7e8d-c56a-4c93-9699-d4247028ca7d', 'tenant_id': '98d8bed5ac344666be477567fcbe8c14', 'network_id': 'ba119853-60a0-40cb-975c-7fe20f81a5b8', 'mac_address': '02:6b:4b:7e:8d:c5', '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': '124.46.213.197', 'subnet_id': 'f2393de5-2f76-4f9c-bd3e-bfd0989a92c3'}], 'security_groups': ['96f8695c-5f3c-4895-9fd4-8d6eb6c8ad36'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '98d8bed5ac344666be477567fcbe8c14'}}
2025-09-01 17:23:03,367 - DEBUG - Services list from nova: [, , ]
2025-09-01 17:23:03,705 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3998-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3998-1)
2025-09-01 17:23:04,056 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3998-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3998-1)
2025-09-01 17:23:04,056 - INFO - Waiting for VM ctest-vn1-vm1-73925838 to be up..
2025-09-01 17:23:04,091 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-01 17:23:09,159 - DEBUG - VM is in ACTIVE state now
2025-09-01 17:23:09,160 - INFO - VM name : ctest-vn1-vm1-73925838
2025-09-01 17:23:09,224 - DEBUG - VM ctest-vn1-vm1-73925838 ID is 0cb8a2c3-e09f-4db4-b1c2-10f7f0fa5c88
2025-09-01 17:23:09,240 - DEBUG - VM ctest-vn1-vm1-73925838 launched on Node cn-jenkins-deploy-platform-ansible-os-3998-1
2025-09-01 17:23:09,313 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0cb8a2c3-e09f-4db4-b1c2-10f7f0fa5c88
2025-09-01 17:23:09,321 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8291f8bf-3aae-4224-834f-a621b8e33a85
2025-09-01 17:23:12,567 - 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 1019ms')
2025-09-01 17:23:12,567 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73925838 failed!
2025-09-01 17:23:12,621 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-90993049:ctest-vn1-94736307 is 90.84.36.129 and allocation pool is NOT set
2025-09-01 17:23:12,622 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-90993049:ctest-vn1-94736307 is 124.46.213.193 and allocation pool is NOT set
2025-09-01 17:23:14,680 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.01 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 = 2.009/2.908/3.807/0.899 ms')
2025-09-01 17:23:14,680 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73925838 passed
2025-09-01 17:23:14,829 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-01 17:23:14,829 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73925838, IP 90.84.36.133, Port 22
2025-09-01 17:23:14,984 - DEBUG - VM ctest-vn1-vm1-73925838 is ready for SSH connections
2025-09-01 17:23:14,984 - INFO - Waiting for VM ctest-vn1-vm2-31652061 to be up..
2025-09-01 17:23:15,052 - DEBUG - VM is in ACTIVE state now
2025-09-01 17:23:15,052 - INFO - VM name : ctest-vn1-vm2-31652061
2025-09-01 17:23:15,123 - DEBUG - VM ctest-vn1-vm2-31652061 ID is 631e245a-fd46-4863-9328-b357a82a4db1
2025-09-01 17:23:15,123 - DEBUG - VM ctest-vn1-vm2-31652061 launched on Node cn-jenkins-deploy-platform-ansible-os-3998-1
2025-09-01 17:23:15,192 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/631e245a-fd46-4863-9328-b357a82a4db1
2025-09-01 17:23:15,198 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6b4b7e8d-c56a-4c93-9699-d4247028ca7d
2025-09-01 17:23:16,430 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.418 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.418/2.123/3.828/1.705 ms')
2025-09-01 17:23:16,430 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-31652061 passed
2025-09-01 17:23:16,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-01 17:23:16,578 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-31652061, IP 124.46.213.197, Port 22
2025-09-01 17:23:16,733 - DEBUG - VM ctest-vn1-vm2-31652061 is ready for SSH connections
2025-09-01 17:23:16,733 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-01 17:23:16,733 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-01 17:23:16,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-01 17:23:16,734 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.84.36.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-01 17:23:16,734 - DEBUG - ping -s 56 -c 3 -W 1 90.84.36.133
2025-09-01 17:23:19,638 - DEBUG - PING 90.84.36.133 (90.84.36.133): 56 data bytes
64 bytes from 90.84.36.133: seq=0 ttl=63 time=3.636 ms
64 bytes from 90.84.36.133: seq=1 ttl=63 time=0.747 ms
64 bytes from 90.84.36.133: seq=2 ttl=63 time=0.691 ms
--- 90.84.36.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.691/1.691/3.636 ms
2025-09-01 17:23:19,638 - INFO - Ping to IP 90.84.36.133 from VM ctest-vn1-vm2-31652061 passed
2025-09-01 17:23:19,638 - INFO - Detaching port 6b4b7e8d-c56a-4c93-9699-d4247028ca7d from VM ctest-vn1-vm2-31652061
2025-09-01 17:23:19,679 - INFO - Deleting VM ctest-vn1-vm2-31652061
2025-09-01 17:23:19,733 - INFO - Detaching port 8291f8bf-3aae-4224-834f-a621b8e33a85 from VM ctest-vn1-vm1-73925838
2025-09-01 17:23:19,761 - INFO - Deleting VM ctest-vn1-vm1-73925838
2025-09-01 17:23:19,962 - DEBUG - Response for delete_port : ()
2025-09-01 17:23:20,125 - DEBUG - Response for delete_port : ()
2025-09-01 17:23:20,125 - INFO - Deleting VN ctest-vn1-94736307
2025-09-01 17:23:20,264 - DEBUG - Response for deleting network ()
2025-09-01 17:23:20,517 - DEBUG - No XMPP flaps were noticed during the test
2025-09-01 17:23:20,518 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-09-01 17:23:20,518 - INFO - --------------------------------------------------------------------------------
2025-09-01 17:23:21,166 - INFO - Deleted project: ctest-TestPorts-90993049, ID : 98d8bed5-ac34-4666-be47-7567fcbe8c14