2025-10-28 21:33:53,139 - INFO - Domain Default found not creating
2025-10-28 21:33:53,333 - INFO - Project ctest-TestPorts-88535587 not found, creating it
2025-10-28 21:33:53,801 - INFO - Created Project:ctest-TestPorts-88535587, ID : 50024a3c-6d59-4d1d-86e4-d9d36f2241a1
2025-10-28 21:33:55,179 - INFO - ================================================================================
2025-10-28 21:33:55,179 - INFO - STARTING TEST : test_ports_bindings
2025-10-28 21:33:55,180 - 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-28 21:33:55,433 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2025-10-28 21:33:55,433 - INFO - Initial checks done. Running the testcase now
2025-10-28 21:33:55,433 - INFO -
2025-10-28 21:33:55,967 - DEBUG - Response for create_network : {'network': {'id': '0839376e-0b01-41db-a4d8-99d6a72d85c3', 'name': 'ctest-vn-71371400', 'tenant_id': '50024a3c6d594d1d86e4d9d36f2241a1', 'project_id': '50024a3c6d594d1d86e4d9d36f2241a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-88535587', 'ctest-vn-71371400'], 'port_security_enabled': True, 'description': ''}}
2025-10-28 21:33:56,172 - DEBUG - Response for create_subnet : {'subnet': {'id': '82f7b1de-aef3-499e-83c6-c5f44e05c8c7', 'name': '', 'tenant_id': '50024a3c6d594d1d86e4d9d36f2241a1', 'network_id': '0839376e-0b01-41db-a4d8-99d6a72d85c3', 'ip_version': 4, 'cidr': '94.33.64.64/26', 'allocation_pools': [{'start': '94.33.64.66', 'end': '94.33.64.126'}], 'gateway_ip': '94.33.64.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.33.64.66', 'tags': [], 'project_id': '50024a3c6d594d1d86e4d9d36f2241a1'}}
2025-10-28 21:33:56,187 - INFO - Created VN ctest-vn-71371400
2025-10-28 21:33:56,243 - DEBUG - VN ctest-vn-71371400 UUID is 0839376e-0b01-41db-a4d8-99d6a72d85c3
2025-10-28 21:33:56,351 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-88535587', 'ctest-vmi-88389931']}
2025-10-28 21:33:56,616 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-88389931', 'id': '6eb1b776-e135-4c46-a6f8-12fb67544649', 'tenant_id': '50024a3c6d594d1d86e4d9d36f2241a1', 'network_id': '0839376e-0b01-41db-a4d8-99d6a72d85c3', 'mac_address': '02:6e:b1:b7:76:e1', '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': '94.33.64.67', 'subnet_id': '82f7b1de-aef3-499e-83c6-c5f44e05c8c7'}], 'security_groups': ['4f97c7ca-7c01-4585-abd3-f06323808532'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50024a3c6d594d1d86e4d9d36f2241a1'}}
2025-10-28 21:33:56,616 - DEBUG - Created port 6eb1b776-e135-4c46-a6f8-12fb67544649
2025-10-28 21:33:56,719 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6eb1b776-e135-4c46-a6f8-12fb67544649
2025-10-28 21:33:57,007 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6eb1b776-e135-4c46-a6f8-12fb67544649
2025-10-28 21:33:57,040 - INFO - VMI 6eb1b776-e135-4c46-a6f8-12fb67544649 verification in API Server passed
2025-10-28 21:33:57,120 - DEBUG - Response for delete_port : ()
2025-10-28 21:33:57,120 - INFO - Deleted port 6eb1b776-e135-4c46-a6f8-12fb67544649
2025-10-28 21:33:57,120 - INFO - Deleting VN ctest-vn-71371400
2025-10-28 21:33:57,215 - DEBUG - Response for deleting network ()
2025-10-28 21:33:57,467 - DEBUG - No XMPP flaps were noticed during the test
2025-10-28 21:33:57,468 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-28 21:33:57,468 - INFO - --------------------------------------------------------------------------------
2025-10-28 21:33:57,470 - INFO - ================================================================================
2025-10-28 21:33:57,470 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-28 21:33:57,470 - 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-28 21:33:57,760 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2025-10-28 21:33:57,760 - INFO - Initial checks done. Running the testcase now
2025-10-28 21:33:57,760 - INFO -
2025-10-28 21:33:57,942 - DEBUG - Response for create_network : {'network': {'id': 'c6121802-efa2-45bb-a23d-26d363a7f1d3', 'name': 'ctest-vn1-78622330', 'tenant_id': '50024a3c6d594d1d86e4d9d36f2241a1', 'project_id': '50024a3c6d594d1d86e4d9d36f2241a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-88535587', 'ctest-vn1-78622330'], 'port_security_enabled': True, 'description': ''}}
2025-10-28 21:33:58,141 - DEBUG - Response for create_subnet : {'subnet': {'id': '1c6da438-c5b3-4d98-9c68-052c4e53b3fb', 'name': '', 'tenant_id': '50024a3c6d594d1d86e4d9d36f2241a1', 'network_id': 'c6121802-efa2-45bb-a23d-26d363a7f1d3', 'ip_version': 4, 'cidr': '201.201.38.0/26', 'allocation_pools': [{'start': '201.201.38.2', 'end': '201.201.38.62'}], 'gateway_ip': '201.201.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.201.38.2', 'tags': [], 'project_id': '50024a3c6d594d1d86e4d9d36f2241a1'}}
2025-10-28 21:33:58,312 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9fcab9a-176c-4cb5-b1af-7a048844728e', 'name': '', 'tenant_id': '50024a3c6d594d1d86e4d9d36f2241a1', 'network_id': 'c6121802-efa2-45bb-a23d-26d363a7f1d3', 'ip_version': 4, 'cidr': '156.161.103.128/26', 'allocation_pools': [{'start': '156.161.103.130', 'end': '156.161.103.190'}], 'gateway_ip': '156.161.103.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.161.103.130', 'tags': [], 'project_id': '50024a3c6d594d1d86e4d9d36f2241a1'}}
2025-10-28 21:33:58,329 - INFO - Created VN ctest-vn1-78622330
2025-10-28 21:33:58,379 - DEBUG - VN ctest-vn1-78622330 UUID is c6121802-efa2-45bb-a23d-26d363a7f1d3
2025-10-28 21:33:58,657 - DEBUG - Response for create_port : {'port': {'name': 'a71a4e5e-19ab-4273-8b13-11cfdcffad2d', 'id': 'a71a4e5e-19ab-4273-8b13-11cfdcffad2d', 'tenant_id': '50024a3c6d594d1d86e4d9d36f2241a1', 'network_id': 'c6121802-efa2-45bb-a23d-26d363a7f1d3', 'mac_address': '02:a7:1a:4e:5e:19', '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': '201.201.38.5', 'subnet_id': '1c6da438-c5b3-4d98-9c68-052c4e53b3fb'}], 'security_groups': ['4f97c7ca-7c01-4585-abd3-f06323808532'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50024a3c6d594d1d86e4d9d36f2241a1'}}
2025-10-28 21:33:58,809 - DEBUG - Response for create_port : {'port': {'name': 'c7d85968-9ed5-4c6f-a084-d103dbc82074', 'id': 'c7d85968-9ed5-4c6f-a084-d103dbc82074', 'tenant_id': '50024a3c6d594d1d86e4d9d36f2241a1', 'network_id': 'c6121802-efa2-45bb-a23d-26d363a7f1d3', 'mac_address': '02:c7:d8:59:68:9e', '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': '156.161.103.133', 'subnet_id': 'c9fcab9a-176c-4cb5-b1af-7a048844728e'}], 'security_groups': ['4f97c7ca-7c01-4585-abd3-f06323808532'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50024a3c6d594d1d86e4d9d36f2241a1'}}
2025-10-28 21:33:58,861 - DEBUG - Services list from nova: [, , ]
2025-10-28 21:33:59,167 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4518-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4518-1)
2025-10-28 21:33:59,555 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4518-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4518-1)
2025-10-28 21:33:59,555 - INFO - Waiting for VM ctest-vn1-vm1-05561046 to be up..
2025-10-28 21:33:59,594 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-28 21:34:04,664 - DEBUG - VM is in ACTIVE state now
2025-10-28 21:34:04,664 - INFO - VM name : ctest-vn1-vm1-05561046
2025-10-28 21:34:04,729 - DEBUG - VM ctest-vn1-vm1-05561046 ID is fde17cf8-10cd-4157-b752-274d5307828a
2025-10-28 21:34:04,747 - DEBUG - VM ctest-vn1-vm1-05561046 launched on Node cn-jenkins-deploy-platform-ansible-os-4518-1
2025-10-28 21:34:04,811 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/fde17cf8-10cd-4157-b752-274d5307828a
2025-10-28 21:34:04,818 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a71a4e5e-19ab-4273-8b13-11cfdcffad2d
2025-10-28 21:34:08,065 - 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 1022ms')
2025-10-28 21:34:08,065 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05561046 failed!
2025-10-28 21:34:08,119 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-88535587:ctest-vn1-78622330 is 201.201.38.1 and allocation pool is NOT set
2025-10-28 21:34:08,119 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-88535587:ctest-vn1-78622330 is 156.161.103.129 and allocation pool is NOT set
2025-10-28 21:34:10,188 - 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=15.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.29 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 = 3.289/9.518/15.747/6.229 ms')
2025-10-28 21:34:10,189 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05561046 passed
2025-10-28 21:34:10,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-28 21:34:10,339 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05561046, IP 201.201.38.5, Port 22
2025-10-28 21:34:10,405 - 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-10-28 21:34:10,493 - DEBUG - VM ctest-vn1-vm1-05561046 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-28 21:34:15,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-28 21:34:15,494 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05561046, IP 201.201.38.5, Port 22
2025-10-28 21:34:15,651 - DEBUG - VM ctest-vn1-vm1-05561046 is ready for SSH connections
2025-10-28 21:34:15,651 - INFO - Waiting for VM ctest-vn1-vm2-44467361 to be up..
2025-10-28 21:34:15,742 - DEBUG - VM is in ACTIVE state now
2025-10-28 21:34:15,743 - INFO - VM name : ctest-vn1-vm2-44467361
2025-10-28 21:34:15,825 - DEBUG - VM ctest-vn1-vm2-44467361 ID is cc45e5ac-3ec0-4e10-8758-3df80766793e
2025-10-28 21:34:15,825 - DEBUG - VM ctest-vn1-vm2-44467361 launched on Node cn-jenkins-deploy-platform-ansible-os-4518-1
2025-10-28 21:34:15,898 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cc45e5ac-3ec0-4e10-8758-3df80766793e
2025-10-28 21:34:15,905 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c7d85968-9ed5-4c6f-a084-d103dbc82074
2025-10-28 21:34:17,137 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.394 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.394/1.884/3.375/1.490 ms')
2025-10-28 21:34:17,138 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-44467361 passed
2025-10-28 21:34:17,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-28 21:34:17,283 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-44467361, IP 156.161.103.133, Port 22
2025-10-28 21:34:17,460 - DEBUG - VM ctest-vn1-vm2-44467361 is ready for SSH connections
2025-10-28 21:34:17,460 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-28 21:34:17,460 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-28 21:34:17,460 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-28 21:34:17,460 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.201.38.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-10-28 21:34:17,461 - DEBUG - ping -s 56 -c 3 -W 1 201.201.38.5
2025-10-28 21:34:20,416 - DEBUG - PING 201.201.38.5 (201.201.38.5): 56 data bytes
64 bytes from 201.201.38.5: seq=0 ttl=63 time=3.537 ms
64 bytes from 201.201.38.5: seq=1 ttl=63 time=0.985 ms
64 bytes from 201.201.38.5: seq=2 ttl=63 time=1.114 ms
--- 201.201.38.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.985/1.878/3.537 ms
2025-10-28 21:34:20,416 - INFO - Ping to IP 201.201.38.5 from VM ctest-vn1-vm2-44467361 passed
2025-10-28 21:34:20,416 - INFO - Detaching port c7d85968-9ed5-4c6f-a084-d103dbc82074 from VM ctest-vn1-vm2-44467361
2025-10-28 21:34:20,469 - INFO - Deleting VM ctest-vn1-vm2-44467361
2025-10-28 21:34:20,534 - INFO - Detaching port a71a4e5e-19ab-4273-8b13-11cfdcffad2d from VM ctest-vn1-vm1-05561046
2025-10-28 21:34:20,574 - INFO - Deleting VM ctest-vn1-vm1-05561046
2025-10-28 21:34:20,780 - DEBUG - Response for delete_port : ()
2025-10-28 21:34:20,922 - DEBUG - Response for delete_port : ()
2025-10-28 21:34:20,922 - INFO - Deleting VN ctest-vn1-78622330
2025-10-28 21:34:21,050 - DEBUG - Response for deleting network ()
2025-10-28 21:34:21,314 - DEBUG - No XMPP flaps were noticed during the test
2025-10-28 21:34:21,314 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-28 21:34:21,315 - INFO - --------------------------------------------------------------------------------
2025-10-28 21:34:22,009 - INFO - Deleted project: ctest-TestPorts-88535587, ID : 50024a3c-6d59-4d1d-86e4-d9d36f2241a1