2025-12-15 19:31:28,445 - INFO - Domain Default found not creating
2025-12-15 19:31:28,610 - INFO - Project ctest-TestPorts-76264938 not found, creating it
2025-12-15 19:31:29,070 - INFO - Created Project:ctest-TestPorts-76264938, ID : 4701d709-eacc-4bc6-8505-bee1bf6b2498
2025-12-15 19:31:30,946 - INFO - ================================================================================
2025-12-15 19:31:30,947 - INFO - STARTING TEST : test_ports_bindings
2025-12-15 19:31:30,947 - 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-12-15 19:31:31,209 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-12-15 19:31:31,209 - INFO - Initial checks done. Running the testcase now
2025-12-15 19:31:31,210 - INFO -
2025-12-15 19:31:31,742 - DEBUG - Response for create_network : {'network': {'id': '13b4e7ba-4933-40db-842e-712d1b74af5d', 'name': 'ctest-vn-32873311', 'tenant_id': '4701d709eacc4bc68505bee1bf6b2498', 'project_id': '4701d709eacc4bc68505bee1bf6b2498', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-76264938', 'ctest-vn-32873311'], 'port_security_enabled': True, 'description': ''}}
2025-12-15 19:31:31,953 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c504093-fe18-41e4-986f-1f642f9f02ed', 'name': '', 'tenant_id': '4701d709eacc4bc68505bee1bf6b2498', 'network_id': '13b4e7ba-4933-40db-842e-712d1b74af5d', 'ip_version': 4, 'cidr': '114.113.222.128/26', 'allocation_pools': [{'start': '114.113.222.130', 'end': '114.113.222.190'}], 'gateway_ip': '114.113.222.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.113.222.130', 'tags': [], 'project_id': '4701d709eacc4bc68505bee1bf6b2498'}}
2025-12-15 19:31:31,970 - INFO - Created VN ctest-vn-32873311
2025-12-15 19:31:32,020 - DEBUG - VN ctest-vn-32873311 UUID is 13b4e7ba-4933-40db-842e-712d1b74af5d
2025-12-15 19:31:32,131 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-76264938', 'ctest-vmi-72006848']}
2025-12-15 19:31:32,359 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-72006848', 'id': '7fa5cffa-273f-4914-b4a5-9ada9610a9a9', 'tenant_id': '4701d709eacc4bc68505bee1bf6b2498', 'network_id': '13b4e7ba-4933-40db-842e-712d1b74af5d', 'mac_address': '02:7f:a5:cf:fa:27', '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': '114.113.222.131', 'subnet_id': '8c504093-fe18-41e4-986f-1f642f9f02ed'}], 'security_groups': ['c94a3444-f0cd-453a-88c5-44287bf596c9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4701d709eacc4bc68505bee1bf6b2498'}}
2025-12-15 19:31:32,359 - DEBUG - Created port 7fa5cffa-273f-4914-b4a5-9ada9610a9a9
2025-12-15 19:31:32,468 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7fa5cffa-273f-4914-b4a5-9ada9610a9a9
2025-12-15 19:31:32,765 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7fa5cffa-273f-4914-b4a5-9ada9610a9a9
2025-12-15 19:31:32,810 - INFO - VMI 7fa5cffa-273f-4914-b4a5-9ada9610a9a9 verification in API Server passed
2025-12-15 19:31:32,904 - DEBUG - Response for delete_port : ()
2025-12-15 19:31:32,904 - INFO - Deleted port 7fa5cffa-273f-4914-b4a5-9ada9610a9a9
2025-12-15 19:31:32,904 - INFO - Deleting VN ctest-vn-32873311
2025-12-15 19:31:33,000 - DEBUG - Response for deleting network ()
2025-12-15 19:31:33,261 - DEBUG - No XMPP flaps were noticed during the test
2025-12-15 19:31:33,261 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-12-15 19:31:33,261 - INFO - --------------------------------------------------------------------------------
2025-12-15 19:31:33,263 - INFO - ================================================================================
2025-12-15 19:31:33,263 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-15 19:31:33,264 - 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-12-15 19:31:33,549 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-12-15 19:31:33,549 - INFO - Initial checks done. Running the testcase now
2025-12-15 19:31:33,549 - INFO -
2025-12-15 19:31:33,723 - DEBUG - Response for create_network : {'network': {'id': 'c674d9be-c5f2-4408-8468-e545a03656fc', 'name': 'ctest-vn1-37549680', 'tenant_id': '4701d709eacc4bc68505bee1bf6b2498', 'project_id': '4701d709eacc4bc68505bee1bf6b2498', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-76264938', 'ctest-vn1-37549680'], 'port_security_enabled': True, 'description': ''}}
2025-12-15 19:31:33,892 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c910374-fc77-422f-b3c9-e69c71a0c260', 'name': '', 'tenant_id': '4701d709eacc4bc68505bee1bf6b2498', 'network_id': 'c674d9be-c5f2-4408-8468-e545a03656fc', 'ip_version': 4, 'cidr': '62.244.124.0/26', 'allocation_pools': [{'start': '62.244.124.2', 'end': '62.244.124.62'}], 'gateway_ip': '62.244.124.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.244.124.2', 'tags': [], 'project_id': '4701d709eacc4bc68505bee1bf6b2498'}}
2025-12-15 19:31:34,033 - DEBUG - Response for create_subnet : {'subnet': {'id': '225e9469-fb1b-4267-98a0-c40b40316790', 'name': '', 'tenant_id': '4701d709eacc4bc68505bee1bf6b2498', 'network_id': 'c674d9be-c5f2-4408-8468-e545a03656fc', 'ip_version': 4, 'cidr': '55.18.240.128/26', 'allocation_pools': [{'start': '55.18.240.130', 'end': '55.18.240.190'}], 'gateway_ip': '55.18.240.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.18.240.130', 'tags': [], 'project_id': '4701d709eacc4bc68505bee1bf6b2498'}}
2025-12-15 19:31:34,052 - INFO - Created VN ctest-vn1-37549680
2025-12-15 19:31:34,104 - DEBUG - VN ctest-vn1-37549680 UUID is c674d9be-c5f2-4408-8468-e545a03656fc
2025-12-15 19:31:34,404 - DEBUG - Response for create_port : {'port': {'name': '9f31ac3b-2722-4ed8-a018-59489a7bfffb', 'id': '9f31ac3b-2722-4ed8-a018-59489a7bfffb', 'tenant_id': '4701d709eacc4bc68505bee1bf6b2498', 'network_id': 'c674d9be-c5f2-4408-8468-e545a03656fc', 'mac_address': '02:9f:31:ac:3b:27', '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': '62.244.124.5', 'subnet_id': '9c910374-fc77-422f-b3c9-e69c71a0c260'}], 'security_groups': ['c94a3444-f0cd-453a-88c5-44287bf596c9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4701d709eacc4bc68505bee1bf6b2498'}}
2025-12-15 19:31:34,595 - DEBUG - Response for create_port : {'port': {'name': 'a614b69c-8804-4df1-9fcc-a98e27894f80', 'id': 'a614b69c-8804-4df1-9fcc-a98e27894f80', 'tenant_id': '4701d709eacc4bc68505bee1bf6b2498', 'network_id': 'c674d9be-c5f2-4408-8468-e545a03656fc', 'mac_address': '02:a6:14:b6:9c:88', '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': '55.18.240.133', 'subnet_id': '225e9469-fb1b-4267-98a0-c40b40316790'}], 'security_groups': ['c94a3444-f0cd-453a-88c5-44287bf596c9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4701d709eacc4bc68505bee1bf6b2498'}}
2025-12-15 19:31:34,655 - DEBUG - Services list from nova: [, , ]
2025-12-15 19:31:35,019 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4896-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4896-1)
2025-12-15 19:31:35,417 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4896-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4896-1)
2025-12-15 19:31:35,418 - INFO - Waiting for VM ctest-vn1-vm1-00874741 to be up..
2025-12-15 19:31:35,457 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-15 19:31:40,530 - DEBUG - VM is in ACTIVE state now
2025-12-15 19:31:40,530 - INFO - VM name : ctest-vn1-vm1-00874741
2025-12-15 19:31:40,599 - DEBUG - VM ctest-vn1-vm1-00874741 ID is 31879768-3241-4755-a272-2407e9264447
2025-12-15 19:31:40,617 - DEBUG - VM ctest-vn1-vm1-00874741 launched on Node cn-jenkins-deploy-platform-ansible-os-4896-1
2025-12-15 19:31:40,687 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/31879768-3241-4755-a272-2407e9264447
2025-12-15 19:31:40,695 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9f31ac3b-2722-4ed8-a018-59489a7bfffb
2025-12-15 19:31:43,926 - 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 1002ms')
2025-12-15 19:31:43,926 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00874741 failed!
2025-12-15 19:31:43,980 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76264938:ctest-vn1-37549680 is 62.244.124.1 and allocation pool is NOT set
2025-12-15 19:31:43,980 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76264938:ctest-vn1-37549680 is 55.18.240.129 and allocation pool is NOT set
2025-12-15 19:31:48,062 - 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=8.58 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 8.584/8.584/8.584/0.000 ms')
2025-12-15 19:31:48,063 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00874741 passed
2025-12-15 19:31:48,216 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-15 19:31:48,216 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-00874741, IP 62.244.124.5, Port 22
2025-12-15 19:31:48,372 - DEBUG - VM ctest-vn1-vm1-00874741 is ready for SSH connections
2025-12-15 19:31:48,372 - INFO - Waiting for VM ctest-vn1-vm2-73856951 to be up..
2025-12-15 19:31:48,447 - DEBUG - VM is in ACTIVE state now
2025-12-15 19:31:48,447 - INFO - VM name : ctest-vn1-vm2-73856951
2025-12-15 19:31:48,517 - DEBUG - VM ctest-vn1-vm2-73856951 ID is 6f015a77-d567-4c5a-bb3c-697665d84a88
2025-12-15 19:31:48,517 - DEBUG - VM ctest-vn1-vm2-73856951 launched on Node cn-jenkins-deploy-platform-ansible-os-4896-1
2025-12-15 19:31:48,587 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6f015a77-d567-4c5a-bb3c-697665d84a88
2025-12-15 19:31:48,594 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a614b69c-8804-4df1-9fcc-a98e27894f80
2025-12-15 19:31:49,821 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.389 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.389/1.630/2.871/1.241 ms')
2025-12-15 19:31:49,821 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-73856951 passed
2025-12-15 19:31:49,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-15 19:31:49,968 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-73856951, IP 55.18.240.133, Port 22
2025-12-15 19:31:50,123 - DEBUG - VM ctest-vn1-vm2-73856951 is ready for SSH connections
2025-12-15 19:31:50,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-15 19:31:50,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-15 19:31:50,124 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-15 19:31:50,124 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.244.124.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-12-15 19:31:50,124 - DEBUG - ping -s 56 -c 3 -W 1 62.244.124.5
2025-12-15 19:31:52,794 - DEBUG - PING 62.244.124.5 (62.244.124.5): 56 data bytes
64 bytes from 62.244.124.5: seq=0 ttl=63 time=4.184 ms
64 bytes from 62.244.124.5: seq=1 ttl=63 time=0.839 ms
64 bytes from 62.244.124.5: seq=2 ttl=63 time=0.733 ms
--- 62.244.124.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.733/1.918/4.184 ms
2025-12-15 19:31:52,794 - INFO - Ping to IP 62.244.124.5 from VM ctest-vn1-vm2-73856951 passed
2025-12-15 19:31:52,794 - INFO - Detaching port a614b69c-8804-4df1-9fcc-a98e27894f80 from VM ctest-vn1-vm2-73856951
2025-12-15 19:31:52,842 - INFO - Deleting VM ctest-vn1-vm2-73856951
2025-12-15 19:31:52,918 - INFO - Detaching port 9f31ac3b-2722-4ed8-a018-59489a7bfffb from VM ctest-vn1-vm1-00874741
2025-12-15 19:31:52,952 - INFO - Deleting VM ctest-vn1-vm1-00874741
2025-12-15 19:31:53,235 - DEBUG - Response for delete_port : ()
2025-12-15 19:31:53,423 - DEBUG - Response for delete_port : ()
2025-12-15 19:31:53,423 - INFO - Deleting VN ctest-vn1-37549680
2025-12-15 19:31:53,574 - DEBUG - Response for deleting network ()
2025-12-15 19:31:53,830 - DEBUG - No XMPP flaps were noticed during the test
2025-12-15 19:31:53,830 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-12-15 19:31:53,830 - INFO - --------------------------------------------------------------------------------
2025-12-15 19:31:54,498 - INFO - Deleted project: ctest-TestPorts-76264938, ID : 4701d709-eacc-4bc6-8505-bee1bf6b2498