2025-11-12 05:34:45,125 - INFO - Domain Default found not creating
2025-11-12 05:34:45,255 - INFO - Project ctest-TestPorts-08323421 not found, creating it
2025-11-12 05:34:45,680 - INFO - Created Project:ctest-TestPorts-08323421, ID : b948a1e0-c2ab-4ab7-a49f-1f63a1ba021e
2025-11-12 05:34:47,026 - INFO - ================================================================================
2025-11-12 05:34:47,026 - INFO - STARTING TEST : test_ports_bindings
2025-11-12 05:34:47,026 - 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-12 05:34:47,288 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2025-11-12 05:34:47,288 - INFO - Initial checks done. Running the testcase now
2025-11-12 05:34:47,288 - INFO -
2025-11-12 05:34:47,814 - DEBUG - Response for create_network : {'network': {'id': 'f964e7eb-d38a-4935-86b0-155a85028a98', 'name': 'ctest-vn-96843105', 'tenant_id': 'b948a1e0c2ab4ab7a49f1f63a1ba021e', 'project_id': 'b948a1e0c2ab4ab7a49f1f63a1ba021e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08323421', 'ctest-vn-96843105'], 'port_security_enabled': True, 'description': ''}}
2025-11-12 05:34:48,004 - DEBUG - Response for create_subnet : {'subnet': {'id': '08730c7f-114c-4eca-80f2-6fd9be630ebc', 'name': '', 'tenant_id': 'b948a1e0c2ab4ab7a49f1f63a1ba021e', 'network_id': 'f964e7eb-d38a-4935-86b0-155a85028a98', 'ip_version': 4, 'cidr': '79.207.84.0/26', 'allocation_pools': [{'start': '79.207.84.2', 'end': '79.207.84.62'}], 'gateway_ip': '79.207.84.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.207.84.2', 'tags': [], 'project_id': 'b948a1e0c2ab4ab7a49f1f63a1ba021e'}}
2025-11-12 05:34:48,019 - INFO - Created VN ctest-vn-96843105
2025-11-12 05:34:48,071 - DEBUG - VN ctest-vn-96843105 UUID is f964e7eb-d38a-4935-86b0-155a85028a98
2025-11-12 05:34:48,174 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-08323421', 'ctest-vmi-06516483']}
2025-11-12 05:34:48,453 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-06516483', 'id': '188e0238-92a3-49ec-b975-54d3d89bb9f5', 'tenant_id': 'b948a1e0c2ab4ab7a49f1f63a1ba021e', 'network_id': 'f964e7eb-d38a-4935-86b0-155a85028a98', 'mac_address': '02:18:8e:02:38:92', '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': '79.207.84.3', 'subnet_id': '08730c7f-114c-4eca-80f2-6fd9be630ebc'}], 'security_groups': ['776b8a27-e2fa-42e7-b5d9-650537ec2b24'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b948a1e0c2ab4ab7a49f1f63a1ba021e'}}
2025-11-12 05:34:48,453 - DEBUG - Created port 188e0238-92a3-49ec-b975-54d3d89bb9f5
2025-11-12 05:34:48,555 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/188e0238-92a3-49ec-b975-54d3d89bb9f5
2025-11-12 05:34:48,993 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/188e0238-92a3-49ec-b975-54d3d89bb9f5
2025-11-12 05:34:49,033 - INFO - VMI 188e0238-92a3-49ec-b975-54d3d89bb9f5 verification in API Server passed
2025-11-12 05:34:49,112 - DEBUG - Response for delete_port : ()
2025-11-12 05:34:49,112 - INFO - Deleted port 188e0238-92a3-49ec-b975-54d3d89bb9f5
2025-11-12 05:34:49,112 - INFO - Deleting VN ctest-vn-96843105
2025-11-12 05:34:49,199 - DEBUG - Response for deleting network ()
2025-11-12 05:34:49,451 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 05:34:49,452 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-12 05:34:49,452 - INFO - --------------------------------------------------------------------------------
2025-11-12 05:34:49,454 - INFO - ================================================================================
2025-11-12 05:34:49,454 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-12 05:34:49,454 - 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-12 05:34:49,739 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2025-11-12 05:34:49,739 - INFO - Initial checks done. Running the testcase now
2025-11-12 05:34:49,739 - INFO -
2025-11-12 05:34:49,910 - DEBUG - Response for create_network : {'network': {'id': '8331bf3b-d9b2-4ce6-b5e1-9e5764553af4', 'name': 'ctest-vn1-03070829', 'tenant_id': 'b948a1e0c2ab4ab7a49f1f63a1ba021e', 'project_id': 'b948a1e0c2ab4ab7a49f1f63a1ba021e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08323421', 'ctest-vn1-03070829'], 'port_security_enabled': True, 'description': ''}}
2025-11-12 05:34:50,111 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9a5212a-22fd-488c-998f-a46cb01c360e', 'name': '', 'tenant_id': 'b948a1e0c2ab4ab7a49f1f63a1ba021e', 'network_id': '8331bf3b-d9b2-4ce6-b5e1-9e5764553af4', 'ip_version': 4, 'cidr': '137.157.245.192/26', 'allocation_pools': [{'start': '137.157.245.194', 'end': '137.157.245.254'}], 'gateway_ip': '137.157.245.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.157.245.194', 'tags': [], 'project_id': 'b948a1e0c2ab4ab7a49f1f63a1ba021e'}}
2025-11-12 05:34:50,303 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e44fde15-7bed-4912-bf65-3503c503b319', 'name': '', 'tenant_id': 'b948a1e0c2ab4ab7a49f1f63a1ba021e', 'network_id': '8331bf3b-d9b2-4ce6-b5e1-9e5764553af4', 'ip_version': 4, 'cidr': '71.51.69.64/26', 'allocation_pools': [{'start': '71.51.69.66', 'end': '71.51.69.126'}], 'gateway_ip': '71.51.69.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.51.69.66', 'tags': [], 'project_id': 'b948a1e0c2ab4ab7a49f1f63a1ba021e'}}
2025-11-12 05:34:50,318 - INFO - Created VN ctest-vn1-03070829
2025-11-12 05:34:50,367 - DEBUG - VN ctest-vn1-03070829 UUID is 8331bf3b-d9b2-4ce6-b5e1-9e5764553af4
2025-11-12 05:34:50,640 - DEBUG - Response for create_port : {'port': {'name': 'b5c0dbe4-aed3-479d-b09b-b1c6fff72c07', 'id': 'b5c0dbe4-aed3-479d-b09b-b1c6fff72c07', 'tenant_id': 'b948a1e0c2ab4ab7a49f1f63a1ba021e', 'network_id': '8331bf3b-d9b2-4ce6-b5e1-9e5764553af4', 'mac_address': '02:b5:c0:db:e4:ae', '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': '137.157.245.197', 'subnet_id': 'e9a5212a-22fd-488c-998f-a46cb01c360e'}], 'security_groups': ['776b8a27-e2fa-42e7-b5d9-650537ec2b24'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b948a1e0c2ab4ab7a49f1f63a1ba021e'}}
2025-11-12 05:34:50,794 - DEBUG - Response for create_port : {'port': {'name': 'd42878a8-b90d-4dbe-b214-1f89147cddfc', 'id': 'd42878a8-b90d-4dbe-b214-1f89147cddfc', 'tenant_id': 'b948a1e0c2ab4ab7a49f1f63a1ba021e', 'network_id': '8331bf3b-d9b2-4ce6-b5e1-9e5764553af4', 'mac_address': '02:d4:28:78:a8:b9', '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': '71.51.69.69', 'subnet_id': 'e44fde15-7bed-4912-bf65-3503c503b319'}], 'security_groups': ['776b8a27-e2fa-42e7-b5d9-650537ec2b24'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b948a1e0c2ab4ab7a49f1f63a1ba021e'}}
2025-11-12 05:34:50,844 - DEBUG - Services list from nova: [, , ]
2025-11-12 05:34:51,155 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4700-1)
2025-11-12 05:34:51,508 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4700-1)
2025-11-12 05:34:51,508 - INFO - Waiting for VM ctest-vn1-vm1-23104832 to be up..
2025-11-12 05:34:51,665 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-12 05:34:56,739 - DEBUG - VM is in ACTIVE state now
2025-11-12 05:34:56,740 - INFO - VM name : ctest-vn1-vm1-23104832
2025-11-12 05:34:56,806 - DEBUG - VM ctest-vn1-vm1-23104832 ID is dee7119b-5c52-49fb-807d-3f142617c549
2025-11-12 05:34:56,823 - DEBUG - VM ctest-vn1-vm1-23104832 launched on Node cn-jenkins-deploy-platform-ansible-os-4700-1
2025-11-12 05:34:56,887 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/dee7119b-5c52-49fb-807d-3f142617c549
2025-11-12 05:34:56,894 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b5c0dbe4-aed3-479d-b09b-b1c6fff72c07
2025-11-12 05:35:00,150 - 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 1024ms')
2025-11-12 05:35:00,150 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23104832 failed!
2025-11-12 05:35:00,203 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08323421:ctest-vn1-03070829 is 137.157.245.193 and allocation pool is NOT set
2025-11-12 05:35:00,203 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08323421:ctest-vn1-03070829 is 71.51.69.65 and allocation pool is NOT set
2025-11-12 05:35:02,271 - 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.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.43 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 = 1.431/2.443/3.456/1.012 ms')
2025-11-12 05:35:02,271 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23104832 passed
2025-11-12 05:35:02,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 05:35:02,419 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-23104832, IP 137.157.245.197, Port 22
2025-11-12 05:35:02,593 - DEBUG - VM ctest-vn1-vm1-23104832 is ready for SSH connections
2025-11-12 05:35:02,593 - INFO - Waiting for VM ctest-vn1-vm2-39443866 to be up..
2025-11-12 05:35:02,668 - DEBUG - VM is in ACTIVE state now
2025-11-12 05:35:02,668 - INFO - VM name : ctest-vn1-vm2-39443866
2025-11-12 05:35:02,734 - DEBUG - VM ctest-vn1-vm2-39443866 ID is 32bf8df3-cb12-4240-8981-191ef67b7387
2025-11-12 05:35:02,734 - DEBUG - VM ctest-vn1-vm2-39443866 launched on Node cn-jenkins-deploy-platform-ansible-os-4700-1
2025-11-12 05:35:02,799 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/32bf8df3-cb12-4240-8981-191ef67b7387
2025-11-12 05:35:02,806 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d42878a8-b90d-4dbe-b214-1f89147cddfc
2025-11-12 05:35:04,037 - 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=3.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.378 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.378/1.760/3.143/1.382 ms')
2025-11-12 05:35:04,037 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-39443866 passed
2025-11-12 05:35:04,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 05:35:04,187 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-39443866, IP 71.51.69.69, Port 22
2025-11-12 05:35:04,346 - DEBUG - VM ctest-vn1-vm2-39443866 is ready for SSH connections
2025-11-12 05:35:04,347 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 05:35:04,347 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 05:35:04,347 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 05:35:04,347 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.157.245.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-11-12 05:35:04,347 - DEBUG - ping -s 56 -c 3 -W 1 137.157.245.197
2025-11-12 05:35:07,280 - DEBUG - PING 137.157.245.197 (137.157.245.197): 56 data bytes
64 bytes from 137.157.245.197: seq=0 ttl=63 time=4.452 ms
64 bytes from 137.157.245.197: seq=1 ttl=63 time=0.759 ms
64 bytes from 137.157.245.197: seq=2 ttl=63 time=0.804 ms
--- 137.157.245.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.759/2.005/4.452 ms
2025-11-12 05:35:07,280 - INFO - Ping to IP 137.157.245.197 from VM ctest-vn1-vm2-39443866 passed
2025-11-12 05:35:07,281 - INFO - Detaching port d42878a8-b90d-4dbe-b214-1f89147cddfc from VM ctest-vn1-vm2-39443866
2025-11-12 05:35:07,325 - INFO - Deleting VM ctest-vn1-vm2-39443866
2025-11-12 05:35:07,389 - INFO - Detaching port b5c0dbe4-aed3-479d-b09b-b1c6fff72c07 from VM ctest-vn1-vm1-23104832
2025-11-12 05:35:07,422 - INFO - Deleting VM ctest-vn1-vm1-23104832
2025-11-12 05:35:07,624 - DEBUG - Response for delete_port : ()
2025-11-12 05:35:07,772 - DEBUG - Response for delete_port : ()
2025-11-12 05:35:07,773 - INFO - Deleting VN ctest-vn1-03070829
2025-11-12 05:35:07,921 - DEBUG - Response for deleting network ()
2025-11-12 05:35:08,184 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 05:35:08,184 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-11-12 05:35:08,184 - INFO - --------------------------------------------------------------------------------
2025-11-12 05:35:08,844 - INFO - Deleted project: ctest-TestPorts-08323421, ID : b948a1e0-c2ab-4ab7-a49f-1f63a1ba021e