2025-10-08 13:29:32,888 - INFO - Domain Default found not creating
2025-10-08 13:29:33,141 - INFO - Project ctest-TestPorts-00581174 not found, creating it
2025-10-08 13:29:34,383 - INFO - Created Project:ctest-TestPorts-00581174, ID : 3a1cee33-80fe-4cda-a480-41c6b44c7af6
2025-10-08 13:29:35,908 - INFO - ================================================================================
2025-10-08 13:29:35,908 - INFO - STARTING TEST : test_ports_bindings
2025-10-08 13:29:35,908 - 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-08 13:29:37,177 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.131': {'10.20.0.14': '0', '10.20.0.25': '0'}} with
2025-10-08 13:29:37,177 - INFO - Initial checks done. Running the testcase now
2025-10-08 13:29:37,177 - INFO -
2025-10-08 13:29:37,826 - DEBUG - Response for create_network : {'network': {'id': '8812f8ff-af8f-4829-9e3a-1c0602e940b3', 'name': 'ctest-vn-65181734', 'tenant_id': '3a1cee3380fe4cdaa48041c6b44c7af6', 'project_id': '3a1cee3380fe4cdaa48041c6b44c7af6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-00581174', 'ctest-vn-65181734'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 13:29:38,148 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e896853-f87e-425d-ac41-03f1324fdc7b', 'name': '', 'tenant_id': '3a1cee3380fe4cdaa48041c6b44c7af6', 'network_id': '8812f8ff-af8f-4829-9e3a-1c0602e940b3', 'ip_version': 4, 'cidr': '133.131.185.64/26', 'allocation_pools': [{'start': '133.131.185.66', 'end': '133.131.185.126'}], 'gateway_ip': '133.131.185.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.131.185.66', 'tags': [], 'project_id': '3a1cee3380fe4cdaa48041c6b44c7af6'}}
2025-10-08 13:29:38,171 - INFO - Created VN ctest-vn-65181734
2025-10-08 13:29:38,182 - DEBUG - VN ctest-vn-65181734 UUID is 8812f8ff-af8f-4829-9e3a-1c0602e940b3
2025-10-08 13:29:38,258 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-00581174', 'ctest-vmi-57263012']}
2025-10-08 13:29:38,575 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-57263012', 'id': 'd7bc48a4-79c1-4af2-885f-f213ef19aff8', 'tenant_id': '3a1cee3380fe4cdaa48041c6b44c7af6', 'network_id': '8812f8ff-af8f-4829-9e3a-1c0602e940b3', 'mac_address': '02:d7:bc:48:a4:79', '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': '133.131.185.67', 'subnet_id': '4e896853-f87e-425d-ac41-03f1324fdc7b'}], 'security_groups': ['bb54df7a-b044-4095-b405-091f2764c02e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3a1cee3380fe4cdaa48041c6b44c7af6'}}
2025-10-08 13:29:38,575 - DEBUG - Created port d7bc48a4-79c1-4af2-885f-f213ef19aff8
2025-10-08 13:29:38,649 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d7bc48a4-79c1-4af2-885f-f213ef19aff8
2025-10-08 13:29:38,937 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d7bc48a4-79c1-4af2-885f-f213ef19aff8
2025-10-08 13:29:38,968 - INFO - VMI d7bc48a4-79c1-4af2-885f-f213ef19aff8 verification in API Server passed
2025-10-08 13:29:39,124 - DEBUG - Response for delete_port : ()
2025-10-08 13:29:39,125 - INFO - Deleted port d7bc48a4-79c1-4af2-885f-f213ef19aff8
2025-10-08 13:29:39,125 - INFO - Deleting VN ctest-vn-65181734
2025-10-08 13:29:39,282 - DEBUG - Response for deleting network ()
2025-10-08 13:29:40,551 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 13:29:40,552 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2025-10-08 13:29:40,552 - INFO - --------------------------------------------------------------------------------
2025-10-08 13:29:40,554 - INFO - ================================================================================
2025-10-08 13:29:40,554 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-08 13:29:40,554 - 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-08 13:29:41,816 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.131': {'10.20.0.14': '0', '10.20.0.25': '0'}} with
2025-10-08 13:29:41,816 - INFO - Initial checks done. Running the testcase now
2025-10-08 13:29:41,816 - INFO -
2025-10-08 13:29:42,064 - DEBUG - Response for create_network : {'network': {'id': '8ce2464d-b159-4d36-8664-192609580efb', 'name': 'ctest-vn1-19525129', 'tenant_id': '3a1cee3380fe4cdaa48041c6b44c7af6', 'project_id': '3a1cee3380fe4cdaa48041c6b44c7af6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-00581174', 'ctest-vn1-19525129'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 13:29:42,346 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd82503cd-1dea-4d3e-bb38-70e76d141c9f', 'name': '', 'tenant_id': '3a1cee3380fe4cdaa48041c6b44c7af6', 'network_id': '8ce2464d-b159-4d36-8664-192609580efb', 'ip_version': 4, 'cidr': '78.76.5.128/26', 'allocation_pools': [{'start': '78.76.5.130', 'end': '78.76.5.190'}], 'gateway_ip': '78.76.5.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.76.5.130', 'tags': [], 'project_id': '3a1cee3380fe4cdaa48041c6b44c7af6'}}
2025-10-08 13:29:42,549 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e98fa96e-bb07-4b0a-9a0a-28cb6ef13e7d', 'name': '', 'tenant_id': '3a1cee3380fe4cdaa48041c6b44c7af6', 'network_id': '8ce2464d-b159-4d36-8664-192609580efb', 'ip_version': 4, 'cidr': '102.137.70.64/26', 'allocation_pools': [{'start': '102.137.70.66', 'end': '102.137.70.126'}], 'gateway_ip': '102.137.70.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.137.70.66', 'tags': [], 'project_id': '3a1cee3380fe4cdaa48041c6b44c7af6'}}
2025-10-08 13:29:42,582 - INFO - Created VN ctest-vn1-19525129
2025-10-08 13:29:42,594 - DEBUG - VN ctest-vn1-19525129 UUID is 8ce2464d-b159-4d36-8664-192609580efb
2025-10-08 13:29:43,040 - DEBUG - Response for create_port : {'port': {'name': 'e2020650-013d-4c9c-a506-c258ad5d041e', 'id': 'e2020650-013d-4c9c-a506-c258ad5d041e', 'tenant_id': '3a1cee3380fe4cdaa48041c6b44c7af6', 'network_id': '8ce2464d-b159-4d36-8664-192609580efb', 'mac_address': '02:e2:02:06:50:01', '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': '78.76.5.133', 'subnet_id': 'd82503cd-1dea-4d3e-bb38-70e76d141c9f'}], 'security_groups': ['bb54df7a-b044-4095-b405-091f2764c02e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3a1cee3380fe4cdaa48041c6b44c7af6'}}
2025-10-08 13:29:43,339 - DEBUG - Response for create_port : {'port': {'name': 'c0809009-324d-4ca3-a9df-0fbaef36dd57', 'id': 'c0809009-324d-4ca3-a9df-0fbaef36dd57', 'tenant_id': '3a1cee3380fe4cdaa48041c6b44c7af6', 'network_id': '8ce2464d-b159-4d36-8664-192609580efb', 'mac_address': '02:c0:80:90:09:32', '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.137.70.69', 'subnet_id': 'e98fa96e-bb07-4b0a-9a0a-28cb6ef13e7d'}], 'security_groups': ['bb54df7a-b044-4095-b405-091f2764c02e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3a1cee3380fe4cdaa48041c6b44c7af6'}}
2025-10-08 13:29:43,414 - DEBUG - Services list from nova: [, , , ]
2025-10-08 13:29:43,971 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4234-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4234-2)
2025-10-08 13:29:44,526 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4234-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4234-1)
2025-10-08 13:29:44,526 - INFO - Waiting for VM ctest-vn1-vm1-81191289 to be up..
2025-10-08 13:29:44,574 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-08 13:29:49,661 - DEBUG - VM is in ACTIVE state now
2025-10-08 13:29:49,661 - INFO - VM name : ctest-vn1-vm1-81191289
2025-10-08 13:29:49,734 - DEBUG - VM ctest-vn1-vm1-81191289 ID is d8ac93ed-b6c1-4c3d-988e-4854b4ad1a80
2025-10-08 13:29:49,755 - DEBUG - VM ctest-vn1-vm1-81191289 launched on Node an-jenkins-deploy-platform-ansible-os-4234-2
2025-10-08 13:29:49,834 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/d8ac93ed-b6c1-4c3d-988e-4854b4ad1a80
2025-10-08 13:29:50,125 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/d8ac93ed-b6c1-4c3d-988e-4854b4ad1a80
2025-10-08 13:29:50,157 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/e2020650-013d-4c9c-a506-c258ad5d041e
2025-10-08 13:29:53,338 - 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 1029ms')
2025-10-08 13:29:53,338 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81191289 failed!
2025-10-08 13:29:53,352 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-00581174:ctest-vn1-19525129 is 78.76.5.129 and allocation pool is NOT set
2025-10-08 13:29:53,352 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-00581174:ctest-vn1-19525129 is 102.137.70.65 and allocation pool is NOT set
2025-10-08 13:29:57,443 - 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.35 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 6.345/6.345/6.345/0.000 ms')
2025-10-08 13:29:57,444 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81191289 passed
2025-10-08 13:29:57,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 13:29:57,512 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-81191289, IP 78.76.5.133, Port 22
2025-10-08 13:29:57,683 - DEBUG - VM ctest-vn1-vm1-81191289 is ready for SSH connections
2025-10-08 13:29:57,683 - INFO - Waiting for VM ctest-vn1-vm2-68737024 to be up..
2025-10-08 13:29:57,763 - DEBUG - VM is in ACTIVE state now
2025-10-08 13:29:57,763 - INFO - VM name : ctest-vn1-vm2-68737024
2025-10-08 13:29:57,841 - DEBUG - VM ctest-vn1-vm2-68737024 ID is 003840f3-ec98-41bf-8eba-6691ef591496
2025-10-08 13:29:57,842 - DEBUG - VM ctest-vn1-vm2-68737024 launched on Node an-jenkins-deploy-platform-ansible-os-4234-1
2025-10-08 13:29:57,916 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/003840f3-ec98-41bf-8eba-6691ef591496
2025-10-08 13:29:57,927 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/c0809009-324d-4ca3-a9df-0fbaef36dd57
2025-10-08 13:29:59,092 - 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.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.551 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.551/1.917/3.283/1.366 ms')
2025-10-08 13:29:59,092 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-68737024 passed
2025-10-08 13:29:59,163 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 13:29:59,164 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-68737024, IP 102.137.70.69, Port 22
2025-10-08 13:29:59,337 - DEBUG - VM ctest-vn1-vm2-68737024 is ready for SSH connections
2025-10-08 13:29:59,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 13:29:59,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 13:29:59,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 13:29:59,337 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.76.5.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-10-08 13:29:59,337 - DEBUG - ping -s 56 -c 3 -W 1 78.76.5.133
2025-10-08 13:30:02,438 - DEBUG - PING 78.76.5.133 (78.76.5.133): 56 data bytes
64 bytes from 78.76.5.133: seq=0 ttl=63 time=6.609 ms
64 bytes from 78.76.5.133: seq=1 ttl=63 time=1.613 ms
64 bytes from 78.76.5.133: seq=2 ttl=63 time=2.585 ms
--- 78.76.5.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.613/3.602/6.609 ms
2025-10-08 13:30:02,438 - INFO - Ping to IP 78.76.5.133 from VM ctest-vn1-vm2-68737024 passed
2025-10-08 13:30:02,438 - INFO - Detaching port c0809009-324d-4ca3-a9df-0fbaef36dd57 from VM ctest-vn1-vm2-68737024
2025-10-08 13:30:02,485 - INFO - Deleting VM ctest-vn1-vm2-68737024
2025-10-08 13:30:02,545 - INFO - Detaching port e2020650-013d-4c9c-a506-c258ad5d041e from VM ctest-vn1-vm1-81191289
2025-10-08 13:30:02,573 - INFO - Deleting VM ctest-vn1-vm1-81191289
2025-10-08 13:30:02,960 - DEBUG - Response for delete_port : ()
2025-10-08 13:30:03,265 - DEBUG - Response for delete_port : ()
2025-10-08 13:30:03,265 - INFO - Deleting VN ctest-vn1-19525129
2025-10-08 13:30:03,477 - DEBUG - Response for deleting network ()
2025-10-08 13:30:04,846 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 13:30:04,846 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-08 13:30:04,846 - INFO - --------------------------------------------------------------------------------
2025-10-08 13:30:05,581 - INFO - Deleted project: ctest-TestPorts-00581174, ID : 3a1cee33-80fe-4cda-a480-41c6b44c7af6