2025-10-23 19:04:12,542 - INFO - Domain Default found not creating
2025-10-23 19:04:12,694 - INFO - Project ctest-TestPorts-71185315 not found, creating it
2025-10-23 19:04:13,155 - INFO - Created Project:ctest-TestPorts-71185315, ID : 4041da3b-3adc-42e0-8b10-837d358461db
2025-10-23 19:04:14,606 - INFO - ================================================================================
2025-10-23 19:04:14,606 - INFO - STARTING TEST : test_ports_bindings
2025-10-23 19:04:14,607 - 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-23 19:04:14,862 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-10-23 19:04:14,862 - INFO - Initial checks done. Running the testcase now
2025-10-23 19:04:14,863 - INFO -
2025-10-23 19:04:15,463 - DEBUG - Response for create_network : {'network': {'id': '3e4cdfcc-a693-465a-b06a-4b2f89e62c79', 'name': 'ctest-vn-50563866', 'tenant_id': '4041da3b3adc42e08b10837d358461db', 'project_id': '4041da3b3adc42e08b10837d358461db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-71185315', 'ctest-vn-50563866'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 19:04:15,692 - DEBUG - Response for create_subnet : {'subnet': {'id': '490300bc-88ab-48e2-877b-df2747286b47', 'name': '', 'tenant_id': '4041da3b3adc42e08b10837d358461db', 'network_id': '3e4cdfcc-a693-465a-b06a-4b2f89e62c79', 'ip_version': 4, 'cidr': '142.133.185.64/26', 'allocation_pools': [{'start': '142.133.185.66', 'end': '142.133.185.126'}], 'gateway_ip': '142.133.185.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.133.185.66', 'tags': [], 'project_id': '4041da3b3adc42e08b10837d358461db'}}
2025-10-23 19:04:15,710 - INFO - Created VN ctest-vn-50563866
2025-10-23 19:04:15,761 - DEBUG - VN ctest-vn-50563866 UUID is 3e4cdfcc-a693-465a-b06a-4b2f89e62c79
2025-10-23 19:04:15,870 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-71185315', 'ctest-vmi-08662014']}
2025-10-23 19:04:16,170 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-08662014', 'id': '7668d3bb-88fd-407f-89f8-5147f01c449a', 'tenant_id': '4041da3b3adc42e08b10837d358461db', 'network_id': '3e4cdfcc-a693-465a-b06a-4b2f89e62c79', 'mac_address': '02:76:68:d3:bb:88', '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': '142.133.185.67', 'subnet_id': '490300bc-88ab-48e2-877b-df2747286b47'}], 'security_groups': ['583ba411-6eae-493f-8dbd-fc2d25f71cf6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4041da3b3adc42e08b10837d358461db'}}
2025-10-23 19:04:16,171 - DEBUG - Created port 7668d3bb-88fd-407f-89f8-5147f01c449a
2025-10-23 19:04:16,273 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7668d3bb-88fd-407f-89f8-5147f01c449a
2025-10-23 19:04:16,567 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7668d3bb-88fd-407f-89f8-5147f01c449a
2025-10-23 19:04:16,602 - INFO - VMI 7668d3bb-88fd-407f-89f8-5147f01c449a verification in API Server passed
2025-10-23 19:04:16,710 - DEBUG - Response for delete_port : ()
2025-10-23 19:04:16,710 - INFO - Deleted port 7668d3bb-88fd-407f-89f8-5147f01c449a
2025-10-23 19:04:16,711 - INFO - Deleting VN ctest-vn-50563866
2025-10-23 19:04:16,825 - DEBUG - Response for deleting network ()
2025-10-23 19:04:17,079 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 19:04:17,079 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-23 19:04:17,079 - INFO - --------------------------------------------------------------------------------
2025-10-23 19:04:17,083 - INFO - ================================================================================
2025-10-23 19:04:17,083 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-23 19:04:17,084 - 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-23 19:04:17,370 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-10-23 19:04:17,370 - INFO - Initial checks done. Running the testcase now
2025-10-23 19:04:17,370 - INFO -
2025-10-23 19:04:17,552 - DEBUG - Response for create_network : {'network': {'id': '0bee6adf-b988-4b96-a0cb-0f5d509dfc46', 'name': 'ctest-vn1-46290904', 'tenant_id': '4041da3b3adc42e08b10837d358461db', 'project_id': '4041da3b3adc42e08b10837d358461db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-71185315', 'ctest-vn1-46290904'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 19:04:17,800 - DEBUG - Response for create_subnet : {'subnet': {'id': '217be6c2-f8b5-444f-826f-0ce37553c2cc', 'name': '', 'tenant_id': '4041da3b3adc42e08b10837d358461db', 'network_id': '0bee6adf-b988-4b96-a0cb-0f5d509dfc46', 'ip_version': 4, 'cidr': '96.18.213.128/26', 'allocation_pools': [{'start': '96.18.213.130', 'end': '96.18.213.190'}], 'gateway_ip': '96.18.213.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.18.213.130', 'tags': [], 'project_id': '4041da3b3adc42e08b10837d358461db'}}
2025-10-23 19:04:17,964 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f78090b0-7630-4446-ab86-cd60f9e39b23', 'name': '', 'tenant_id': '4041da3b3adc42e08b10837d358461db', 'network_id': '0bee6adf-b988-4b96-a0cb-0f5d509dfc46', 'ip_version': 4, 'cidr': '157.137.90.128/26', 'allocation_pools': [{'start': '157.137.90.130', 'end': '157.137.90.190'}], 'gateway_ip': '157.137.90.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.137.90.130', 'tags': [], 'project_id': '4041da3b3adc42e08b10837d358461db'}}
2025-10-23 19:04:17,986 - INFO - Created VN ctest-vn1-46290904
2025-10-23 19:04:18,038 - DEBUG - VN ctest-vn1-46290904 UUID is 0bee6adf-b988-4b96-a0cb-0f5d509dfc46
2025-10-23 19:04:18,326 - DEBUG - Response for create_port : {'port': {'name': 'f40979ca-adc2-4722-b7e7-a682d19896e3', 'id': 'f40979ca-adc2-4722-b7e7-a682d19896e3', 'tenant_id': '4041da3b3adc42e08b10837d358461db', 'network_id': '0bee6adf-b988-4b96-a0cb-0f5d509dfc46', 'mac_address': '02:f4:09:79:ca:ad', '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': '96.18.213.133', 'subnet_id': '217be6c2-f8b5-444f-826f-0ce37553c2cc'}], 'security_groups': ['583ba411-6eae-493f-8dbd-fc2d25f71cf6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4041da3b3adc42e08b10837d358461db'}}
2025-10-23 19:04:18,479 - DEBUG - Response for create_port : {'port': {'name': '0be108c2-5099-4d9c-bd74-0d99a96f441c', 'id': '0be108c2-5099-4d9c-bd74-0d99a96f441c', 'tenant_id': '4041da3b3adc42e08b10837d358461db', 'network_id': '0bee6adf-b988-4b96-a0cb-0f5d509dfc46', 'mac_address': '02:0b:e1:08:c2:50', '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': '157.137.90.133', 'subnet_id': 'f78090b0-7630-4446-ab86-cd60f9e39b23'}], 'security_groups': ['583ba411-6eae-493f-8dbd-fc2d25f71cf6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4041da3b3adc42e08b10837d358461db'}}
2025-10-23 19:04:18,536 - DEBUG - Services list from nova: [, , ]
2025-10-23 19:04:18,865 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4465-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4465-1)
2025-10-23 19:04:19,234 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4465-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4465-1)
2025-10-23 19:04:19,234 - INFO - Waiting for VM ctest-vn1-vm1-77110987 to be up..
2025-10-23 19:04:19,272 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-23 19:04:24,347 - DEBUG - VM is in ACTIVE state now
2025-10-23 19:04:24,347 - INFO - VM name : ctest-vn1-vm1-77110987
2025-10-23 19:04:24,418 - DEBUG - VM ctest-vn1-vm1-77110987 ID is 9fc2a95d-8835-423a-bc9f-641adebfd7c4
2025-10-23 19:04:24,438 - DEBUG - VM ctest-vn1-vm1-77110987 launched on Node cn-jenkins-deploy-platform-ansible-os-4465-1
2025-10-23 19:04:24,507 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9fc2a95d-8835-423a-bc9f-641adebfd7c4
2025-10-23 19:04:24,515 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f40979ca-adc2-4722-b7e7-a682d19896e3
2025-10-23 19:04:27,763 - 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 1015ms')
2025-10-23 19:04:27,764 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77110987 failed!
2025-10-23 19:04:27,823 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-71185315:ctest-vn1-46290904 is 96.18.213.129 and allocation pool is NOT set
2025-10-23 19:04:27,824 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-71185315:ctest-vn1-46290904 is 157.137.90.129 and allocation pool is NOT set
2025-10-23 19:04:31,886 - 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=5.55 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 5.546/5.546/5.546/0.000 ms')
2025-10-23 19:04:31,886 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77110987 passed
2025-10-23 19:04:32,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 19:04:32,046 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-77110987, IP 96.18.213.133, Port 22
2025-10-23 19:04:32,212 - DEBUG - VM ctest-vn1-vm1-77110987 is ready for SSH connections
2025-10-23 19:04:32,212 - INFO - Waiting for VM ctest-vn1-vm2-41223688 to be up..
2025-10-23 19:04:32,294 - DEBUG - VM is in ACTIVE state now
2025-10-23 19:04:32,294 - INFO - VM name : ctest-vn1-vm2-41223688
2025-10-23 19:04:32,373 - DEBUG - VM ctest-vn1-vm2-41223688 ID is d4183ac5-b941-433f-a28c-21a5165d0874
2025-10-23 19:04:32,373 - DEBUG - VM ctest-vn1-vm2-41223688 launched on Node cn-jenkins-deploy-platform-ansible-os-4465-1
2025-10-23 19:04:32,452 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d4183ac5-b941-433f-a28c-21a5165d0874
2025-10-23 19:04:32,460 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0be108c2-5099-4d9c-bd74-0d99a96f441c
2025-10-23 19:04:33,693 - 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=2.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.431 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.431/1.525/2.620/1.094 ms')
2025-10-23 19:04:33,693 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-41223688 passed
2025-10-23 19:04:33,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 19:04:33,846 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-41223688, IP 157.137.90.133, Port 22
2025-10-23 19:04:34,001 - DEBUG - VM ctest-vn1-vm2-41223688 is ready for SSH connections
2025-10-23 19:04:34,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 19:04:34,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 19:04:34,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 19:04:34,001 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.18.213.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-23 19:04:34,001 - DEBUG - ping -s 56 -c 3 -W 1 96.18.213.133
2025-10-23 19:04:36,994 - DEBUG - PING 96.18.213.133 (96.18.213.133): 56 data bytes
64 bytes from 96.18.213.133: seq=0 ttl=63 time=4.164 ms
64 bytes from 96.18.213.133: seq=1 ttl=63 time=0.847 ms
64 bytes from 96.18.213.133: seq=2 ttl=63 time=2.589 ms
--- 96.18.213.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.847/2.533/4.164 ms
2025-10-23 19:04:36,994 - INFO - Ping to IP 96.18.213.133 from VM ctest-vn1-vm2-41223688 passed
2025-10-23 19:04:36,994 - INFO - Detaching port 0be108c2-5099-4d9c-bd74-0d99a96f441c from VM ctest-vn1-vm2-41223688
2025-10-23 19:04:37,046 - INFO - Deleting VM ctest-vn1-vm2-41223688
2025-10-23 19:04:37,117 - INFO - Detaching port f40979ca-adc2-4722-b7e7-a682d19896e3 from VM ctest-vn1-vm1-77110987
2025-10-23 19:04:37,152 - INFO - Deleting VM ctest-vn1-vm1-77110987
2025-10-23 19:04:37,395 - DEBUG - Response for delete_port : ()
2025-10-23 19:04:37,587 - DEBUG - Response for delete_port : ()
2025-10-23 19:04:37,587 - INFO - Deleting VN ctest-vn1-46290904
2025-10-23 19:04:37,752 - DEBUG - Response for deleting network ()
2025-10-23 19:04:38,015 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 19:04:38,015 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-23 19:04:38,015 - INFO - --------------------------------------------------------------------------------
2025-10-23 19:04:38,746 - INFO - Deleted project: ctest-TestPorts-71185315, ID : 4041da3b-3adc-42e0-8b10-837d358461db