2025-10-07 18:19:10,694 - INFO - Domain Default found not creating
2025-10-07 18:19:11,045 - INFO - Project ctest-TestPorts-62297059 not found, creating it
2025-10-07 18:19:11,823 - INFO - Created Project:ctest-TestPorts-62297059, ID : b1948f99-3258-4e57-948a-5a1d047ebda4
2025-10-07 18:19:14,067 - INFO - ================================================================================
2025-10-07 18:19:14,068 - INFO - STARTING TEST : test_ports_bindings
2025-10-07 18:19:14,068 - 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-10-07 18:19:14,388 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.17': '0'}} with
2025-10-07 18:19:14,388 - INFO - Initial checks done. Running the testcase now
2025-10-07 18:19:14,389 - INFO -
2025-10-07 18:19:15,270 - DEBUG - Response for create_network : {'network': {'id': 'c92a2f1a-8946-4112-af86-61d1a160b08b', 'name': 'ctest-vn-87183913', 'tenant_id': 'b1948f9932584e57948a5a1d047ebda4', 'project_id': 'b1948f9932584e57948a5a1d047ebda4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-62297059', 'ctest-vn-87183913'], 'port_security_enabled': True, 'description': ''}}
2025-10-07 18:19:15,551 - DEBUG - Response for create_subnet : {'subnet': {'id': '36f9dc39-a3dd-4d05-a40a-6bee00523265', 'name': '', 'tenant_id': 'b1948f9932584e57948a5a1d047ebda4', 'network_id': 'c92a2f1a-8946-4112-af86-61d1a160b08b', 'ip_version': 4, 'cidr': '99.215.113.192/26', 'allocation_pools': [{'start': '99.215.113.194', 'end': '99.215.113.254'}], 'gateway_ip': '99.215.113.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.215.113.194', 'tags': [], 'project_id': 'b1948f9932584e57948a5a1d047ebda4'}}
2025-10-07 18:19:15,588 - INFO - Created VN ctest-vn-87183913
2025-10-07 18:19:15,659 - DEBUG - VN ctest-vn-87183913 UUID is c92a2f1a-8946-4112-af86-61d1a160b08b
2025-10-07 18:19:15,790 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-62297059', 'ctest-vmi-90291914']}
2025-10-07 18:19:16,180 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-90291914', 'id': 'bb420df3-fa3c-4920-8f38-e6532048358a', 'tenant_id': 'b1948f9932584e57948a5a1d047ebda4', 'network_id': 'c92a2f1a-8946-4112-af86-61d1a160b08b', 'mac_address': '02:bb:42:0d:f3:fa', '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': '99.215.113.195', 'subnet_id': '36f9dc39-a3dd-4d05-a40a-6bee00523265'}], 'security_groups': ['766e9041-822e-4096-b6ad-3d4445f43f85'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b1948f9932584e57948a5a1d047ebda4'}}
2025-10-07 18:19:16,180 - DEBUG - Created port bb420df3-fa3c-4920-8f38-e6532048358a
2025-10-07 18:19:16,283 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/bb420df3-fa3c-4920-8f38-e6532048358a
2025-10-07 18:19:16,626 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/bb420df3-fa3c-4920-8f38-e6532048358a
2025-10-07 18:19:16,685 - INFO - VMI bb420df3-fa3c-4920-8f38-e6532048358a verification in API Server passed
2025-10-07 18:19:16,858 - DEBUG - Response for delete_port : ()
2025-10-07 18:19:16,858 - INFO - Deleted port bb420df3-fa3c-4920-8f38-e6532048358a
2025-10-07 18:19:16,858 - INFO - Deleting VN ctest-vn-87183913
2025-10-07 18:19:16,994 - DEBUG - Response for deleting network ()
2025-10-07 18:19:17,275 - DEBUG - No XMPP flaps were noticed during the test
2025-10-07 18:19:17,275 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-07 18:19:17,276 - INFO - --------------------------------------------------------------------------------
2025-10-07 18:19:17,284 - INFO - ================================================================================
2025-10-07 18:19:17,284 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-07 18:19:17,284 - 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-10-07 18:19:17,611 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.17': '0'}} with
2025-10-07 18:19:17,611 - INFO - Initial checks done. Running the testcase now
2025-10-07 18:19:17,612 - INFO -
2025-10-07 18:19:17,887 - DEBUG - Response for create_network : {'network': {'id': '3dffe0cd-8286-4a51-8eb6-09545181debf', 'name': 'ctest-vn1-94291516', 'tenant_id': 'b1948f9932584e57948a5a1d047ebda4', 'project_id': 'b1948f9932584e57948a5a1d047ebda4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-62297059', 'ctest-vn1-94291516'], 'port_security_enabled': True, 'description': ''}}
2025-10-07 18:19:18,103 - DEBUG - Response for create_subnet : {'subnet': {'id': '4305f8d9-d76d-45f7-8a23-fe7cbac8b4e1', 'name': '', 'tenant_id': 'b1948f9932584e57948a5a1d047ebda4', 'network_id': '3dffe0cd-8286-4a51-8eb6-09545181debf', 'ip_version': 4, 'cidr': '68.174.88.128/26', 'allocation_pools': [{'start': '68.174.88.130', 'end': '68.174.88.190'}], 'gateway_ip': '68.174.88.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.174.88.130', 'tags': [], 'project_id': 'b1948f9932584e57948a5a1d047ebda4'}}
2025-10-07 18:19:18,326 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ca18ec4-fe6f-4548-92d9-78cf49a7fa00', 'name': '', 'tenant_id': 'b1948f9932584e57948a5a1d047ebda4', 'network_id': '3dffe0cd-8286-4a51-8eb6-09545181debf', 'ip_version': 4, 'cidr': '80.95.233.192/26', 'allocation_pools': [{'start': '80.95.233.194', 'end': '80.95.233.254'}], 'gateway_ip': '80.95.233.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.95.233.194', 'tags': [], 'project_id': 'b1948f9932584e57948a5a1d047ebda4'}}
2025-10-07 18:19:18,359 - INFO - Created VN ctest-vn1-94291516
2025-10-07 18:19:18,428 - DEBUG - VN ctest-vn1-94291516 UUID is 3dffe0cd-8286-4a51-8eb6-09545181debf
2025-10-07 18:19:19,015 - DEBUG - Response for create_port : {'port': {'name': '1dda7f8b-b4c8-41cf-87b7-8ad42fa2e5ad', 'id': '1dda7f8b-b4c8-41cf-87b7-8ad42fa2e5ad', 'tenant_id': 'b1948f9932584e57948a5a1d047ebda4', 'network_id': '3dffe0cd-8286-4a51-8eb6-09545181debf', 'mac_address': '02:1d:da:7f:8b:b4', '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': '68.174.88.133', 'subnet_id': '4305f8d9-d76d-45f7-8a23-fe7cbac8b4e1'}], 'security_groups': ['766e9041-822e-4096-b6ad-3d4445f43f85'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b1948f9932584e57948a5a1d047ebda4'}}
2025-10-07 18:19:19,255 - DEBUG - Response for create_port : {'port': {'name': '22d4971f-9fc5-4231-bd51-9f98e5993e44', 'id': '22d4971f-9fc5-4231-bd51-9f98e5993e44', 'tenant_id': 'b1948f9932584e57948a5a1d047ebda4', 'network_id': '3dffe0cd-8286-4a51-8eb6-09545181debf', 'mac_address': '02:22:d4:97:1f:9f', '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': '80.95.233.197', 'subnet_id': '5ca18ec4-fe6f-4548-92d9-78cf49a7fa00'}], 'security_groups': ['766e9041-822e-4096-b6ad-3d4445f43f85'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b1948f9932584e57948a5a1d047ebda4'}}
2025-10-07 18:19:19,335 - DEBUG - Services list from nova: [, , ]
2025-10-07 18:19:20,150 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4231-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4231-1)
2025-10-07 18:19:21,080 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4231-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4231-1)
2025-10-07 18:19:21,080 - INFO - Waiting for VM ctest-vn1-vm1-79541365 to be up..
2025-10-07 18:19:21,143 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-07 18:19:26,260 - DEBUG - VM is in ACTIVE state now
2025-10-07 18:19:26,260 - INFO - VM name : ctest-vn1-vm1-79541365
2025-10-07 18:19:26,365 - DEBUG - VM ctest-vn1-vm1-79541365 ID is 2b5cd0e8-72f2-416f-bbf3-e684730194ff
2025-10-07 18:19:26,385 - DEBUG - VM ctest-vn1-vm1-79541365 launched on Node cn-jenkins-deploy-platform-ansible-os-4231-1
2025-10-07 18:19:26,506 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/2b5cd0e8-72f2-416f-bbf3-e684730194ff
2025-10-07 18:19:26,517 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/1dda7f8b-b4c8-41cf-87b7-8ad42fa2e5ad
2025-10-07 18:19:29,824 - 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 1011ms')
2025-10-07 18:19:29,824 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79541365 failed!
2025-10-07 18:19:29,880 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-62297059:ctest-vn1-94291516 is 68.174.88.129 and allocation pool is NOT set
2025-10-07 18:19:29,880 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-62297059:ctest-vn1-94291516 is 80.95.233.193 and allocation pool is NOT set
2025-10-07 18:19:33,985 - 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=4.95 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1023ms\r\nrtt min/avg/max/mdev = 4.952/4.952/4.952/0.000 ms')
2025-10-07 18:19:33,985 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79541365 passed
2025-10-07 18:19:34,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-07 18:19:34,179 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79541365, IP 68.174.88.133, Port 22
2025-10-07 18:19:34,362 - DEBUG - VM ctest-vn1-vm1-79541365 is ready for SSH connections
2025-10-07 18:19:34,362 - INFO - Waiting for VM ctest-vn1-vm2-30305471 to be up..
2025-10-07 18:19:34,498 - DEBUG - VM is in ACTIVE state now
2025-10-07 18:19:34,498 - INFO - VM name : ctest-vn1-vm2-30305471
2025-10-07 18:19:34,607 - DEBUG - VM ctest-vn1-vm2-30305471 ID is 1f7c9eb2-b746-4379-9c06-55eafff2df18
2025-10-07 18:19:34,607 - DEBUG - VM ctest-vn1-vm2-30305471 launched on Node cn-jenkins-deploy-platform-ansible-os-4231-1
2025-10-07 18:19:34,730 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/1f7c9eb2-b746-4379-9c06-55eafff2df18
2025-10-07 18:19:34,745 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/22d4971f-9fc5-4231-bd51-9f98e5993e44
2025-10-07 18:19:36,051 - 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=9.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.707 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.707/5.143/9.580/4.436 ms')
2025-10-07 18:19:36,051 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-30305471 passed
2025-10-07 18:19:36,220 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-07 18:19:36,221 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-30305471, IP 80.95.233.197, Port 22
2025-10-07 18:19:36,412 - DEBUG - VM ctest-vn1-vm2-30305471 is ready for SSH connections
2025-10-07 18:19:36,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-07 18:19:36,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-07 18:19:36,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-07 18:19:36,412 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.174.88.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123
2025-10-07 18:19:36,412 - DEBUG - ping -s 56 -c 3 -W 1 68.174.88.133
2025-10-07 18:19:39,663 - DEBUG - PING 68.174.88.133 (68.174.88.133): 56 data bytes
64 bytes from 68.174.88.133: seq=0 ttl=63 time=4.841 ms
64 bytes from 68.174.88.133: seq=1 ttl=63 time=1.560 ms
64 bytes from 68.174.88.133: seq=2 ttl=63 time=1.728 ms
--- 68.174.88.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.560/2.709/4.841 ms
2025-10-07 18:19:39,664 - INFO - Ping to IP 68.174.88.133 from VM ctest-vn1-vm2-30305471 passed
2025-10-07 18:19:39,664 - INFO - Detaching port 22d4971f-9fc5-4231-bd51-9f98e5993e44 from VM ctest-vn1-vm2-30305471
2025-10-07 18:19:39,774 - INFO - Deleting VM ctest-vn1-vm2-30305471
2025-10-07 18:19:39,936 - INFO - Detaching port 1dda7f8b-b4c8-41cf-87b7-8ad42fa2e5ad from VM ctest-vn1-vm1-79541365
2025-10-07 18:19:40,017 - INFO - Deleting VM ctest-vn1-vm1-79541365
2025-10-07 18:19:40,411 - DEBUG - Response for delete_port : ()
2025-10-07 18:19:40,587 - DEBUG - Response for delete_port : ()
2025-10-07 18:19:40,588 - INFO - Deleting VN ctest-vn1-94291516
2025-10-07 18:19:40,700 - DEBUG - Response for deleting network ()
2025-10-07 18:19:40,999 - DEBUG - No XMPP flaps were noticed during the test
2025-10-07 18:19:40,999 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-10-07 18:19:40,999 - INFO - --------------------------------------------------------------------------------
2025-10-07 18:19:41,751 - INFO - Deleted project: ctest-TestPorts-62297059, ID : b1948f99-3258-4e57-948a-5a1d047ebda4