2026-05-27 16:22:03,815 - INFO - Domain Default found not creating
2026-05-27 16:22:03,993 - INFO - Project ctest-TestPorts-68588392 not found, creating it
2026-05-27 16:22:04,463 - INFO - Created Project:ctest-TestPorts-68588392, ID : b1abd61f-08ea-423b-8bd2-0287713ad6ad
2026-05-27 16:22:05,987 - INFO - ================================================================================
2026-05-27 16:22:05,988 - INFO - STARTING TEST : test_ports_bindings
2026-05-27 16:22:05,988 - 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
2026-05-27 16:22:06,242 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.192': '0'}} with
2026-05-27 16:22:06,242 - INFO - Initial checks done. Running the testcase now
2026-05-27 16:22:06,242 - INFO -
2026-05-27 16:22:06,798 - DEBUG - Response for create_network : {'network': {'id': '7999e8b8-267d-4f36-89fa-a3e7dd45abd5', 'name': 'ctest-vn-68489166', 'tenant_id': 'b1abd61f08ea423b8bd20287713ad6ad', 'project_id': 'b1abd61f08ea423b8bd20287713ad6ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-68588392', 'ctest-vn-68489166'], 'port_security_enabled': True, 'description': ''}}
2026-05-27 16:22:06,980 - DEBUG - Response for create_subnet : {'subnet': {'id': 'deeb5254-6ad5-4d2d-8e07-df1ac0a6d01f', 'name': '', 'tenant_id': 'b1abd61f08ea423b8bd20287713ad6ad', 'network_id': '7999e8b8-267d-4f36-89fa-a3e7dd45abd5', 'ip_version': 4, 'cidr': '1.131.6.64/26', 'allocation_pools': [{'start': '1.131.6.66', 'end': '1.131.6.126'}], 'gateway_ip': '1.131.6.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.131.6.66', 'tags': [], 'project_id': 'b1abd61f08ea423b8bd20287713ad6ad'}}
2026-05-27 16:22:06,997 - INFO - Created VN ctest-vn-68489166
2026-05-27 16:22:07,049 - DEBUG - VN ctest-vn-68489166 UUID is 7999e8b8-267d-4f36-89fa-a3e7dd45abd5
2026-05-27 16:22:07,159 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-68588392', 'ctest-vmi-65760227']}
2026-05-27 16:22:07,441 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-65760227', 'id': '636970a0-8dd9-4322-b7d2-d91c7c8b6f3f', 'tenant_id': 'b1abd61f08ea423b8bd20287713ad6ad', 'network_id': '7999e8b8-267d-4f36-89fa-a3e7dd45abd5', 'mac_address': '02:63:69:70:a0:8d', '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': '1.131.6.67', 'subnet_id': 'deeb5254-6ad5-4d2d-8e07-df1ac0a6d01f'}], 'security_groups': ['b1c1e221-88eb-4153-ae00-04f5e6f318c8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b1abd61f08ea423b8bd20287713ad6ad'}}
2026-05-27 16:22:07,441 - DEBUG - Created port 636970a0-8dd9-4322-b7d2-d91c7c8b6f3f
2026-05-27 16:22:07,545 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/636970a0-8dd9-4322-b7d2-d91c7c8b6f3f
2026-05-27 16:22:07,856 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/636970a0-8dd9-4322-b7d2-d91c7c8b6f3f
2026-05-27 16:22:07,889 - INFO - VMI 636970a0-8dd9-4322-b7d2-d91c7c8b6f3f verification in API Server passed
2026-05-27 16:22:07,976 - DEBUG - Response for delete_port : ()
2026-05-27 16:22:07,977 - INFO - Deleted port 636970a0-8dd9-4322-b7d2-d91c7c8b6f3f
2026-05-27 16:22:07,977 - INFO - Deleting VN ctest-vn-68489166
2026-05-27 16:22:08,082 - DEBUG - Response for deleting network ()
2026-05-27 16:22:08,335 - DEBUG - No XMPP flaps were noticed during the test
2026-05-27 16:22:08,335 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-05-27 16:22:08,335 - INFO - --------------------------------------------------------------------------------
2026-05-27 16:22:08,337 - INFO - ================================================================================
2026-05-27 16:22:08,337 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-05-27 16:22:08,338 - 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
2026-05-27 16:22:08,622 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.192': '0'}} with
2026-05-27 16:22:08,622 - INFO - Initial checks done. Running the testcase now
2026-05-27 16:22:08,622 - INFO -
2026-05-27 16:22:08,813 - DEBUG - Response for create_network : {'network': {'id': '911cb2d4-a450-4b99-a891-630826ffa80e', 'name': 'ctest-vn1-80157117', 'tenant_id': 'b1abd61f08ea423b8bd20287713ad6ad', 'project_id': 'b1abd61f08ea423b8bd20287713ad6ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-68588392', 'ctest-vn1-80157117'], 'port_security_enabled': True, 'description': ''}}
2026-05-27 16:22:09,013 - DEBUG - Response for create_subnet : {'subnet': {'id': '948c8359-cc2a-4d4c-bea4-b1c705fed8a2', 'name': '', 'tenant_id': 'b1abd61f08ea423b8bd20287713ad6ad', 'network_id': '911cb2d4-a450-4b99-a891-630826ffa80e', 'ip_version': 4, 'cidr': '6.56.136.192/26', 'allocation_pools': [{'start': '6.56.136.194', 'end': '6.56.136.254'}], 'gateway_ip': '6.56.136.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.56.136.194', 'tags': [], 'project_id': 'b1abd61f08ea423b8bd20287713ad6ad'}}
2026-05-27 16:22:09,189 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1549295-55d8-475d-b0a3-e5ec705ed60f', 'name': '', 'tenant_id': 'b1abd61f08ea423b8bd20287713ad6ad', 'network_id': '911cb2d4-a450-4b99-a891-630826ffa80e', 'ip_version': 4, 'cidr': '92.77.87.0/26', 'allocation_pools': [{'start': '92.77.87.2', 'end': '92.77.87.62'}], 'gateway_ip': '92.77.87.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.77.87.2', 'tags': [], 'project_id': 'b1abd61f08ea423b8bd20287713ad6ad'}}
2026-05-27 16:22:09,209 - INFO - Created VN ctest-vn1-80157117
2026-05-27 16:22:09,261 - DEBUG - VN ctest-vn1-80157117 UUID is 911cb2d4-a450-4b99-a891-630826ffa80e
2026-05-27 16:22:09,589 - DEBUG - Response for create_port : {'port': {'name': 'e3f159cc-9de9-4075-96aa-b37107a57e09', 'id': 'e3f159cc-9de9-4075-96aa-b37107a57e09', 'tenant_id': 'b1abd61f08ea423b8bd20287713ad6ad', 'network_id': '911cb2d4-a450-4b99-a891-630826ffa80e', 'mac_address': '02:e3:f1:59:cc:9d', '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': '6.56.136.197', 'subnet_id': '948c8359-cc2a-4d4c-bea4-b1c705fed8a2'}], 'security_groups': ['b1c1e221-88eb-4153-ae00-04f5e6f318c8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b1abd61f08ea423b8bd20287713ad6ad'}}
2026-05-27 16:22:09,755 - DEBUG - Response for create_port : {'port': {'name': '5767fc05-b4a8-493d-aa3e-b549a1053951', 'id': '5767fc05-b4a8-493d-aa3e-b549a1053951', 'tenant_id': 'b1abd61f08ea423b8bd20287713ad6ad', 'network_id': '911cb2d4-a450-4b99-a891-630826ffa80e', 'mac_address': '02:57:67:fc:05: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': '92.77.87.5', 'subnet_id': 'f1549295-55d8-475d-b0a3-e5ec705ed60f'}], 'security_groups': ['b1c1e221-88eb-4153-ae00-04f5e6f318c8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b1abd61f08ea423b8bd20287713ad6ad'}}
2026-05-27 16:22:09,811 - DEBUG - Services list from nova: [, , ]
2026-05-27 16:22:10,152 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5834-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5834-1)
2026-05-27 16:22:10,542 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5834-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5834-1)
2026-05-27 16:22:10,542 - INFO - Waiting for VM ctest-vn1-vm1-28884126 to be up..
2026-05-27 16:22:10,582 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-05-27 16:22:15,655 - DEBUG - VM is in ACTIVE state now
2026-05-27 16:22:15,655 - INFO - VM name : ctest-vn1-vm1-28884126
2026-05-27 16:22:15,730 - DEBUG - VM ctest-vn1-vm1-28884126 ID is 6f2fdf9d-3f61-4290-bdba-ec12c67aba64
2026-05-27 16:22:15,753 - DEBUG - VM ctest-vn1-vm1-28884126 launched on Node cn-jenkins-deploy-platform-ansible-os-5834-1
2026-05-27 16:22:15,834 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/6f2fdf9d-3f61-4290-bdba-ec12c67aba64
2026-05-27 16:22:15,842 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/e3f159cc-9de9-4075-96aa-b37107a57e09
2026-05-27 16:22:19,104 - 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')
2026-05-27 16:22:19,104 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28884126 failed!
2026-05-27 16:22:19,161 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-68588392:ctest-vn1-80157117 is 6.56.136.193 and allocation pool is NOT set
2026-05-27 16:22:19,161 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-68588392:ctest-vn1-80157117 is 92.77.87.1 and allocation pool is NOT set
2026-05-27 16:22:23,232 - 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=2 ttl=63 time=8.02 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1013ms\r\nrtt min/avg/max/mdev = 8.018/8.018/8.018/0.000 ms')
2026-05-27 16:22:23,233 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28884126 passed
2026-05-27 16:22:23,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 16:22:23,381 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-28884126, IP 6.56.136.197, Port 22
2026-05-27 16:22:23,437 - 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': ''}
2026-05-27 16:22:23,516 - DEBUG - VM ctest-vn1-vm1-28884126 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-27 16:22:28,517 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 16:22:28,517 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-28884126, IP 6.56.136.197, Port 22
2026-05-27 16:22:28,672 - DEBUG - VM ctest-vn1-vm1-28884126 is ready for SSH connections
2026-05-27 16:22:28,673 - INFO - Waiting for VM ctest-vn1-vm2-31029204 to be up..
2026-05-27 16:22:28,749 - DEBUG - VM is in ACTIVE state now
2026-05-27 16:22:28,749 - INFO - VM name : ctest-vn1-vm2-31029204
2026-05-27 16:22:28,823 - DEBUG - VM ctest-vn1-vm2-31029204 ID is fea2779e-5ee4-4b7b-84f8-fd880256019e
2026-05-27 16:22:28,824 - DEBUG - VM ctest-vn1-vm2-31029204 launched on Node cn-jenkins-deploy-platform-ansible-os-5834-1
2026-05-27 16:22:28,906 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/fea2779e-5ee4-4b7b-84f8-fd880256019e
2026-05-27 16:22:28,915 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/5767fc05-b4a8-493d-aa3e-b549a1053951
2026-05-27 16:22:30,154 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.469 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.469/1.621/2.773/1.152 ms')
2026-05-27 16:22:30,154 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-31029204 passed
2026-05-27 16:22:30,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 16:22:30,305 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-31029204, IP 92.77.87.5, Port 22
2026-05-27 16:22:30,475 - DEBUG - VM ctest-vn1-vm2-31029204 is ready for SSH connections
2026-05-27 16:22:30,475 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 16:22:30,475 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 16:22:30,475 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 16:22:30,475 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.56.136.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2026-05-27 16:22:30,475 - DEBUG - ping -s 56 -c 3 -W 1 6.56.136.197
2026-05-27 16:22:33,153 - DEBUG - PING 6.56.136.197 (6.56.136.197): 56 data bytes
64 bytes from 6.56.136.197: seq=0 ttl=63 time=4.666 ms
64 bytes from 6.56.136.197: seq=1 ttl=63 time=0.951 ms
64 bytes from 6.56.136.197: seq=2 ttl=63 time=0.843 ms
--- 6.56.136.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.843/2.153/4.666 ms
2026-05-27 16:22:33,153 - INFO - Ping to IP 6.56.136.197 from VM ctest-vn1-vm2-31029204 passed
2026-05-27 16:22:33,153 - INFO - Detaching port 5767fc05-b4a8-493d-aa3e-b549a1053951 from VM ctest-vn1-vm2-31029204
2026-05-27 16:22:33,217 - INFO - Deleting VM ctest-vn1-vm2-31029204
2026-05-27 16:22:33,354 - INFO - Detaching port e3f159cc-9de9-4075-96aa-b37107a57e09 from VM ctest-vn1-vm1-28884126
2026-05-27 16:22:33,416 - INFO - Deleting VM ctest-vn1-vm1-28884126
2026-05-27 16:22:33,702 - DEBUG - Response for delete_port : ()
2026-05-27 16:22:33,902 - DEBUG - Response for delete_port : ()
2026-05-27 16:22:33,902 - INFO - Deleting VN ctest-vn1-80157117
2026-05-27 16:22:34,055 - DEBUG - Response for deleting network ()
2026-05-27 16:22:34,325 - DEBUG - No XMPP flaps were noticed during the test
2026-05-27 16:22:34,325 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2026-05-27 16:22:34,326 - INFO - --------------------------------------------------------------------------------
2026-05-27 16:22:35,067 - INFO - Deleted project: ctest-TestPorts-68588392, ID : b1abd61f-08ea-423b-8bd2-0287713ad6ad