2025-08-18 02:19:44,148 - INFO - Domain Default found not creating
2025-08-18 02:19:44,280 - INFO - Project ctest-TestPorts-73122329 not found, creating it
2025-08-18 02:19:44,820 - INFO - Created Project:ctest-TestPorts-73122329, ID : cdd2ca8f-861c-4eb7-8825-613aa4076392
2025-08-18 02:19:46,250 - INFO - ================================================================================
2025-08-18 02:19:46,250 - INFO - STARTING TEST : test_ports_bindings
2025-08-18 02:19:46,250 - 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-08-18 02:19:47,512 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.129': '0', '10.20.0.25': '0'}, '10.0.0.41': {'10.20.0.129': '0', '10.20.0.25': '0'}} with
2025-08-18 02:19:47,512 - INFO - Initial checks done. Running the testcase now
2025-08-18 02:19:47,512 - INFO -
2025-08-18 02:19:48,230 - DEBUG - Response for create_network : {'network': {'id': '8b4d5db9-fc92-4a92-bf20-259d6a92f06a', 'name': 'ctest-vn-91005732', 'tenant_id': 'cdd2ca8f861c4eb78825613aa4076392', 'project_id': 'cdd2ca8f861c4eb78825613aa4076392', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-73122329', 'ctest-vn-91005732'], 'port_security_enabled': True, 'description': ''}}
2025-08-18 02:19:48,515 - DEBUG - Response for create_subnet : {'subnet': {'id': '8fdfb828-4133-4bd0-87f9-d76a678b4637', 'name': '', 'tenant_id': 'cdd2ca8f861c4eb78825613aa4076392', 'network_id': '8b4d5db9-fc92-4a92-bf20-259d6a92f06a', 'ip_version': 4, 'cidr': '54.246.216.64/26', 'allocation_pools': [{'start': '54.246.216.66', 'end': '54.246.216.126'}], 'gateway_ip': '54.246.216.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.246.216.66', 'tags': [], 'project_id': 'cdd2ca8f861c4eb78825613aa4076392'}}
2025-08-18 02:19:48,537 - INFO - Created VN ctest-vn-91005732
2025-08-18 02:19:48,551 - DEBUG - VN ctest-vn-91005732 UUID is 8b4d5db9-fc92-4a92-bf20-259d6a92f06a
2025-08-18 02:19:48,620 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-73122329', 'ctest-vmi-64987835']}
2025-08-18 02:19:48,965 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-64987835', 'id': '305eff61-ab5d-4a0c-be0d-c334939ccadd', 'tenant_id': 'cdd2ca8f861c4eb78825613aa4076392', 'network_id': '8b4d5db9-fc92-4a92-bf20-259d6a92f06a', 'mac_address': '02:30:5e:ff:61:ab', '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': '54.246.216.67', 'subnet_id': '8fdfb828-4133-4bd0-87f9-d76a678b4637'}], 'security_groups': ['9baa88c5-5fea-4e9d-8c54-16e9f320e10e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cdd2ca8f861c4eb78825613aa4076392'}}
2025-08-18 02:19:48,965 - DEBUG - Created port 305eff61-ab5d-4a0c-be0d-c334939ccadd
2025-08-18 02:19:49,038 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/305eff61-ab5d-4a0c-be0d-c334939ccadd
2025-08-18 02:19:49,335 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/305eff61-ab5d-4a0c-be0d-c334939ccadd
2025-08-18 02:19:49,366 - INFO - VMI 305eff61-ab5d-4a0c-be0d-c334939ccadd verification in API Server passed
2025-08-18 02:19:49,511 - DEBUG - Response for delete_port : ()
2025-08-18 02:19:49,512 - INFO - Deleted port 305eff61-ab5d-4a0c-be0d-c334939ccadd
2025-08-18 02:19:49,512 - INFO - Deleting VN ctest-vn-91005732
2025-08-18 02:19:49,657 - DEBUG - Response for deleting network ()
2025-08-18 02:19:50,919 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 02:19:50,919 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04]
2025-08-18 02:19:50,919 - INFO - --------------------------------------------------------------------------------
2025-08-18 02:19:50,922 - INFO - ================================================================================
2025-08-18 02:19:50,922 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-18 02:19:50,922 - 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-08-18 02:19:52,198 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.129': '0', '10.20.0.25': '0'}, '10.0.0.41': {'10.20.0.129': '0', '10.20.0.25': '0'}} with
2025-08-18 02:19:52,198 - INFO - Initial checks done. Running the testcase now
2025-08-18 02:19:52,198 - INFO -
2025-08-18 02:19:52,477 - DEBUG - Response for create_network : {'network': {'id': 'f45bf7dc-2d4a-4105-bb71-23d113656887', 'name': 'ctest-vn1-52052685', 'tenant_id': 'cdd2ca8f861c4eb78825613aa4076392', 'project_id': 'cdd2ca8f861c4eb78825613aa4076392', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-73122329', 'ctest-vn1-52052685'], 'port_security_enabled': True, 'description': ''}}
2025-08-18 02:19:52,739 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac3fbe28-a3f0-41ac-b507-bbfc60ab23d1', 'name': '', 'tenant_id': 'cdd2ca8f861c4eb78825613aa4076392', 'network_id': 'f45bf7dc-2d4a-4105-bb71-23d113656887', 'ip_version': 4, 'cidr': '130.67.90.128/26', 'allocation_pools': [{'start': '130.67.90.130', 'end': '130.67.90.190'}], 'gateway_ip': '130.67.90.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.67.90.130', 'tags': [], 'project_id': 'cdd2ca8f861c4eb78825613aa4076392'}}
2025-08-18 02:19:52,987 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c24b91e-7f19-498f-b869-6d0d2c81de35', 'name': '', 'tenant_id': 'cdd2ca8f861c4eb78825613aa4076392', 'network_id': 'f45bf7dc-2d4a-4105-bb71-23d113656887', 'ip_version': 4, 'cidr': '68.18.216.0/26', 'allocation_pools': [{'start': '68.18.216.2', 'end': '68.18.216.62'}], 'gateway_ip': '68.18.216.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.18.216.2', 'tags': [], 'project_id': 'cdd2ca8f861c4eb78825613aa4076392'}}
2025-08-18 02:19:53,015 - INFO - Created VN ctest-vn1-52052685
2025-08-18 02:19:53,033 - DEBUG - VN ctest-vn1-52052685 UUID is f45bf7dc-2d4a-4105-bb71-23d113656887
2025-08-18 02:19:53,429 - DEBUG - Response for create_port : {'port': {'name': 'fa47f9f7-04ea-4fe6-9cd3-ea48aad4fc07', 'id': 'fa47f9f7-04ea-4fe6-9cd3-ea48aad4fc07', 'tenant_id': 'cdd2ca8f861c4eb78825613aa4076392', 'network_id': 'f45bf7dc-2d4a-4105-bb71-23d113656887', 'mac_address': '02:fa:47:f9:f7:04', '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': '130.67.90.133', 'subnet_id': 'ac3fbe28-a3f0-41ac-b507-bbfc60ab23d1'}], 'security_groups': ['9baa88c5-5fea-4e9d-8c54-16e9f320e10e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cdd2ca8f861c4eb78825613aa4076392'}}
2025-08-18 02:19:53,711 - DEBUG - Response for create_port : {'port': {'name': '992368da-4e3e-443b-b484-7e134b3990e8', 'id': '992368da-4e3e-443b-b484-7e134b3990e8', 'tenant_id': 'cdd2ca8f861c4eb78825613aa4076392', 'network_id': 'f45bf7dc-2d4a-4105-bb71-23d113656887', 'mac_address': '02:99:23:68:da:4e', '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': '68.18.216.5', 'subnet_id': '5c24b91e-7f19-498f-b869-6d0d2c81de35'}], 'security_groups': ['9baa88c5-5fea-4e9d-8c54-16e9f320e10e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cdd2ca8f861c4eb78825613aa4076392'}}
2025-08-18 02:19:53,767 - DEBUG - Services list from nova: [, , , ]
2025-08-18 02:19:54,198 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3870-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3870-1)
2025-08-18 02:19:54,698 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3870-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3870-2)
2025-08-18 02:19:54,699 - INFO - Waiting for VM ctest-vn1-vm1-78331525 to be up..
2025-08-18 02:19:54,741 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-18 02:19:59,825 - DEBUG - VM is in ACTIVE state now
2025-08-18 02:19:59,825 - INFO - VM name : ctest-vn1-vm1-78331525
2025-08-18 02:19:59,906 - DEBUG - VM ctest-vn1-vm1-78331525 ID is 6735fb23-cb92-4663-b538-cd4afa9e7822
2025-08-18 02:19:59,929 - DEBUG - VM ctest-vn1-vm1-78331525 launched on Node an-jenkins-deploy-platform-ansible-os-3870-1
2025-08-18 02:20:00,007 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/6735fb23-cb92-4663-b538-cd4afa9e7822
2025-08-18 02:20:00,298 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/6735fb23-cb92-4663-b538-cd4afa9e7822
2025-08-18 02:20:00,331 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/fa47f9f7-04ea-4fe6-9cd3-ea48aad4fc07
2025-08-18 02:20:03,508 - 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 1007ms')
2025-08-18 02:20:03,508 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78331525 failed!
2025-08-18 02:20:03,524 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-73122329:ctest-vn1-52052685 is 130.67.90.129 and allocation pool is NOT set
2025-08-18 02:20:03,524 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-73122329:ctest-vn1-52052685 is 68.18.216.1 and allocation pool is NOT set
2025-08-18 02:20:05,588 - 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=6.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.742 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.742/3.473/6.204/2.731 ms')
2025-08-18 02:20:05,588 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78331525 passed
2025-08-18 02:20:05,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 02:20:05,659 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-78331525, IP 130.67.90.133, Port 22
2025-08-18 02:20:05,821 - DEBUG - VM ctest-vn1-vm1-78331525 is ready for SSH connections
2025-08-18 02:20:05,821 - INFO - Waiting for VM ctest-vn1-vm2-57808591 to be up..
2025-08-18 02:20:05,900 - DEBUG - VM is in ACTIVE state now
2025-08-18 02:20:05,900 - INFO - VM name : ctest-vn1-vm2-57808591
2025-08-18 02:20:05,976 - DEBUG - VM ctest-vn1-vm2-57808591 ID is 3753ae3a-6803-49bd-b72d-ceaa414709eb
2025-08-18 02:20:05,977 - DEBUG - VM ctest-vn1-vm2-57808591 launched on Node an-jenkins-deploy-platform-ansible-os-3870-2
2025-08-18 02:20:06,055 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/3753ae3a-6803-49bd-b72d-ceaa414709eb
2025-08-18 02:20:06,067 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/992368da-4e3e-443b-b484-7e134b3990e8
2025-08-18 02:20:07,245 - 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=7.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.485 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.485/3.925/7.366/3.440 ms')
2025-08-18 02:20:07,245 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-57808591 passed
2025-08-18 02:20:07,319 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 02:20:07,319 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-57808591, IP 68.18.216.5, Port 22
2025-08-18 02:20:07,477 - DEBUG - VM ctest-vn1-vm2-57808591 is ready for SSH connections
2025-08-18 02:20:07,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 02:20:07,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 02:20:07,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 02:20:07,477 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.67.90.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-08-18 02:20:07,477 - DEBUG - ping -s 56 -c 3 -W 1 130.67.90.133
2025-08-18 02:20:10,372 - DEBUG - PING 130.67.90.133 (130.67.90.133): 56 data bytes
64 bytes from 130.67.90.133: seq=0 ttl=63 time=4.482 ms
64 bytes from 130.67.90.133: seq=1 ttl=63 time=1.161 ms
64 bytes from 130.67.90.133: seq=2 ttl=63 time=1.155 ms
--- 130.67.90.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.155/2.266/4.482 ms
2025-08-18 02:20:10,372 - INFO - Ping to IP 130.67.90.133 from VM ctest-vn1-vm2-57808591 passed
2025-08-18 02:20:10,372 - INFO - Detaching port 992368da-4e3e-443b-b484-7e134b3990e8 from VM ctest-vn1-vm2-57808591
2025-08-18 02:20:10,534 - INFO - Deleting VM ctest-vn1-vm2-57808591
2025-08-18 02:20:10,638 - INFO - Detaching port fa47f9f7-04ea-4fe6-9cd3-ea48aad4fc07 from VM ctest-vn1-vm1-78331525
2025-08-18 02:20:10,682 - INFO - Deleting VM ctest-vn1-vm1-78331525
2025-08-18 02:20:10,991 - DEBUG - Response for delete_port : ()
2025-08-18 02:20:11,243 - DEBUG - Response for delete_port : ()
2025-08-18 02:20:11,243 - INFO - Deleting VN ctest-vn1-52052685
2025-08-18 02:20:11,480 - DEBUG - Response for deleting network ()
2025-08-18 02:20:12,772 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 02:20:12,772 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22]
2025-08-18 02:20:12,772 - INFO - --------------------------------------------------------------------------------
2025-08-18 02:20:13,488 - INFO - Deleted project: ctest-TestPorts-73122329, ID : cdd2ca8f-861c-4eb7-8825-613aa4076392