2026-02-02 20:45:25,049 - INFO - Domain Default found not creating
2026-02-02 20:45:25,202 - INFO - Project ctest-TestPorts-66215982 not found, creating it
2026-02-02 20:45:25,650 - INFO - Created Project:ctest-TestPorts-66215982, ID : 7ae32e86-069b-4e99-9a06-5906125845aa
2026-02-02 20:45:27,059 - INFO - ================================================================================
2026-02-02 20:45:27,059 - INFO - STARTING TEST : test_ports_bindings
2026-02-02 20:45:27,059 - 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-02 20:45:27,314 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2026-02-02 20:45:27,315 - INFO - Initial checks done. Running the testcase now
2026-02-02 20:45:27,315 - INFO -
2026-02-02 20:45:27,832 - DEBUG - Response for create_network : {'network': {'id': 'b476d375-49ba-48d5-9f53-8620dd7d4b79', 'name': 'ctest-vn-33451679', 'tenant_id': '7ae32e86069b4e999a065906125845aa', 'project_id': '7ae32e86069b4e999a065906125845aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66215982', 'ctest-vn-33451679'], 'port_security_enabled': True, 'description': ''}}
2026-02-02 20:45:28,131 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b73051d3-bacc-4361-9918-41fe06d54af6', 'name': '', 'tenant_id': '7ae32e86069b4e999a065906125845aa', 'network_id': 'b476d375-49ba-48d5-9f53-8620dd7d4b79', 'ip_version': 4, 'cidr': '105.105.71.128/26', 'allocation_pools': [{'start': '105.105.71.130', 'end': '105.105.71.190'}], 'gateway_ip': '105.105.71.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.105.71.130', 'tags': [], 'project_id': '7ae32e86069b4e999a065906125845aa'}}
2026-02-02 20:45:28,147 - INFO - Created VN ctest-vn-33451679
2026-02-02 20:45:28,202 - DEBUG - VN ctest-vn-33451679 UUID is b476d375-49ba-48d5-9f53-8620dd7d4b79
2026-02-02 20:45:28,303 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-66215982', 'ctest-vmi-53858983']}
2026-02-02 20:45:28,568 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-53858983', 'id': '16fac586-85c8-4e75-8545-7ba5d14b026d', 'tenant_id': '7ae32e86069b4e999a065906125845aa', 'network_id': 'b476d375-49ba-48d5-9f53-8620dd7d4b79', 'mac_address': '02:16:fa:c5:86:85', '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': '105.105.71.131', 'subnet_id': 'b73051d3-bacc-4361-9918-41fe06d54af6'}], 'security_groups': ['0375c153-10e5-4a5f-a29a-9e4df0b4758e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7ae32e86069b4e999a065906125845aa'}}
2026-02-02 20:45:28,568 - DEBUG - Created port 16fac586-85c8-4e75-8545-7ba5d14b026d
2026-02-02 20:45:28,670 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/16fac586-85c8-4e75-8545-7ba5d14b026d
2026-02-02 20:45:28,962 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/16fac586-85c8-4e75-8545-7ba5d14b026d
2026-02-02 20:45:28,993 - INFO - VMI 16fac586-85c8-4e75-8545-7ba5d14b026d verification in API Server passed
2026-02-02 20:45:29,096 - DEBUG - Response for delete_port : ()
2026-02-02 20:45:29,096 - INFO - Deleted port 16fac586-85c8-4e75-8545-7ba5d14b026d
2026-02-02 20:45:29,096 - INFO - Deleting VN ctest-vn-33451679
2026-02-02 20:45:29,183 - DEBUG - Response for deleting network ()
2026-02-02 20:45:29,438 - DEBUG - No XMPP flaps were noticed during the test
2026-02-02 20:45:29,438 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-02-02 20:45:29,438 - INFO - --------------------------------------------------------------------------------
2026-02-02 20:45:29,440 - INFO - ================================================================================
2026-02-02 20:45:29,441 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-02-02 20:45:29,441 - 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-02 20:45:29,738 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2026-02-02 20:45:29,739 - INFO - Initial checks done. Running the testcase now
2026-02-02 20:45:29,739 - INFO -
2026-02-02 20:45:29,903 - DEBUG - Response for create_network : {'network': {'id': 'eb50648b-39ad-4813-b83d-2bb2184ce77c', 'name': 'ctest-vn1-12094455', 'tenant_id': '7ae32e86069b4e999a065906125845aa', 'project_id': '7ae32e86069b4e999a065906125845aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66215982', 'ctest-vn1-12094455'], 'port_security_enabled': True, 'description': ''}}
2026-02-02 20:45:30,062 - DEBUG - Response for create_subnet : {'subnet': {'id': '01dab255-2f94-401d-925d-b175ce9d8a57', 'name': '', 'tenant_id': '7ae32e86069b4e999a065906125845aa', 'network_id': 'eb50648b-39ad-4813-b83d-2bb2184ce77c', 'ip_version': 4, 'cidr': '218.96.221.128/26', 'allocation_pools': [{'start': '218.96.221.130', 'end': '218.96.221.190'}], 'gateway_ip': '218.96.221.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.96.221.130', 'tags': [], 'project_id': '7ae32e86069b4e999a065906125845aa'}}
2026-02-02 20:45:30,203 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ee22205-8c09-430a-bcb9-1d4b8cd1bb4d', 'name': '', 'tenant_id': '7ae32e86069b4e999a065906125845aa', 'network_id': 'eb50648b-39ad-4813-b83d-2bb2184ce77c', 'ip_version': 4, 'cidr': '157.2.26.128/26', 'allocation_pools': [{'start': '157.2.26.130', 'end': '157.2.26.190'}], 'gateway_ip': '157.2.26.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.2.26.130', 'tags': [], 'project_id': '7ae32e86069b4e999a065906125845aa'}}
2026-02-02 20:45:30,220 - INFO - Created VN ctest-vn1-12094455
2026-02-02 20:45:30,270 - DEBUG - VN ctest-vn1-12094455 UUID is eb50648b-39ad-4813-b83d-2bb2184ce77c
2026-02-02 20:45:30,547 - DEBUG - Response for create_port : {'port': {'name': '81b215fd-2676-4205-a04c-1871e6070927', 'id': '81b215fd-2676-4205-a04c-1871e6070927', 'tenant_id': '7ae32e86069b4e999a065906125845aa', 'network_id': 'eb50648b-39ad-4813-b83d-2bb2184ce77c', 'mac_address': '02:81:b2:15:fd:26', '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': '218.96.221.133', 'subnet_id': '01dab255-2f94-401d-925d-b175ce9d8a57'}], 'security_groups': ['0375c153-10e5-4a5f-a29a-9e4df0b4758e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7ae32e86069b4e999a065906125845aa'}}
2026-02-02 20:45:30,716 - DEBUG - Response for create_port : {'port': {'name': '8926bab0-d847-4919-9933-d775859778e9', 'id': '8926bab0-d847-4919-9933-d775859778e9', 'tenant_id': '7ae32e86069b4e999a065906125845aa', 'network_id': 'eb50648b-39ad-4813-b83d-2bb2184ce77c', 'mac_address': '02:89:26:ba:b0:d8', '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': '157.2.26.133', 'subnet_id': '4ee22205-8c09-430a-bcb9-1d4b8cd1bb4d'}], 'security_groups': ['0375c153-10e5-4a5f-a29a-9e4df0b4758e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7ae32e86069b4e999a065906125845aa'}}
2026-02-02 20:45:30,786 - DEBUG - Services list from nova: [, , ]
2026-02-02 20:45:31,131 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5178-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5178-1)
2026-02-02 20:45:31,497 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5178-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5178-1)
2026-02-02 20:45:31,497 - INFO - Waiting for VM ctest-vn1-vm1-42330072 to be up..
2026-02-02 20:45:31,541 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-02 20:45:36,613 - DEBUG - VM is in ACTIVE state now
2026-02-02 20:45:36,613 - INFO - VM name : ctest-vn1-vm1-42330072
2026-02-02 20:45:36,690 - DEBUG - VM ctest-vn1-vm1-42330072 ID is 8613f0d8-e56b-45e0-b41b-38fa65fd04d9
2026-02-02 20:45:36,708 - DEBUG - VM ctest-vn1-vm1-42330072 launched on Node cn-jenkins-deploy-platform-ansible-os-5178-1
2026-02-02 20:45:36,778 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/8613f0d8-e56b-45e0-b41b-38fa65fd04d9
2026-02-02 20:45:36,787 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/81b215fd-2676-4205-a04c-1871e6070927
2026-02-02 20:45:40,024 - 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 1011ms')
2026-02-02 20:45:40,024 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-42330072 failed!
2026-02-02 20:45:40,078 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66215982:ctest-vn1-12094455 is 218.96.221.129 and allocation pool is NOT set
2026-02-02 20:45:40,078 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66215982:ctest-vn1-12094455 is 157.2.26.129 and allocation pool is NOT set
2026-02-02 20:45:42,136 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.15 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.154/3.567/4.980/1.413 ms')
2026-02-02 20:45:42,136 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-42330072 passed
2026-02-02 20:45:42,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-02 20:45:42,286 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42330072, IP 218.96.221.133, Port 22
2026-02-02 20:45:42,342 - 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': ''}
2026-02-02 20:45:42,416 - DEBUG - VM ctest-vn1-vm1-42330072 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-02 20:45:47,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-02 20:45:47,417 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42330072, IP 218.96.221.133, Port 22
2026-02-02 20:45:47,573 - DEBUG - VM ctest-vn1-vm1-42330072 is ready for SSH connections
2026-02-02 20:45:47,573 - INFO - Waiting for VM ctest-vn1-vm2-08612185 to be up..
2026-02-02 20:45:47,642 - DEBUG - VM is in ACTIVE state now
2026-02-02 20:45:47,643 - INFO - VM name : ctest-vn1-vm2-08612185
2026-02-02 20:45:47,710 - DEBUG - VM ctest-vn1-vm2-08612185 ID is f85e4ba1-d02d-4d2c-8b8c-b5fdf9c05cf5
2026-02-02 20:45:47,710 - DEBUG - VM ctest-vn1-vm2-08612185 launched on Node cn-jenkins-deploy-platform-ansible-os-5178-1
2026-02-02 20:45:47,776 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/f85e4ba1-d02d-4d2c-8b8c-b5fdf9c05cf5
2026-02-02 20:45:47,783 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/8926bab0-d847-4919-9933-d775859778e9
2026-02-02 20:45:49,016 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.299 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.299/1.526/2.753/1.227 ms')
2026-02-02 20:45:49,016 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-08612185 passed
2026-02-02 20:45:49,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-02 20:45:49,162 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-08612185, IP 157.2.26.133, Port 22
2026-02-02 20:45:49,317 - DEBUG - VM ctest-vn1-vm2-08612185 is ready for SSH connections
2026-02-02 20:45:49,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-02 20:45:49,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-02 20:45:49,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-02 20:45:49,318 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.96.221.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2026-02-02 20:45:49,318 - DEBUG - ping -s 56 -c 3 -W 1 218.96.221.133
2026-02-02 20:45:53,016 - DEBUG - PING 218.96.221.133 (218.96.221.133): 56 data bytes
64 bytes from 218.96.221.133: seq=0 ttl=63 time=3.532 ms
64 bytes from 218.96.221.133: seq=1 ttl=63 time=1.024 ms
64 bytes from 218.96.221.133: seq=2 ttl=63 time=0.870 ms
--- 218.96.221.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.870/1.808/3.532 ms
2026-02-02 20:45:53,016 - INFO - Ping to IP 218.96.221.133 from VM ctest-vn1-vm2-08612185 passed
2026-02-02 20:45:53,016 - INFO - Detaching port 8926bab0-d847-4919-9933-d775859778e9 from VM ctest-vn1-vm2-08612185
2026-02-02 20:45:53,075 - INFO - Deleting VM ctest-vn1-vm2-08612185
2026-02-02 20:45:53,170 - INFO - Detaching port 81b215fd-2676-4205-a04c-1871e6070927 from VM ctest-vn1-vm1-42330072
2026-02-02 20:45:53,212 - INFO - Deleting VM ctest-vn1-vm1-42330072
2026-02-02 20:45:53,522 - DEBUG - Response for delete_port : ()
2026-02-02 20:45:53,699 - DEBUG - Response for delete_port : ()
2026-02-02 20:45:53,699 - INFO - Deleting VN ctest-vn1-12094455
2026-02-02 20:45:53,846 - DEBUG - Response for deleting network ()
2026-02-02 20:45:54,103 - DEBUG - No XMPP flaps were noticed during the test
2026-02-02 20:45:54,103 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2026-02-02 20:45:54,103 - INFO - --------------------------------------------------------------------------------
2026-02-02 20:45:54,810 - INFO - Deleted project: ctest-TestPorts-66215982, ID : 7ae32e86-069b-4e99-9a06-5906125845aa