2025-08-26 11:25:00,020 - INFO - Domain Default found not creating
2025-08-26 11:25:00,204 - INFO - Project ctest-TestPorts-38429809 not found, creating it
2025-08-26 11:25:01,018 - INFO - Created Project:ctest-TestPorts-38429809, ID : 38592cd0-96cb-409a-b61f-b7ee4360de6e
2025-08-26 11:25:02,443 - INFO - ================================================================================
2025-08-26 11:25:02,443 - INFO - STARTING TEST : test_ports_bindings
2025-08-26 11:25:02,444 - 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-08-26 11:25:02,704 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-08-26 11:25:02,704 - INFO - Initial checks done. Running the testcase now
2025-08-26 11:25:02,704 - INFO -
2025-08-26 11:25:03,244 - DEBUG - Response for create_network : {'network': {'id': '531ff7bb-a995-4e56-9ec5-04e48ab96bd1', 'name': 'ctest-vn-82217974', 'tenant_id': '38592cd096cb409ab61fb7ee4360de6e', 'project_id': '38592cd096cb409ab61fb7ee4360de6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38429809', 'ctest-vn-82217974'], 'port_security_enabled': True, 'description': ''}}
2025-08-26 11:25:03,429 - DEBUG - Response for create_subnet : {'subnet': {'id': '720a0fc2-1a96-4bce-a096-9845f76d8b37', 'name': '', 'tenant_id': '38592cd096cb409ab61fb7ee4360de6e', 'network_id': '531ff7bb-a995-4e56-9ec5-04e48ab96bd1', 'ip_version': 4, 'cidr': '15.77.51.64/26', 'allocation_pools': [{'start': '15.77.51.66', 'end': '15.77.51.126'}], 'gateway_ip': '15.77.51.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.77.51.66', 'tags': [], 'project_id': '38592cd096cb409ab61fb7ee4360de6e'}}
2025-08-26 11:25:03,446 - INFO - Created VN ctest-vn-82217974
2025-08-26 11:25:03,498 - DEBUG - VN ctest-vn-82217974 UUID is 531ff7bb-a995-4e56-9ec5-04e48ab96bd1
2025-08-26 11:25:03,611 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-38429809', 'ctest-vmi-69706569']}
2025-08-26 11:25:03,864 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-69706569', 'id': '95af7423-b6e1-43af-a3fc-c7900e420606', 'tenant_id': '38592cd096cb409ab61fb7ee4360de6e', 'network_id': '531ff7bb-a995-4e56-9ec5-04e48ab96bd1', 'mac_address': '02:95:af:74:23:b6', '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': '15.77.51.67', 'subnet_id': '720a0fc2-1a96-4bce-a096-9845f76d8b37'}], 'security_groups': ['0e3af35f-994b-4578-b506-20bc03f0f171'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '38592cd096cb409ab61fb7ee4360de6e'}}
2025-08-26 11:25:03,865 - DEBUG - Created port 95af7423-b6e1-43af-a3fc-c7900e420606
2025-08-26 11:25:03,970 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/95af7423-b6e1-43af-a3fc-c7900e420606
2025-08-26 11:25:04,262 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/95af7423-b6e1-43af-a3fc-c7900e420606
2025-08-26 11:25:04,293 - INFO - VMI 95af7423-b6e1-43af-a3fc-c7900e420606 verification in API Server passed
2025-08-26 11:25:04,391 - DEBUG - Response for delete_port : ()
2025-08-26 11:25:04,391 - INFO - Deleted port 95af7423-b6e1-43af-a3fc-c7900e420606
2025-08-26 11:25:04,391 - INFO - Deleting VN ctest-vn-82217974
2025-08-26 11:25:04,511 - DEBUG - Response for deleting network ()
2025-08-26 11:25:04,770 - DEBUG - No XMPP flaps were noticed during the test
2025-08-26 11:25:04,770 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-26 11:25:04,770 - INFO - --------------------------------------------------------------------------------
2025-08-26 11:25:04,774 - INFO - ================================================================================
2025-08-26 11:25:04,774 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-26 11:25:04,774 - 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-08-26 11:25:05,064 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-08-26 11:25:05,064 - INFO - Initial checks done. Running the testcase now
2025-08-26 11:25:05,064 - INFO -
2025-08-26 11:25:05,243 - DEBUG - Response for create_network : {'network': {'id': 'b8c419e5-9f28-42fa-862c-9d89eabf6463', 'name': 'ctest-vn1-79447322', 'tenant_id': '38592cd096cb409ab61fb7ee4360de6e', 'project_id': '38592cd096cb409ab61fb7ee4360de6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38429809', 'ctest-vn1-79447322'], 'port_security_enabled': True, 'description': ''}}
2025-08-26 11:25:05,467 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ee071da-e337-4c87-812a-0269a6cceb12', 'name': '', 'tenant_id': '38592cd096cb409ab61fb7ee4360de6e', 'network_id': 'b8c419e5-9f28-42fa-862c-9d89eabf6463', 'ip_version': 4, 'cidr': '76.171.148.128/26', 'allocation_pools': [{'start': '76.171.148.130', 'end': '76.171.148.190'}], 'gateway_ip': '76.171.148.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.171.148.130', 'tags': [], 'project_id': '38592cd096cb409ab61fb7ee4360de6e'}}
2025-08-26 11:25:05,651 - DEBUG - Response for create_subnet : {'subnet': {'id': '12d4f484-c86f-4f60-b2b7-c41473f505ab', 'name': '', 'tenant_id': '38592cd096cb409ab61fb7ee4360de6e', 'network_id': 'b8c419e5-9f28-42fa-862c-9d89eabf6463', 'ip_version': 4, 'cidr': '162.234.160.0/26', 'allocation_pools': [{'start': '162.234.160.2', 'end': '162.234.160.62'}], 'gateway_ip': '162.234.160.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.234.160.2', 'tags': [], 'project_id': '38592cd096cb409ab61fb7ee4360de6e'}}
2025-08-26 11:25:05,670 - INFO - Created VN ctest-vn1-79447322
2025-08-26 11:25:05,722 - DEBUG - VN ctest-vn1-79447322 UUID is b8c419e5-9f28-42fa-862c-9d89eabf6463
2025-08-26 11:25:06,099 - DEBUG - Response for create_port : {'port': {'name': '16be24b7-ceb2-473a-97f8-9a263f192ada', 'id': '16be24b7-ceb2-473a-97f8-9a263f192ada', 'tenant_id': '38592cd096cb409ab61fb7ee4360de6e', 'network_id': 'b8c419e5-9f28-42fa-862c-9d89eabf6463', 'mac_address': '02:16:be:24:b7:ce', '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': '76.171.148.133', 'subnet_id': '0ee071da-e337-4c87-812a-0269a6cceb12'}], 'security_groups': ['0e3af35f-994b-4578-b506-20bc03f0f171'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '38592cd096cb409ab61fb7ee4360de6e'}}
2025-08-26 11:25:06,327 - DEBUG - Response for create_port : {'port': {'name': 'b78ad4f6-5f22-4101-8421-74b5aad03663', 'id': 'b78ad4f6-5f22-4101-8421-74b5aad03663', 'tenant_id': '38592cd096cb409ab61fb7ee4360de6e', 'network_id': 'b8c419e5-9f28-42fa-862c-9d89eabf6463', 'mac_address': '02:b7:8a:d4:f6:5f', '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': '162.234.160.5', 'subnet_id': '12d4f484-c86f-4f60-b2b7-c41473f505ab'}], 'security_groups': ['0e3af35f-994b-4578-b506-20bc03f0f171'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '38592cd096cb409ab61fb7ee4360de6e'}}
2025-08-26 11:25:06,387 - DEBUG - Services list from nova: [, , ]
2025-08-26 11:25:06,768 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3939-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3939-1)
2025-08-26 11:25:07,188 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3939-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3939-1)
2025-08-26 11:25:07,188 - INFO - Waiting for VM ctest-vn1-vm1-52025884 to be up..
2025-08-26 11:25:07,225 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-26 11:25:12,301 - DEBUG - VM is in ACTIVE state now
2025-08-26 11:25:12,301 - INFO - VM name : ctest-vn1-vm1-52025884
2025-08-26 11:25:12,388 - DEBUG - VM ctest-vn1-vm1-52025884 ID is 096f8870-5ee2-47fe-8f4d-33e76b0fa680
2025-08-26 11:25:12,412 - DEBUG - VM ctest-vn1-vm1-52025884 launched on Node cn-jenkins-deploy-platform-ansible-os-3939-1
2025-08-26 11:25:12,489 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/096f8870-5ee2-47fe-8f4d-33e76b0fa680
2025-08-26 11:25:12,497 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/16be24b7-ceb2-473a-97f8-9a263f192ada
2025-08-26 11:25:15,764 - 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 1012ms')
2025-08-26 11:25:15,764 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-52025884 failed!
2025-08-26 11:25:15,822 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38429809:ctest-vn1-79447322 is 76.171.148.129 and allocation pool is NOT set
2025-08-26 11:25:15,823 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38429809:ctest-vn1-79447322 is 162.234.160.1 and allocation pool is NOT set
2025-08-26 11:25:19,890 - 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=7.58 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 7.583/7.583/7.583/0.000 ms')
2025-08-26 11:25:19,890 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-52025884 passed
2025-08-26 11:25:20,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 11:25:20,039 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52025884, IP 76.171.148.133, Port 22
2025-08-26 11:25:20,194 - DEBUG - VM ctest-vn1-vm1-52025884 is ready for SSH connections
2025-08-26 11:25:20,194 - INFO - Waiting for VM ctest-vn1-vm2-06093875 to be up..
2025-08-26 11:25:20,273 - DEBUG - VM is in ACTIVE state now
2025-08-26 11:25:20,273 - INFO - VM name : ctest-vn1-vm2-06093875
2025-08-26 11:25:20,350 - DEBUG - VM ctest-vn1-vm2-06093875 ID is 7b4a6180-58dc-4dc0-8d77-aaf3b51eb7cf
2025-08-26 11:25:20,351 - DEBUG - VM ctest-vn1-vm2-06093875 launched on Node cn-jenkins-deploy-platform-ansible-os-3939-1
2025-08-26 11:25:20,425 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7b4a6180-58dc-4dc0-8d77-aaf3b51eb7cf
2025-08-26 11:25:20,433 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b78ad4f6-5f22-4101-8421-74b5aad03663
2025-08-26 11:25:21,673 - 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.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.350 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.350/1.929/3.509/1.579 ms')
2025-08-26 11:25:21,673 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-06093875 passed
2025-08-26 11:25:21,830 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 11:25:21,831 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-06093875, IP 162.234.160.5, Port 22
2025-08-26 11:25:21,990 - DEBUG - VM ctest-vn1-vm2-06093875 is ready for SSH connections
2025-08-26 11:25:21,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 11:25:21,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 11:25:21,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 11:25:21,990 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.171.148.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-08-26 11:25:21,991 - DEBUG - ping -s 56 -c 3 -W 1 76.171.148.133
2025-08-26 11:25:26,007 - DEBUG - PING 76.171.148.133 (76.171.148.133): 56 data bytes
64 bytes from 76.171.148.133: seq=0 ttl=63 time=3.284 ms
64 bytes from 76.171.148.133: seq=1 ttl=63 time=0.708 ms
64 bytes from 76.171.148.133: seq=2 ttl=63 time=0.933 ms
--- 76.171.148.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.708/1.641/3.284 ms
2025-08-26 11:25:26,007 - INFO - Ping to IP 76.171.148.133 from VM ctest-vn1-vm2-06093875 passed
2025-08-26 11:25:26,007 - INFO - Detaching port b78ad4f6-5f22-4101-8421-74b5aad03663 from VM ctest-vn1-vm2-06093875
2025-08-26 11:25:26,055 - INFO - Deleting VM ctest-vn1-vm2-06093875
2025-08-26 11:25:26,119 - INFO - Detaching port 16be24b7-ceb2-473a-97f8-9a263f192ada from VM ctest-vn1-vm1-52025884
2025-08-26 11:25:26,151 - INFO - Deleting VM ctest-vn1-vm1-52025884
2025-08-26 11:25:26,389 - DEBUG - Response for delete_port : ()
2025-08-26 11:25:26,574 - DEBUG - Response for delete_port : ()
2025-08-26 11:25:26,574 - INFO - Deleting VN ctest-vn1-79447322
2025-08-26 11:25:26,776 - DEBUG - Response for deleting network ()
2025-08-26 11:25:27,041 - DEBUG - No XMPP flaps were noticed during the test
2025-08-26 11:25:27,041 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-08-26 11:25:27,042 - INFO - --------------------------------------------------------------------------------
2025-08-26 11:25:27,747 - INFO - Deleted project: ctest-TestPorts-38429809, ID : 38592cd0-96cb-409a-b61f-b7ee4360de6e