2025-10-30 09:36:00,716 - INFO - Domain Default found not creating
2025-10-30 09:36:00,879 - INFO - Project ctest-TestPorts-73339145 not found, creating it
2025-10-30 09:36:01,362 - INFO - Created Project:ctest-TestPorts-73339145, ID : 7e16e1d9-b733-4127-a2d3-f7ea9f311245
2025-10-30 09:36:02,920 - INFO - ================================================================================
2025-10-30 09:36:02,920 - INFO - STARTING TEST : test_ports_bindings
2025-10-30 09:36:02,920 - 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-30 09:36:03,173 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with
2025-10-30 09:36:03,173 - INFO - Initial checks done. Running the testcase now
2025-10-30 09:36:03,174 - INFO -
2025-10-30 09:36:03,783 - DEBUG - Response for create_network : {'network': {'id': 'd391051a-4659-4db3-bfb7-af58bc1110a0', 'name': 'ctest-vn-13847920', 'tenant_id': '7e16e1d9b7334127a2d3f7ea9f311245', 'project_id': '7e16e1d9b7334127a2d3f7ea9f311245', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-73339145', 'ctest-vn-13847920'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 09:36:03,984 - DEBUG - Response for create_subnet : {'subnet': {'id': '611d69df-32a8-46f4-9eb5-f8abcc2150f9', 'name': '', 'tenant_id': '7e16e1d9b7334127a2d3f7ea9f311245', 'network_id': 'd391051a-4659-4db3-bfb7-af58bc1110a0', 'ip_version': 4, 'cidr': '184.80.1.64/26', 'allocation_pools': [{'start': '184.80.1.66', 'end': '184.80.1.126'}], 'gateway_ip': '184.80.1.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.80.1.66', 'tags': [], 'project_id': '7e16e1d9b7334127a2d3f7ea9f311245'}}
2025-10-30 09:36:04,003 - INFO - Created VN ctest-vn-13847920
2025-10-30 09:36:04,055 - DEBUG - VN ctest-vn-13847920 UUID is d391051a-4659-4db3-bfb7-af58bc1110a0
2025-10-30 09:36:04,170 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-73339145', 'ctest-vmi-42225789']}
2025-10-30 09:36:04,400 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-42225789', 'id': '1603f9a3-d937-4f0d-acb5-9e9e02796441', 'tenant_id': '7e16e1d9b7334127a2d3f7ea9f311245', 'network_id': 'd391051a-4659-4db3-bfb7-af58bc1110a0', 'mac_address': '02:16:03:f9:a3:d9', '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': '184.80.1.67', 'subnet_id': '611d69df-32a8-46f4-9eb5-f8abcc2150f9'}], 'security_groups': ['d940e140-69dc-48b9-bbc5-d23a9b662bf3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7e16e1d9b7334127a2d3f7ea9f311245'}}
2025-10-30 09:36:04,400 - DEBUG - Created port 1603f9a3-d937-4f0d-acb5-9e9e02796441
2025-10-30 09:36:04,503 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1603f9a3-d937-4f0d-acb5-9e9e02796441
2025-10-30 09:36:04,836 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1603f9a3-d937-4f0d-acb5-9e9e02796441
2025-10-30 09:36:04,868 - INFO - VMI 1603f9a3-d937-4f0d-acb5-9e9e02796441 verification in API Server passed
2025-10-30 09:36:04,955 - DEBUG - Response for delete_port : ()
2025-10-30 09:36:04,955 - INFO - Deleted port 1603f9a3-d937-4f0d-acb5-9e9e02796441
2025-10-30 09:36:04,955 - INFO - Deleting VN ctest-vn-13847920
2025-10-30 09:36:05,071 - DEBUG - Response for deleting network ()
2025-10-30 09:36:05,336 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 09:36:05,336 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-30 09:36:05,336 - INFO - --------------------------------------------------------------------------------
2025-10-30 09:36:05,339 - INFO - ================================================================================
2025-10-30 09:36:05,339 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-30 09:36:05,339 - 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-30 09:36:05,620 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with
2025-10-30 09:36:05,620 - INFO - Initial checks done. Running the testcase now
2025-10-30 09:36:05,620 - INFO -
2025-10-30 09:36:05,786 - DEBUG - Response for create_network : {'network': {'id': '95780b96-f6d7-4692-ac46-cf3e8320f5d8', 'name': 'ctest-vn1-91612643', 'tenant_id': '7e16e1d9b7334127a2d3f7ea9f311245', 'project_id': '7e16e1d9b7334127a2d3f7ea9f311245', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-73339145', 'ctest-vn1-91612643'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 09:36:05,962 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce421c7e-087a-454d-9df5-803a02343428', 'name': '', 'tenant_id': '7e16e1d9b7334127a2d3f7ea9f311245', 'network_id': '95780b96-f6d7-4692-ac46-cf3e8320f5d8', 'ip_version': 4, 'cidr': '32.247.94.192/26', 'allocation_pools': [{'start': '32.247.94.194', 'end': '32.247.94.254'}], 'gateway_ip': '32.247.94.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.247.94.194', 'tags': [], 'project_id': '7e16e1d9b7334127a2d3f7ea9f311245'}}
2025-10-30 09:36:06,095 - DEBUG - Response for create_subnet : {'subnet': {'id': '504cd2af-d8d9-43e3-a582-7d33f6d3a8f5', 'name': '', 'tenant_id': '7e16e1d9b7334127a2d3f7ea9f311245', 'network_id': '95780b96-f6d7-4692-ac46-cf3e8320f5d8', 'ip_version': 4, 'cidr': '102.108.171.128/26', 'allocation_pools': [{'start': '102.108.171.130', 'end': '102.108.171.190'}], 'gateway_ip': '102.108.171.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.108.171.130', 'tags': [], 'project_id': '7e16e1d9b7334127a2d3f7ea9f311245'}}
2025-10-30 09:36:06,113 - INFO - Created VN ctest-vn1-91612643
2025-10-30 09:36:06,163 - DEBUG - VN ctest-vn1-91612643 UUID is 95780b96-f6d7-4692-ac46-cf3e8320f5d8
2025-10-30 09:36:06,462 - DEBUG - Response for create_port : {'port': {'name': '447646df-df86-44a1-92ce-fb1ca76dbe7a', 'id': '447646df-df86-44a1-92ce-fb1ca76dbe7a', 'tenant_id': '7e16e1d9b7334127a2d3f7ea9f311245', 'network_id': '95780b96-f6d7-4692-ac46-cf3e8320f5d8', 'mac_address': '02:44:76:46:df: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': '32.247.94.197', 'subnet_id': 'ce421c7e-087a-454d-9df5-803a02343428'}], 'security_groups': ['d940e140-69dc-48b9-bbc5-d23a9b662bf3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7e16e1d9b7334127a2d3f7ea9f311245'}}
2025-10-30 09:36:06,638 - DEBUG - Response for create_port : {'port': {'name': 'dc70d0d8-5d2e-452f-96cf-67700d492a6e', 'id': 'dc70d0d8-5d2e-452f-96cf-67700d492a6e', 'tenant_id': '7e16e1d9b7334127a2d3f7ea9f311245', 'network_id': '95780b96-f6d7-4692-ac46-cf3e8320f5d8', 'mac_address': '02:dc:70:d0:d8:5d', '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': '102.108.171.133', 'subnet_id': '504cd2af-d8d9-43e3-a582-7d33f6d3a8f5'}], 'security_groups': ['d940e140-69dc-48b9-bbc5-d23a9b662bf3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7e16e1d9b7334127a2d3f7ea9f311245'}}
2025-10-30 09:36:06,693 - DEBUG - Services list from nova: [, , ]
2025-10-30 09:36:07,018 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4538-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4538-1)
2025-10-30 09:36:07,415 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4538-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4538-1)
2025-10-30 09:36:07,415 - INFO - Waiting for VM ctest-vn1-vm1-66669020 to be up..
2025-10-30 09:36:07,453 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-30 09:36:12,522 - DEBUG - VM is in ACTIVE state now
2025-10-30 09:36:12,522 - INFO - VM name : ctest-vn1-vm1-66669020
2025-10-30 09:36:12,591 - DEBUG - VM ctest-vn1-vm1-66669020 ID is dd1c7bb5-134d-4e9b-af05-0d8c1cebd63c
2025-10-30 09:36:12,609 - DEBUG - VM ctest-vn1-vm1-66669020 launched on Node cn-jenkins-deploy-platform-ansible-os-4538-1
2025-10-30 09:36:12,681 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/dd1c7bb5-134d-4e9b-af05-0d8c1cebd63c
2025-10-30 09:36:12,689 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/447646df-df86-44a1-92ce-fb1ca76dbe7a
2025-10-30 09:36:15,931 - 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 1011ms')
2025-10-30 09:36:15,931 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66669020 failed!
2025-10-30 09:36:15,987 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-73339145:ctest-vn1-91612643 is 32.247.94.193 and allocation pool is NOT set
2025-10-30 09:36:15,988 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-73339145:ctest-vn1-91612643 is 102.108.171.129 and allocation pool is NOT set
2025-10-30 09:36:20,061 - 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=6.68 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 6.683/6.683/6.683/0.000 ms')
2025-10-30 09:36:20,061 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66669020 passed
2025-10-30 09:36:20,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 09:36:20,211 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-66669020, IP 32.247.94.197, Port 22
2025-10-30 09:36:20,371 - DEBUG - VM ctest-vn1-vm1-66669020 is ready for SSH connections
2025-10-30 09:36:20,371 - INFO - Waiting for VM ctest-vn1-vm2-52460629 to be up..
2025-10-30 09:36:20,469 - DEBUG - VM is in ACTIVE state now
2025-10-30 09:36:20,469 - INFO - VM name : ctest-vn1-vm2-52460629
2025-10-30 09:36:20,553 - DEBUG - VM ctest-vn1-vm2-52460629 ID is c2af6799-b53c-4aa1-9693-aa8709fdd2bb
2025-10-30 09:36:20,553 - DEBUG - VM ctest-vn1-vm2-52460629 launched on Node cn-jenkins-deploy-platform-ansible-os-4538-1
2025-10-30 09:36:20,632 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c2af6799-b53c-4aa1-9693-aa8709fdd2bb
2025-10-30 09:36:20,641 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/dc70d0d8-5d2e-452f-96cf-67700d492a6e
2025-10-30 09:36:21,878 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.415 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.415/1.828/3.241/1.413 ms')
2025-10-30 09:36:21,879 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-52460629 passed
2025-10-30 09:36:22,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 09:36:22,027 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-52460629, IP 102.108.171.133, Port 22
2025-10-30 09:36:22,183 - DEBUG - VM ctest-vn1-vm2-52460629 is ready for SSH connections
2025-10-30 09:36:22,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 09:36:22,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 09:36:22,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 09:36:22,184 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.247.94.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-30 09:36:22,184 - DEBUG - ping -s 56 -c 3 -W 1 32.247.94.197
2025-10-30 09:36:24,913 - DEBUG - PING 32.247.94.197 (32.247.94.197): 56 data bytes
64 bytes from 32.247.94.197: seq=0 ttl=63 time=3.856 ms
64 bytes from 32.247.94.197: seq=1 ttl=63 time=1.210 ms
64 bytes from 32.247.94.197: seq=2 ttl=63 time=0.746 ms
--- 32.247.94.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.746/1.937/3.856 ms
2025-10-30 09:36:24,913 - INFO - Ping to IP 32.247.94.197 from VM ctest-vn1-vm2-52460629 passed
2025-10-30 09:36:24,913 - INFO - Detaching port dc70d0d8-5d2e-452f-96cf-67700d492a6e from VM ctest-vn1-vm2-52460629
2025-10-30 09:36:24,964 - INFO - Deleting VM ctest-vn1-vm2-52460629
2025-10-30 09:36:25,037 - INFO - Detaching port 447646df-df86-44a1-92ce-fb1ca76dbe7a from VM ctest-vn1-vm1-66669020
2025-10-30 09:36:25,071 - INFO - Deleting VM ctest-vn1-vm1-66669020
2025-10-30 09:36:25,318 - DEBUG - Response for delete_port : ()
2025-10-30 09:36:25,474 - DEBUG - Response for delete_port : ()
2025-10-30 09:36:25,474 - INFO - Deleting VN ctest-vn1-91612643
2025-10-30 09:36:25,636 - DEBUG - Response for deleting network ()
2025-10-30 09:36:25,891 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 09:36:25,891 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-10-30 09:36:25,891 - INFO - --------------------------------------------------------------------------------
2025-10-30 09:36:26,605 - INFO - Deleted project: ctest-TestPorts-73339145, ID : 7e16e1d9-b733-4127-a2d3-f7ea9f311245