2025-08-21 02:07:57,207 - INFO - Domain Default found not creating
2025-08-21 02:07:57,332 - INFO - Project ctest-TestPorts-99441060 not found, creating it
2025-08-21 02:07:57,768 - INFO - Created Project:ctest-TestPorts-99441060, ID : 53311eea-cd8d-4ba6-8804-d8bc63290409
2025-08-21 02:07:59,153 - INFO - ================================================================================
2025-08-21 02:07:59,153 - INFO - STARTING TEST : test_ports_bindings
2025-08-21 02:07:59,153 - 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-21 02:07:59,400 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.192': '0'}} with
2025-08-21 02:07:59,400 - INFO - Initial checks done. Running the testcase now
2025-08-21 02:07:59,400 - INFO -
2025-08-21 02:08:00,462 - DEBUG - Response for create_network : {'network': {'id': 'b1f5b341-2b76-4b30-bda1-6854226bc07a', 'name': 'ctest-vn-43504149', 'tenant_id': '53311eeacd8d4ba68804d8bc63290409', 'project_id': '53311eeacd8d4ba68804d8bc63290409', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99441060', 'ctest-vn-43504149'], 'port_security_enabled': True, 'description': ''}}
2025-08-21 02:08:00,627 - DEBUG - Response for create_subnet : {'subnet': {'id': '11d16450-dfa2-4181-bc77-5364f725d0db', 'name': '', 'tenant_id': '53311eeacd8d4ba68804d8bc63290409', 'network_id': 'b1f5b341-2b76-4b30-bda1-6854226bc07a', 'ip_version': 4, 'cidr': '72.210.93.64/26', 'allocation_pools': [{'start': '72.210.93.66', 'end': '72.210.93.126'}], 'gateway_ip': '72.210.93.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.210.93.66', 'tags': [], 'project_id': '53311eeacd8d4ba68804d8bc63290409'}}
2025-08-21 02:08:00,643 - INFO - Created VN ctest-vn-43504149
2025-08-21 02:08:00,700 - DEBUG - VN ctest-vn-43504149 UUID is b1f5b341-2b76-4b30-bda1-6854226bc07a
2025-08-21 02:08:00,808 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-99441060', 'ctest-vmi-53224318']}
2025-08-21 02:08:01,109 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-53224318', 'id': 'a4a12f59-d578-4f27-be13-c4dddeb9e7ac', 'tenant_id': '53311eeacd8d4ba68804d8bc63290409', 'network_id': 'b1f5b341-2b76-4b30-bda1-6854226bc07a', 'mac_address': '02:a4:a1:2f:59:d5', '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': '72.210.93.67', 'subnet_id': '11d16450-dfa2-4181-bc77-5364f725d0db'}], 'security_groups': ['7f9ffa58-de8b-44ca-9baa-72caafd4f5ae'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '53311eeacd8d4ba68804d8bc63290409'}}
2025-08-21 02:08:01,109 - DEBUG - Created port a4a12f59-d578-4f27-be13-c4dddeb9e7ac
2025-08-21 02:08:01,212 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/a4a12f59-d578-4f27-be13-c4dddeb9e7ac
2025-08-21 02:08:01,500 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/a4a12f59-d578-4f27-be13-c4dddeb9e7ac
2025-08-21 02:08:01,531 - INFO - VMI a4a12f59-d578-4f27-be13-c4dddeb9e7ac verification in API Server passed
2025-08-21 02:08:01,626 - DEBUG - Response for delete_port : ()
2025-08-21 02:08:01,627 - INFO - Deleted port a4a12f59-d578-4f27-be13-c4dddeb9e7ac
2025-08-21 02:08:01,627 - INFO - Deleting VN ctest-vn-43504149
2025-08-21 02:08:01,721 - DEBUG - Response for deleting network ()
2025-08-21 02:08:01,974 - DEBUG - No XMPP flaps were noticed during the test
2025-08-21 02:08:01,974 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-21 02:08:01,974 - INFO - --------------------------------------------------------------------------------
2025-08-21 02:08:01,978 - INFO - ================================================================================
2025-08-21 02:08:01,978 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-21 02:08:01,978 - 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-21 02:08:02,265 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.192': '0'}} with
2025-08-21 02:08:02,265 - INFO - Initial checks done. Running the testcase now
2025-08-21 02:08:02,265 - INFO -
2025-08-21 02:08:02,451 - DEBUG - Response for create_network : {'network': {'id': '96f2f406-d95d-435d-8c38-b08468941fb5', 'name': 'ctest-vn1-96778481', 'tenant_id': '53311eeacd8d4ba68804d8bc63290409', 'project_id': '53311eeacd8d4ba68804d8bc63290409', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99441060', 'ctest-vn1-96778481'], 'port_security_enabled': True, 'description': ''}}
2025-08-21 02:08:02,671 - DEBUG - Response for create_subnet : {'subnet': {'id': '82d4e04e-fb33-4b22-90c2-004b869ccba2', 'name': '', 'tenant_id': '53311eeacd8d4ba68804d8bc63290409', 'network_id': '96f2f406-d95d-435d-8c38-b08468941fb5', 'ip_version': 4, 'cidr': '190.153.151.64/26', 'allocation_pools': [{'start': '190.153.151.66', 'end': '190.153.151.126'}], 'gateway_ip': '190.153.151.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.153.151.66', 'tags': [], 'project_id': '53311eeacd8d4ba68804d8bc63290409'}}
2025-08-21 02:08:02,854 - DEBUG - Response for create_subnet : {'subnet': {'id': '90e7ee81-b5ac-41af-87a9-f7b91be2b408', 'name': '', 'tenant_id': '53311eeacd8d4ba68804d8bc63290409', 'network_id': '96f2f406-d95d-435d-8c38-b08468941fb5', 'ip_version': 4, 'cidr': '38.78.35.192/26', 'allocation_pools': [{'start': '38.78.35.194', 'end': '38.78.35.254'}], 'gateway_ip': '38.78.35.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.78.35.194', 'tags': [], 'project_id': '53311eeacd8d4ba68804d8bc63290409'}}
2025-08-21 02:08:02,871 - INFO - Created VN ctest-vn1-96778481
2025-08-21 02:08:02,924 - DEBUG - VN ctest-vn1-96778481 UUID is 96f2f406-d95d-435d-8c38-b08468941fb5
2025-08-21 02:08:03,233 - DEBUG - Response for create_port : {'port': {'name': 'db9d15f6-5902-406e-829f-8b3aeb99798f', 'id': 'db9d15f6-5902-406e-829f-8b3aeb99798f', 'tenant_id': '53311eeacd8d4ba68804d8bc63290409', 'network_id': '96f2f406-d95d-435d-8c38-b08468941fb5', 'mac_address': '02:db:9d:15:f6:59', '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': '190.153.151.69', 'subnet_id': '82d4e04e-fb33-4b22-90c2-004b869ccba2'}], 'security_groups': ['7f9ffa58-de8b-44ca-9baa-72caafd4f5ae'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '53311eeacd8d4ba68804d8bc63290409'}}
2025-08-21 02:08:03,432 - DEBUG - Response for create_port : {'port': {'name': '0573a01f-cabd-449c-8e83-ae42d611019d', 'id': '0573a01f-cabd-449c-8e83-ae42d611019d', 'tenant_id': '53311eeacd8d4ba68804d8bc63290409', 'network_id': '96f2f406-d95d-435d-8c38-b08468941fb5', 'mac_address': '02:05:73:a0:1f: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': '38.78.35.197', 'subnet_id': '90e7ee81-b5ac-41af-87a9-f7b91be2b408'}], 'security_groups': ['7f9ffa58-de8b-44ca-9baa-72caafd4f5ae'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '53311eeacd8d4ba68804d8bc63290409'}}
2025-08-21 02:08:03,484 - DEBUG - Services list from nova: [, , ]
2025-08-21 02:08:03,784 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3905-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3905-1)
2025-08-21 02:08:04,174 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3905-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3905-1)
2025-08-21 02:08:04,174 - INFO - Waiting for VM ctest-vn1-vm1-07166162 to be up..
2025-08-21 02:08:04,212 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-21 02:08:09,300 - DEBUG - VM is in ACTIVE state now
2025-08-21 02:08:09,301 - INFO - VM name : ctest-vn1-vm1-07166162
2025-08-21 02:08:09,378 - DEBUG - VM ctest-vn1-vm1-07166162 ID is 2a18babb-d05b-4812-a223-47fd515a1f27
2025-08-21 02:08:09,397 - DEBUG - VM ctest-vn1-vm1-07166162 launched on Node cn-jenkins-deploy-platform-ansible-os-3905-1
2025-08-21 02:08:09,470 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/2a18babb-d05b-4812-a223-47fd515a1f27
2025-08-21 02:08:09,481 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/db9d15f6-5902-406e-829f-8b3aeb99798f
2025-08-21 02:08:12,734 - 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 1016ms')
2025-08-21 02:08:12,734 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-07166162 failed!
2025-08-21 02:08:12,788 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99441060:ctest-vn1-96778481 is 190.153.151.65 and allocation pool is NOT set
2025-08-21 02:08:12,788 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99441060:ctest-vn1-96778481 is 38.78.35.193 and allocation pool is NOT set
2025-08-21 02:08:14,858 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.75 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 = 3.754/5.371/6.989/1.617 ms')
2025-08-21 02:08:14,858 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-07166162 passed
2025-08-21 02:08:15,012 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-21 02:08:15,012 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-07166162, IP 190.153.151.69, Port 22
2025-08-21 02:08:15,184 - DEBUG - VM ctest-vn1-vm1-07166162 is ready for SSH connections
2025-08-21 02:08:15,184 - INFO - Waiting for VM ctest-vn1-vm2-95837391 to be up..
2025-08-21 02:08:15,272 - DEBUG - VM is in ACTIVE state now
2025-08-21 02:08:15,272 - INFO - VM name : ctest-vn1-vm2-95837391
2025-08-21 02:08:15,359 - DEBUG - VM ctest-vn1-vm2-95837391 ID is 45f1ed3e-0ece-446b-ad1c-267bf6e88ff0
2025-08-21 02:08:15,359 - DEBUG - VM ctest-vn1-vm2-95837391 launched on Node cn-jenkins-deploy-platform-ansible-os-3905-1
2025-08-21 02:08:15,427 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/45f1ed3e-0ece-446b-ad1c-267bf6e88ff0
2025-08-21 02:08:15,435 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/0573a01f-cabd-449c-8e83-ae42d611019d
2025-08-21 02:08:16,677 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.404 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.404/1.716/3.028/1.312 ms')
2025-08-21 02:08:16,677 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-95837391 passed
2025-08-21 02:08:16,828 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-21 02:08:16,828 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-95837391, IP 38.78.35.197, Port 22
2025-08-21 02:08:16,995 - DEBUG - VM ctest-vn1-vm2-95837391 is ready for SSH connections
2025-08-21 02:08:16,995 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-21 02:08:16,995 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-21 02:08:16,995 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-21 02:08:16,995 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.153.151.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2025-08-21 02:08:16,995 - DEBUG - ping -s 56 -c 3 -W 1 190.153.151.69
2025-08-21 02:08:19,916 - DEBUG - PING 190.153.151.69 (190.153.151.69): 56 data bytes
64 bytes from 190.153.151.69: seq=0 ttl=63 time=3.705 ms
64 bytes from 190.153.151.69: seq=1 ttl=63 time=0.783 ms
64 bytes from 190.153.151.69: seq=2 ttl=63 time=0.646 ms
--- 190.153.151.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.646/1.711/3.705 ms
2025-08-21 02:08:19,916 - INFO - Ping to IP 190.153.151.69 from VM ctest-vn1-vm2-95837391 passed
2025-08-21 02:08:19,916 - INFO - Detaching port 0573a01f-cabd-449c-8e83-ae42d611019d from VM ctest-vn1-vm2-95837391
2025-08-21 02:08:19,964 - INFO - Deleting VM ctest-vn1-vm2-95837391
2025-08-21 02:08:20,045 - INFO - Detaching port db9d15f6-5902-406e-829f-8b3aeb99798f from VM ctest-vn1-vm1-07166162
2025-08-21 02:08:20,076 - INFO - Deleting VM ctest-vn1-vm1-07166162
2025-08-21 02:08:20,337 - DEBUG - Response for delete_port : ()
2025-08-21 02:08:20,496 - DEBUG - Response for delete_port : ()
2025-08-21 02:08:20,496 - INFO - Deleting VN ctest-vn1-96778481
2025-08-21 02:08:20,630 - DEBUG - Response for deleting network ()
2025-08-21 02:08:20,901 - DEBUG - No XMPP flaps were noticed during the test
2025-08-21 02:08:20,901 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-21 02:08:20,901 - INFO - --------------------------------------------------------------------------------
2025-08-21 02:08:21,550 - INFO - Deleted project: ctest-TestPorts-99441060, ID : 53311eea-cd8d-4ba6-8804-d8bc63290409