2025-10-09 20:31:45,707 - INFO - Domain Default found not creating
2025-10-09 20:31:45,847 - INFO - Project ctest-TestPorts-54378882 not found, creating it
2025-10-09 20:31:46,282 - INFO - Created Project:ctest-TestPorts-54378882, ID : bf6534f4-6033-4b3e-86a2-cebdceff482e
2025-10-09 20:31:47,658 - INFO - ================================================================================
2025-10-09 20:31:47,658 - INFO - STARTING TEST : test_ports_bindings
2025-10-09 20:31:47,658 - 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-09 20:31:47,916 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.14': '0'}} with
2025-10-09 20:31:47,916 - INFO - Initial checks done. Running the testcase now
2025-10-09 20:31:47,916 - INFO -
2025-10-09 20:31:48,449 - DEBUG - Response for create_network : {'network': {'id': 'a1956820-1fc9-4e70-aada-14458f9d0f12', 'name': 'ctest-vn-69314972', 'tenant_id': 'bf6534f460334b3e86a2cebdceff482e', 'project_id': 'bf6534f460334b3e86a2cebdceff482e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-54378882', 'ctest-vn-69314972'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 20:31:48,661 - DEBUG - Response for create_subnet : {'subnet': {'id': '1c37bdec-afb8-4d40-b7b9-616c8c36f3f8', 'name': '', 'tenant_id': 'bf6534f460334b3e86a2cebdceff482e', 'network_id': 'a1956820-1fc9-4e70-aada-14458f9d0f12', 'ip_version': 4, 'cidr': '123.239.157.128/26', 'allocation_pools': [{'start': '123.239.157.130', 'end': '123.239.157.190'}], 'gateway_ip': '123.239.157.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.239.157.130', 'tags': [], 'project_id': 'bf6534f460334b3e86a2cebdceff482e'}}
2025-10-09 20:31:48,679 - INFO - Created VN ctest-vn-69314972
2025-10-09 20:31:48,733 - DEBUG - VN ctest-vn-69314972 UUID is a1956820-1fc9-4e70-aada-14458f9d0f12
2025-10-09 20:31:48,913 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-54378882', 'ctest-vmi-25537104']}
2025-10-09 20:31:49,186 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-25537104', 'id': 'b5208aa7-b5a5-4037-b3d1-b0bd821f2b95', 'tenant_id': 'bf6534f460334b3e86a2cebdceff482e', 'network_id': 'a1956820-1fc9-4e70-aada-14458f9d0f12', 'mac_address': '02:b5:20:8a:a7:b5', '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': '123.239.157.131', 'subnet_id': '1c37bdec-afb8-4d40-b7b9-616c8c36f3f8'}], 'security_groups': ['c52e544c-ce0d-4e4e-9fb4-81810992fc6b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bf6534f460334b3e86a2cebdceff482e'}}
2025-10-09 20:31:49,186 - DEBUG - Created port b5208aa7-b5a5-4037-b3d1-b0bd821f2b95
2025-10-09 20:31:49,289 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/b5208aa7-b5a5-4037-b3d1-b0bd821f2b95
2025-10-09 20:31:49,579 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/b5208aa7-b5a5-4037-b3d1-b0bd821f2b95
2025-10-09 20:31:49,606 - INFO - VMI b5208aa7-b5a5-4037-b3d1-b0bd821f2b95 verification in API Server passed
2025-10-09 20:31:49,694 - DEBUG - Response for delete_port : ()
2025-10-09 20:31:49,695 - INFO - Deleted port b5208aa7-b5a5-4037-b3d1-b0bd821f2b95
2025-10-09 20:31:49,695 - INFO - Deleting VN ctest-vn-69314972
2025-10-09 20:31:49,789 - DEBUG - Response for deleting network ()
2025-10-09 20:31:50,041 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 20:31:50,041 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-09 20:31:50,041 - INFO - --------------------------------------------------------------------------------
2025-10-09 20:31:50,053 - INFO - ================================================================================
2025-10-09 20:31:50,055 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-09 20:31:50,055 - 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-09 20:31:50,334 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.14': '0'}} with
2025-10-09 20:31:50,334 - INFO - Initial checks done. Running the testcase now
2025-10-09 20:31:50,334 - INFO -
2025-10-09 20:31:50,501 - DEBUG - Response for create_network : {'network': {'id': '9d74ee4b-bc3a-4196-b688-00551cfff9d5', 'name': 'ctest-vn1-43380266', 'tenant_id': 'bf6534f460334b3e86a2cebdceff482e', 'project_id': 'bf6534f460334b3e86a2cebdceff482e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-54378882', 'ctest-vn1-43380266'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 20:31:50,709 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f5468578-ba3e-41cb-a6af-353513ee7ed0', 'name': '', 'tenant_id': 'bf6534f460334b3e86a2cebdceff482e', 'network_id': '9d74ee4b-bc3a-4196-b688-00551cfff9d5', 'ip_version': 4, 'cidr': '195.228.166.0/26', 'allocation_pools': [{'start': '195.228.166.2', 'end': '195.228.166.62'}], 'gateway_ip': '195.228.166.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.228.166.2', 'tags': [], 'project_id': 'bf6534f460334b3e86a2cebdceff482e'}}
2025-10-09 20:31:50,862 - DEBUG - Response for create_subnet : {'subnet': {'id': '438b15b5-3086-4ac2-877a-710f0b757d01', 'name': '', 'tenant_id': 'bf6534f460334b3e86a2cebdceff482e', 'network_id': '9d74ee4b-bc3a-4196-b688-00551cfff9d5', 'ip_version': 4, 'cidr': '74.42.249.192/26', 'allocation_pools': [{'start': '74.42.249.194', 'end': '74.42.249.254'}], 'gateway_ip': '74.42.249.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.42.249.194', 'tags': [], 'project_id': 'bf6534f460334b3e86a2cebdceff482e'}}
2025-10-09 20:31:50,882 - INFO - Created VN ctest-vn1-43380266
2025-10-09 20:31:50,933 - DEBUG - VN ctest-vn1-43380266 UUID is 9d74ee4b-bc3a-4196-b688-00551cfff9d5
2025-10-09 20:31:51,227 - DEBUG - Response for create_port : {'port': {'name': '7e0ab8db-c699-4bb8-9203-1da178ae0b6a', 'id': '7e0ab8db-c699-4bb8-9203-1da178ae0b6a', 'tenant_id': 'bf6534f460334b3e86a2cebdceff482e', 'network_id': '9d74ee4b-bc3a-4196-b688-00551cfff9d5', 'mac_address': '02:7e:0a:b8:db:c6', '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': '195.228.166.5', 'subnet_id': 'f5468578-ba3e-41cb-a6af-353513ee7ed0'}], 'security_groups': ['c52e544c-ce0d-4e4e-9fb4-81810992fc6b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bf6534f460334b3e86a2cebdceff482e'}}
2025-10-09 20:31:51,399 - DEBUG - Response for create_port : {'port': {'name': '2847656e-7781-42f1-8296-78d9f2e9630a', 'id': '2847656e-7781-42f1-8296-78d9f2e9630a', 'tenant_id': 'bf6534f460334b3e86a2cebdceff482e', 'network_id': '9d74ee4b-bc3a-4196-b688-00551cfff9d5', 'mac_address': '02:28:47:65:6e:77', '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': '74.42.249.197', 'subnet_id': '438b15b5-3086-4ac2-877a-710f0b757d01'}], 'security_groups': ['c52e544c-ce0d-4e4e-9fb4-81810992fc6b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bf6534f460334b3e86a2cebdceff482e'}}
2025-10-09 20:31:51,457 - DEBUG - Services list from nova: [, , ]
2025-10-09 20:31:51,776 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4278-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4278-1)
2025-10-09 20:31:52,127 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4278-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4278-1)
2025-10-09 20:31:52,127 - INFO - Waiting for VM ctest-vn1-vm1-32059571 to be up..
2025-10-09 20:31:52,164 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-09 20:31:57,244 - DEBUG - VM is in ACTIVE state now
2025-10-09 20:31:57,244 - INFO - VM name : ctest-vn1-vm1-32059571
2025-10-09 20:31:57,320 - DEBUG - VM ctest-vn1-vm1-32059571 ID is ee3f768f-a8da-49b5-b99f-4a5707075344
2025-10-09 20:31:57,340 - DEBUG - VM ctest-vn1-vm1-32059571 launched on Node cn-jenkins-deploy-platform-ansible-os-4278-1
2025-10-09 20:31:57,411 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/ee3f768f-a8da-49b5-b99f-4a5707075344
2025-10-09 20:31:57,418 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/7e0ab8db-c699-4bb8-9203-1da178ae0b6a
2025-10-09 20:32:00,678 - 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 1028ms')
2025-10-09 20:32:00,678 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-32059571 failed!
2025-10-09 20:32:00,737 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-54378882:ctest-vn1-43380266 is 195.228.166.1 and allocation pool is NOT set
2025-10-09 20:32:00,737 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-54378882:ctest-vn1-43380266 is 74.42.249.193 and allocation pool is NOT set
2025-10-09 20:32:02,797 - 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=7.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.60 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.602/4.473/7.345/2.871 ms')
2025-10-09 20:32:02,798 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-32059571 passed
2025-10-09 20:32:02,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 20:32:02,957 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-32059571, IP 195.228.166.5, Port 22
2025-10-09 20:32:03,016 - 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-09 20:32:03,089 - DEBUG - VM ctest-vn1-vm1-32059571 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-09 20:32:08,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 20:32:08,090 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-32059571, IP 195.228.166.5, Port 22
2025-10-09 20:32:08,244 - DEBUG - VM ctest-vn1-vm1-32059571 is ready for SSH connections
2025-10-09 20:32:08,244 - INFO - Waiting for VM ctest-vn1-vm2-79762375 to be up..
2025-10-09 20:32:08,315 - DEBUG - VM is in ACTIVE state now
2025-10-09 20:32:08,316 - INFO - VM name : ctest-vn1-vm2-79762375
2025-10-09 20:32:08,390 - DEBUG - VM ctest-vn1-vm2-79762375 ID is b34b328c-bcee-4742-a75b-c9d67fdd130b
2025-10-09 20:32:08,390 - DEBUG - VM ctest-vn1-vm2-79762375 launched on Node cn-jenkins-deploy-platform-ansible-os-4278-1
2025-10-09 20:32:08,457 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/b34b328c-bcee-4742-a75b-c9d67fdd130b
2025-10-09 20:32:08,464 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/2847656e-7781-42f1-8296-78d9f2e9630a
2025-10-09 20:32:09,692 - 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=2.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.385 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.385/1.649/2.913/1.264 ms')
2025-10-09 20:32:09,692 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-79762375 passed
2025-10-09 20:32:09,841 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 20:32:09,841 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-79762375, IP 74.42.249.197, Port 22
2025-10-09 20:32:10,000 - DEBUG - VM ctest-vn1-vm2-79762375 is ready for SSH connections
2025-10-09 20:32:10,000 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 20:32:10,000 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 20:32:10,000 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 20:32:10,000 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.228.166.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123
2025-10-09 20:32:10,000 - DEBUG - ping -s 56 -c 3 -W 1 195.228.166.5
2025-10-09 20:32:12,960 - DEBUG - PING 195.228.166.5 (195.228.166.5): 56 data bytes
64 bytes from 195.228.166.5: seq=0 ttl=63 time=3.978 ms
64 bytes from 195.228.166.5: seq=1 ttl=63 time=0.896 ms
64 bytes from 195.228.166.5: seq=2 ttl=63 time=1.096 ms
--- 195.228.166.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.896/1.990/3.978 ms
2025-10-09 20:32:12,961 - INFO - Ping to IP 195.228.166.5 from VM ctest-vn1-vm2-79762375 passed
2025-10-09 20:32:12,961 - INFO - Detaching port 2847656e-7781-42f1-8296-78d9f2e9630a from VM ctest-vn1-vm2-79762375
2025-10-09 20:32:13,012 - INFO - Deleting VM ctest-vn1-vm2-79762375
2025-10-09 20:32:13,084 - INFO - Detaching port 7e0ab8db-c699-4bb8-9203-1da178ae0b6a from VM ctest-vn1-vm1-32059571
2025-10-09 20:32:13,116 - INFO - Deleting VM ctest-vn1-vm1-32059571
2025-10-09 20:32:13,377 - DEBUG - Response for delete_port : ()
2025-10-09 20:32:13,571 - DEBUG - Response for delete_port : ()
2025-10-09 20:32:13,571 - INFO - Deleting VN ctest-vn1-43380266
2025-10-09 20:32:13,682 - DEBUG - Response for deleting network ()
2025-10-09 20:32:13,950 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 20:32:13,950 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-10-09 20:32:13,950 - INFO - --------------------------------------------------------------------------------
2025-10-09 20:32:14,614 - INFO - Deleted project: ctest-TestPorts-54378882, ID : bf6534f4-6033-4b3e-86a2-cebdceff482e