2025-10-30 09:44:43,871 - INFO - Domain Default found not creating
2025-10-30 09:44:44,005 - INFO - Project ctest-TestPorts-01192626 not found, creating it
2025-10-30 09:44:44,443 - INFO - Created Project:ctest-TestPorts-01192626, ID : 8f76000c-f130-4bb4-8b57-acf97173c152
2025-10-30 09:44:45,788 - INFO - ================================================================================
2025-10-30 09:44:45,789 - INFO - STARTING TEST : test_ports_bindings
2025-10-30 09:44:45,789 - 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-30 09:44:46,042 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.5': '0'}} with
2025-10-30 09:44:46,042 - INFO - Initial checks done. Running the testcase now
2025-10-30 09:44:46,042 - INFO -
2025-10-30 09:44:46,586 - DEBUG - Response for create_network : {'network': {'id': 'b5091e44-bbe4-492b-9971-ab0aa7484010', 'name': 'ctest-vn-63218424', 'tenant_id': '8f76000cf1304bb48b57acf97173c152', 'project_id': '8f76000cf1304bb48b57acf97173c152', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-01192626', 'ctest-vn-63218424'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 09:44:46,807 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9f2f9e2-a4ed-4557-9276-09b63c40efc9', 'name': '', 'tenant_id': '8f76000cf1304bb48b57acf97173c152', 'network_id': 'b5091e44-bbe4-492b-9971-ab0aa7484010', 'ip_version': 4, 'cidr': '88.227.119.192/26', 'allocation_pools': [{'start': '88.227.119.194', 'end': '88.227.119.254'}], 'gateway_ip': '88.227.119.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.227.119.194', 'tags': [], 'project_id': '8f76000cf1304bb48b57acf97173c152'}}
2025-10-30 09:44:46,826 - INFO - Created VN ctest-vn-63218424
2025-10-30 09:44:46,881 - DEBUG - VN ctest-vn-63218424 UUID is b5091e44-bbe4-492b-9971-ab0aa7484010
2025-10-30 09:44:46,986 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-01192626', 'ctest-vmi-76035690']}
2025-10-30 09:44:47,257 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-76035690', 'id': 'cfddff7c-db67-4095-a1fd-ef0690a6e418', 'tenant_id': '8f76000cf1304bb48b57acf97173c152', 'network_id': 'b5091e44-bbe4-492b-9971-ab0aa7484010', 'mac_address': '02:cf:dd:ff:7c:db', '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': '88.227.119.195', 'subnet_id': 'a9f2f9e2-a4ed-4557-9276-09b63c40efc9'}], 'security_groups': ['65d1274e-b104-46bc-bb5f-7c44c8bfb4e8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8f76000cf1304bb48b57acf97173c152'}}
2025-10-30 09:44:47,257 - DEBUG - Created port cfddff7c-db67-4095-a1fd-ef0690a6e418
2025-10-30 09:44:47,361 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/cfddff7c-db67-4095-a1fd-ef0690a6e418
2025-10-30 09:44:47,651 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/cfddff7c-db67-4095-a1fd-ef0690a6e418
2025-10-30 09:44:47,680 - INFO - VMI cfddff7c-db67-4095-a1fd-ef0690a6e418 verification in API Server passed
2025-10-30 09:44:47,764 - DEBUG - Response for delete_port : ()
2025-10-30 09:44:47,764 - INFO - Deleted port cfddff7c-db67-4095-a1fd-ef0690a6e418
2025-10-30 09:44:47,764 - INFO - Deleting VN ctest-vn-63218424
2025-10-30 09:44:47,865 - DEBUG - Response for deleting network ()
2025-10-30 09:44:48,117 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 09:44:48,117 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-30 09:44:48,117 - INFO - --------------------------------------------------------------------------------
2025-10-30 09:44:48,120 - INFO - ================================================================================
2025-10-30 09:44:48,120 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-30 09:44:48,120 - 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-30 09:44:48,405 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.5': '0'}} with
2025-10-30 09:44:48,405 - INFO - Initial checks done. Running the testcase now
2025-10-30 09:44:48,405 - INFO -
2025-10-30 09:44:48,597 - DEBUG - Response for create_network : {'network': {'id': 'ebe78a18-40e1-4d1e-9b91-5f497039e64c', 'name': 'ctest-vn1-58049511', 'tenant_id': '8f76000cf1304bb48b57acf97173c152', 'project_id': '8f76000cf1304bb48b57acf97173c152', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-01192626', 'ctest-vn1-58049511'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 09:44:48,779 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a482922-30d9-428e-ad92-aee8f9954139', 'name': '', 'tenant_id': '8f76000cf1304bb48b57acf97173c152', 'network_id': 'ebe78a18-40e1-4d1e-9b91-5f497039e64c', 'ip_version': 4, 'cidr': '36.219.166.64/26', 'allocation_pools': [{'start': '36.219.166.66', 'end': '36.219.166.126'}], 'gateway_ip': '36.219.166.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.219.166.66', 'tags': [], 'project_id': '8f76000cf1304bb48b57acf97173c152'}}
2025-10-30 09:44:48,939 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e1dfb74-b277-4111-9ced-003371c75e98', 'name': '', 'tenant_id': '8f76000cf1304bb48b57acf97173c152', 'network_id': 'ebe78a18-40e1-4d1e-9b91-5f497039e64c', 'ip_version': 4, 'cidr': '82.148.206.64/26', 'allocation_pools': [{'start': '82.148.206.66', 'end': '82.148.206.126'}], 'gateway_ip': '82.148.206.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.148.206.66', 'tags': [], 'project_id': '8f76000cf1304bb48b57acf97173c152'}}
2025-10-30 09:44:48,964 - INFO - Created VN ctest-vn1-58049511
2025-10-30 09:44:49,021 - DEBUG - VN ctest-vn1-58049511 UUID is ebe78a18-40e1-4d1e-9b91-5f497039e64c
2025-10-30 09:44:49,322 - DEBUG - Response for create_port : {'port': {'name': '3856df07-b141-4e8f-a106-ff30b76ad82a', 'id': '3856df07-b141-4e8f-a106-ff30b76ad82a', 'tenant_id': '8f76000cf1304bb48b57acf97173c152', 'network_id': 'ebe78a18-40e1-4d1e-9b91-5f497039e64c', 'mac_address': '02:38:56:df:07:b1', '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': '36.219.166.69', 'subnet_id': '0a482922-30d9-428e-ad92-aee8f9954139'}], 'security_groups': ['65d1274e-b104-46bc-bb5f-7c44c8bfb4e8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8f76000cf1304bb48b57acf97173c152'}}
2025-10-30 09:44:49,484 - DEBUG - Response for create_port : {'port': {'name': 'ece14ad1-baca-4bac-8ba6-8bcea2f7412e', 'id': 'ece14ad1-baca-4bac-8ba6-8bcea2f7412e', 'tenant_id': '8f76000cf1304bb48b57acf97173c152', 'network_id': 'ebe78a18-40e1-4d1e-9b91-5f497039e64c', 'mac_address': '02:ec:e1:4a:d1:ba', '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': '82.148.206.69', 'subnet_id': '2e1dfb74-b277-4111-9ced-003371c75e98'}], 'security_groups': ['65d1274e-b104-46bc-bb5f-7c44c8bfb4e8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8f76000cf1304bb48b57acf97173c152'}}
2025-10-30 09:44:49,539 - DEBUG - Services list from nova: [, , ]
2025-10-30 09:44:49,868 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4539-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4539-1)
2025-10-30 09:44:50,236 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4539-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4539-1)
2025-10-30 09:44:50,236 - INFO - Waiting for VM ctest-vn1-vm1-41154318 to be up..
2025-10-30 09:44:50,270 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-30 09:44:55,337 - DEBUG - VM is in ACTIVE state now
2025-10-30 09:44:55,337 - INFO - VM name : ctest-vn1-vm1-41154318
2025-10-30 09:44:55,405 - DEBUG - VM ctest-vn1-vm1-41154318 ID is cb258f78-03d0-42fc-9a09-fc058b4e5227
2025-10-30 09:44:55,422 - DEBUG - VM ctest-vn1-vm1-41154318 launched on Node cn-jenkins-deploy-platform-ansible-os-4539-1
2025-10-30 09:44:55,490 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/cb258f78-03d0-42fc-9a09-fc058b4e5227
2025-10-30 09:44:55,499 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/3856df07-b141-4e8f-a106-ff30b76ad82a
2025-10-30 09:44:58,762 - 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 1027ms')
2025-10-30 09:44:58,762 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41154318 failed!
2025-10-30 09:44:58,817 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-01192626:ctest-vn1-58049511 is 36.219.166.65 and allocation pool is NOT set
2025-10-30 09:44:58,817 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-01192626:ctest-vn1-58049511 is 82.148.206.65 and allocation pool is NOT set
2025-10-30 09:45:00,873 - 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=4.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.822 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.822/2.528/4.234/1.706 ms')
2025-10-30 09:45:00,873 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41154318 passed
2025-10-30 09:45:01,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 09:45:01,025 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41154318, IP 36.219.166.69, Port 22
2025-10-30 09:45:01,176 - DEBUG - VM ctest-vn1-vm1-41154318 is ready for SSH connections
2025-10-30 09:45:01,176 - INFO - Waiting for VM ctest-vn1-vm2-85955730 to be up..
2025-10-30 09:45:01,251 - DEBUG - VM is in ACTIVE state now
2025-10-30 09:45:01,251 - INFO - VM name : ctest-vn1-vm2-85955730
2025-10-30 09:45:01,318 - DEBUG - VM ctest-vn1-vm2-85955730 ID is 17b4bf83-7e52-48f2-adb5-da70757ac204
2025-10-30 09:45:01,318 - DEBUG - VM ctest-vn1-vm2-85955730 launched on Node cn-jenkins-deploy-platform-ansible-os-4539-1
2025-10-30 09:45:01,390 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/17b4bf83-7e52-48f2-adb5-da70757ac204
2025-10-30 09:45:01,399 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/ece14ad1-baca-4bac-8ba6-8bcea2f7412e
2025-10-30 09:45:02,642 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.30 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 = 3.299/3.720/4.142/0.421 ms')
2025-10-30 09:45:02,642 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-85955730 passed
2025-10-30 09:45:02,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 09:45:02,793 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-85955730, IP 82.148.206.69, Port 22
2025-10-30 09:45:02,948 - DEBUG - VM ctest-vn1-vm2-85955730 is ready for SSH connections
2025-10-30 09:45:02,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 09:45:02,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 09:45:02,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 09:45:02,948 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.219.166.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-10-30 09:45:02,948 - DEBUG - ping -s 56 -c 3 -W 1 36.219.166.69
2025-10-30 09:45:05,877 - DEBUG - PING 36.219.166.69 (36.219.166.69): 56 data bytes
64 bytes from 36.219.166.69: seq=0 ttl=63 time=3.525 ms
64 bytes from 36.219.166.69: seq=1 ttl=63 time=0.779 ms
64 bytes from 36.219.166.69: seq=2 ttl=63 time=0.784 ms
--- 36.219.166.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.779/1.696/3.525 ms
2025-10-30 09:45:05,877 - INFO - Ping to IP 36.219.166.69 from VM ctest-vn1-vm2-85955730 passed
2025-10-30 09:45:05,877 - INFO - Detaching port ece14ad1-baca-4bac-8ba6-8bcea2f7412e from VM ctest-vn1-vm2-85955730
2025-10-30 09:45:05,922 - INFO - Deleting VM ctest-vn1-vm2-85955730
2025-10-30 09:45:05,989 - INFO - Detaching port 3856df07-b141-4e8f-a106-ff30b76ad82a from VM ctest-vn1-vm1-41154318
2025-10-30 09:45:06,021 - INFO - Deleting VM ctest-vn1-vm1-41154318
2025-10-30 09:45:06,231 - DEBUG - Response for delete_port : ()
2025-10-30 09:45:06,421 - DEBUG - Response for delete_port : ()
2025-10-30 09:45:06,421 - INFO - Deleting VN ctest-vn1-58049511
2025-10-30 09:45:06,562 - DEBUG - Response for deleting network ()
2025-10-30 09:45:06,814 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 09:45:06,814 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-10-30 09:45:06,814 - INFO - --------------------------------------------------------------------------------
2025-10-30 09:45:07,497 - INFO - Deleted project: ctest-TestPorts-01192626, ID : 8f76000c-f130-4bb4-8b57-acf97173c152