2025-08-22 13:53:37,515 - INFO - Domain Default found not creating
2025-08-22 13:53:37,689 - INFO - Project ctest-TestPorts-25082531 not found, creating it
2025-08-22 13:53:38,197 - INFO - Created Project:ctest-TestPorts-25082531, ID : 67394f19-d902-4e9f-b562-19b817a49dbe
2025-08-22 13:53:39,712 - INFO - ================================================================================
2025-08-22 13:53:39,713 - INFO - STARTING TEST : test_ports_bindings
2025-08-22 13:53:39,713 - 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-08-22 13:53:39,970 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-08-22 13:53:39,970 - INFO - Initial checks done. Running the testcase now
2025-08-22 13:53:39,970 - INFO -
2025-08-22 13:53:40,530 - DEBUG - Response for create_network : {'network': {'id': '599ee722-c2d0-4c67-9e5d-26bf4307ce68', 'name': 'ctest-vn-41588600', 'tenant_id': '67394f19d9024e9fb56219b817a49dbe', 'project_id': '67394f19d9024e9fb56219b817a49dbe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-25082531', 'ctest-vn-41588600'], 'port_security_enabled': True, 'description': ''}}
2025-08-22 13:53:40,703 - DEBUG - Response for create_subnet : {'subnet': {'id': '85664141-fa4d-4f0c-82c8-235d6e055b46', 'name': '', 'tenant_id': '67394f19d9024e9fb56219b817a49dbe', 'network_id': '599ee722-c2d0-4c67-9e5d-26bf4307ce68', 'ip_version': 4, 'cidr': '4.116.89.128/26', 'allocation_pools': [{'start': '4.116.89.130', 'end': '4.116.89.190'}], 'gateway_ip': '4.116.89.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.116.89.130', 'tags': [], 'project_id': '67394f19d9024e9fb56219b817a49dbe'}}
2025-08-22 13:53:40,721 - INFO - Created VN ctest-vn-41588600
2025-08-22 13:53:40,773 - DEBUG - VN ctest-vn-41588600 UUID is 599ee722-c2d0-4c67-9e5d-26bf4307ce68
2025-08-22 13:53:40,876 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-25082531', 'ctest-vmi-33643088']}
2025-08-22 13:53:41,199 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-33643088', 'id': 'd43ce278-6d9e-4ec0-84cb-8cad2e3fec4c', 'tenant_id': '67394f19d9024e9fb56219b817a49dbe', 'network_id': '599ee722-c2d0-4c67-9e5d-26bf4307ce68', 'mac_address': '02:d4:3c:e2:78:6d', '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': '4.116.89.131', 'subnet_id': '85664141-fa4d-4f0c-82c8-235d6e055b46'}], 'security_groups': ['590a3373-dd56-4c9e-b8b1-65007d02a439'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '67394f19d9024e9fb56219b817a49dbe'}}
2025-08-22 13:53:41,199 - DEBUG - Created port d43ce278-6d9e-4ec0-84cb-8cad2e3fec4c
2025-08-22 13:53:41,305 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d43ce278-6d9e-4ec0-84cb-8cad2e3fec4c
2025-08-22 13:53:41,597 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d43ce278-6d9e-4ec0-84cb-8cad2e3fec4c
2025-08-22 13:53:41,628 - INFO - VMI d43ce278-6d9e-4ec0-84cb-8cad2e3fec4c verification in API Server passed
2025-08-22 13:53:41,719 - DEBUG - Response for delete_port : ()
2025-08-22 13:53:41,719 - INFO - Deleted port d43ce278-6d9e-4ec0-84cb-8cad2e3fec4c
2025-08-22 13:53:41,720 - INFO - Deleting VN ctest-vn-41588600
2025-08-22 13:53:41,855 - DEBUG - Response for deleting network ()
2025-08-22 13:53:42,110 - DEBUG - No XMPP flaps were noticed during the test
2025-08-22 13:53:42,110 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-22 13:53:42,110 - INFO - --------------------------------------------------------------------------------
2025-08-22 13:53:42,112 - INFO - ================================================================================
2025-08-22 13:53:42,112 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-22 13:53:42,113 - 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-08-22 13:53:42,406 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-08-22 13:53:42,406 - INFO - Initial checks done. Running the testcase now
2025-08-22 13:53:42,406 - INFO -
2025-08-22 13:53:42,582 - DEBUG - Response for create_network : {'network': {'id': '6b732c71-33cb-4cba-aa0f-572094499bb4', 'name': 'ctest-vn1-92799425', 'tenant_id': '67394f19d9024e9fb56219b817a49dbe', 'project_id': '67394f19d9024e9fb56219b817a49dbe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-25082531', 'ctest-vn1-92799425'], 'port_security_enabled': True, 'description': ''}}
2025-08-22 13:53:42,762 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea0c5d0c-2650-4c55-8313-513e94ba5208', 'name': '', 'tenant_id': '67394f19d9024e9fb56219b817a49dbe', 'network_id': '6b732c71-33cb-4cba-aa0f-572094499bb4', 'ip_version': 4, 'cidr': '31.158.162.128/26', 'allocation_pools': [{'start': '31.158.162.130', 'end': '31.158.162.190'}], 'gateway_ip': '31.158.162.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.158.162.130', 'tags': [], 'project_id': '67394f19d9024e9fb56219b817a49dbe'}}
2025-08-22 13:53:42,921 - DEBUG - Response for create_subnet : {'subnet': {'id': '72858855-d6d7-4574-85d4-296a397d0fd4', 'name': '', 'tenant_id': '67394f19d9024e9fb56219b817a49dbe', 'network_id': '6b732c71-33cb-4cba-aa0f-572094499bb4', 'ip_version': 4, 'cidr': '174.52.197.128/26', 'allocation_pools': [{'start': '174.52.197.130', 'end': '174.52.197.190'}], 'gateway_ip': '174.52.197.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.52.197.130', 'tags': [], 'project_id': '67394f19d9024e9fb56219b817a49dbe'}}
2025-08-22 13:53:42,942 - INFO - Created VN ctest-vn1-92799425
2025-08-22 13:53:42,997 - DEBUG - VN ctest-vn1-92799425 UUID is 6b732c71-33cb-4cba-aa0f-572094499bb4
2025-08-22 13:53:43,410 - DEBUG - Response for create_port : {'port': {'name': '0908d4a0-2bee-4ddb-8a7c-08dcb542aaf5', 'id': '0908d4a0-2bee-4ddb-8a7c-08dcb542aaf5', 'tenant_id': '67394f19d9024e9fb56219b817a49dbe', 'network_id': '6b732c71-33cb-4cba-aa0f-572094499bb4', 'mac_address': '02:09:08:d4:a0:2b', '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': '31.158.162.133', 'subnet_id': 'ea0c5d0c-2650-4c55-8313-513e94ba5208'}], 'security_groups': ['590a3373-dd56-4c9e-b8b1-65007d02a439'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '67394f19d9024e9fb56219b817a49dbe'}}
2025-08-22 13:53:43,612 - DEBUG - Response for create_port : {'port': {'name': 'e356c684-1ae0-40fa-ac0b-12dfcdb1d071', 'id': 'e356c684-1ae0-40fa-ac0b-12dfcdb1d071', 'tenant_id': '67394f19d9024e9fb56219b817a49dbe', 'network_id': '6b732c71-33cb-4cba-aa0f-572094499bb4', 'mac_address': '02:e3:56:c6:84:1a', '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': '174.52.197.133', 'subnet_id': '72858855-d6d7-4574-85d4-296a397d0fd4'}], 'security_groups': ['590a3373-dd56-4c9e-b8b1-65007d02a439'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '67394f19d9024e9fb56219b817a49dbe'}}
2025-08-22 13:53:43,664 - DEBUG - Services list from nova: [, , ]
2025-08-22 13:53:43,996 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3910-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3910-1)
2025-08-22 13:53:44,431 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3910-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3910-1)
2025-08-22 13:53:44,431 - INFO - Waiting for VM ctest-vn1-vm1-58514446 to be up..
2025-08-22 13:53:44,474 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-22 13:53:49,561 - DEBUG - VM is in ACTIVE state now
2025-08-22 13:53:49,561 - INFO - VM name : ctest-vn1-vm1-58514446
2025-08-22 13:53:49,652 - DEBUG - VM ctest-vn1-vm1-58514446 ID is 2a5c20bf-26d1-415e-880c-3e145d39d781
2025-08-22 13:53:49,671 - DEBUG - VM ctest-vn1-vm1-58514446 launched on Node cn-jenkins-deploy-platform-ansible-os-3910-1
2025-08-22 13:53:49,756 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2a5c20bf-26d1-415e-880c-3e145d39d781
2025-08-22 13:53:49,766 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0908d4a0-2bee-4ddb-8a7c-08dcb542aaf5
2025-08-22 13:53:53,064 - 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-08-22 13:53:53,064 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-58514446 failed!
2025-08-22 13:53:53,129 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-25082531:ctest-vn1-92799425 is 31.158.162.129 and allocation pool is NOT set
2025-08-22 13:53:53,129 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-25082531:ctest-vn1-92799425 is 174.52.197.129 and allocation pool is NOT set
2025-08-22 13:53:55,186 - 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=12.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.997 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.997/6.973/12.949/5.976 ms')
2025-08-22 13:53:55,187 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-58514446 passed
2025-08-22 13:53:55,345 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-22 13:53:55,345 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-58514446, IP 31.158.162.133, Port 22
2025-08-22 13:53:55,516 - DEBUG - VM ctest-vn1-vm1-58514446 is ready for SSH connections
2025-08-22 13:53:55,516 - INFO - Waiting for VM ctest-vn1-vm2-76692549 to be up..
2025-08-22 13:53:55,611 - DEBUG - VM is in ACTIVE state now
2025-08-22 13:53:55,611 - INFO - VM name : ctest-vn1-vm2-76692549
2025-08-22 13:53:55,705 - DEBUG - VM ctest-vn1-vm2-76692549 ID is edfd9df2-529a-4f86-8b42-93cc6a8ec5d5
2025-08-22 13:53:55,705 - DEBUG - VM ctest-vn1-vm2-76692549 launched on Node cn-jenkins-deploy-platform-ansible-os-3910-1
2025-08-22 13:53:55,790 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/edfd9df2-529a-4f86-8b42-93cc6a8ec5d5
2025-08-22 13:53:55,803 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e356c684-1ae0-40fa-ac0b-12dfcdb1d071
2025-08-22 13:53:57,055 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.74 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 = 1.735/3.181/4.627/1.446 ms')
2025-08-22 13:53:57,055 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-76692549 passed
2025-08-22 13:53:57,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-22 13:53:57,213 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-76692549, IP 174.52.197.133, Port 22
2025-08-22 13:53:57,372 - DEBUG - VM ctest-vn1-vm2-76692549 is ready for SSH connections
2025-08-22 13:53:57,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-22 13:53:57,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-22 13:53:57,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-22 13:53:57,373 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.158.162.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-08-22 13:53:57,373 - DEBUG - ping -s 56 -c 3 -W 1 31.158.162.133
2025-08-22 13:54:00,016 - DEBUG - PING 31.158.162.133 (31.158.162.133): 56 data bytes
64 bytes from 31.158.162.133: seq=0 ttl=63 time=4.074 ms
64 bytes from 31.158.162.133: seq=1 ttl=63 time=0.914 ms
64 bytes from 31.158.162.133: seq=2 ttl=63 time=0.694 ms
--- 31.158.162.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.694/1.894/4.074 ms
2025-08-22 13:54:00,016 - INFO - Ping to IP 31.158.162.133 from VM ctest-vn1-vm2-76692549 passed
2025-08-22 13:54:00,016 - INFO - Detaching port e356c684-1ae0-40fa-ac0b-12dfcdb1d071 from VM ctest-vn1-vm2-76692549
2025-08-22 13:54:00,064 - INFO - Deleting VM ctest-vn1-vm2-76692549
2025-08-22 13:54:00,133 - INFO - Detaching port 0908d4a0-2bee-4ddb-8a7c-08dcb542aaf5 from VM ctest-vn1-vm1-58514446
2025-08-22 13:54:00,174 - INFO - Deleting VM ctest-vn1-vm1-58514446
2025-08-22 13:54:00,435 - DEBUG - Response for delete_port : ()
2025-08-22 13:54:00,616 - DEBUG - Response for delete_port : ()
2025-08-22 13:54:00,616 - INFO - Deleting VN ctest-vn1-92799425
2025-08-22 13:54:00,814 - DEBUG - Response for deleting network ()
2025-08-22 13:54:01,067 - DEBUG - No XMPP flaps were noticed during the test
2025-08-22 13:54:01,067 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-22 13:54:01,067 - INFO - --------------------------------------------------------------------------------
2025-08-22 13:54:01,766 - INFO - Deleted project: ctest-TestPorts-25082531, ID : 67394f19-d902-4e9f-b562-19b817a49dbe