2025-12-04 02:18:06,247 - INFO - Domain Default found not creating
2025-12-04 02:18:06,416 - INFO - Project ctest-TestPorts-34172825 not found, creating it
2025-12-04 02:18:06,974 - INFO - Created Project:ctest-TestPorts-34172825, ID : f4bbb64d-7a99-4d4b-98f6-e7e83e8bec31
2025-12-04 02:18:08,433 - INFO - ================================================================================
2025-12-04 02:18:08,433 - INFO - STARTING TEST : test_ports_bindings
2025-12-04 02:18:08,433 - 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-12-04 02:18:08,691 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.18': '0'}} with
2025-12-04 02:18:08,691 - INFO - Initial checks done. Running the testcase now
2025-12-04 02:18:08,692 - INFO -
2025-12-04 02:18:09,249 - DEBUG - Response for create_network : {'network': {'id': 'd15015a8-bc2c-4bec-8746-87ccefc95aaf', 'name': 'ctest-vn-88294595', 'tenant_id': 'f4bbb64d7a994d4b98f6e7e83e8bec31', 'project_id': 'f4bbb64d7a994d4b98f6e7e83e8bec31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-34172825', 'ctest-vn-88294595'], 'port_security_enabled': True, 'description': ''}}
2025-12-04 02:18:09,481 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b692289-9577-44f8-ae80-cfbca4b058f1', 'name': '', 'tenant_id': 'f4bbb64d7a994d4b98f6e7e83e8bec31', 'network_id': 'd15015a8-bc2c-4bec-8746-87ccefc95aaf', 'ip_version': 4, 'cidr': '136.200.151.64/26', 'allocation_pools': [{'start': '136.200.151.66', 'end': '136.200.151.126'}], 'gateway_ip': '136.200.151.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.200.151.66', 'tags': [], 'project_id': 'f4bbb64d7a994d4b98f6e7e83e8bec31'}}
2025-12-04 02:18:09,501 - INFO - Created VN ctest-vn-88294595
2025-12-04 02:18:09,552 - DEBUG - VN ctest-vn-88294595 UUID is d15015a8-bc2c-4bec-8746-87ccefc95aaf
2025-12-04 02:18:09,655 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-34172825', 'ctest-vmi-39837192']}
2025-12-04 02:18:09,927 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-39837192', 'id': 'aa69924b-0974-4c55-a5f8-a838fafd4aca', 'tenant_id': 'f4bbb64d7a994d4b98f6e7e83e8bec31', 'network_id': 'd15015a8-bc2c-4bec-8746-87ccefc95aaf', 'mac_address': '02:aa:69:92:4b:09', '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': '136.200.151.67', 'subnet_id': '5b692289-9577-44f8-ae80-cfbca4b058f1'}], 'security_groups': ['07ed825b-23b4-45a3-a321-9f8438fb4cf4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f4bbb64d7a994d4b98f6e7e83e8bec31'}}
2025-12-04 02:18:09,927 - DEBUG - Created port aa69924b-0974-4c55-a5f8-a838fafd4aca
2025-12-04 02:18:10,036 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/aa69924b-0974-4c55-a5f8-a838fafd4aca
2025-12-04 02:18:10,346 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/aa69924b-0974-4c55-a5f8-a838fafd4aca
2025-12-04 02:18:10,380 - INFO - VMI aa69924b-0974-4c55-a5f8-a838fafd4aca verification in API Server passed
2025-12-04 02:18:10,478 - DEBUG - Response for delete_port : ()
2025-12-04 02:18:10,478 - INFO - Deleted port aa69924b-0974-4c55-a5f8-a838fafd4aca
2025-12-04 02:18:10,478 - INFO - Deleting VN ctest-vn-88294595
2025-12-04 02:18:10,571 - DEBUG - Response for deleting network ()
2025-12-04 02:18:10,830 - DEBUG - No XMPP flaps were noticed during the test
2025-12-04 02:18:10,830 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-04 02:18:10,831 - INFO - --------------------------------------------------------------------------------
2025-12-04 02:18:10,833 - INFO - ================================================================================
2025-12-04 02:18:10,833 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-04 02:18:10,833 - 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-12-04 02:18:11,117 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.18': '0'}} with
2025-12-04 02:18:11,117 - INFO - Initial checks done. Running the testcase now
2025-12-04 02:18:11,117 - INFO -
2025-12-04 02:18:11,282 - DEBUG - Response for create_network : {'network': {'id': '2fb7d535-a18b-4868-b4fa-d9f7c47fec32', 'name': 'ctest-vn1-65670440', 'tenant_id': 'f4bbb64d7a994d4b98f6e7e83e8bec31', 'project_id': 'f4bbb64d7a994d4b98f6e7e83e8bec31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-34172825', 'ctest-vn1-65670440'], 'port_security_enabled': True, 'description': ''}}
2025-12-04 02:18:11,474 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b337a977-7c85-4092-9e11-3f2d323e78a7', 'name': '', 'tenant_id': 'f4bbb64d7a994d4b98f6e7e83e8bec31', 'network_id': '2fb7d535-a18b-4868-b4fa-d9f7c47fec32', 'ip_version': 4, 'cidr': '150.18.64.192/26', 'allocation_pools': [{'start': '150.18.64.194', 'end': '150.18.64.254'}], 'gateway_ip': '150.18.64.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.18.64.194', 'tags': [], 'project_id': 'f4bbb64d7a994d4b98f6e7e83e8bec31'}}
2025-12-04 02:18:11,619 - DEBUG - Response for create_subnet : {'subnet': {'id': '5fd54db2-61ed-4f83-95da-888887a35e52', 'name': '', 'tenant_id': 'f4bbb64d7a994d4b98f6e7e83e8bec31', 'network_id': '2fb7d535-a18b-4868-b4fa-d9f7c47fec32', 'ip_version': 4, 'cidr': '201.228.141.128/26', 'allocation_pools': [{'start': '201.228.141.130', 'end': '201.228.141.190'}], 'gateway_ip': '201.228.141.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.228.141.130', 'tags': [], 'project_id': 'f4bbb64d7a994d4b98f6e7e83e8bec31'}}
2025-12-04 02:18:11,636 - INFO - Created VN ctest-vn1-65670440
2025-12-04 02:18:11,689 - DEBUG - VN ctest-vn1-65670440 UUID is 2fb7d535-a18b-4868-b4fa-d9f7c47fec32
2025-12-04 02:18:11,980 - DEBUG - Response for create_port : {'port': {'name': 'be5e9d95-8e72-4191-9667-2583caf252f8', 'id': 'be5e9d95-8e72-4191-9667-2583caf252f8', 'tenant_id': 'f4bbb64d7a994d4b98f6e7e83e8bec31', 'network_id': '2fb7d535-a18b-4868-b4fa-d9f7c47fec32', 'mac_address': '02:be:5e:9d:95:8e', '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': '150.18.64.197', 'subnet_id': 'b337a977-7c85-4092-9e11-3f2d323e78a7'}], 'security_groups': ['07ed825b-23b4-45a3-a321-9f8438fb4cf4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f4bbb64d7a994d4b98f6e7e83e8bec31'}}
2025-12-04 02:18:12,153 - DEBUG - Response for create_port : {'port': {'name': 'ace07bdd-e5d6-4031-a4e9-b378e0d266d5', 'id': 'ace07bdd-e5d6-4031-a4e9-b378e0d266d5', 'tenant_id': 'f4bbb64d7a994d4b98f6e7e83e8bec31', 'network_id': '2fb7d535-a18b-4868-b4fa-d9f7c47fec32', 'mac_address': '02:ac:e0:7b:dd:e5', '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.228.141.133', 'subnet_id': '5fd54db2-61ed-4f83-95da-888887a35e52'}], 'security_groups': ['07ed825b-23b4-45a3-a321-9f8438fb4cf4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f4bbb64d7a994d4b98f6e7e83e8bec31'}}
2025-12-04 02:18:12,203 - DEBUG - Services list from nova: [, , ]
2025-12-04 02:18:12,505 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4839-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4839-1)
2025-12-04 02:18:12,888 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4839-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4839-1)
2025-12-04 02:18:12,888 - INFO - Waiting for VM ctest-vn1-vm1-41742715 to be up..
2025-12-04 02:18:12,928 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-04 02:18:18,010 - DEBUG - VM is in ACTIVE state now
2025-12-04 02:18:18,010 - INFO - VM name : ctest-vn1-vm1-41742715
2025-12-04 02:18:18,079 - DEBUG - VM ctest-vn1-vm1-41742715 ID is ca134706-e9af-4977-8a6a-4f63fcf621dc
2025-12-04 02:18:18,102 - DEBUG - VM ctest-vn1-vm1-41742715 launched on Node cn-jenkins-deploy-platform-ansible-os-4839-1
2025-12-04 02:18:18,187 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/ca134706-e9af-4977-8a6a-4f63fcf621dc
2025-12-04 02:18:18,195 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/be5e9d95-8e72-4191-9667-2583caf252f8
2025-12-04 02:18:21,458 - 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 1025ms')
2025-12-04 02:18:21,458 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41742715 failed!
2025-12-04 02:18:21,513 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-34172825:ctest-vn1-65670440 is 150.18.64.193 and allocation pool is NOT set
2025-12-04 02:18:21,513 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-34172825:ctest-vn1-65670440 is 201.228.141.129 and allocation pool is NOT set
2025-12-04 02:18:23,577 - 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.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.26 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 = 2.256/3.758/5.261/1.502 ms')
2025-12-04 02:18:23,577 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41742715 passed
2025-12-04 02:18:23,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 02:18:23,729 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41742715, IP 150.18.64.197, Port 22
2025-12-04 02:18:23,794 - 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-12-04 02:18:23,876 - DEBUG - VM ctest-vn1-vm1-41742715 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-04 02:18:28,877 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 02:18:28,877 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41742715, IP 150.18.64.197, Port 22
2025-12-04 02:18:29,032 - DEBUG - VM ctest-vn1-vm1-41742715 is ready for SSH connections
2025-12-04 02:18:29,032 - INFO - Waiting for VM ctest-vn1-vm2-91006000 to be up..
2025-12-04 02:18:29,100 - DEBUG - VM is in ACTIVE state now
2025-12-04 02:18:29,100 - INFO - VM name : ctest-vn1-vm2-91006000
2025-12-04 02:18:29,166 - DEBUG - VM ctest-vn1-vm2-91006000 ID is 056868e9-4b34-4da8-b0c3-b7cc8d4fda26
2025-12-04 02:18:29,166 - DEBUG - VM ctest-vn1-vm2-91006000 launched on Node cn-jenkins-deploy-platform-ansible-os-4839-1
2025-12-04 02:18:29,230 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/056868e9-4b34-4da8-b0c3-b7cc8d4fda26
2025-12-04 02:18:29,237 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/ace07bdd-e5d6-4031-a4e9-b378e0d266d5
2025-12-04 02:18:30,469 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.376 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.376/1.629/2.882/1.253 ms')
2025-12-04 02:18:30,469 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-91006000 passed
2025-12-04 02:18:30,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 02:18:30,621 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-91006000, IP 201.228.141.133, Port 22
2025-12-04 02:18:30,776 - DEBUG - VM ctest-vn1-vm2-91006000 is ready for SSH connections
2025-12-04 02:18:30,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 02:18:30,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 02:18:30,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 02:18:30,776 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.18.64.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-12-04 02:18:30,776 - DEBUG - ping -s 56 -c 3 -W 1 150.18.64.197
2025-12-04 02:18:33,443 - DEBUG - PING 150.18.64.197 (150.18.64.197): 56 data bytes
64 bytes from 150.18.64.197: seq=0 ttl=63 time=5.007 ms
64 bytes from 150.18.64.197: seq=1 ttl=63 time=1.107 ms
64 bytes from 150.18.64.197: seq=2 ttl=63 time=0.936 ms
--- 150.18.64.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.936/2.350/5.007 ms
2025-12-04 02:18:33,443 - INFO - Ping to IP 150.18.64.197 from VM ctest-vn1-vm2-91006000 passed
2025-12-04 02:18:33,443 - INFO - Detaching port ace07bdd-e5d6-4031-a4e9-b378e0d266d5 from VM ctest-vn1-vm2-91006000
2025-12-04 02:18:33,496 - INFO - Deleting VM ctest-vn1-vm2-91006000
2025-12-04 02:18:33,568 - INFO - Detaching port be5e9d95-8e72-4191-9667-2583caf252f8 from VM ctest-vn1-vm1-41742715
2025-12-04 02:18:33,604 - INFO - Deleting VM ctest-vn1-vm1-41742715
2025-12-04 02:18:33,819 - DEBUG - Response for delete_port : ()
2025-12-04 02:18:34,001 - DEBUG - Response for delete_port : ()
2025-12-04 02:18:34,001 - INFO - Deleting VN ctest-vn1-65670440
2025-12-04 02:18:34,139 - DEBUG - Response for deleting network ()
2025-12-04 02:18:34,409 - DEBUG - No XMPP flaps were noticed during the test
2025-12-04 02:18:34,410 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-12-04 02:18:34,410 - INFO - --------------------------------------------------------------------------------
2025-12-04 02:18:35,092 - INFO - Deleted project: ctest-TestPorts-34172825, ID : f4bbb64d-7a99-4d4b-98f6-e7e83e8bec31