2025-08-12 14:09:47,272 - INFO - Domain Default found not creating
2025-08-12 14:09:47,398 - INFO - Project ctest-TestPorts-92319695 not found, creating it
2025-08-12 14:09:47,930 - INFO - Created Project:ctest-TestPorts-92319695, ID : 9e0d3649-89e8-451f-96d5-2d50b5b4e34a
2025-08-12 14:09:49,298 - INFO - ================================================================================
2025-08-12 14:09:49,298 - INFO - STARTING TEST : test_ports_bindings
2025-08-12 14:09:49,298 - 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-12 14:09:49,552 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-08-12 14:09:49,552 - INFO - Initial checks done. Running the testcase now
2025-08-12 14:09:49,552 - INFO -
2025-08-12 14:09:50,070 - DEBUG - Response for create_network : {'network': {'id': '3f7eafeb-19f9-446d-8a8a-ad45ee96fcf8', 'name': 'ctest-vn-52972339', 'tenant_id': '9e0d364989e8451f96d52d50b5b4e34a', 'project_id': '9e0d364989e8451f96d52d50b5b4e34a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-92319695', 'ctest-vn-52972339'], 'port_security_enabled': True, 'description': ''}}
2025-08-12 14:09:50,220 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ecd78a92-b2b1-4e4c-baf4-9315758d7890', 'name': '', 'tenant_id': '9e0d364989e8451f96d52d50b5b4e34a', 'network_id': '3f7eafeb-19f9-446d-8a8a-ad45ee96fcf8', 'ip_version': 4, 'cidr': '13.148.224.64/26', 'allocation_pools': [{'start': '13.148.224.66', 'end': '13.148.224.126'}], 'gateway_ip': '13.148.224.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.148.224.66', 'tags': [], 'project_id': '9e0d364989e8451f96d52d50b5b4e34a'}}
2025-08-12 14:09:50,236 - INFO - Created VN ctest-vn-52972339
2025-08-12 14:09:50,291 - DEBUG - VN ctest-vn-52972339 UUID is 3f7eafeb-19f9-446d-8a8a-ad45ee96fcf8
2025-08-12 14:09:50,384 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-92319695', 'ctest-vmi-12442693']}
2025-08-12 14:09:50,644 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-12442693', 'id': 'b2a991f5-047f-4864-af0f-1005a5db1ac2', 'tenant_id': '9e0d364989e8451f96d52d50b5b4e34a', 'network_id': '3f7eafeb-19f9-446d-8a8a-ad45ee96fcf8', 'mac_address': '02:b2:a9:91:f5:04', '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': '13.148.224.67', 'subnet_id': 'ecd78a92-b2b1-4e4c-baf4-9315758d7890'}], 'security_groups': ['fe2bd2c6-a4c8-425d-8a14-ac614b9bfe22'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9e0d364989e8451f96d52d50b5b4e34a'}}
2025-08-12 14:09:50,644 - DEBUG - Created port b2a991f5-047f-4864-af0f-1005a5db1ac2
2025-08-12 14:09:50,747 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b2a991f5-047f-4864-af0f-1005a5db1ac2
2025-08-12 14:09:51,040 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b2a991f5-047f-4864-af0f-1005a5db1ac2
2025-08-12 14:09:51,070 - INFO - VMI b2a991f5-047f-4864-af0f-1005a5db1ac2 verification in API Server passed
2025-08-12 14:09:51,148 - DEBUG - Response for delete_port : ()
2025-08-12 14:09:51,148 - INFO - Deleted port b2a991f5-047f-4864-af0f-1005a5db1ac2
2025-08-12 14:09:51,148 - INFO - Deleting VN ctest-vn-52972339
2025-08-12 14:09:51,243 - DEBUG - Response for deleting network ()
2025-08-12 14:09:51,499 - DEBUG - No XMPP flaps were noticed during the test
2025-08-12 14:09:51,499 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-12 14:09:51,500 - INFO - --------------------------------------------------------------------------------
2025-08-12 14:09:51,502 - INFO - ================================================================================
2025-08-12 14:09:51,502 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-12 14:09:51,502 - 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-12 14:09:51,800 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-08-12 14:09:51,800 - INFO - Initial checks done. Running the testcase now
2025-08-12 14:09:51,800 - INFO -
2025-08-12 14:09:51,976 - DEBUG - Response for create_network : {'network': {'id': '2cf7bda8-869f-4b20-bfa3-21d461d3c1ad', 'name': 'ctest-vn1-78551855', 'tenant_id': '9e0d364989e8451f96d52d50b5b4e34a', 'project_id': '9e0d364989e8451f96d52d50b5b4e34a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-92319695', 'ctest-vn1-78551855'], 'port_security_enabled': True, 'description': ''}}
2025-08-12 14:09:52,122 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a0554bc-5d4f-49be-bb36-735a5ac2dd61', 'name': '', 'tenant_id': '9e0d364989e8451f96d52d50b5b4e34a', 'network_id': '2cf7bda8-869f-4b20-bfa3-21d461d3c1ad', 'ip_version': 4, 'cidr': '37.34.86.64/26', 'allocation_pools': [{'start': '37.34.86.66', 'end': '37.34.86.126'}], 'gateway_ip': '37.34.86.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.34.86.66', 'tags': [], 'project_id': '9e0d364989e8451f96d52d50b5b4e34a'}}
2025-08-12 14:09:52,321 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cda8a58a-ac41-41f9-a28d-568f28615a4d', 'name': '', 'tenant_id': '9e0d364989e8451f96d52d50b5b4e34a', 'network_id': '2cf7bda8-869f-4b20-bfa3-21d461d3c1ad', 'ip_version': 4, 'cidr': '146.49.217.128/26', 'allocation_pools': [{'start': '146.49.217.130', 'end': '146.49.217.190'}], 'gateway_ip': '146.49.217.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.49.217.130', 'tags': [], 'project_id': '9e0d364989e8451f96d52d50b5b4e34a'}}
2025-08-12 14:09:52,339 - INFO - Created VN ctest-vn1-78551855
2025-08-12 14:09:52,390 - DEBUG - VN ctest-vn1-78551855 UUID is 2cf7bda8-869f-4b20-bfa3-21d461d3c1ad
2025-08-12 14:09:52,673 - DEBUG - Response for create_port : {'port': {'name': 'bca4cae9-f9d1-4cf9-a7bd-b9a1cb3a7a38', 'id': 'bca4cae9-f9d1-4cf9-a7bd-b9a1cb3a7a38', 'tenant_id': '9e0d364989e8451f96d52d50b5b4e34a', 'network_id': '2cf7bda8-869f-4b20-bfa3-21d461d3c1ad', 'mac_address': '02:bc:a4:ca:e9:f9', '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': '37.34.86.69', 'subnet_id': '2a0554bc-5d4f-49be-bb36-735a5ac2dd61'}], 'security_groups': ['fe2bd2c6-a4c8-425d-8a14-ac614b9bfe22'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9e0d364989e8451f96d52d50b5b4e34a'}}
2025-08-12 14:09:52,833 - DEBUG - Response for create_port : {'port': {'name': 'd013aab3-ca72-42f8-8379-71e868d60668', 'id': 'd013aab3-ca72-42f8-8379-71e868d60668', 'tenant_id': '9e0d364989e8451f96d52d50b5b4e34a', 'network_id': '2cf7bda8-869f-4b20-bfa3-21d461d3c1ad', 'mac_address': '02:d0:13:aa:b3:ca', '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': '146.49.217.133', 'subnet_id': 'cda8a58a-ac41-41f9-a28d-568f28615a4d'}], 'security_groups': ['fe2bd2c6-a4c8-425d-8a14-ac614b9bfe22'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9e0d364989e8451f96d52d50b5b4e34a'}}
2025-08-12 14:09:52,884 - DEBUG - Services list from nova: [, , ]
2025-08-12 14:09:53,172 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3831-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3831-1)
2025-08-12 14:09:53,503 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3831-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3831-1)
2025-08-12 14:09:53,503 - INFO - Waiting for VM ctest-vn1-vm1-90574551 to be up..
2025-08-12 14:09:53,537 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-12 14:09:58,694 - DEBUG - VM is in ACTIVE state now
2025-08-12 14:09:58,694 - INFO - VM name : ctest-vn1-vm1-90574551
2025-08-12 14:09:58,857 - DEBUG - VM ctest-vn1-vm1-90574551 ID is 418abb4d-17fc-4cd5-a222-0c3b48a67548
2025-08-12 14:09:58,908 - DEBUG - VM ctest-vn1-vm1-90574551 launched on Node cn-jenkins-deploy-platform-ansible-os-3831-1
2025-08-12 14:09:59,021 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/418abb4d-17fc-4cd5-a222-0c3b48a67548
2025-08-12 14:09:59,031 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bca4cae9-f9d1-4cf9-a7bd-b9a1cb3a7a38
2025-08-12 14:10:02,315 - 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 1019ms')
2025-08-12 14:10:02,315 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-90574551 failed!
2025-08-12 14:10:02,371 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-92319695:ctest-vn1-78551855 is 37.34.86.65 and allocation pool is NOT set
2025-08-12 14:10:02,371 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-92319695:ctest-vn1-78551855 is 146.49.217.129 and allocation pool is NOT set
2025-08-12 14:10:04,428 - 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.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.930 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.930/2.392/3.855/1.462 ms')
2025-08-12 14:10:04,428 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-90574551 passed
2025-08-12 14:10:04,575 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 14:10:04,575 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-90574551, IP 37.34.86.69, Port 22
2025-08-12 14:10:04,725 - DEBUG - VM ctest-vn1-vm1-90574551 is ready for SSH connections
2025-08-12 14:10:04,726 - INFO - Waiting for VM ctest-vn1-vm2-93246013 to be up..
2025-08-12 14:10:04,804 - DEBUG - VM is in ACTIVE state now
2025-08-12 14:10:04,804 - INFO - VM name : ctest-vn1-vm2-93246013
2025-08-12 14:10:04,868 - DEBUG - VM ctest-vn1-vm2-93246013 ID is 33847656-0be7-41a2-8fd9-5d40d161559c
2025-08-12 14:10:04,868 - DEBUG - VM ctest-vn1-vm2-93246013 launched on Node cn-jenkins-deploy-platform-ansible-os-3831-1
2025-08-12 14:10:04,932 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/33847656-0be7-41a2-8fd9-5d40d161559c
2025-08-12 14:10:04,940 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d013aab3-ca72-42f8-8379-71e868d60668
2025-08-12 14:10:06,185 - 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.63 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 1002ms\r\nrtt min/avg/max/mdev = 0.415/1.523/2.632/1.108 ms')
2025-08-12 14:10:06,185 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-93246013 passed
2025-08-12 14:10:06,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 14:10:06,339 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-93246013, IP 146.49.217.133, Port 22
2025-08-12 14:10:06,504 - DEBUG - VM ctest-vn1-vm2-93246013 is ready for SSH connections
2025-08-12 14:10:06,504 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 14:10:06,504 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 14:10:06,504 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 14:10:06,504 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.34.86.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-08-12 14:10:06,504 - DEBUG - ping -s 56 -c 3 -W 1 37.34.86.69
2025-08-12 14:10:09,402 - DEBUG - PING 37.34.86.69 (37.34.86.69): 56 data bytes
64 bytes from 37.34.86.69: seq=0 ttl=63 time=5.067 ms
64 bytes from 37.34.86.69: seq=1 ttl=63 time=0.777 ms
64 bytes from 37.34.86.69: seq=2 ttl=63 time=0.795 ms
--- 37.34.86.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.777/2.213/5.067 ms
2025-08-12 14:10:09,403 - INFO - Ping to IP 37.34.86.69 from VM ctest-vn1-vm2-93246013 passed
2025-08-12 14:10:09,403 - INFO - Detaching port d013aab3-ca72-42f8-8379-71e868d60668 from VM ctest-vn1-vm2-93246013
2025-08-12 14:10:09,447 - INFO - Deleting VM ctest-vn1-vm2-93246013
2025-08-12 14:10:09,510 - INFO - Detaching port bca4cae9-f9d1-4cf9-a7bd-b9a1cb3a7a38 from VM ctest-vn1-vm1-90574551
2025-08-12 14:10:09,546 - INFO - Deleting VM ctest-vn1-vm1-90574551
2025-08-12 14:10:09,806 - DEBUG - Response for delete_port : ()
2025-08-12 14:10:09,977 - DEBUG - Response for delete_port : ()
2025-08-12 14:10:09,978 - INFO - Deleting VN ctest-vn1-78551855
2025-08-12 14:10:10,150 - DEBUG - Response for deleting network ()
2025-08-12 14:10:10,412 - DEBUG - No XMPP flaps were noticed during the test
2025-08-12 14:10:10,412 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-12 14:10:10,412 - INFO - --------------------------------------------------------------------------------
2025-08-12 14:10:11,119 - INFO - Deleted project: ctest-TestPorts-92319695, ID : 9e0d3649-89e8-451f-96d5-2d50b5b4e34a