2025-08-08 18:18:10,702 - INFO - Domain Default found not creating
2025-08-08 18:18:10,830 - INFO - Project ctest-TestPorts-58694854 not found, creating it
2025-08-08 18:18:11,289 - INFO - Created Project:ctest-TestPorts-58694854, ID : 60b9930e-73b1-4d00-b4f1-b0341532a2cd
2025-08-08 18:18:12,661 - INFO - ================================================================================
2025-08-08 18:18:12,662 - INFO - STARTING TEST : test_ports_bindings
2025-08-08 18:18:12,662 - 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-08 18:18:12,925 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.0.0.50': '0'}} with
2025-08-08 18:18:12,925 - INFO - Initial checks done. Running the testcase now
2025-08-08 18:18:12,925 - INFO -
2025-08-08 18:18:13,437 - DEBUG - Response for create_network : {'network': {'id': 'c7390a9b-a214-45be-91fe-dc15be8cf192', 'name': 'ctest-vn-74907661', 'tenant_id': '60b9930e73b14d00b4f1b0341532a2cd', 'project_id': '60b9930e73b14d00b4f1b0341532a2cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-58694854', 'ctest-vn-74907661'], 'port_security_enabled': True, 'description': ''}}
2025-08-08 18:18:13,645 - DEBUG - Response for create_subnet : {'subnet': {'id': '99045790-49d2-436a-a596-c309c2a07e5a', 'name': '', 'tenant_id': '60b9930e73b14d00b4f1b0341532a2cd', 'network_id': 'c7390a9b-a214-45be-91fe-dc15be8cf192', 'ip_version': 4, 'cidr': '151.157.234.0/26', 'allocation_pools': [{'start': '151.157.234.2', 'end': '151.157.234.62'}], 'gateway_ip': '151.157.234.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.157.234.2', 'tags': [], 'project_id': '60b9930e73b14d00b4f1b0341532a2cd'}}
2025-08-08 18:18:13,659 - INFO - Created VN ctest-vn-74907661
2025-08-08 18:18:13,708 - DEBUG - VN ctest-vn-74907661 UUID is c7390a9b-a214-45be-91fe-dc15be8cf192
2025-08-08 18:18:13,803 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-58694854', 'ctest-vmi-40432747']}
2025-08-08 18:18:14,076 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-40432747', 'id': '0977619e-880b-4c10-a60d-8c8eda558b19', 'tenant_id': '60b9930e73b14d00b4f1b0341532a2cd', 'network_id': 'c7390a9b-a214-45be-91fe-dc15be8cf192', 'mac_address': '02:09:77:61:9e:88', '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': '151.157.234.3', 'subnet_id': '99045790-49d2-436a-a596-c309c2a07e5a'}], 'security_groups': ['e4e2d14c-b3ef-432a-9e0a-5e98e9a2339d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '60b9930e73b14d00b4f1b0341532a2cd'}}
2025-08-08 18:18:14,076 - DEBUG - Created port 0977619e-880b-4c10-a60d-8c8eda558b19
2025-08-08 18:18:14,180 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0977619e-880b-4c10-a60d-8c8eda558b19
2025-08-08 18:18:14,466 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0977619e-880b-4c10-a60d-8c8eda558b19
2025-08-08 18:18:14,494 - INFO - VMI 0977619e-880b-4c10-a60d-8c8eda558b19 verification in API Server passed
2025-08-08 18:18:14,592 - DEBUG - Response for delete_port : ()
2025-08-08 18:18:14,592 - INFO - Deleted port 0977619e-880b-4c10-a60d-8c8eda558b19
2025-08-08 18:18:14,592 - INFO - Deleting VN ctest-vn-74907661
2025-08-08 18:18:14,675 - DEBUG - Response for deleting network ()
2025-08-08 18:18:14,937 - DEBUG - No XMPP flaps were noticed during the test
2025-08-08 18:18:14,937 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-08 18:18:14,937 - INFO - --------------------------------------------------------------------------------
2025-08-08 18:18:14,940 - INFO - ================================================================================
2025-08-08 18:18:14,940 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-08 18:18:14,940 - 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-08 18:18:15,232 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.0.0.50': '0'}} with
2025-08-08 18:18:15,232 - INFO - Initial checks done. Running the testcase now
2025-08-08 18:18:15,232 - INFO -
2025-08-08 18:18:15,394 - DEBUG - Response for create_network : {'network': {'id': '8e6f8961-8fa6-4b4a-a355-c07a2786ec69', 'name': 'ctest-vn1-00992103', 'tenant_id': '60b9930e73b14d00b4f1b0341532a2cd', 'project_id': '60b9930e73b14d00b4f1b0341532a2cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-58694854', 'ctest-vn1-00992103'], 'port_security_enabled': True, 'description': ''}}
2025-08-08 18:18:15,560 - DEBUG - Response for create_subnet : {'subnet': {'id': '7cbb32c5-2a54-41f0-a4ae-526432dea9d6', 'name': '', 'tenant_id': '60b9930e73b14d00b4f1b0341532a2cd', 'network_id': '8e6f8961-8fa6-4b4a-a355-c07a2786ec69', 'ip_version': 4, 'cidr': '135.54.23.128/26', 'allocation_pools': [{'start': '135.54.23.130', 'end': '135.54.23.190'}], 'gateway_ip': '135.54.23.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.54.23.130', 'tags': [], 'project_id': '60b9930e73b14d00b4f1b0341532a2cd'}}
2025-08-08 18:18:15,711 - DEBUG - Response for create_subnet : {'subnet': {'id': '31827899-6e4c-47e5-a18b-c1393737947e', 'name': '', 'tenant_id': '60b9930e73b14d00b4f1b0341532a2cd', 'network_id': '8e6f8961-8fa6-4b4a-a355-c07a2786ec69', 'ip_version': 4, 'cidr': '164.134.18.0/26', 'allocation_pools': [{'start': '164.134.18.2', 'end': '164.134.18.62'}], 'gateway_ip': '164.134.18.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.134.18.2', 'tags': [], 'project_id': '60b9930e73b14d00b4f1b0341532a2cd'}}
2025-08-08 18:18:15,726 - INFO - Created VN ctest-vn1-00992103
2025-08-08 18:18:15,777 - DEBUG - VN ctest-vn1-00992103 UUID is 8e6f8961-8fa6-4b4a-a355-c07a2786ec69
2025-08-08 18:18:16,027 - DEBUG - Response for create_port : {'port': {'name': 'd2da81a0-14b7-4728-aa9d-1a4afc2fe0dd', 'id': 'd2da81a0-14b7-4728-aa9d-1a4afc2fe0dd', 'tenant_id': '60b9930e73b14d00b4f1b0341532a2cd', 'network_id': '8e6f8961-8fa6-4b4a-a355-c07a2786ec69', 'mac_address': '02:d2:da:81:a0:14', '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': '135.54.23.133', 'subnet_id': '7cbb32c5-2a54-41f0-a4ae-526432dea9d6'}], 'security_groups': ['e4e2d14c-b3ef-432a-9e0a-5e98e9a2339d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '60b9930e73b14d00b4f1b0341532a2cd'}}
2025-08-08 18:18:16,190 - DEBUG - Response for create_port : {'port': {'name': '7d1bd238-a37f-49ee-978d-de5a73898b85', 'id': '7d1bd238-a37f-49ee-978d-de5a73898b85', 'tenant_id': '60b9930e73b14d00b4f1b0341532a2cd', 'network_id': '8e6f8961-8fa6-4b4a-a355-c07a2786ec69', 'mac_address': '02:7d:1b:d2:38:a3', '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': '164.134.18.5', 'subnet_id': '31827899-6e4c-47e5-a18b-c1393737947e'}], 'security_groups': ['e4e2d14c-b3ef-432a-9e0a-5e98e9a2339d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '60b9930e73b14d00b4f1b0341532a2cd'}}
2025-08-08 18:18:16,237 - DEBUG - Services list from nova: [, , ]
2025-08-08 18:18:16,510 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3784-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3784-1)
2025-08-08 18:18:16,841 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3784-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3784-1)
2025-08-08 18:18:16,841 - INFO - Waiting for VM ctest-vn1-vm1-64693148 to be up..
2025-08-08 18:18:16,872 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-08 18:18:21,959 - DEBUG - VM is in ACTIVE state now
2025-08-08 18:18:21,960 - INFO - VM name : ctest-vn1-vm1-64693148
2025-08-08 18:18:22,033 - DEBUG - VM ctest-vn1-vm1-64693148 ID is 33f84b41-54d2-4f95-a2b6-199ca8e3a193
2025-08-08 18:18:22,050 - DEBUG - VM ctest-vn1-vm1-64693148 launched on Node cn-jenkins-deploy-platform-ansible-os-3784-1.
2025-08-08 18:18:22,111 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/33f84b41-54d2-4f95-a2b6-199ca8e3a193
2025-08-08 18:18:22,118 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d2da81a0-14b7-4728-aa9d-1a4afc2fe0dd
2025-08-08 18:18:25,349 - 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 1003ms')
2025-08-08 18:18:25,349 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64693148 failed!
2025-08-08 18:18:25,401 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-58694854:ctest-vn1-00992103 is 135.54.23.129 and allocation pool is NOT set
2025-08-08 18:18:25,401 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-58694854:ctest-vn1-00992103 is 164.134.18.1 and allocation pool is NOT set
2025-08-08 18:18:27,462 - 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=5.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.943 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.943/3.121/5.300/2.178 ms')
2025-08-08 18:18:27,462 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64693148 passed
2025-08-08 18:18:27,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-08 18:18:27,608 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-64693148, IP 135.54.23.133, Port 22
2025-08-08 18:18:27,663 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-08-08 18:18:27,736 - DEBUG - VM ctest-vn1-vm1-64693148 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-08 18:18:32,736 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-08 18:18:32,736 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-64693148, IP 135.54.23.133, Port 22
2025-08-08 18:18:32,892 - DEBUG - VM ctest-vn1-vm1-64693148 is ready for SSH connections
2025-08-08 18:18:32,892 - INFO - Waiting for VM ctest-vn1-vm2-79203461 to be up..
2025-08-08 18:18:32,956 - DEBUG - VM is in ACTIVE state now
2025-08-08 18:18:32,956 - INFO - VM name : ctest-vn1-vm2-79203461
2025-08-08 18:18:33,014 - DEBUG - VM ctest-vn1-vm2-79203461 ID is 63cb5f41-7cff-42b5-8e56-ec678eed8055
2025-08-08 18:18:33,014 - DEBUG - VM ctest-vn1-vm2-79203461 launched on Node cn-jenkins-deploy-platform-ansible-os-3784-1.
2025-08-08 18:18:33,070 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/63cb5f41-7cff-42b5-8e56-ec678eed8055
2025-08-08 18:18:33,077 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7d1bd238-a37f-49ee-978d-de5a73898b85
2025-08-08 18:18:34,312 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.360 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.360/1.690/3.020/1.330 ms')
2025-08-08 18:18:34,313 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-79203461 passed
2025-08-08 18:18:34,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-08 18:18:34,461 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-79203461, IP 164.134.18.5, Port 22
2025-08-08 18:18:34,615 - DEBUG - VM ctest-vn1-vm2-79203461 is ready for SSH connections
2025-08-08 18:18:34,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-08 18:18:34,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-08 18:18:34,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-08 18:18:34,616 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.54.23.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-08-08 18:18:34,616 - DEBUG - ping -s 56 -c 3 -W 1 135.54.23.133
2025-08-08 18:18:37,513 - DEBUG - PING 135.54.23.133 (135.54.23.133): 56 data bytes
64 bytes from 135.54.23.133: seq=0 ttl=63 time=4.745 ms
64 bytes from 135.54.23.133: seq=1 ttl=63 time=0.981 ms
64 bytes from 135.54.23.133: seq=2 ttl=63 time=0.821 ms
--- 135.54.23.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.821/2.182/4.745 ms
2025-08-08 18:18:37,513 - INFO - Ping to IP 135.54.23.133 from VM ctest-vn1-vm2-79203461 passed
2025-08-08 18:18:37,513 - INFO - Detaching port 7d1bd238-a37f-49ee-978d-de5a73898b85 from VM ctest-vn1-vm2-79203461
2025-08-08 18:18:37,559 - INFO - Deleting VM ctest-vn1-vm2-79203461
2025-08-08 18:18:37,619 - INFO - Detaching port d2da81a0-14b7-4728-aa9d-1a4afc2fe0dd from VM ctest-vn1-vm1-64693148
2025-08-08 18:18:37,646 - INFO - Deleting VM ctest-vn1-vm1-64693148
2025-08-08 18:18:37,880 - DEBUG - Response for delete_port : ()
2025-08-08 18:18:38,028 - DEBUG - Response for delete_port : ()
2025-08-08 18:18:38,028 - INFO - Deleting VN ctest-vn1-00992103
2025-08-08 18:18:38,136 - DEBUG - Response for deleting network ()
2025-08-08 18:18:38,397 - DEBUG - No XMPP flaps were noticed during the test
2025-08-08 18:18:38,398 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-08-08 18:18:38,398 - INFO - --------------------------------------------------------------------------------
2025-08-08 18:18:39,071 - INFO - Deleted project: ctest-TestPorts-58694854, ID : 60b9930e-73b1-4d00-b4f1-b0341532a2cd