2025-12-21 15:02:50,441 - INFO - Domain Default found not creating
2025-12-21 15:02:50,610 - INFO - Project ctest-TestPorts-40032140 not found, creating it
2025-12-21 15:02:51,067 - INFO - Created Project:ctest-TestPorts-40032140, ID : 1bd6fbb9-82c2-4481-b6ad-0daecb67f0fa
2025-12-21 15:02:52,580 - INFO - ================================================================================
2025-12-21 15:02:52,580 - INFO - STARTING TEST : test_ports_bindings
2025-12-21 15:02:52,580 - 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-21 15:02:52,836 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-12-21 15:02:52,836 - INFO - Initial checks done. Running the testcase now
2025-12-21 15:02:52,837 - INFO -
2025-12-21 15:02:53,416 - DEBUG - Response for create_network : {'network': {'id': '10f4cd95-8cde-4d4a-89dd-5b7bd9225513', 'name': 'ctest-vn-42185024', 'tenant_id': '1bd6fbb982c24481b6ad0daecb67f0fa', 'project_id': '1bd6fbb982c24481b6ad0daecb67f0fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-40032140', 'ctest-vn-42185024'], 'port_security_enabled': True, 'description': ''}}
2025-12-21 15:02:53,628 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a7454ef-adab-4d65-97e3-1371bbf25ad0', 'name': '', 'tenant_id': '1bd6fbb982c24481b6ad0daecb67f0fa', 'network_id': '10f4cd95-8cde-4d4a-89dd-5b7bd9225513', 'ip_version': 4, 'cidr': '29.139.144.128/26', 'allocation_pools': [{'start': '29.139.144.130', 'end': '29.139.144.190'}], 'gateway_ip': '29.139.144.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.139.144.130', 'tags': [], 'project_id': '1bd6fbb982c24481b6ad0daecb67f0fa'}}
2025-12-21 15:02:53,646 - INFO - Created VN ctest-vn-42185024
2025-12-21 15:02:53,699 - DEBUG - VN ctest-vn-42185024 UUID is 10f4cd95-8cde-4d4a-89dd-5b7bd9225513
2025-12-21 15:02:53,822 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-40032140', 'ctest-vmi-24580667']}
2025-12-21 15:02:54,082 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-24580667', 'id': '57843780-c6d9-42b5-bbf3-c4b08b8a3317', 'tenant_id': '1bd6fbb982c24481b6ad0daecb67f0fa', 'network_id': '10f4cd95-8cde-4d4a-89dd-5b7bd9225513', 'mac_address': '02:57:84:37:80:c6', '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': '29.139.144.131', 'subnet_id': '8a7454ef-adab-4d65-97e3-1371bbf25ad0'}], 'security_groups': ['6e488743-c407-4981-a685-e2cedbd8481f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1bd6fbb982c24481b6ad0daecb67f0fa'}}
2025-12-21 15:02:54,083 - DEBUG - Created port 57843780-c6d9-42b5-bbf3-c4b08b8a3317
2025-12-21 15:02:54,187 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/57843780-c6d9-42b5-bbf3-c4b08b8a3317
2025-12-21 15:02:54,486 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/57843780-c6d9-42b5-bbf3-c4b08b8a3317
2025-12-21 15:02:54,520 - INFO - VMI 57843780-c6d9-42b5-bbf3-c4b08b8a3317 verification in API Server passed
2025-12-21 15:02:54,611 - DEBUG - Response for delete_port : ()
2025-12-21 15:02:54,612 - INFO - Deleted port 57843780-c6d9-42b5-bbf3-c4b08b8a3317
2025-12-21 15:02:54,612 - INFO - Deleting VN ctest-vn-42185024
2025-12-21 15:02:54,723 - DEBUG - Response for deleting network ()
2025-12-21 15:02:54,980 - DEBUG - No XMPP flaps were noticed during the test
2025-12-21 15:02:54,980 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-21 15:02:54,980 - INFO - --------------------------------------------------------------------------------
2025-12-21 15:02:54,983 - INFO - ================================================================================
2025-12-21 15:02:54,983 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-21 15:02:54,983 - 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-21 15:02:55,270 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-12-21 15:02:55,270 - INFO - Initial checks done. Running the testcase now
2025-12-21 15:02:55,270 - INFO -
2025-12-21 15:02:55,473 - DEBUG - Response for create_network : {'network': {'id': '32454a4e-76b1-4211-bdd7-20c8314f3321', 'name': 'ctest-vn1-24369278', 'tenant_id': '1bd6fbb982c24481b6ad0daecb67f0fa', 'project_id': '1bd6fbb982c24481b6ad0daecb67f0fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-40032140', 'ctest-vn1-24369278'], 'port_security_enabled': True, 'description': ''}}
2025-12-21 15:02:55,695 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c66b2f22-512a-4c91-828e-2941e06f167f', 'name': '', 'tenant_id': '1bd6fbb982c24481b6ad0daecb67f0fa', 'network_id': '32454a4e-76b1-4211-bdd7-20c8314f3321', 'ip_version': 4, 'cidr': '185.238.90.128/26', 'allocation_pools': [{'start': '185.238.90.130', 'end': '185.238.90.190'}], 'gateway_ip': '185.238.90.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.238.90.130', 'tags': [], 'project_id': '1bd6fbb982c24481b6ad0daecb67f0fa'}}
2025-12-21 15:02:55,864 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f920951a-5d8a-4572-8fc3-91a83164f187', 'name': '', 'tenant_id': '1bd6fbb982c24481b6ad0daecb67f0fa', 'network_id': '32454a4e-76b1-4211-bdd7-20c8314f3321', 'ip_version': 4, 'cidr': '167.164.115.128/26', 'allocation_pools': [{'start': '167.164.115.130', 'end': '167.164.115.190'}], 'gateway_ip': '167.164.115.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.164.115.130', 'tags': [], 'project_id': '1bd6fbb982c24481b6ad0daecb67f0fa'}}
2025-12-21 15:02:55,884 - INFO - Created VN ctest-vn1-24369278
2025-12-21 15:02:55,935 - DEBUG - VN ctest-vn1-24369278 UUID is 32454a4e-76b1-4211-bdd7-20c8314f3321
2025-12-21 15:02:56,251 - DEBUG - Response for create_port : {'port': {'name': 'a242763b-846b-404c-956f-91aa6df18424', 'id': 'a242763b-846b-404c-956f-91aa6df18424', 'tenant_id': '1bd6fbb982c24481b6ad0daecb67f0fa', 'network_id': '32454a4e-76b1-4211-bdd7-20c8314f3321', 'mac_address': '02:a2:42:76:3b:84', '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': '185.238.90.133', 'subnet_id': 'c66b2f22-512a-4c91-828e-2941e06f167f'}], 'security_groups': ['6e488743-c407-4981-a685-e2cedbd8481f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1bd6fbb982c24481b6ad0daecb67f0fa'}}
2025-12-21 15:02:56,432 - DEBUG - Response for create_port : {'port': {'name': 'd3bca297-657c-4c51-978c-79585aac9b3d', 'id': 'd3bca297-657c-4c51-978c-79585aac9b3d', 'tenant_id': '1bd6fbb982c24481b6ad0daecb67f0fa', 'network_id': '32454a4e-76b1-4211-bdd7-20c8314f3321', 'mac_address': '02:d3:bc:a2:97:65', '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': '167.164.115.133', 'subnet_id': 'f920951a-5d8a-4572-8fc3-91a83164f187'}], 'security_groups': ['6e488743-c407-4981-a685-e2cedbd8481f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1bd6fbb982c24481b6ad0daecb67f0fa'}}
2025-12-21 15:02:56,491 - DEBUG - Services list from nova: [, , ]
2025-12-21 15:02:56,837 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4913-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4913-1)
2025-12-21 15:02:57,240 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4913-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4913-1)
2025-12-21 15:02:57,240 - INFO - Waiting for VM ctest-vn1-vm1-80151768 to be up..
2025-12-21 15:02:57,278 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-21 15:03:02,353 - DEBUG - VM is in ACTIVE state now
2025-12-21 15:03:02,354 - INFO - VM name : ctest-vn1-vm1-80151768
2025-12-21 15:03:02,431 - DEBUG - VM ctest-vn1-vm1-80151768 ID is 54fbd7cc-1029-4178-b932-0ce773120551
2025-12-21 15:03:02,452 - DEBUG - VM ctest-vn1-vm1-80151768 launched on Node cn-jenkins-deploy-platform-ansible-os-4913-1
2025-12-21 15:03:02,529 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/54fbd7cc-1029-4178-b932-0ce773120551
2025-12-21 15:03:02,538 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a242763b-846b-404c-956f-91aa6df18424
2025-12-21 15:03:05,785 - 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-21 15:03:05,785 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80151768 failed!
2025-12-21 15:03:05,839 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40032140:ctest-vn1-24369278 is 185.238.90.129 and allocation pool is NOT set
2025-12-21 15:03:05,839 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40032140:ctest-vn1-24369278 is 167.164.115.129 and allocation pool is NOT set
2025-12-21 15:03:09,918 - 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=10.4 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 10.394/10.394/10.394/0.000 ms')
2025-12-21 15:03:09,919 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80151768 passed
2025-12-21 15:03:10,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-21 15:03:10,067 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80151768, IP 185.238.90.133, Port 22
2025-12-21 15:03:10,223 - DEBUG - VM ctest-vn1-vm1-80151768 is ready for SSH connections
2025-12-21 15:03:10,223 - INFO - Waiting for VM ctest-vn1-vm2-41681214 to be up..
2025-12-21 15:03:10,302 - DEBUG - VM is in ACTIVE state now
2025-12-21 15:03:10,303 - INFO - VM name : ctest-vn1-vm2-41681214
2025-12-21 15:03:10,376 - DEBUG - VM ctest-vn1-vm2-41681214 ID is c4f36d49-1c09-4ae3-be9a-c5b6721e7b5d
2025-12-21 15:03:10,376 - DEBUG - VM ctest-vn1-vm2-41681214 launched on Node cn-jenkins-deploy-platform-ansible-os-4913-1
2025-12-21 15:03:10,454 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c4f36d49-1c09-4ae3-be9a-c5b6721e7b5d
2025-12-21 15:03:10,463 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d3bca297-657c-4c51-978c-79585aac9b3d
2025-12-21 15:03:11,701 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.462 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.462/1.672/2.882/1.210 ms')
2025-12-21 15:03:11,701 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-41681214 passed
2025-12-21 15:03:11,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-21 15:03:11,851 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-41681214, IP 167.164.115.133, Port 22
2025-12-21 15:03:12,007 - DEBUG - VM ctest-vn1-vm2-41681214 is ready for SSH connections
2025-12-21 15:03:12,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-21 15:03:12,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-21 15:03:12,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-21 15:03:12,007 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.238.90.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-12-21 15:03:12,007 - DEBUG - ping -s 56 -c 3 -W 1 185.238.90.133
2025-12-21 15:03:14,663 - DEBUG - PING 185.238.90.133 (185.238.90.133): 56 data bytes
64 bytes from 185.238.90.133: seq=0 ttl=63 time=3.932 ms
64 bytes from 185.238.90.133: seq=1 ttl=63 time=0.791 ms
64 bytes from 185.238.90.133: seq=2 ttl=63 time=1.131 ms
--- 185.238.90.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.791/1.951/3.932 ms
2025-12-21 15:03:14,664 - INFO - Ping to IP 185.238.90.133 from VM ctest-vn1-vm2-41681214 passed
2025-12-21 15:03:14,664 - INFO - Detaching port d3bca297-657c-4c51-978c-79585aac9b3d from VM ctest-vn1-vm2-41681214
2025-12-21 15:03:14,715 - INFO - Deleting VM ctest-vn1-vm2-41681214
2025-12-21 15:03:14,786 - INFO - Detaching port a242763b-846b-404c-956f-91aa6df18424 from VM ctest-vn1-vm1-80151768
2025-12-21 15:03:14,820 - INFO - Deleting VM ctest-vn1-vm1-80151768
2025-12-21 15:03:15,063 - DEBUG - Response for delete_port : ()
2025-12-21 15:03:15,276 - DEBUG - Response for delete_port : ()
2025-12-21 15:03:15,276 - INFO - Deleting VN ctest-vn1-24369278
2025-12-21 15:03:15,488 - DEBUG - Response for deleting network ()
2025-12-21 15:03:15,755 - DEBUG - No XMPP flaps were noticed during the test
2025-12-21 15:03:15,755 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-12-21 15:03:15,756 - INFO - --------------------------------------------------------------------------------
2025-12-21 15:03:16,442 - INFO - Deleted project: ctest-TestPorts-40032140, ID : 1bd6fbb9-82c2-4481-b6ad-0daecb67f0fa