2025-12-03 16:11:52,424 - INFO - Domain Default found not creating
2025-12-03 16:11:52,719 - INFO - Project ctest-TestPorts-21269528 not found, creating it
2025-12-03 16:11:53,212 - INFO - Created Project:ctest-TestPorts-21269528, ID : f599990d-6e17-4b0e-8fe1-f0e5dfca1395
2025-12-03 16:11:54,847 - INFO - ================================================================================
2025-12-03 16:11:54,847 - INFO - STARTING TEST : test_ports_bindings
2025-12-03 16:11:54,847 - 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-03 16:11:55,104 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-12-03 16:11:55,104 - INFO - Initial checks done. Running the testcase now
2025-12-03 16:11:55,104 - INFO -
2025-12-03 16:11:55,734 - DEBUG - Response for create_network : {'network': {'id': '73c434f3-9aa4-4f68-b544-130391dc7ccc', 'name': 'ctest-vn-18792382', 'tenant_id': 'f599990d6e174b0e8fe1f0e5dfca1395', 'project_id': 'f599990d6e174b0e8fe1f0e5dfca1395', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-21269528', 'ctest-vn-18792382'], 'port_security_enabled': True, 'description': ''}}
2025-12-03 16:11:55,956 - DEBUG - Response for create_subnet : {'subnet': {'id': '03154de5-ebb2-4029-bf60-3a4e626a1e82', 'name': '', 'tenant_id': 'f599990d6e174b0e8fe1f0e5dfca1395', 'network_id': '73c434f3-9aa4-4f68-b544-130391dc7ccc', 'ip_version': 4, 'cidr': '117.138.37.128/26', 'allocation_pools': [{'start': '117.138.37.130', 'end': '117.138.37.190'}], 'gateway_ip': '117.138.37.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.138.37.130', 'tags': [], 'project_id': 'f599990d6e174b0e8fe1f0e5dfca1395'}}
2025-12-03 16:11:55,975 - INFO - Created VN ctest-vn-18792382
2025-12-03 16:11:56,026 - DEBUG - VN ctest-vn-18792382 UUID is 73c434f3-9aa4-4f68-b544-130391dc7ccc
2025-12-03 16:11:56,138 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-21269528', 'ctest-vmi-53563300']}
2025-12-03 16:11:56,397 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-53563300', 'id': '0ec72d1c-1627-4bc6-aebc-2c9ef0324858', 'tenant_id': 'f599990d6e174b0e8fe1f0e5dfca1395', 'network_id': '73c434f3-9aa4-4f68-b544-130391dc7ccc', 'mac_address': '02:0e:c7:2d:1c:16', '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': '117.138.37.131', 'subnet_id': '03154de5-ebb2-4029-bf60-3a4e626a1e82'}], 'security_groups': ['eacbcebc-7cc4-472b-a64f-d86b650137cd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f599990d6e174b0e8fe1f0e5dfca1395'}}
2025-12-03 16:11:56,397 - DEBUG - Created port 0ec72d1c-1627-4bc6-aebc-2c9ef0324858
2025-12-03 16:11:56,506 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0ec72d1c-1627-4bc6-aebc-2c9ef0324858
2025-12-03 16:11:56,840 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0ec72d1c-1627-4bc6-aebc-2c9ef0324858
2025-12-03 16:11:56,877 - INFO - VMI 0ec72d1c-1627-4bc6-aebc-2c9ef0324858 verification in API Server passed
2025-12-03 16:11:56,968 - DEBUG - Response for delete_port : ()
2025-12-03 16:11:56,968 - INFO - Deleted port 0ec72d1c-1627-4bc6-aebc-2c9ef0324858
2025-12-03 16:11:56,968 - INFO - Deleting VN ctest-vn-18792382
2025-12-03 16:11:57,068 - DEBUG - Response for deleting network ()
2025-12-03 16:11:57,323 - DEBUG - No XMPP flaps were noticed during the test
2025-12-03 16:11:57,323 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-12-03 16:11:57,323 - INFO - --------------------------------------------------------------------------------
2025-12-03 16:11:57,326 - INFO - ================================================================================
2025-12-03 16:11:57,326 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-03 16:11:57,326 - 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-03 16:11:57,611 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-12-03 16:11:57,611 - INFO - Initial checks done. Running the testcase now
2025-12-03 16:11:57,611 - INFO -
2025-12-03 16:11:57,799 - DEBUG - Response for create_network : {'network': {'id': 'b5ab8b3b-e0ed-4d16-b548-13255a026337', 'name': 'ctest-vn1-50082530', 'tenant_id': 'f599990d6e174b0e8fe1f0e5dfca1395', 'project_id': 'f599990d6e174b0e8fe1f0e5dfca1395', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-21269528', 'ctest-vn1-50082530'], 'port_security_enabled': True, 'description': ''}}
2025-12-03 16:11:58,022 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd8ae6d33-463c-4f73-aacb-6b8940842d3c', 'name': '', 'tenant_id': 'f599990d6e174b0e8fe1f0e5dfca1395', 'network_id': 'b5ab8b3b-e0ed-4d16-b548-13255a026337', 'ip_version': 4, 'cidr': '186.105.131.192/26', 'allocation_pools': [{'start': '186.105.131.194', 'end': '186.105.131.254'}], 'gateway_ip': '186.105.131.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.105.131.194', 'tags': [], 'project_id': 'f599990d6e174b0e8fe1f0e5dfca1395'}}
2025-12-03 16:11:58,207 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6337c40-35b9-44ed-a93e-e3afcbe811d6', 'name': '', 'tenant_id': 'f599990d6e174b0e8fe1f0e5dfca1395', 'network_id': 'b5ab8b3b-e0ed-4d16-b548-13255a026337', 'ip_version': 4, 'cidr': '123.209.113.64/26', 'allocation_pools': [{'start': '123.209.113.66', 'end': '123.209.113.126'}], 'gateway_ip': '123.209.113.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.209.113.66', 'tags': [], 'project_id': 'f599990d6e174b0e8fe1f0e5dfca1395'}}
2025-12-03 16:11:58,228 - INFO - Created VN ctest-vn1-50082530
2025-12-03 16:11:58,282 - DEBUG - VN ctest-vn1-50082530 UUID is b5ab8b3b-e0ed-4d16-b548-13255a026337
2025-12-03 16:11:58,589 - DEBUG - Response for create_port : {'port': {'name': '5976cdb0-e6fa-4c2f-9700-30652cfafbc6', 'id': '5976cdb0-e6fa-4c2f-9700-30652cfafbc6', 'tenant_id': 'f599990d6e174b0e8fe1f0e5dfca1395', 'network_id': 'b5ab8b3b-e0ed-4d16-b548-13255a026337', 'mac_address': '02:59:76:cd:b0:e6', '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': '186.105.131.197', 'subnet_id': 'd8ae6d33-463c-4f73-aacb-6b8940842d3c'}], 'security_groups': ['eacbcebc-7cc4-472b-a64f-d86b650137cd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f599990d6e174b0e8fe1f0e5dfca1395'}}
2025-12-03 16:11:58,770 - DEBUG - Response for create_port : {'port': {'name': '8c96daf1-0c6d-40c7-bd46-031e6ff3e354', 'id': '8c96daf1-0c6d-40c7-bd46-031e6ff3e354', 'tenant_id': 'f599990d6e174b0e8fe1f0e5dfca1395', 'network_id': 'b5ab8b3b-e0ed-4d16-b548-13255a026337', 'mac_address': '02:8c:96:da:f1:0c', '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': '123.209.113.69', 'subnet_id': 'c6337c40-35b9-44ed-a93e-e3afcbe811d6'}], 'security_groups': ['eacbcebc-7cc4-472b-a64f-d86b650137cd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f599990d6e174b0e8fe1f0e5dfca1395'}}
2025-12-03 16:11:58,834 - DEBUG - Services list from nova: [, , ]
2025-12-03 16:11:59,219 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4834-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4834-1)
2025-12-03 16:11:59,644 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4834-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4834-1)
2025-12-03 16:11:59,645 - INFO - Waiting for VM ctest-vn1-vm1-39856298 to be up..
2025-12-03 16:11:59,691 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-03 16:12:04,773 - DEBUG - VM is in ACTIVE state now
2025-12-03 16:12:04,774 - INFO - VM name : ctest-vn1-vm1-39856298
2025-12-03 16:12:04,855 - DEBUG - VM ctest-vn1-vm1-39856298 ID is 2aca0cc9-2934-4701-b239-58753fd9a652
2025-12-03 16:12:04,877 - DEBUG - VM ctest-vn1-vm1-39856298 launched on Node cn-jenkins-deploy-platform-ansible-os-4834-1
2025-12-03 16:12:04,956 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2aca0cc9-2934-4701-b239-58753fd9a652
2025-12-03 16:12:04,965 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5976cdb0-e6fa-4c2f-9700-30652cfafbc6
2025-12-03 16:12:08,230 - 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 1023ms')
2025-12-03 16:12:08,230 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39856298 failed!
2025-12-03 16:12:08,290 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-21269528:ctest-vn1-50082530 is 186.105.131.193 and allocation pool is NOT set
2025-12-03 16:12:08,290 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-21269528:ctest-vn1-50082530 is 123.209.113.65 and allocation pool is NOT set
2025-12-03 16:12:12,359 - 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 1010ms')
2025-12-03 16:12:12,359 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39856298 failed!
2025-12-03 16:12:12,414 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-21269528:ctest-vn1-50082530 is 186.105.131.193 and allocation pool is NOT set
2025-12-03 16:12:12,414 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-21269528:ctest-vn1-50082530 is 123.209.113.65 and allocation pool is NOT set
2025-12-03 16:12:14,483 - 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=13.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.479 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 = 0.479/6.866/13.254/6.387 ms')
2025-12-03 16:12:14,483 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39856298 passed
2025-12-03 16:12:14,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-03 16:12:14,638 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-39856298, IP 186.105.131.197, Port 22
2025-12-03 16:12:14,797 - DEBUG - VM ctest-vn1-vm1-39856298 is ready for SSH connections
2025-12-03 16:12:14,798 - INFO - Waiting for VM ctest-vn1-vm2-35690803 to be up..
2025-12-03 16:12:14,876 - DEBUG - VM is in ACTIVE state now
2025-12-03 16:12:14,876 - INFO - VM name : ctest-vn1-vm2-35690803
2025-12-03 16:12:14,957 - DEBUG - VM ctest-vn1-vm2-35690803 ID is f80d2991-c8fd-4a38-bca6-cf8040c608c0
2025-12-03 16:12:14,958 - DEBUG - VM ctest-vn1-vm2-35690803 launched on Node cn-jenkins-deploy-platform-ansible-os-4834-1
2025-12-03 16:12:15,043 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f80d2991-c8fd-4a38-bca6-cf8040c608c0
2025-12-03 16:12:15,053 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8c96daf1-0c6d-40c7-bd46-031e6ff3e354
2025-12-03 16:12:16,299 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.553 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 = 0.553/1.953/3.354/1.400 ms')
2025-12-03 16:12:16,299 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-35690803 passed
2025-12-03 16:12:16,454 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-03 16:12:16,454 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-35690803, IP 123.209.113.69, Port 22
2025-12-03 16:12:16,613 - DEBUG - VM ctest-vn1-vm2-35690803 is ready for SSH connections
2025-12-03 16:12:16,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-03 16:12:16,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-03 16:12:16,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-03 16:12:16,614 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.105.131.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-12-03 16:12:16,614 - DEBUG - ping -s 56 -c 3 -W 1 186.105.131.197
2025-12-03 16:12:19,334 - DEBUG - PING 186.105.131.197 (186.105.131.197): 56 data bytes
64 bytes from 186.105.131.197: seq=0 ttl=63 time=3.940 ms
64 bytes from 186.105.131.197: seq=1 ttl=63 time=0.871 ms
64 bytes from 186.105.131.197: seq=2 ttl=63 time=0.850 ms
--- 186.105.131.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.850/1.887/3.940 ms
2025-12-03 16:12:19,334 - INFO - Ping to IP 186.105.131.197 from VM ctest-vn1-vm2-35690803 passed
2025-12-03 16:12:19,334 - INFO - Detaching port 8c96daf1-0c6d-40c7-bd46-031e6ff3e354 from VM ctest-vn1-vm2-35690803
2025-12-03 16:12:19,384 - INFO - Deleting VM ctest-vn1-vm2-35690803
2025-12-03 16:12:19,454 - INFO - Detaching port 5976cdb0-e6fa-4c2f-9700-30652cfafbc6 from VM ctest-vn1-vm1-39856298
2025-12-03 16:12:19,490 - INFO - Deleting VM ctest-vn1-vm1-39856298
2025-12-03 16:12:19,723 - DEBUG - Response for delete_port : ()
2025-12-03 16:12:19,882 - DEBUG - Response for delete_port : ()
2025-12-03 16:12:19,882 - INFO - Deleting VN ctest-vn1-50082530
2025-12-03 16:12:20,012 - DEBUG - Response for deleting network ()
2025-12-03 16:12:20,274 - DEBUG - No XMPP flaps were noticed during the test
2025-12-03 16:12:20,274 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-12-03 16:12:20,274 - INFO - --------------------------------------------------------------------------------
2025-12-03 16:12:21,032 - INFO - Deleted project: ctest-TestPorts-21269528, ID : f599990d-6e17-4b0e-8fe1-f0e5dfca1395