2026-02-12 04:23:10,730 - INFO - Domain Default found not creating
2026-02-12 04:23:10,918 - INFO - Project ctest-TestPorts-86849349 not found, creating it
2026-02-12 04:23:11,532 - INFO - Created Project:ctest-TestPorts-86849349, ID : 2bd8bf8b-9754-4a1f-af7e-6b4b9855d7c8
2026-02-12 04:23:13,229 - INFO - ================================================================================
2026-02-12 04:23:13,229 - INFO - STARTING TEST : test_ports_bindings
2026-02-12 04:23:13,229 - 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-02-12 04:23:13,497 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-12 04:23:13,497 - INFO - Initial checks done. Running the testcase now
2026-02-12 04:23:13,497 - INFO -
2026-02-12 04:23:14,116 - DEBUG - Response for create_network : {'network': {'id': 'd3229d27-2d74-48a6-8cd3-7727568b2c77', 'name': 'ctest-vn-46710845', 'tenant_id': '2bd8bf8b97544a1faf7e6b4b9855d7c8', 'project_id': '2bd8bf8b97544a1faf7e6b4b9855d7c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86849349', 'ctest-vn-46710845'], 'port_security_enabled': True, 'description': ''}}
2026-02-12 04:23:14,275 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9745ae4-1881-4eb5-89c5-51200ee0ad4e', 'name': '', 'tenant_id': '2bd8bf8b97544a1faf7e6b4b9855d7c8', 'network_id': 'd3229d27-2d74-48a6-8cd3-7727568b2c77', 'ip_version': 4, 'cidr': '40.72.199.128/26', 'allocation_pools': [{'start': '40.72.199.130', 'end': '40.72.199.190'}], 'gateway_ip': '40.72.199.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.72.199.130', 'tags': [], 'project_id': '2bd8bf8b97544a1faf7e6b4b9855d7c8'}}
2026-02-12 04:23:14,294 - INFO - Created VN ctest-vn-46710845
2026-02-12 04:23:14,348 - DEBUG - VN ctest-vn-46710845 UUID is d3229d27-2d74-48a6-8cd3-7727568b2c77
2026-02-12 04:23:14,464 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-86849349', 'ctest-vmi-78654465']}
2026-02-12 04:23:14,716 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-78654465', 'id': 'f5627ad9-6e5c-46bb-b036-a84c55ffde45', 'tenant_id': '2bd8bf8b97544a1faf7e6b4b9855d7c8', 'network_id': 'd3229d27-2d74-48a6-8cd3-7727568b2c77', 'mac_address': '02:f5:62:7a:d9:6e', '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': '40.72.199.131', 'subnet_id': 'e9745ae4-1881-4eb5-89c5-51200ee0ad4e'}], 'security_groups': ['448fe9bd-1b40-41ac-9ace-8b7bdaa130cb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2bd8bf8b97544a1faf7e6b4b9855d7c8'}}
2026-02-12 04:23:14,716 - DEBUG - Created port f5627ad9-6e5c-46bb-b036-a84c55ffde45
2026-02-12 04:23:14,820 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f5627ad9-6e5c-46bb-b036-a84c55ffde45
2026-02-12 04:23:15,158 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f5627ad9-6e5c-46bb-b036-a84c55ffde45
2026-02-12 04:23:15,197 - INFO - VMI f5627ad9-6e5c-46bb-b036-a84c55ffde45 verification in API Server passed
2026-02-12 04:23:15,328 - DEBUG - Response for delete_port : ()
2026-02-12 04:23:15,328 - INFO - Deleted port f5627ad9-6e5c-46bb-b036-a84c55ffde45
2026-02-12 04:23:15,328 - INFO - Deleting VN ctest-vn-46710845
2026-02-12 04:23:15,444 - DEBUG - Response for deleting network ()
2026-02-12 04:23:15,716 - DEBUG - No XMPP flaps were noticed during the test
2026-02-12 04:23:15,716 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-02-12 04:23:15,716 - INFO - --------------------------------------------------------------------------------
2026-02-12 04:23:15,718 - INFO - ================================================================================
2026-02-12 04:23:15,719 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-02-12 04:23:15,719 - 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-02-12 04:23:16,001 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-12 04:23:16,001 - INFO - Initial checks done. Running the testcase now
2026-02-12 04:23:16,001 - INFO -
2026-02-12 04:23:16,193 - DEBUG - Response for create_network : {'network': {'id': '1a11385c-ba55-4db0-bace-8aca5bfbfcfc', 'name': 'ctest-vn1-33040724', 'tenant_id': '2bd8bf8b97544a1faf7e6b4b9855d7c8', 'project_id': '2bd8bf8b97544a1faf7e6b4b9855d7c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86849349', 'ctest-vn1-33040724'], 'port_security_enabled': True, 'description': ''}}
2026-02-12 04:23:16,423 - DEBUG - Response for create_subnet : {'subnet': {'id': '6fe03a1e-3c74-4ecd-b211-1b268e3be946', 'name': '', 'tenant_id': '2bd8bf8b97544a1faf7e6b4b9855d7c8', 'network_id': '1a11385c-ba55-4db0-bace-8aca5bfbfcfc', 'ip_version': 4, 'cidr': '2.18.151.64/26', 'allocation_pools': [{'start': '2.18.151.66', 'end': '2.18.151.126'}], 'gateway_ip': '2.18.151.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.18.151.66', 'tags': [], 'project_id': '2bd8bf8b97544a1faf7e6b4b9855d7c8'}}
2026-02-12 04:23:16,633 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5e2d52a-4fa1-4344-aab8-9b713891a360', 'name': '', 'tenant_id': '2bd8bf8b97544a1faf7e6b4b9855d7c8', 'network_id': '1a11385c-ba55-4db0-bace-8aca5bfbfcfc', 'ip_version': 4, 'cidr': '63.232.196.0/26', 'allocation_pools': [{'start': '63.232.196.2', 'end': '63.232.196.62'}], 'gateway_ip': '63.232.196.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.232.196.2', 'tags': [], 'project_id': '2bd8bf8b97544a1faf7e6b4b9855d7c8'}}
2026-02-12 04:23:16,654 - INFO - Created VN ctest-vn1-33040724
2026-02-12 04:23:16,708 - DEBUG - VN ctest-vn1-33040724 UUID is 1a11385c-ba55-4db0-bace-8aca5bfbfcfc
2026-02-12 04:23:17,031 - DEBUG - Response for create_port : {'port': {'name': 'db533a34-24a0-4821-94d2-6d0ec72714a8', 'id': 'db533a34-24a0-4821-94d2-6d0ec72714a8', 'tenant_id': '2bd8bf8b97544a1faf7e6b4b9855d7c8', 'network_id': '1a11385c-ba55-4db0-bace-8aca5bfbfcfc', 'mac_address': '02:db:53:3a:34:24', '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': '2.18.151.69', 'subnet_id': '6fe03a1e-3c74-4ecd-b211-1b268e3be946'}], 'security_groups': ['448fe9bd-1b40-41ac-9ace-8b7bdaa130cb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2bd8bf8b97544a1faf7e6b4b9855d7c8'}}
2026-02-12 04:23:17,217 - DEBUG - Response for create_port : {'port': {'name': 'b8645837-f1a1-46c1-b796-c86aa431f651', 'id': 'b8645837-f1a1-46c1-b796-c86aa431f651', 'tenant_id': '2bd8bf8b97544a1faf7e6b4b9855d7c8', 'network_id': '1a11385c-ba55-4db0-bace-8aca5bfbfcfc', 'mac_address': '02:b8:64:58:37:f1', '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': '63.232.196.5', 'subnet_id': 'd5e2d52a-4fa1-4344-aab8-9b713891a360'}], 'security_groups': ['448fe9bd-1b40-41ac-9ace-8b7bdaa130cb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2bd8bf8b97544a1faf7e6b4b9855d7c8'}}
2026-02-12 04:23:17,280 - DEBUG - Services list from nova: [, , ]
2026-02-12 04:23:17,659 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5310-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5310-1)
2026-02-12 04:23:18,080 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5310-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5310-1)
2026-02-12 04:23:18,081 - INFO - Waiting for VM ctest-vn1-vm1-03964543 to be up..
2026-02-12 04:23:18,128 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-12 04:23:23,224 - DEBUG - VM is in ACTIVE state now
2026-02-12 04:23:23,224 - INFO - VM name : ctest-vn1-vm1-03964543
2026-02-12 04:23:23,322 - DEBUG - VM ctest-vn1-vm1-03964543 ID is f52d7ded-4897-48a1-a1f5-63f9db50122b
2026-02-12 04:23:23,346 - DEBUG - VM ctest-vn1-vm1-03964543 launched on Node cn-jenkins-deploy-platform-ansible-os-5310-1
2026-02-12 04:23:23,433 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f52d7ded-4897-48a1-a1f5-63f9db50122b
2026-02-12 04:23:23,441 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/db533a34-24a0-4821-94d2-6d0ec72714a8
2026-02-12 04:23:26,698 - 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 1013ms')
2026-02-12 04:23:26,698 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03964543 failed!
2026-02-12 04:23:26,756 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86849349:ctest-vn1-33040724 is 2.18.151.65 and allocation pool is NOT set
2026-02-12 04:23:26,756 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86849349:ctest-vn1-33040724 is 63.232.196.1 and allocation pool is NOT set
2026-02-12 04:23:30,833 - 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 1008ms')
2026-02-12 04:23:30,833 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03964543 failed!
2026-02-12 04:23:30,889 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86849349:ctest-vn1-33040724 is 2.18.151.65 and allocation pool is NOT set
2026-02-12 04:23:30,889 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86849349:ctest-vn1-33040724 is 63.232.196.1 and allocation pool is NOT set
2026-02-12 04:23:32,960 - 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=4.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.74 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 = 1.741/3.207/4.674/1.466 ms')
2026-02-12 04:23:32,960 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03964543 passed
2026-02-12 04:23:33,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-12 04:23:33,108 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-03964543, IP 2.18.151.69, Port 22
2026-02-12 04:23:33,174 - 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-02-12 04:23:33,260 - DEBUG - VM ctest-vn1-vm1-03964543 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-12 04:23:38,260 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-12 04:23:38,261 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-03964543, IP 2.18.151.69, Port 22
2026-02-12 04:23:38,426 - DEBUG - VM ctest-vn1-vm1-03964543 is ready for SSH connections
2026-02-12 04:23:38,426 - INFO - Waiting for VM ctest-vn1-vm2-06468421 to be up..
2026-02-12 04:23:38,509 - DEBUG - VM is in ACTIVE state now
2026-02-12 04:23:38,509 - INFO - VM name : ctest-vn1-vm2-06468421
2026-02-12 04:23:38,591 - DEBUG - VM ctest-vn1-vm2-06468421 ID is d4b2b053-8794-44e1-8789-fd21a6c21381
2026-02-12 04:23:38,591 - DEBUG - VM ctest-vn1-vm2-06468421 launched on Node cn-jenkins-deploy-platform-ansible-os-5310-1
2026-02-12 04:23:38,675 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d4b2b053-8794-44e1-8789-fd21a6c21381
2026-02-12 04:23:38,683 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b8645837-f1a1-46c1-b796-c86aa431f651
2026-02-12 04:23:39,917 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.580 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.580/2.085/3.591/1.505 ms')
2026-02-12 04:23:39,917 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-06468421 passed
2026-02-12 04:23:40,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-12 04:23:40,076 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-06468421, IP 63.232.196.5, Port 22
2026-02-12 04:23:40,241 - DEBUG - VM ctest-vn1-vm2-06468421 is ready for SSH connections
2026-02-12 04:23:40,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-12 04:23:40,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-12 04:23:40,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-12 04:23:40,242 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.18.151.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-12 04:23:40,242 - DEBUG - ping -s 56 -c 3 -W 1 2.18.151.69
2026-02-12 04:23:42,983 - DEBUG - PING 2.18.151.69 (2.18.151.69): 56 data bytes
64 bytes from 2.18.151.69: seq=0 ttl=63 time=5.589 ms
64 bytes from 2.18.151.69: seq=1 ttl=63 time=0.865 ms
64 bytes from 2.18.151.69: seq=2 ttl=63 time=0.883 ms
--- 2.18.151.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.865/2.445/5.589 ms
2026-02-12 04:23:42,983 - INFO - Ping to IP 2.18.151.69 from VM ctest-vn1-vm2-06468421 passed
2026-02-12 04:23:42,983 - INFO - Detaching port b8645837-f1a1-46c1-b796-c86aa431f651 from VM ctest-vn1-vm2-06468421
2026-02-12 04:23:43,035 - INFO - Deleting VM ctest-vn1-vm2-06468421
2026-02-12 04:23:43,120 - INFO - Detaching port db533a34-24a0-4821-94d2-6d0ec72714a8 from VM ctest-vn1-vm1-03964543
2026-02-12 04:23:43,156 - INFO - Deleting VM ctest-vn1-vm1-03964543
2026-02-12 04:23:43,423 - DEBUG - Response for delete_port : ()
2026-02-12 04:23:43,612 - DEBUG - Response for delete_port : ()
2026-02-12 04:23:43,612 - INFO - Deleting VN ctest-vn1-33040724
2026-02-12 04:23:43,781 - DEBUG - Response for deleting network ()
2026-02-12 04:23:44,061 - DEBUG - No XMPP flaps were noticed during the test
2026-02-12 04:23:44,061 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:29]
2026-02-12 04:23:44,061 - INFO - --------------------------------------------------------------------------------
2026-02-12 04:23:44,837 - INFO - Deleted project: ctest-TestPorts-86849349, ID : 2bd8bf8b-9754-4a1f-af7e-6b4b9855d7c8