2025-10-02 01:54:21,691 - INFO - Domain Default found not creating
2025-10-02 01:54:21,823 - INFO - Project ctest-TestPorts-53322994 not found, creating it
2025-10-02 01:54:22,265 - INFO - Created Project:ctest-TestPorts-53322994, ID : 19d19d6d-0bb5-497e-a45e-985a4b57fb8a
2025-10-02 01:54:23,647 - INFO - ================================================================================
2025-10-02 01:54:23,647 - INFO - STARTING TEST : test_ports_bindings
2025-10-02 01:54:23,647 - 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-02 01:54:23,904 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.18': '0'}} with
2025-10-02 01:54:23,904 - INFO - Initial checks done. Running the testcase now
2025-10-02 01:54:23,904 - INFO -
2025-10-02 01:54:24,419 - DEBUG - Response for create_network : {'network': {'id': 'd862ab03-1ecf-40ab-b7f0-2ecf2cf3457e', 'name': 'ctest-vn-12963797', 'tenant_id': '19d19d6d0bb5497ea45e985a4b57fb8a', 'project_id': '19d19d6d0bb5497ea45e985a4b57fb8a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-53322994', 'ctest-vn-12963797'], 'port_security_enabled': True, 'description': ''}}
2025-10-02 01:54:24,582 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fef2c0b6-dccc-456d-8164-abc395d76ec0', 'name': '', 'tenant_id': '19d19d6d0bb5497ea45e985a4b57fb8a', 'network_id': 'd862ab03-1ecf-40ab-b7f0-2ecf2cf3457e', 'ip_version': 4, 'cidr': '11.251.77.64/26', 'allocation_pools': [{'start': '11.251.77.66', 'end': '11.251.77.126'}], 'gateway_ip': '11.251.77.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.251.77.66', 'tags': [], 'project_id': '19d19d6d0bb5497ea45e985a4b57fb8a'}}
2025-10-02 01:54:24,600 - INFO - Created VN ctest-vn-12963797
2025-10-02 01:54:24,650 - DEBUG - VN ctest-vn-12963797 UUID is d862ab03-1ecf-40ab-b7f0-2ecf2cf3457e
2025-10-02 01:54:24,750 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-53322994', 'ctest-vmi-06484562']}
2025-10-02 01:54:25,029 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-06484562', 'id': 'd8621dbf-c5f3-47ca-861a-38e311c3a231', 'tenant_id': '19d19d6d0bb5497ea45e985a4b57fb8a', 'network_id': 'd862ab03-1ecf-40ab-b7f0-2ecf2cf3457e', 'mac_address': '02:d8:62:1d:bf:c5', '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': '11.251.77.67', 'subnet_id': 'fef2c0b6-dccc-456d-8164-abc395d76ec0'}], 'security_groups': ['ab8ae634-5070-46b1-8e14-225e2e044f5f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '19d19d6d0bb5497ea45e985a4b57fb8a'}}
2025-10-02 01:54:25,029 - DEBUG - Created port d8621dbf-c5f3-47ca-861a-38e311c3a231
2025-10-02 01:54:25,130 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/d8621dbf-c5f3-47ca-861a-38e311c3a231
2025-10-02 01:54:25,418 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/d8621dbf-c5f3-47ca-861a-38e311c3a231
2025-10-02 01:54:25,446 - INFO - VMI d8621dbf-c5f3-47ca-861a-38e311c3a231 verification in API Server passed
2025-10-02 01:54:25,523 - DEBUG - Response for delete_port : ()
2025-10-02 01:54:25,523 - INFO - Deleted port d8621dbf-c5f3-47ca-861a-38e311c3a231
2025-10-02 01:54:25,523 - INFO - Deleting VN ctest-vn-12963797
2025-10-02 01:54:25,626 - DEBUG - Response for deleting network ()
2025-10-02 01:54:25,886 - DEBUG - No XMPP flaps were noticed during the test
2025-10-02 01:54:25,886 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-02 01:54:25,887 - INFO - --------------------------------------------------------------------------------
2025-10-02 01:54:25,889 - INFO - ================================================================================
2025-10-02 01:54:25,889 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-02 01:54:25,889 - 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-02 01:54:26,179 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.18': '0'}} with
2025-10-02 01:54:26,179 - INFO - Initial checks done. Running the testcase now
2025-10-02 01:54:26,179 - INFO -
2025-10-02 01:54:26,367 - DEBUG - Response for create_network : {'network': {'id': '1f553c68-f6e2-46b0-b744-2f7be1fcde25', 'name': 'ctest-vn1-61755182', 'tenant_id': '19d19d6d0bb5497ea45e985a4b57fb8a', 'project_id': '19d19d6d0bb5497ea45e985a4b57fb8a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-53322994', 'ctest-vn1-61755182'], 'port_security_enabled': True, 'description': ''}}
2025-10-02 01:54:26,525 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e47b725-a8c9-43f8-9d6e-8f454299fc80', 'name': '', 'tenant_id': '19d19d6d0bb5497ea45e985a4b57fb8a', 'network_id': '1f553c68-f6e2-46b0-b744-2f7be1fcde25', 'ip_version': 4, 'cidr': '4.225.95.128/26', 'allocation_pools': [{'start': '4.225.95.130', 'end': '4.225.95.190'}], 'gateway_ip': '4.225.95.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.225.95.130', 'tags': [], 'project_id': '19d19d6d0bb5497ea45e985a4b57fb8a'}}
2025-10-02 01:54:26,706 - DEBUG - Response for create_subnet : {'subnet': {'id': '035c478c-da2c-44ee-b068-7d6aed3a771c', 'name': '', 'tenant_id': '19d19d6d0bb5497ea45e985a4b57fb8a', 'network_id': '1f553c68-f6e2-46b0-b744-2f7be1fcde25', 'ip_version': 4, 'cidr': '219.234.181.192/26', 'allocation_pools': [{'start': '219.234.181.194', 'end': '219.234.181.254'}], 'gateway_ip': '219.234.181.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.234.181.194', 'tags': [], 'project_id': '19d19d6d0bb5497ea45e985a4b57fb8a'}}
2025-10-02 01:54:26,724 - INFO - Created VN ctest-vn1-61755182
2025-10-02 01:54:26,774 - DEBUG - VN ctest-vn1-61755182 UUID is 1f553c68-f6e2-46b0-b744-2f7be1fcde25
2025-10-02 01:54:27,100 - DEBUG - Response for create_port : {'port': {'name': 'b1f470e3-b44c-4169-a4e5-7a8b9ef8f68d', 'id': 'b1f470e3-b44c-4169-a4e5-7a8b9ef8f68d', 'tenant_id': '19d19d6d0bb5497ea45e985a4b57fb8a', 'network_id': '1f553c68-f6e2-46b0-b744-2f7be1fcde25', 'mac_address': '02:b1:f4:70:e3: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': '4.225.95.133', 'subnet_id': '5e47b725-a8c9-43f8-9d6e-8f454299fc80'}], 'security_groups': ['ab8ae634-5070-46b1-8e14-225e2e044f5f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '19d19d6d0bb5497ea45e985a4b57fb8a'}}
2025-10-02 01:54:27,274 - DEBUG - Response for create_port : {'port': {'name': 'd45cafb1-82ff-47f3-93f3-3ff7faf034e1', 'id': 'd45cafb1-82ff-47f3-93f3-3ff7faf034e1', 'tenant_id': '19d19d6d0bb5497ea45e985a4b57fb8a', 'network_id': '1f553c68-f6e2-46b0-b744-2f7be1fcde25', 'mac_address': '02:d4:5c:af:b1:82', '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': '219.234.181.197', 'subnet_id': '035c478c-da2c-44ee-b068-7d6aed3a771c'}], 'security_groups': ['ab8ae634-5070-46b1-8e14-225e2e044f5f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '19d19d6d0bb5497ea45e985a4b57fb8a'}}
2025-10-02 01:54:27,328 - DEBUG - Services list from nova: [, , ]
2025-10-02 01:54:27,656 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4209-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4209-1)
2025-10-02 01:54:28,029 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4209-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4209-1)
2025-10-02 01:54:28,029 - INFO - Waiting for VM ctest-vn1-vm1-04610599 to be up..
2025-10-02 01:54:28,069 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-02 01:54:33,152 - DEBUG - VM is in ACTIVE state now
2025-10-02 01:54:33,152 - INFO - VM name : ctest-vn1-vm1-04610599
2025-10-02 01:54:33,232 - DEBUG - VM ctest-vn1-vm1-04610599 ID is 94e9066f-037e-485e-8ce8-91a859863a01
2025-10-02 01:54:33,254 - DEBUG - VM ctest-vn1-vm1-04610599 launched on Node cn-jenkins-deploy-platform-ansible-os-4209-1
2025-10-02 01:54:33,331 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/94e9066f-037e-485e-8ce8-91a859863a01
2025-10-02 01:54:33,339 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/b1f470e3-b44c-4169-a4e5-7a8b9ef8f68d
2025-10-02 01:54:36,598 - 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 1023ms')
2025-10-02 01:54:36,598 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-04610599 failed!
2025-10-02 01:54:36,654 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-53322994:ctest-vn1-61755182 is 4.225.95.129 and allocation pool is NOT set
2025-10-02 01:54:36,654 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-53322994:ctest-vn1-61755182 is 219.234.181.193 and allocation pool is NOT set
2025-10-02 01:54:38,720 - 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=4.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.12 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.122/3.454/4.787/1.332 ms')
2025-10-02 01:54:38,720 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-04610599 passed
2025-10-02 01:54:38,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-02 01:54:38,866 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-04610599, IP 4.225.95.133, Port 22
2025-10-02 01:54:38,921 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-02 01:54:39,001 - DEBUG - VM ctest-vn1-vm1-04610599 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-02 01:54:44,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-02 01:54:44,001 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-04610599, IP 4.225.95.133, Port 22
2025-10-02 01:54:44,157 - DEBUG - VM ctest-vn1-vm1-04610599 is ready for SSH connections
2025-10-02 01:54:44,158 - INFO - Waiting for VM ctest-vn1-vm2-41568241 to be up..
2025-10-02 01:54:44,223 - DEBUG - VM is in ACTIVE state now
2025-10-02 01:54:44,223 - INFO - VM name : ctest-vn1-vm2-41568241
2025-10-02 01:54:44,289 - DEBUG - VM ctest-vn1-vm2-41568241 ID is 24156cf0-c659-4354-8d19-cf44b259cd5e
2025-10-02 01:54:44,289 - DEBUG - VM ctest-vn1-vm2-41568241 launched on Node cn-jenkins-deploy-platform-ansible-os-4209-1
2025-10-02 01:54:44,355 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/24156cf0-c659-4354-8d19-cf44b259cd5e
2025-10-02 01:54:44,363 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/d45cafb1-82ff-47f3-93f3-3ff7faf034e1
2025-10-02 01:54:45,601 - 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=2.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.415 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.415/1.568/2.721/1.153 ms')
2025-10-02 01:54:45,601 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-41568241 passed
2025-10-02 01:54:45,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-02 01:54:45,754 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-41568241, IP 219.234.181.197, Port 22
2025-10-02 01:54:45,928 - DEBUG - VM ctest-vn1-vm2-41568241 is ready for SSH connections
2025-10-02 01:54:45,928 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-02 01:54:45,928 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-02 01:54:45,928 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-02 01:54:45,929 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.225.95.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123
2025-10-02 01:54:45,929 - DEBUG - ping -s 56 -c 3 -W 1 4.225.95.133
2025-10-02 01:54:49,593 - DEBUG - PING 4.225.95.133 (4.225.95.133): 56 data bytes
64 bytes from 4.225.95.133: seq=0 ttl=63 time=3.546 ms
64 bytes from 4.225.95.133: seq=1 ttl=63 time=1.343 ms
64 bytes from 4.225.95.133: seq=2 ttl=63 time=0.829 ms
--- 4.225.95.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.829/1.906/3.546 ms
2025-10-02 01:54:49,593 - INFO - Ping to IP 4.225.95.133 from VM ctest-vn1-vm2-41568241 passed
2025-10-02 01:54:49,593 - INFO - Detaching port d45cafb1-82ff-47f3-93f3-3ff7faf034e1 from VM ctest-vn1-vm2-41568241
2025-10-02 01:54:49,643 - INFO - Deleting VM ctest-vn1-vm2-41568241
2025-10-02 01:54:49,701 - INFO - Detaching port b1f470e3-b44c-4169-a4e5-7a8b9ef8f68d from VM ctest-vn1-vm1-04610599
2025-10-02 01:54:49,729 - INFO - Deleting VM ctest-vn1-vm1-04610599
2025-10-02 01:54:49,971 - DEBUG - Response for delete_port : ()
2025-10-02 01:54:50,137 - DEBUG - Response for delete_port : ()
2025-10-02 01:54:50,138 - INFO - Deleting VN ctest-vn1-61755182
2025-10-02 01:54:50,299 - DEBUG - Response for deleting network ()
2025-10-02 01:54:50,568 - DEBUG - No XMPP flaps were noticed during the test
2025-10-02 01:54:50,568 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-10-02 01:54:50,569 - INFO - --------------------------------------------------------------------------------
2025-10-02 01:54:51,216 - INFO - Deleted project: ctest-TestPorts-53322994, ID : 19d19d6d-0bb5-497e-a45e-985a4b57fb8a