2025-10-15 19:00:24,742 - INFO - Domain Default found not creating
2025-10-15 19:00:24,951 - INFO - Project ctest-TestPorts-15528884 not found, creating it
2025-10-15 19:00:25,481 - INFO - Created Project:ctest-TestPorts-15528884, ID : 999468ac-f22d-4f73-8627-27ce036afc53
2025-10-15 19:00:27,235 - INFO - ================================================================================
2025-10-15 19:00:27,235 - INFO - STARTING TEST : test_ports_bindings
2025-10-15 19:00:27,236 - 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-10-15 19:00:27,511 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-10-15 19:00:27,512 - INFO - Initial checks done. Running the testcase now
2025-10-15 19:00:27,512 - INFO -
2025-10-15 19:00:28,162 - DEBUG - Response for create_network : {'network': {'id': '3cad2009-e048-4220-ad02-0046aed417d8', 'name': 'ctest-vn-08894652', 'tenant_id': '999468acf22d4f73862727ce036afc53', 'project_id': '999468acf22d4f73862727ce036afc53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15528884', 'ctest-vn-08894652'], 'port_security_enabled': True, 'description': ''}}
2025-10-15 19:00:28,358 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d1d76f5-cb79-4173-b722-4958ff5ea216', 'name': '', 'tenant_id': '999468acf22d4f73862727ce036afc53', 'network_id': '3cad2009-e048-4220-ad02-0046aed417d8', 'ip_version': 4, 'cidr': '97.204.60.0/26', 'allocation_pools': [{'start': '97.204.60.2', 'end': '97.204.60.62'}], 'gateway_ip': '97.204.60.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.204.60.2', 'tags': [], 'project_id': '999468acf22d4f73862727ce036afc53'}}
2025-10-15 19:00:28,377 - INFO - Created VN ctest-vn-08894652
2025-10-15 19:00:28,431 - DEBUG - VN ctest-vn-08894652 UUID is 3cad2009-e048-4220-ad02-0046aed417d8
2025-10-15 19:00:28,562 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-15528884', 'ctest-vmi-08090869']}
2025-10-15 19:00:28,819 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-08090869', 'id': '009a058d-7641-4408-a746-7d5813242f3c', 'tenant_id': '999468acf22d4f73862727ce036afc53', 'network_id': '3cad2009-e048-4220-ad02-0046aed417d8', 'mac_address': '02:00:9a:05:8d:76', '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': '97.204.60.3', 'subnet_id': '0d1d76f5-cb79-4173-b722-4958ff5ea216'}], 'security_groups': ['bdcd0f4f-f79a-494d-af8f-e32ebc5d7322'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '999468acf22d4f73862727ce036afc53'}}
2025-10-15 19:00:28,819 - DEBUG - Created port 009a058d-7641-4408-a746-7d5813242f3c
2025-10-15 19:00:28,935 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/009a058d-7641-4408-a746-7d5813242f3c
2025-10-15 19:00:29,239 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/009a058d-7641-4408-a746-7d5813242f3c
2025-10-15 19:00:29,278 - INFO - VMI 009a058d-7641-4408-a746-7d5813242f3c verification in API Server passed
2025-10-15 19:00:29,410 - DEBUG - Response for delete_port : ()
2025-10-15 19:00:29,410 - INFO - Deleted port 009a058d-7641-4408-a746-7d5813242f3c
2025-10-15 19:00:29,410 - INFO - Deleting VN ctest-vn-08894652
2025-10-15 19:00:29,569 - DEBUG - Response for deleting network ()
2025-10-15 19:00:29,840 - DEBUG - No XMPP flaps were noticed during the test
2025-10-15 19:00:29,840 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-15 19:00:29,840 - INFO - --------------------------------------------------------------------------------
2025-10-15 19:00:29,845 - INFO - ================================================================================
2025-10-15 19:00:29,845 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-15 19:00:29,845 - 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-10-15 19:00:30,137 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-10-15 19:00:30,137 - INFO - Initial checks done. Running the testcase now
2025-10-15 19:00:30,137 - INFO -
2025-10-15 19:00:30,342 - DEBUG - Response for create_network : {'network': {'id': '0bbac918-0ac6-40de-9e54-1cdd7cb2e096', 'name': 'ctest-vn1-35978479', 'tenant_id': '999468acf22d4f73862727ce036afc53', 'project_id': '999468acf22d4f73862727ce036afc53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15528884', 'ctest-vn1-35978479'], 'port_security_enabled': True, 'description': ''}}
2025-10-15 19:00:30,564 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c4c718c-6f44-4cf3-9020-5edcf0e34c9f', 'name': '', 'tenant_id': '999468acf22d4f73862727ce036afc53', 'network_id': '0bbac918-0ac6-40de-9e54-1cdd7cb2e096', 'ip_version': 4, 'cidr': '111.50.227.64/26', 'allocation_pools': [{'start': '111.50.227.66', 'end': '111.50.227.126'}], 'gateway_ip': '111.50.227.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.50.227.66', 'tags': [], 'project_id': '999468acf22d4f73862727ce036afc53'}}
2025-10-15 19:00:30,730 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf850056-2b78-40f2-90ad-d8f68a7f24ae', 'name': '', 'tenant_id': '999468acf22d4f73862727ce036afc53', 'network_id': '0bbac918-0ac6-40de-9e54-1cdd7cb2e096', 'ip_version': 4, 'cidr': '95.9.15.0/26', 'allocation_pools': [{'start': '95.9.15.2', 'end': '95.9.15.62'}], 'gateway_ip': '95.9.15.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.9.15.2', 'tags': [], 'project_id': '999468acf22d4f73862727ce036afc53'}}
2025-10-15 19:00:30,756 - INFO - Created VN ctest-vn1-35978479
2025-10-15 19:00:30,811 - DEBUG - VN ctest-vn1-35978479 UUID is 0bbac918-0ac6-40de-9e54-1cdd7cb2e096
2025-10-15 19:00:31,203 - DEBUG - Response for create_port : {'port': {'name': 'fe18b667-47de-4828-8be1-bd953b0450a9', 'id': 'fe18b667-47de-4828-8be1-bd953b0450a9', 'tenant_id': '999468acf22d4f73862727ce036afc53', 'network_id': '0bbac918-0ac6-40de-9e54-1cdd7cb2e096', 'mac_address': '02:fe:18:b6:67:47', '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': '111.50.227.69', 'subnet_id': '2c4c718c-6f44-4cf3-9020-5edcf0e34c9f'}], 'security_groups': ['bdcd0f4f-f79a-494d-af8f-e32ebc5d7322'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '999468acf22d4f73862727ce036afc53'}}
2025-10-15 19:00:31,442 - DEBUG - Response for create_port : {'port': {'name': '9f1318f4-6bf9-4293-a4d7-d0c568caec0e', 'id': '9f1318f4-6bf9-4293-a4d7-d0c568caec0e', 'tenant_id': '999468acf22d4f73862727ce036afc53', 'network_id': '0bbac918-0ac6-40de-9e54-1cdd7cb2e096', 'mac_address': '02:9f:13:18:f4:6b', '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': '95.9.15.5', 'subnet_id': 'cf850056-2b78-40f2-90ad-d8f68a7f24ae'}], 'security_groups': ['bdcd0f4f-f79a-494d-af8f-e32ebc5d7322'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '999468acf22d4f73862727ce036afc53'}}
2025-10-15 19:00:31,516 - DEBUG - Services list from nova: [, , ]
2025-10-15 19:00:31,939 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4334-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4334-1)
2025-10-15 19:00:32,473 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4334-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4334-1)
2025-10-15 19:00:32,473 - INFO - Waiting for VM ctest-vn1-vm1-00260748 to be up..
2025-10-15 19:00:32,529 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-15 19:00:37,619 - DEBUG - VM is in ACTIVE state now
2025-10-15 19:00:37,619 - INFO - VM name : ctest-vn1-vm1-00260748
2025-10-15 19:00:37,720 - DEBUG - VM ctest-vn1-vm1-00260748 ID is 5de0e9d1-1acb-49f4-9ab4-ad7890aa9021
2025-10-15 19:00:37,747 - DEBUG - VM ctest-vn1-vm1-00260748 launched on Node cn-jenkins-deploy-platform-ansible-os-4334-1
2025-10-15 19:00:37,839 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5de0e9d1-1acb-49f4-9ab4-ad7890aa9021
2025-10-15 19:00:37,849 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fe18b667-47de-4828-8be1-bd953b0450a9
2025-10-15 19:00:41,097 - 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 1006ms')
2025-10-15 19:00:41,098 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00260748 failed!
2025-10-15 19:00:41,163 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15528884:ctest-vn1-35978479 is 111.50.227.65 and allocation pool is NOT set
2025-10-15 19:00:41,163 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15528884:ctest-vn1-35978479 is 95.9.15.1 and allocation pool is NOT set
2025-10-15 19:00:45,229 - 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=5.14 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 5.135/5.135/5.135/0.000 ms')
2025-10-15 19:00:45,229 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00260748 passed
2025-10-15 19:00:45,387 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-15 19:00:45,387 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-00260748, IP 111.50.227.69, Port 22
2025-10-15 19:00:45,565 - DEBUG - VM ctest-vn1-vm1-00260748 is ready for SSH connections
2025-10-15 19:00:45,565 - INFO - Waiting for VM ctest-vn1-vm2-48455457 to be up..
2025-10-15 19:00:45,659 - DEBUG - VM is in ACTIVE state now
2025-10-15 19:00:45,660 - INFO - VM name : ctest-vn1-vm2-48455457
2025-10-15 19:00:45,756 - DEBUG - VM ctest-vn1-vm2-48455457 ID is 75b53f17-e38a-4645-87d8-7f53d195586f
2025-10-15 19:00:45,757 - DEBUG - VM ctest-vn1-vm2-48455457 launched on Node cn-jenkins-deploy-platform-ansible-os-4334-1
2025-10-15 19:00:45,856 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/75b53f17-e38a-4645-87d8-7f53d195586f
2025-10-15 19:00:45,868 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9f1318f4-6bf9-4293-a4d7-d0c568caec0e
2025-10-15 19:00:47,126 - 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=5.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.494 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.494/2.936/5.378/2.442 ms')
2025-10-15 19:00:47,126 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-48455457 passed
2025-10-15 19:00:47,299 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-15 19:00:47,299 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-48455457, IP 95.9.15.5, Port 22
2025-10-15 19:00:47,469 - DEBUG - VM ctest-vn1-vm2-48455457 is ready for SSH connections
2025-10-15 19:00:47,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-15 19:00:47,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-15 19:00:47,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-15 19:00:47,469 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.50.227.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-10-15 19:00:47,469 - DEBUG - ping -s 56 -c 3 -W 1 111.50.227.69
2025-10-15 19:00:50,178 - DEBUG - PING 111.50.227.69 (111.50.227.69): 56 data bytes
64 bytes from 111.50.227.69: seq=0 ttl=63 time=4.853 ms
64 bytes from 111.50.227.69: seq=1 ttl=63 time=1.104 ms
64 bytes from 111.50.227.69: seq=2 ttl=63 time=0.904 ms
--- 111.50.227.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.904/2.287/4.853 ms
2025-10-15 19:00:50,178 - INFO - Ping to IP 111.50.227.69 from VM ctest-vn1-vm2-48455457 passed
2025-10-15 19:00:50,178 - INFO - Detaching port 9f1318f4-6bf9-4293-a4d7-d0c568caec0e from VM ctest-vn1-vm2-48455457
2025-10-15 19:00:50,250 - INFO - Deleting VM ctest-vn1-vm2-48455457
2025-10-15 19:00:50,344 - INFO - Detaching port fe18b667-47de-4828-8be1-bd953b0450a9 from VM ctest-vn1-vm1-00260748
2025-10-15 19:00:50,388 - INFO - Deleting VM ctest-vn1-vm1-00260748
2025-10-15 19:00:50,691 - DEBUG - Response for delete_port : ()
2025-10-15 19:00:50,888 - DEBUG - Response for delete_port : ()
2025-10-15 19:00:50,888 - INFO - Deleting VN ctest-vn1-35978479
2025-10-15 19:00:51,046 - DEBUG - Response for deleting network ()
2025-10-15 19:00:51,323 - DEBUG - No XMPP flaps were noticed during the test
2025-10-15 19:00:51,324 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22]
2025-10-15 19:00:51,324 - INFO - --------------------------------------------------------------------------------
2025-10-15 19:00:52,050 - INFO - Deleted project: ctest-TestPorts-15528884, ID : 999468ac-f22d-4f73-8627-27ce036afc53