2025-09-16 12:02:31,494 - INFO - Domain Default found not creating
2025-09-16 12:02:31,629 - INFO - Project ctest-TestPorts-89951617 not found, creating it
2025-09-16 12:02:32,320 - INFO - Created Project:ctest-TestPorts-89951617, ID : 4c5d64e0-d10b-4ca4-957d-1093c9e72708
2025-09-16 12:02:33,768 - INFO - ================================================================================
2025-09-16 12:02:33,768 - INFO - STARTING TEST : test_ports_bindings
2025-09-16 12:02:33,768 - 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 12:02:34,022 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2025-09-16 12:02:34,022 - INFO - Initial checks done. Running the testcase now
2025-09-16 12:02:34,022 - INFO -
2025-09-16 12:02:34,534 - DEBUG - Response for create_network : {'network': {'id': '853a5398-2561-4bb4-953a-fb2b3e238761', 'name': 'ctest-vn-20082170', 'tenant_id': '4c5d64e0d10b4ca4957d1093c9e72708', 'project_id': '4c5d64e0d10b4ca4957d1093c9e72708', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-89951617', 'ctest-vn-20082170'], 'port_security_enabled': True, 'description': ''}}
2025-09-16 12:02:34,727 - DEBUG - Response for create_subnet : {'subnet': {'id': '5fbe1551-3b78-4a2a-a4cc-f8e3ac4c120e', 'name': '', 'tenant_id': '4c5d64e0d10b4ca4957d1093c9e72708', 'network_id': '853a5398-2561-4bb4-953a-fb2b3e238761', 'ip_version': 4, 'cidr': '129.105.222.192/26', 'allocation_pools': [{'start': '129.105.222.194', 'end': '129.105.222.254'}], 'gateway_ip': '129.105.222.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.105.222.194', 'tags': [], 'project_id': '4c5d64e0d10b4ca4957d1093c9e72708'}}
2025-09-16 12:02:34,745 - INFO - Created VN ctest-vn-20082170
2025-09-16 12:02:34,797 - DEBUG - VN ctest-vn-20082170 UUID is 853a5398-2561-4bb4-953a-fb2b3e238761
2025-09-16 12:02:34,908 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-89951617', 'ctest-vmi-37073355']}
2025-09-16 12:02:35,190 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-37073355', 'id': 'b3673c80-8c60-420d-964f-68e1633c8ee5', 'tenant_id': '4c5d64e0d10b4ca4957d1093c9e72708', 'network_id': '853a5398-2561-4bb4-953a-fb2b3e238761', 'mac_address': '02:b3:67:3c:80:8c', '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': '129.105.222.195', 'subnet_id': '5fbe1551-3b78-4a2a-a4cc-f8e3ac4c120e'}], 'security_groups': ['9c130ccf-11f2-49da-bd66-b243802eefcb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4c5d64e0d10b4ca4957d1093c9e72708'}}
2025-09-16 12:02:35,190 - DEBUG - Created port b3673c80-8c60-420d-964f-68e1633c8ee5
2025-09-16 12:02:35,293 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b3673c80-8c60-420d-964f-68e1633c8ee5
2025-09-16 12:02:35,589 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b3673c80-8c60-420d-964f-68e1633c8ee5
2025-09-16 12:02:35,619 - INFO - VMI b3673c80-8c60-420d-964f-68e1633c8ee5 verification in API Server passed
2025-09-16 12:02:35,692 - DEBUG - Response for delete_port : ()
2025-09-16 12:02:35,692 - INFO - Deleted port b3673c80-8c60-420d-964f-68e1633c8ee5
2025-09-16 12:02:35,693 - INFO - Deleting VN ctest-vn-20082170
2025-09-16 12:02:35,779 - DEBUG - Response for deleting network ()
2025-09-16 12:02:36,042 - DEBUG - No XMPP flaps were noticed during the test
2025-09-16 12:02:36,043 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-16 12:02:36,043 - INFO - --------------------------------------------------------------------------------
2025-09-16 12:02:36,045 - INFO - ================================================================================
2025-09-16 12:02:36,046 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-16 12:02:36,046 - 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 12:02:36,334 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2025-09-16 12:02:36,334 - INFO - Initial checks done. Running the testcase now
2025-09-16 12:02:36,334 - INFO -
2025-09-16 12:02:36,496 - DEBUG - Response for create_network : {'network': {'id': '7b87e1eb-5206-41ae-b860-1f7e6299f7e8', 'name': 'ctest-vn1-79743974', 'tenant_id': '4c5d64e0d10b4ca4957d1093c9e72708', 'project_id': '4c5d64e0d10b4ca4957d1093c9e72708', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-89951617', 'ctest-vn1-79743974'], 'port_security_enabled': True, 'description': ''}}
2025-09-16 12:02:36,701 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d7a9d49-eb62-4ea8-9216-523db1e7d508', 'name': '', 'tenant_id': '4c5d64e0d10b4ca4957d1093c9e72708', 'network_id': '7b87e1eb-5206-41ae-b860-1f7e6299f7e8', 'ip_version': 4, 'cidr': '73.245.28.0/26', 'allocation_pools': [{'start': '73.245.28.2', 'end': '73.245.28.62'}], 'gateway_ip': '73.245.28.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.245.28.2', 'tags': [], 'project_id': '4c5d64e0d10b4ca4957d1093c9e72708'}}
2025-09-16 12:02:36,850 - DEBUG - Response for create_subnet : {'subnet': {'id': '85dc59c7-5163-4e10-a10a-5fb19886509a', 'name': '', 'tenant_id': '4c5d64e0d10b4ca4957d1093c9e72708', 'network_id': '7b87e1eb-5206-41ae-b860-1f7e6299f7e8', 'ip_version': 4, 'cidr': '210.139.87.64/26', 'allocation_pools': [{'start': '210.139.87.66', 'end': '210.139.87.126'}], 'gateway_ip': '210.139.87.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.139.87.66', 'tags': [], 'project_id': '4c5d64e0d10b4ca4957d1093c9e72708'}}
2025-09-16 12:02:36,869 - INFO - Created VN ctest-vn1-79743974
2025-09-16 12:02:36,921 - DEBUG - VN ctest-vn1-79743974 UUID is 7b87e1eb-5206-41ae-b860-1f7e6299f7e8
2025-09-16 12:02:37,245 - DEBUG - Response for create_port : {'port': {'name': 'da8d1bfa-f9e8-4bd1-af57-42b79173e66a', 'id': 'da8d1bfa-f9e8-4bd1-af57-42b79173e66a', 'tenant_id': '4c5d64e0d10b4ca4957d1093c9e72708', 'network_id': '7b87e1eb-5206-41ae-b860-1f7e6299f7e8', 'mac_address': '02:da:8d:1b:fa:f9', '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': '73.245.28.5', 'subnet_id': '0d7a9d49-eb62-4ea8-9216-523db1e7d508'}], 'security_groups': ['9c130ccf-11f2-49da-bd66-b243802eefcb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4c5d64e0d10b4ca4957d1093c9e72708'}}
2025-09-16 12:02:37,430 - DEBUG - Response for create_port : {'port': {'name': '95232cea-d0c7-4cd1-87bd-0c6e85c4400b', 'id': '95232cea-d0c7-4cd1-87bd-0c6e85c4400b', 'tenant_id': '4c5d64e0d10b4ca4957d1093c9e72708', 'network_id': '7b87e1eb-5206-41ae-b860-1f7e6299f7e8', 'mac_address': '02:95:23:2c:ea:d0', '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': '210.139.87.69', 'subnet_id': '85dc59c7-5163-4e10-a10a-5fb19886509a'}], 'security_groups': ['9c130ccf-11f2-49da-bd66-b243802eefcb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4c5d64e0d10b4ca4957d1093c9e72708'}}
2025-09-16 12:02:37,486 - DEBUG - Services list from nova: [, , ]
2025-09-16 12:02:37,807 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4122-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4122-1)
2025-09-16 12:02:38,161 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4122-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4122-1)
2025-09-16 12:02:38,161 - INFO - Waiting for VM ctest-vn1-vm1-50172771 to be up..
2025-09-16 12:02:38,197 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-16 12:02:43,273 - DEBUG - VM is in ACTIVE state now
2025-09-16 12:02:43,273 - INFO - VM name : ctest-vn1-vm1-50172771
2025-09-16 12:02:43,352 - DEBUG - VM ctest-vn1-vm1-50172771 ID is d4d13daf-e641-4a5b-befc-ca56f10a199f
2025-09-16 12:02:43,370 - DEBUG - VM ctest-vn1-vm1-50172771 launched on Node cn-jenkins-deploy-platform-ansible-os-4122-1
2025-09-16 12:02:43,438 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d4d13daf-e641-4a5b-befc-ca56f10a199f
2025-09-16 12:02:43,445 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/da8d1bfa-f9e8-4bd1-af57-42b79173e66a
2025-09-16 12:02:46,698 - 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-09-16 12:02:46,698 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50172771 failed!
2025-09-16 12:02:46,753 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89951617:ctest-vn1-79743974 is 73.245.28.1 and allocation pool is NOT set
2025-09-16 12:02:46,753 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89951617:ctest-vn1-79743974 is 210.139.87.65 and allocation pool is NOT set
2025-09-16 12:02:48,818 - 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=3.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.02 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.018/2.346/3.675/1.328 ms')
2025-09-16 12:02:48,818 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50172771 passed
2025-09-16 12:02:48,969 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-16 12:02:48,969 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-50172771, IP 73.245.28.5, Port 22
2025-09-16 12:02:49,128 - DEBUG - VM ctest-vn1-vm1-50172771 is ready for SSH connections
2025-09-16 12:02:49,129 - INFO - Waiting for VM ctest-vn1-vm2-54733057 to be up..
2025-09-16 12:02:49,320 - DEBUG - VM is in ACTIVE state now
2025-09-16 12:02:49,320 - INFO - VM name : ctest-vn1-vm2-54733057
2025-09-16 12:02:49,385 - DEBUG - VM ctest-vn1-vm2-54733057 ID is 09ef42ef-052a-4b75-b71e-d48014e00b64
2025-09-16 12:02:49,385 - DEBUG - VM ctest-vn1-vm2-54733057 launched on Node cn-jenkins-deploy-platform-ansible-os-4122-1
2025-09-16 12:02:49,448 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/09ef42ef-052a-4b75-b71e-d48014e00b64
2025-09-16 12:02:49,455 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/95232cea-d0c7-4cd1-87bd-0c6e85c4400b
2025-09-16 12:02:50,688 - 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.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.41 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 = 1.407/2.918/4.430/1.511 ms')
2025-09-16 12:02:50,688 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-54733057 passed
2025-09-16 12:02:50,837 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-16 12:02:50,837 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-54733057, IP 210.139.87.69, Port 22
2025-09-16 12:02:50,992 - DEBUG - VM ctest-vn1-vm2-54733057 is ready for SSH connections
2025-09-16 12:02:50,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-16 12:02:50,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-16 12:02:50,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-16 12:02:50,993 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.245.28.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-09-16 12:02:50,993 - DEBUG - ping -s 56 -c 3 -W 1 73.245.28.5
2025-09-16 12:02:53,950 - DEBUG - PING 73.245.28.5 (73.245.28.5): 56 data bytes
64 bytes from 73.245.28.5: seq=0 ttl=63 time=4.646 ms
64 bytes from 73.245.28.5: seq=1 ttl=63 time=0.890 ms
64 bytes from 73.245.28.5: seq=2 ttl=63 time=0.776 ms
--- 73.245.28.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.776/2.104/4.646 ms
2025-09-16 12:02:53,950 - INFO - Ping to IP 73.245.28.5 from VM ctest-vn1-vm2-54733057 passed
2025-09-16 12:02:53,950 - INFO - Detaching port 95232cea-d0c7-4cd1-87bd-0c6e85c4400b from VM ctest-vn1-vm2-54733057
2025-09-16 12:02:54,005 - INFO - Deleting VM ctest-vn1-vm2-54733057
2025-09-16 12:02:54,074 - INFO - Detaching port da8d1bfa-f9e8-4bd1-af57-42b79173e66a from VM ctest-vn1-vm1-50172771
2025-09-16 12:02:54,109 - INFO - Deleting VM ctest-vn1-vm1-50172771
2025-09-16 12:02:54,329 - DEBUG - Response for delete_port : ()
2025-09-16 12:02:54,474 - DEBUG - Response for delete_port : ()
2025-09-16 12:02:54,474 - INFO - Deleting VN ctest-vn1-79743974
2025-09-16 12:02:54,594 - DEBUG - Response for deleting network ()
2025-09-16 12:02:54,853 - DEBUG - No XMPP flaps were noticed during the test
2025-09-16 12:02:54,853 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-09-16 12:02:54,853 - INFO - --------------------------------------------------------------------------------
2025-09-16 12:02:55,546 - INFO - Deleted project: ctest-TestPorts-89951617, ID : 4c5d64e0-d10b-4ca4-957d-1093c9e72708