2025-11-20 17:25:48,914 - INFO - Domain Default found not creating
2025-11-20 17:25:49,084 - INFO - Project ctest-TestPorts-10301127 not found, creating it
2025-11-20 17:25:49,545 - INFO - Created Project:ctest-TestPorts-10301127, ID : 8f4c8d64-1ff1-4d8c-a00e-b56f2985c167
2025-11-20 17:25:51,020 - INFO - ================================================================================
2025-11-20 17:25:51,020 - INFO - STARTING TEST : test_ports_bindings
2025-11-20 17:25:51,020 - 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-11-20 17:25:51,277 - DEBUG - Nothing to compare xmpp stats {'10.0.0.145': {'10.20.0.249': '0'}} with
2025-11-20 17:25:51,277 - INFO - Initial checks done. Running the testcase now
2025-11-20 17:25:51,277 - INFO -
2025-11-20 17:25:51,825 - DEBUG - Response for create_network : {'network': {'id': 'fe446ee6-3646-46f7-a19a-73f93af8c7fe', 'name': 'ctest-vn-19488446', 'tenant_id': '8f4c8d641ff14d8ca00eb56f2985c167', 'project_id': '8f4c8d641ff14d8ca00eb56f2985c167', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10301127', 'ctest-vn-19488446'], 'port_security_enabled': True, 'description': ''}}
2025-11-20 17:25:52,022 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0b9298e-21fe-4347-8356-056be445fa8c', 'name': '', 'tenant_id': '8f4c8d641ff14d8ca00eb56f2985c167', 'network_id': 'fe446ee6-3646-46f7-a19a-73f93af8c7fe', 'ip_version': 4, 'cidr': '197.76.108.192/26', 'allocation_pools': [{'start': '197.76.108.194', 'end': '197.76.108.254'}], 'gateway_ip': '197.76.108.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.76.108.194', 'tags': [], 'project_id': '8f4c8d641ff14d8ca00eb56f2985c167'}}
2025-11-20 17:25:52,040 - INFO - Created VN ctest-vn-19488446
2025-11-20 17:25:52,092 - DEBUG - VN ctest-vn-19488446 UUID is fe446ee6-3646-46f7-a19a-73f93af8c7fe
2025-11-20 17:25:52,200 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-10301127', 'ctest-vmi-21716045']}
2025-11-20 17:25:52,515 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-21716045', 'id': '7d78771e-6533-4f22-8daf-8ef6030e5d51', 'tenant_id': '8f4c8d641ff14d8ca00eb56f2985c167', 'network_id': 'fe446ee6-3646-46f7-a19a-73f93af8c7fe', 'mac_address': '02:7d:78:77:1e:65', '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': '197.76.108.195', 'subnet_id': 'e0b9298e-21fe-4347-8356-056be445fa8c'}], 'security_groups': ['793745ba-7f16-4749-b206-baa882bf60f6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8f4c8d641ff14d8ca00eb56f2985c167'}}
2025-11-20 17:25:52,515 - DEBUG - Created port 7d78771e-6533-4f22-8daf-8ef6030e5d51
2025-11-20 17:25:52,616 - DEBUG - Requesting: http://10.0.0.145:8082/virtual-machine-interface/7d78771e-6533-4f22-8daf-8ef6030e5d51
2025-11-20 17:25:52,909 - DEBUG - Requesting: http://10.0.0.145:8082/virtual-machine-interface/7d78771e-6533-4f22-8daf-8ef6030e5d51
2025-11-20 17:25:52,945 - INFO - VMI 7d78771e-6533-4f22-8daf-8ef6030e5d51 verification in API Server passed
2025-11-20 17:25:53,044 - DEBUG - Response for delete_port : ()
2025-11-20 17:25:53,044 - INFO - Deleted port 7d78771e-6533-4f22-8daf-8ef6030e5d51
2025-11-20 17:25:53,044 - INFO - Deleting VN ctest-vn-19488446
2025-11-20 17:25:53,152 - DEBUG - Response for deleting network ()
2025-11-20 17:25:53,405 - DEBUG - No XMPP flaps were noticed during the test
2025-11-20 17:25:53,405 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-20 17:25:53,406 - INFO - --------------------------------------------------------------------------------
2025-11-20 17:25:53,409 - INFO - ================================================================================
2025-11-20 17:25:53,409 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-20 17:25:53,409 - 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-11-20 17:25:53,703 - DEBUG - Nothing to compare xmpp stats {'10.0.0.145': {'10.20.0.249': '0'}} with
2025-11-20 17:25:53,703 - INFO - Initial checks done. Running the testcase now
2025-11-20 17:25:53,703 - INFO -
2025-11-20 17:25:53,896 - DEBUG - Response for create_network : {'network': {'id': '906ca0b7-d8ce-4e94-9aec-08b7efabd9fa', 'name': 'ctest-vn1-21789574', 'tenant_id': '8f4c8d641ff14d8ca00eb56f2985c167', 'project_id': '8f4c8d641ff14d8ca00eb56f2985c167', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10301127', 'ctest-vn1-21789574'], 'port_security_enabled': True, 'description': ''}}
2025-11-20 17:25:54,051 - DEBUG - Response for create_subnet : {'subnet': {'id': '7317319a-076d-405c-9bae-a2b9b5a0f550', 'name': '', 'tenant_id': '8f4c8d641ff14d8ca00eb56f2985c167', 'network_id': '906ca0b7-d8ce-4e94-9aec-08b7efabd9fa', 'ip_version': 4, 'cidr': '133.93.189.192/26', 'allocation_pools': [{'start': '133.93.189.194', 'end': '133.93.189.254'}], 'gateway_ip': '133.93.189.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.93.189.194', 'tags': [], 'project_id': '8f4c8d641ff14d8ca00eb56f2985c167'}}
2025-11-20 17:25:54,204 - DEBUG - Response for create_subnet : {'subnet': {'id': '2aba2485-9b98-486e-93b5-47d422326733', 'name': '', 'tenant_id': '8f4c8d641ff14d8ca00eb56f2985c167', 'network_id': '906ca0b7-d8ce-4e94-9aec-08b7efabd9fa', 'ip_version': 4, 'cidr': '184.236.67.128/26', 'allocation_pools': [{'start': '184.236.67.130', 'end': '184.236.67.190'}], 'gateway_ip': '184.236.67.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.236.67.130', 'tags': [], 'project_id': '8f4c8d641ff14d8ca00eb56f2985c167'}}
2025-11-20 17:25:54,223 - INFO - Created VN ctest-vn1-21789574
2025-11-20 17:25:54,280 - DEBUG - VN ctest-vn1-21789574 UUID is 906ca0b7-d8ce-4e94-9aec-08b7efabd9fa
2025-11-20 17:25:54,591 - DEBUG - Response for create_port : {'port': {'name': 'afd6abaa-df1f-4118-a7d4-22cfeb4c463a', 'id': 'afd6abaa-df1f-4118-a7d4-22cfeb4c463a', 'tenant_id': '8f4c8d641ff14d8ca00eb56f2985c167', 'network_id': '906ca0b7-d8ce-4e94-9aec-08b7efabd9fa', 'mac_address': '02:af:d6:ab:aa:df', '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': '133.93.189.197', 'subnet_id': '7317319a-076d-405c-9bae-a2b9b5a0f550'}], 'security_groups': ['793745ba-7f16-4749-b206-baa882bf60f6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8f4c8d641ff14d8ca00eb56f2985c167'}}
2025-11-20 17:25:54,776 - DEBUG - Response for create_port : {'port': {'name': '1b242f80-7bef-462f-9f3d-b1fbb7cc19b0', 'id': '1b242f80-7bef-462f-9f3d-b1fbb7cc19b0', 'tenant_id': '8f4c8d641ff14d8ca00eb56f2985c167', 'network_id': '906ca0b7-d8ce-4e94-9aec-08b7efabd9fa', 'mac_address': '02:1b:24:2f:80:7b', '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': '184.236.67.133', 'subnet_id': '2aba2485-9b98-486e-93b5-47d422326733'}], 'security_groups': ['793745ba-7f16-4749-b206-baa882bf60f6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8f4c8d641ff14d8ca00eb56f2985c167'}}
2025-11-20 17:25:54,837 - DEBUG - Services list from nova: [, , ]
2025-11-20 17:25:55,187 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4782-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4782-1)
2025-11-20 17:25:55,614 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4782-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4782-1)
2025-11-20 17:25:55,614 - INFO - Waiting for VM ctest-vn1-vm1-23737367 to be up..
2025-11-20 17:25:55,664 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-20 17:26:00,735 - DEBUG - VM is in ACTIVE state now
2025-11-20 17:26:00,735 - INFO - VM name : ctest-vn1-vm1-23737367
2025-11-20 17:26:00,802 - DEBUG - VM ctest-vn1-vm1-23737367 ID is 77791fa6-3595-4b2e-b0e2-6a244818e728
2025-11-20 17:26:00,821 - DEBUG - VM ctest-vn1-vm1-23737367 launched on Node cn-jenkins-deploy-platform-ansible-os-4782-1
2025-11-20 17:26:00,896 - DEBUG - Requesting: http://10.0.0.145:8082/virtual-machine/77791fa6-3595-4b2e-b0e2-6a244818e728
2025-11-20 17:26:00,905 - DEBUG - Requesting: http://10.0.0.145:8082/virtual-machine-interface/afd6abaa-df1f-4118-a7d4-22cfeb4c463a
2025-11-20 17:26:04,153 - 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')
2025-11-20 17:26:04,153 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-23737367 failed!
2025-11-20 17:26:04,208 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10301127:ctest-vn1-21789574 is 133.93.189.193 and allocation pool is NOT set
2025-11-20 17:26:04,208 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10301127:ctest-vn1-21789574 is 184.236.67.129 and allocation pool is NOT set
2025-11-20 17:26:08,281 - 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=2 ttl=63 time=7.38 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 7.378/7.378/7.378/0.000 ms')
2025-11-20 17:26:08,281 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-23737367 passed
2025-11-20 17:26:08,432 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 17:26:08,432 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-23737367, IP 133.93.189.197, Port 22
2025-11-20 17:26:08,596 - DEBUG - VM ctest-vn1-vm1-23737367 is ready for SSH connections
2025-11-20 17:26:08,596 - INFO - Waiting for VM ctest-vn1-vm2-26251237 to be up..
2025-11-20 17:26:08,678 - DEBUG - VM is in ACTIVE state now
2025-11-20 17:26:08,678 - INFO - VM name : ctest-vn1-vm2-26251237
2025-11-20 17:26:08,754 - DEBUG - VM ctest-vn1-vm2-26251237 ID is e8d78350-983f-4dcc-9a6b-1e2fe956e11b
2025-11-20 17:26:08,754 - DEBUG - VM ctest-vn1-vm2-26251237 launched on Node cn-jenkins-deploy-platform-ansible-os-4782-1
2025-11-20 17:26:08,821 - DEBUG - Requesting: http://10.0.0.145:8082/virtual-machine/e8d78350-983f-4dcc-9a6b-1e2fe956e11b
2025-11-20 17:26:08,829 - DEBUG - Requesting: http://10.0.0.145:8082/virtual-machine-interface/1b242f80-7bef-462f-9f3d-b1fbb7cc19b0
2025-11-20 17:26:10,069 - 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=3.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.562 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.562/1.834/3.106/1.272 ms')
2025-11-20 17:26:10,069 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-26251237 passed
2025-11-20 17:26:10,216 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 17:26:10,216 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-26251237, IP 184.236.67.133, Port 22
2025-11-20 17:26:10,379 - DEBUG - VM ctest-vn1-vm2-26251237 is ready for SSH connections
2025-11-20 17:26:10,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 17:26:10,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 17:26:10,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 17:26:10,380 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.93.189.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.145, gateway password: c0ntrail123
2025-11-20 17:26:10,380 - DEBUG - ping -s 56 -c 3 -W 1 133.93.189.197
2025-11-20 17:26:14,075 - DEBUG - PING 133.93.189.197 (133.93.189.197): 56 data bytes
64 bytes from 133.93.189.197: seq=0 ttl=63 time=3.538 ms
64 bytes from 133.93.189.197: seq=1 ttl=63 time=1.244 ms
64 bytes from 133.93.189.197: seq=2 ttl=63 time=1.089 ms
--- 133.93.189.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.089/1.957/3.538 ms
2025-11-20 17:26:14,075 - INFO - Ping to IP 133.93.189.197 from VM ctest-vn1-vm2-26251237 passed
2025-11-20 17:26:14,075 - INFO - Detaching port 1b242f80-7bef-462f-9f3d-b1fbb7cc19b0 from VM ctest-vn1-vm2-26251237
2025-11-20 17:26:14,128 - INFO - Deleting VM ctest-vn1-vm2-26251237
2025-11-20 17:26:14,202 - INFO - Detaching port afd6abaa-df1f-4118-a7d4-22cfeb4c463a from VM ctest-vn1-vm1-23737367
2025-11-20 17:26:14,237 - INFO - Deleting VM ctest-vn1-vm1-23737367
2025-11-20 17:26:14,454 - DEBUG - Response for delete_port : ()
2025-11-20 17:26:14,610 - DEBUG - Response for delete_port : ()
2025-11-20 17:26:14,610 - INFO - Deleting VN ctest-vn1-21789574
2025-11-20 17:26:14,737 - DEBUG - Response for deleting network ()
2025-11-20 17:26:14,988 - DEBUG - No XMPP flaps were noticed during the test
2025-11-20 17:26:14,988 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-11-20 17:26:14,988 - INFO - --------------------------------------------------------------------------------
2025-11-20 17:26:15,665 - INFO - Deleted project: ctest-TestPorts-10301127, ID : 8f4c8d64-1ff1-4d8c-a00e-b56f2985c167