2025-09-16 09:54:12,194 - INFO - Domain Default found not creating
2025-09-16 09:54:12,379 - INFO - Project ctest-TestPorts-74523399 not found, creating it
2025-09-16 09:54:12,869 - INFO - Created Project:ctest-TestPorts-74523399, ID : 61a7250a-a2d3-4825-8c93-f859db97d604
2025-09-16 09:54:14,417 - INFO - ================================================================================
2025-09-16 09:54:14,417 - INFO - STARTING TEST : test_ports_bindings
2025-09-16 09:54:14,417 - 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-16 09:54:14,682 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-09-16 09:54:14,682 - INFO - Initial checks done. Running the testcase now
2025-09-16 09:54:14,682 - INFO -
2025-09-16 09:54:15,265 - DEBUG - Response for create_network : {'network': {'id': 'ea77f03a-3ec5-4b8e-977b-f24a97f7985e', 'name': 'ctest-vn-15987523', 'tenant_id': '61a7250aa2d348258c93f859db97d604', 'project_id': '61a7250aa2d348258c93f859db97d604', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74523399', 'ctest-vn-15987523'], 'port_security_enabled': True, 'description': ''}}
2025-09-16 09:54:15,456 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec5702e1-8985-410f-9409-db43d33beca9', 'name': '', 'tenant_id': '61a7250aa2d348258c93f859db97d604', 'network_id': 'ea77f03a-3ec5-4b8e-977b-f24a97f7985e', 'ip_version': 4, 'cidr': '215.47.7.0/26', 'allocation_pools': [{'start': '215.47.7.2', 'end': '215.47.7.62'}], 'gateway_ip': '215.47.7.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.47.7.2', 'tags': [], 'project_id': '61a7250aa2d348258c93f859db97d604'}}
2025-09-16 09:54:15,474 - INFO - Created VN ctest-vn-15987523
2025-09-16 09:54:15,530 - DEBUG - VN ctest-vn-15987523 UUID is ea77f03a-3ec5-4b8e-977b-f24a97f7985e
2025-09-16 09:54:15,643 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-74523399', 'ctest-vmi-95075695']}
2025-09-16 09:54:15,896 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-95075695', 'id': '5e2d7369-e0a6-470c-b698-ac45b3a67fa9', 'tenant_id': '61a7250aa2d348258c93f859db97d604', 'network_id': 'ea77f03a-3ec5-4b8e-977b-f24a97f7985e', 'mac_address': '02:5e:2d:73:69:e0', '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': '215.47.7.3', 'subnet_id': 'ec5702e1-8985-410f-9409-db43d33beca9'}], 'security_groups': ['9f5aceef-d580-45e5-814f-9083797ecc5f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '61a7250aa2d348258c93f859db97d604'}}
2025-09-16 09:54:15,896 - DEBUG - Created port 5e2d7369-e0a6-470c-b698-ac45b3a67fa9
2025-09-16 09:54:16,005 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5e2d7369-e0a6-470c-b698-ac45b3a67fa9
2025-09-16 09:54:16,304 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5e2d7369-e0a6-470c-b698-ac45b3a67fa9
2025-09-16 09:54:16,338 - INFO - VMI 5e2d7369-e0a6-470c-b698-ac45b3a67fa9 verification in API Server passed
2025-09-16 09:54:16,440 - DEBUG - Response for delete_port : ()
2025-09-16 09:54:16,440 - INFO - Deleted port 5e2d7369-e0a6-470c-b698-ac45b3a67fa9
2025-09-16 09:54:16,441 - INFO - Deleting VN ctest-vn-15987523
2025-09-16 09:54:16,563 - DEBUG - Response for deleting network ()
2025-09-16 09:54:16,827 - DEBUG - No XMPP flaps were noticed during the test
2025-09-16 09:54:16,827 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-16 09:54:16,827 - INFO - --------------------------------------------------------------------------------
2025-09-16 09:54:16,830 - INFO - ================================================================================
2025-09-16 09:54:16,830 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-16 09:54:16,830 - 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-16 09:54:17,143 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-09-16 09:54:17,143 - INFO - Initial checks done. Running the testcase now
2025-09-16 09:54:17,143 - INFO -
2025-09-16 09:54:17,328 - DEBUG - Response for create_network : {'network': {'id': 'b4b949d8-7646-46db-9a56-b5cdcdac97a8', 'name': 'ctest-vn1-28379351', 'tenant_id': '61a7250aa2d348258c93f859db97d604', 'project_id': '61a7250aa2d348258c93f859db97d604', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74523399', 'ctest-vn1-28379351'], 'port_security_enabled': True, 'description': ''}}
2025-09-16 09:54:17,479 - DEBUG - Response for create_subnet : {'subnet': {'id': '32e9818b-31ed-4f97-a924-5f499c8f1dc3', 'name': '', 'tenant_id': '61a7250aa2d348258c93f859db97d604', 'network_id': 'b4b949d8-7646-46db-9a56-b5cdcdac97a8', 'ip_version': 4, 'cidr': '164.20.134.0/26', 'allocation_pools': [{'start': '164.20.134.2', 'end': '164.20.134.62'}], 'gateway_ip': '164.20.134.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.20.134.2', 'tags': [], 'project_id': '61a7250aa2d348258c93f859db97d604'}}
2025-09-16 09:54:17,650 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a32be6df-935f-491c-a014-f6392f9c0eb8', 'name': '', 'tenant_id': '61a7250aa2d348258c93f859db97d604', 'network_id': 'b4b949d8-7646-46db-9a56-b5cdcdac97a8', 'ip_version': 4, 'cidr': '223.35.136.64/26', 'allocation_pools': [{'start': '223.35.136.66', 'end': '223.35.136.126'}], 'gateway_ip': '223.35.136.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.35.136.66', 'tags': [], 'project_id': '61a7250aa2d348258c93f859db97d604'}}
2025-09-16 09:54:17,673 - INFO - Created VN ctest-vn1-28379351
2025-09-16 09:54:17,725 - DEBUG - VN ctest-vn1-28379351 UUID is b4b949d8-7646-46db-9a56-b5cdcdac97a8
2025-09-16 09:54:18,055 - DEBUG - Response for create_port : {'port': {'name': 'db5dddbb-3dad-4b0e-aa21-6aa77ca67b25', 'id': 'db5dddbb-3dad-4b0e-aa21-6aa77ca67b25', 'tenant_id': '61a7250aa2d348258c93f859db97d604', 'network_id': 'b4b949d8-7646-46db-9a56-b5cdcdac97a8', 'mac_address': '02:db:5d:dd:bb:3d', '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': '164.20.134.5', 'subnet_id': '32e9818b-31ed-4f97-a924-5f499c8f1dc3'}], 'security_groups': ['9f5aceef-d580-45e5-814f-9083797ecc5f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '61a7250aa2d348258c93f859db97d604'}}
2025-09-16 09:54:18,234 - DEBUG - Response for create_port : {'port': {'name': '1e424da6-b7d5-4239-a9fa-80949afd8028', 'id': '1e424da6-b7d5-4239-a9fa-80949afd8028', 'tenant_id': '61a7250aa2d348258c93f859db97d604', 'network_id': 'b4b949d8-7646-46db-9a56-b5cdcdac97a8', 'mac_address': '02:1e:42:4d:a6:b7', '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': '223.35.136.69', 'subnet_id': 'a32be6df-935f-491c-a014-f6392f9c0eb8'}], 'security_groups': ['9f5aceef-d580-45e5-814f-9083797ecc5f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '61a7250aa2d348258c93f859db97d604'}}
2025-09-16 09:54:18,298 - DEBUG - Services list from nova: [, , ]
2025-09-16 09:54:18,664 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4120-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4120-1)
2025-09-16 09:54:19,125 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4120-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4120-1)
2025-09-16 09:54:19,126 - INFO - Waiting for VM ctest-vn1-vm1-84450889 to be up..
2025-09-16 09:54:19,172 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-16 09:54:24,265 - DEBUG - VM is in ACTIVE state now
2025-09-16 09:54:24,265 - INFO - VM name : ctest-vn1-vm1-84450889
2025-09-16 09:54:24,343 - DEBUG - VM ctest-vn1-vm1-84450889 ID is acbd42b9-5cd1-487b-9ab9-999d5c595733
2025-09-16 09:54:24,369 - DEBUG - VM ctest-vn1-vm1-84450889 launched on Node cn-jenkins-deploy-platform-ansible-os-4120-1
2025-09-16 09:54:24,466 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/acbd42b9-5cd1-487b-9ab9-999d5c595733
2025-09-16 09:54:24,477 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/db5dddbb-3dad-4b0e-aa21-6aa77ca67b25
2025-09-16 09:54:27,738 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms')
2025-09-16 09:54:27,739 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-84450889 failed!
2025-09-16 09:54:27,793 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74523399:ctest-vn1-28379351 is 164.20.134.1 and allocation pool is NOT set
2025-09-16 09:54:27,794 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74523399:ctest-vn1-28379351 is 223.35.136.65 and allocation pool is NOT set
2025-09-16 09:54:31,866 - 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=2 ttl=63 time=3.41 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 3.409/3.409/3.409/0.000 ms')
2025-09-16 09:54:31,866 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-84450889 passed
2025-09-16 09:54:32,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-16 09:54:32,030 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84450889, IP 164.20.134.5, Port 22
2025-09-16 09:54:32,189 - DEBUG - VM ctest-vn1-vm1-84450889 is ready for SSH connections
2025-09-16 09:54:32,189 - INFO - Waiting for VM ctest-vn1-vm2-76791115 to be up..
2025-09-16 09:54:32,278 - DEBUG - VM is in ACTIVE state now
2025-09-16 09:54:32,278 - INFO - VM name : ctest-vn1-vm2-76791115
2025-09-16 09:54:32,370 - DEBUG - VM ctest-vn1-vm2-76791115 ID is e92d2b7c-8076-4b87-93a6-927f411351dd
2025-09-16 09:54:32,371 - DEBUG - VM ctest-vn1-vm2-76791115 launched on Node cn-jenkins-deploy-platform-ansible-os-4120-1
2025-09-16 09:54:32,452 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e92d2b7c-8076-4b87-93a6-927f411351dd
2025-09-16 09:54:32,461 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/1e424da6-b7d5-4239-a9fa-80949afd8028
2025-09-16 09:54:33,717 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.435 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.435/2.462/4.489/2.027 ms')
2025-09-16 09:54:33,717 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-76791115 passed
2025-09-16 09:54:33,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-16 09:54:33,873 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-76791115, IP 223.35.136.69, Port 22
2025-09-16 09:54:34,052 - DEBUG - VM ctest-vn1-vm2-76791115 is ready for SSH connections
2025-09-16 09:54:34,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-16 09:54:34,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-16 09:54:34,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-16 09:54:34,052 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.20.134.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-09-16 09:54:34,052 - DEBUG - ping -s 56 -c 3 -W 1 164.20.134.5
2025-09-16 09:54:37,803 - DEBUG - PING 164.20.134.5 (164.20.134.5): 56 data bytes
64 bytes from 164.20.134.5: seq=0 ttl=63 time=3.835 ms
64 bytes from 164.20.134.5: seq=1 ttl=63 time=1.386 ms
64 bytes from 164.20.134.5: seq=2 ttl=63 time=0.903 ms
--- 164.20.134.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.903/2.041/3.835 ms
2025-09-16 09:54:37,803 - INFO - Ping to IP 164.20.134.5 from VM ctest-vn1-vm2-76791115 passed
2025-09-16 09:54:37,803 - INFO - Detaching port 1e424da6-b7d5-4239-a9fa-80949afd8028 from VM ctest-vn1-vm2-76791115
2025-09-16 09:54:37,866 - INFO - Deleting VM ctest-vn1-vm2-76791115
2025-09-16 09:54:37,950 - INFO - Detaching port db5dddbb-3dad-4b0e-aa21-6aa77ca67b25 from VM ctest-vn1-vm1-84450889
2025-09-16 09:54:37,995 - INFO - Deleting VM ctest-vn1-vm1-84450889
2025-09-16 09:54:38,271 - DEBUG - Response for delete_port : ()
2025-09-16 09:54:38,464 - DEBUG - Response for delete_port : ()
2025-09-16 09:54:38,464 - INFO - Deleting VN ctest-vn1-28379351
2025-09-16 09:54:38,621 - DEBUG - Response for deleting network ()
2025-09-16 09:54:38,902 - DEBUG - No XMPP flaps were noticed during the test
2025-09-16 09:54:38,902 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22]
2025-09-16 09:54:38,903 - INFO - --------------------------------------------------------------------------------
2025-09-16 09:54:40,102 - INFO - Deleted project: ctest-TestPorts-74523399, ID : 61a7250a-a2d3-4825-8c93-f859db97d604