2025-11-10 21:17:05,076 - INFO - Domain Default found not creating
2025-11-10 21:17:05,251 - INFO - Project ctest-TestPorts-07373313 not found, creating it
2025-11-10 21:17:05,759 - INFO - Created Project:ctest-TestPorts-07373313, ID : 156b4f76-4104-4a56-a142-8d281fc0f200
2025-11-10 21:17:07,306 - INFO - ================================================================================
2025-11-10 21:17:07,306 - INFO - STARTING TEST : test_ports_bindings
2025-11-10 21:17:07,306 - 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-11-10 21:17:07,565 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-11-10 21:17:07,565 - INFO - Initial checks done. Running the testcase now
2025-11-10 21:17:07,565 - INFO -
2025-11-10 21:17:08,127 - DEBUG - Response for create_network : {'network': {'id': '23539951-75f6-4f0c-89a6-380e41e2c5af', 'name': 'ctest-vn-50887120', 'tenant_id': '156b4f7641044a56a1428d281fc0f200', 'project_id': '156b4f7641044a56a1428d281fc0f200', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-07373313', 'ctest-vn-50887120'], 'port_security_enabled': True, 'description': ''}}
2025-11-10 21:17:08,289 - DEBUG - Response for create_subnet : {'subnet': {'id': '0522bcf6-7853-4370-b908-23a9984d7877', 'name': '', 'tenant_id': '156b4f7641044a56a1428d281fc0f200', 'network_id': '23539951-75f6-4f0c-89a6-380e41e2c5af', 'ip_version': 4, 'cidr': '189.16.189.192/26', 'allocation_pools': [{'start': '189.16.189.194', 'end': '189.16.189.254'}], 'gateway_ip': '189.16.189.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.16.189.194', 'tags': [], 'project_id': '156b4f7641044a56a1428d281fc0f200'}}
2025-11-10 21:17:08,310 - INFO - Created VN ctest-vn-50887120
2025-11-10 21:17:08,371 - DEBUG - VN ctest-vn-50887120 UUID is 23539951-75f6-4f0c-89a6-380e41e2c5af
2025-11-10 21:17:08,487 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-07373313', 'ctest-vmi-37846193']}
2025-11-10 21:17:08,733 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-37846193', 'id': '1d5364cc-bf40-482b-b783-4dfbbce543b4', 'tenant_id': '156b4f7641044a56a1428d281fc0f200', 'network_id': '23539951-75f6-4f0c-89a6-380e41e2c5af', 'mac_address': '02:1d:53:64:cc:bf', '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': '189.16.189.195', 'subnet_id': '0522bcf6-7853-4370-b908-23a9984d7877'}], 'security_groups': ['ff2666c2-9c7d-4b51-b4e1-7a4c28bde8d8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '156b4f7641044a56a1428d281fc0f200'}}
2025-11-10 21:17:08,733 - DEBUG - Created port 1d5364cc-bf40-482b-b783-4dfbbce543b4
2025-11-10 21:17:08,839 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1d5364cc-bf40-482b-b783-4dfbbce543b4
2025-11-10 21:17:09,144 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1d5364cc-bf40-482b-b783-4dfbbce543b4
2025-11-10 21:17:09,182 - INFO - VMI 1d5364cc-bf40-482b-b783-4dfbbce543b4 verification in API Server passed
2025-11-10 21:17:09,287 - DEBUG - Response for delete_port : ()
2025-11-10 21:17:09,287 - INFO - Deleted port 1d5364cc-bf40-482b-b783-4dfbbce543b4
2025-11-10 21:17:09,287 - INFO - Deleting VN ctest-vn-50887120
2025-11-10 21:17:09,400 - DEBUG - Response for deleting network ()
2025-11-10 21:17:09,672 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 21:17:09,672 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-10 21:17:09,672 - INFO - --------------------------------------------------------------------------------
2025-11-10 21:17:09,674 - INFO - ================================================================================
2025-11-10 21:17:09,675 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-10 21:17:09,675 - 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-11-10 21:17:09,977 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-11-10 21:17:09,977 - INFO - Initial checks done. Running the testcase now
2025-11-10 21:17:09,978 - INFO -
2025-11-10 21:17:10,175 - DEBUG - Response for create_network : {'network': {'id': '2b9b6d29-d1bb-41fc-857a-032e20dd8a71', 'name': 'ctest-vn1-75877052', 'tenant_id': '156b4f7641044a56a1428d281fc0f200', 'project_id': '156b4f7641044a56a1428d281fc0f200', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-07373313', 'ctest-vn1-75877052'], 'port_security_enabled': True, 'description': ''}}
2025-11-10 21:17:10,359 - DEBUG - Response for create_subnet : {'subnet': {'id': 'afa2c0da-cc00-45aa-8fc3-c2b65a940386', 'name': '', 'tenant_id': '156b4f7641044a56a1428d281fc0f200', 'network_id': '2b9b6d29-d1bb-41fc-857a-032e20dd8a71', 'ip_version': 4, 'cidr': '118.31.9.0/26', 'allocation_pools': [{'start': '118.31.9.2', 'end': '118.31.9.62'}], 'gateway_ip': '118.31.9.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.31.9.2', 'tags': [], 'project_id': '156b4f7641044a56a1428d281fc0f200'}}
2025-11-10 21:17:10,580 - DEBUG - Response for create_subnet : {'subnet': {'id': '33923336-9095-46c0-a357-7759ad7be2a3', 'name': '', 'tenant_id': '156b4f7641044a56a1428d281fc0f200', 'network_id': '2b9b6d29-d1bb-41fc-857a-032e20dd8a71', 'ip_version': 4, 'cidr': '104.208.46.192/26', 'allocation_pools': [{'start': '104.208.46.194', 'end': '104.208.46.254'}], 'gateway_ip': '104.208.46.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.208.46.194', 'tags': [], 'project_id': '156b4f7641044a56a1428d281fc0f200'}}
2025-11-10 21:17:10,600 - INFO - Created VN ctest-vn1-75877052
2025-11-10 21:17:10,655 - DEBUG - VN ctest-vn1-75877052 UUID is 2b9b6d29-d1bb-41fc-857a-032e20dd8a71
2025-11-10 21:17:10,981 - DEBUG - Response for create_port : {'port': {'name': 'cc2cf51f-7097-4ce3-b68f-e9e6cb2c1e31', 'id': 'cc2cf51f-7097-4ce3-b68f-e9e6cb2c1e31', 'tenant_id': '156b4f7641044a56a1428d281fc0f200', 'network_id': '2b9b6d29-d1bb-41fc-857a-032e20dd8a71', 'mac_address': '02:cc:2c:f5:1f:70', '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': '118.31.9.5', 'subnet_id': 'afa2c0da-cc00-45aa-8fc3-c2b65a940386'}], 'security_groups': ['ff2666c2-9c7d-4b51-b4e1-7a4c28bde8d8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '156b4f7641044a56a1428d281fc0f200'}}
2025-11-10 21:17:11,198 - DEBUG - Response for create_port : {'port': {'name': 'be3a0f5b-4379-45a1-9461-e40dde742180', 'id': 'be3a0f5b-4379-45a1-9461-e40dde742180', 'tenant_id': '156b4f7641044a56a1428d281fc0f200', 'network_id': '2b9b6d29-d1bb-41fc-857a-032e20dd8a71', 'mac_address': '02:be:3a:0f:5b:43', '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': '104.208.46.197', 'subnet_id': '33923336-9095-46c0-a357-7759ad7be2a3'}], 'security_groups': ['ff2666c2-9c7d-4b51-b4e1-7a4c28bde8d8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '156b4f7641044a56a1428d281fc0f200'}}
2025-11-10 21:17:11,271 - DEBUG - Services list from nova: [, , ]
2025-11-10 21:17:11,663 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4690-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4690-1)
2025-11-10 21:17:12,115 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4690-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4690-1)
2025-11-10 21:17:12,116 - INFO - Waiting for VM ctest-vn1-vm1-54742849 to be up..
2025-11-10 21:17:12,163 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-10 21:17:17,245 - DEBUG - VM is in ACTIVE state now
2025-11-10 21:17:17,245 - INFO - VM name : ctest-vn1-vm1-54742849
2025-11-10 21:17:17,321 - DEBUG - VM ctest-vn1-vm1-54742849 ID is 130bfb0a-bae2-4ac8-921c-67b69651f1fe
2025-11-10 21:17:17,342 - DEBUG - VM ctest-vn1-vm1-54742849 launched on Node cn-jenkins-deploy-platform-ansible-os-4690-1
2025-11-10 21:17:17,419 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/130bfb0a-bae2-4ac8-921c-67b69651f1fe
2025-11-10 21:17:17,427 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cc2cf51f-7097-4ce3-b68f-e9e6cb2c1e31
2025-11-10 21:17:20,691 - 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 1023ms')
2025-11-10 21:17:20,691 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54742849 failed!
2025-11-10 21:17:20,743 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-07373313:ctest-vn1-75877052 is 118.31.9.1 and allocation pool is NOT set
2025-11-10 21:17:20,743 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-07373313:ctest-vn1-75877052 is 104.208.46.193 and allocation pool is NOT set
2025-11-10 21:17:24,816 - 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=6.33 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 6.332/6.332/6.332/0.000 ms')
2025-11-10 21:17:24,816 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54742849 passed
2025-11-10 21:17:24,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-10 21:17:24,963 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-54742849, IP 118.31.9.5, Port 22
2025-11-10 21:17:25,119 - DEBUG - VM ctest-vn1-vm1-54742849 is ready for SSH connections
2025-11-10 21:17:25,119 - INFO - Waiting for VM ctest-vn1-vm2-01904563 to be up..
2025-11-10 21:17:25,189 - DEBUG - VM is in ACTIVE state now
2025-11-10 21:17:25,189 - INFO - VM name : ctest-vn1-vm2-01904563
2025-11-10 21:17:25,259 - DEBUG - VM ctest-vn1-vm2-01904563 ID is 77cb2aa7-58ff-443e-b4e6-31550d952cda
2025-11-10 21:17:25,259 - DEBUG - VM ctest-vn1-vm2-01904563 launched on Node cn-jenkins-deploy-platform-ansible-os-4690-1
2025-11-10 21:17:25,327 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/77cb2aa7-58ff-443e-b4e6-31550d952cda
2025-11-10 21:17:25,337 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/be3a0f5b-4379-45a1-9461-e40dde742180
2025-11-10 21:17:26,571 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.631 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.631/1.747/2.863/1.116 ms')
2025-11-10 21:17:26,571 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-01904563 passed
2025-11-10 21:17:26,719 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-10 21:17:26,719 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-01904563, IP 104.208.46.197, Port 22
2025-11-10 21:17:26,878 - DEBUG - VM ctest-vn1-vm2-01904563 is ready for SSH connections
2025-11-10 21:17:26,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-10 21:17:26,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-10 21:17:26,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-10 21:17:26,878 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.31.9.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-11-10 21:17:26,878 - DEBUG - ping -s 56 -c 3 -W 1 118.31.9.5
2025-11-10 21:17:29,552 - DEBUG - PING 118.31.9.5 (118.31.9.5): 56 data bytes
64 bytes from 118.31.9.5: seq=0 ttl=63 time=3.918 ms
64 bytes from 118.31.9.5: seq=1 ttl=63 time=1.014 ms
64 bytes from 118.31.9.5: seq=2 ttl=63 time=1.101 ms
--- 118.31.9.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.014/2.011/3.918 ms
2025-11-10 21:17:29,552 - INFO - Ping to IP 118.31.9.5 from VM ctest-vn1-vm2-01904563 passed
2025-11-10 21:17:29,553 - INFO - Detaching port be3a0f5b-4379-45a1-9461-e40dde742180 from VM ctest-vn1-vm2-01904563
2025-11-10 21:17:29,601 - INFO - Deleting VM ctest-vn1-vm2-01904563
2025-11-10 21:17:29,674 - INFO - Detaching port cc2cf51f-7097-4ce3-b68f-e9e6cb2c1e31 from VM ctest-vn1-vm1-54742849
2025-11-10 21:17:29,716 - INFO - Deleting VM ctest-vn1-vm1-54742849
2025-11-10 21:17:29,949 - DEBUG - Response for delete_port : ()
2025-11-10 21:17:30,103 - DEBUG - Response for delete_port : ()
2025-11-10 21:17:30,103 - INFO - Deleting VN ctest-vn1-75877052
2025-11-10 21:17:30,230 - DEBUG - Response for deleting network ()
2025-11-10 21:17:30,495 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 21:17:30,495 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-11-10 21:17:30,495 - INFO - --------------------------------------------------------------------------------
2025-11-10 21:17:31,174 - INFO - Deleted project: ctest-TestPorts-07373313, ID : 156b4f76-4104-4a56-a142-8d281fc0f200