2025-10-13 12:31:08,274 - INFO - Domain Default found not creating
2025-10-13 12:31:08,465 - INFO - Project ctest-TestPorts-30887060 not found, creating it
2025-10-13 12:31:08,963 - INFO - Created Project:ctest-TestPorts-30887060, ID : ed6af211-3f2e-4cee-b6b4-6f4ad9720272
2025-10-13 12:31:10,468 - INFO - ================================================================================
2025-10-13 12:31:10,468 - INFO - STARTING TEST : test_ports_bindings
2025-10-13 12:31:10,468 - 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-13 12:31:10,727 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with
2025-10-13 12:31:10,727 - INFO - Initial checks done. Running the testcase now
2025-10-13 12:31:10,727 - INFO -
2025-10-13 12:31:11,287 - DEBUG - Response for create_network : {'network': {'id': 'a3cfccd6-ee33-46f8-bd66-b2115b99e5fd', 'name': 'ctest-vn-83940586', 'tenant_id': 'ed6af2113f2e4ceeb6b46f4ad9720272', 'project_id': 'ed6af2113f2e4ceeb6b46f4ad9720272', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-30887060', 'ctest-vn-83940586'], 'port_security_enabled': True, 'description': ''}}
2025-10-13 12:31:11,516 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0656812-f423-4ca9-8774-0ab7aa1ec68f', 'name': '', 'tenant_id': 'ed6af2113f2e4ceeb6b46f4ad9720272', 'network_id': 'a3cfccd6-ee33-46f8-bd66-b2115b99e5fd', 'ip_version': 4, 'cidr': '50.136.42.0/26', 'allocation_pools': [{'start': '50.136.42.2', 'end': '50.136.42.62'}], 'gateway_ip': '50.136.42.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.136.42.2', 'tags': [], 'project_id': 'ed6af2113f2e4ceeb6b46f4ad9720272'}}
2025-10-13 12:31:11,534 - INFO - Created VN ctest-vn-83940586
2025-10-13 12:31:11,585 - DEBUG - VN ctest-vn-83940586 UUID is a3cfccd6-ee33-46f8-bd66-b2115b99e5fd
2025-10-13 12:31:11,700 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-30887060', 'ctest-vmi-24757573']}
2025-10-13 12:31:11,936 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-24757573', 'id': 'e53358e2-bf88-47de-a203-62bc66df5552', 'tenant_id': 'ed6af2113f2e4ceeb6b46f4ad9720272', 'network_id': 'a3cfccd6-ee33-46f8-bd66-b2115b99e5fd', 'mac_address': '02:e5:33:58:e2:bf', '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': '50.136.42.3', 'subnet_id': 'e0656812-f423-4ca9-8774-0ab7aa1ec68f'}], 'security_groups': ['a9f51d92-d3d2-4e1c-a81d-86ab98ac1790'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ed6af2113f2e4ceeb6b46f4ad9720272'}}
2025-10-13 12:31:11,936 - DEBUG - Created port e53358e2-bf88-47de-a203-62bc66df5552
2025-10-13 12:31:12,041 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e53358e2-bf88-47de-a203-62bc66df5552
2025-10-13 12:31:12,349 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e53358e2-bf88-47de-a203-62bc66df5552
2025-10-13 12:31:12,387 - INFO - VMI e53358e2-bf88-47de-a203-62bc66df5552 verification in API Server passed
2025-10-13 12:31:12,482 - DEBUG - Response for delete_port : ()
2025-10-13 12:31:12,483 - INFO - Deleted port e53358e2-bf88-47de-a203-62bc66df5552
2025-10-13 12:31:12,483 - INFO - Deleting VN ctest-vn-83940586
2025-10-13 12:31:12,586 - DEBUG - Response for deleting network ()
2025-10-13 12:31:12,840 - DEBUG - No XMPP flaps were noticed during the test
2025-10-13 12:31:12,840 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-13 12:31:12,840 - INFO - --------------------------------------------------------------------------------
2025-10-13 12:31:12,843 - INFO - ================================================================================
2025-10-13 12:31:12,843 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-13 12:31:12,843 - 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-13 12:31:13,128 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with
2025-10-13 12:31:13,128 - INFO - Initial checks done. Running the testcase now
2025-10-13 12:31:13,128 - INFO -
2025-10-13 12:31:13,292 - DEBUG - Response for create_network : {'network': {'id': 'e72b088e-8818-4373-9319-bdb9fe0e2588', 'name': 'ctest-vn1-95208641', 'tenant_id': 'ed6af2113f2e4ceeb6b46f4ad9720272', 'project_id': 'ed6af2113f2e4ceeb6b46f4ad9720272', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-30887060', 'ctest-vn1-95208641'], 'port_security_enabled': True, 'description': ''}}
2025-10-13 12:31:13,508 - DEBUG - Response for create_subnet : {'subnet': {'id': '37bf25f4-e9c6-481d-9546-50f7738d2331', 'name': '', 'tenant_id': 'ed6af2113f2e4ceeb6b46f4ad9720272', 'network_id': 'e72b088e-8818-4373-9319-bdb9fe0e2588', 'ip_version': 4, 'cidr': '101.73.231.128/26', 'allocation_pools': [{'start': '101.73.231.130', 'end': '101.73.231.190'}], 'gateway_ip': '101.73.231.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.73.231.130', 'tags': [], 'project_id': 'ed6af2113f2e4ceeb6b46f4ad9720272'}}
2025-10-13 12:31:13,692 - DEBUG - Response for create_subnet : {'subnet': {'id': '257be1c4-0edb-402c-8e80-975a6153c3bd', 'name': '', 'tenant_id': 'ed6af2113f2e4ceeb6b46f4ad9720272', 'network_id': 'e72b088e-8818-4373-9319-bdb9fe0e2588', 'ip_version': 4, 'cidr': '101.168.48.0/26', 'allocation_pools': [{'start': '101.168.48.2', 'end': '101.168.48.62'}], 'gateway_ip': '101.168.48.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.168.48.2', 'tags': [], 'project_id': 'ed6af2113f2e4ceeb6b46f4ad9720272'}}
2025-10-13 12:31:13,711 - INFO - Created VN ctest-vn1-95208641
2025-10-13 12:31:13,765 - DEBUG - VN ctest-vn1-95208641 UUID is e72b088e-8818-4373-9319-bdb9fe0e2588
2025-10-13 12:31:14,066 - DEBUG - Response for create_port : {'port': {'name': '3e36d46e-9f30-43ba-acb6-500c939a8dbc', 'id': '3e36d46e-9f30-43ba-acb6-500c939a8dbc', 'tenant_id': 'ed6af2113f2e4ceeb6b46f4ad9720272', 'network_id': 'e72b088e-8818-4373-9319-bdb9fe0e2588', 'mac_address': '02:3e:36:d4:6e:9f', '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': '101.73.231.133', 'subnet_id': '37bf25f4-e9c6-481d-9546-50f7738d2331'}], 'security_groups': ['a9f51d92-d3d2-4e1c-a81d-86ab98ac1790'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ed6af2113f2e4ceeb6b46f4ad9720272'}}
2025-10-13 12:31:14,240 - DEBUG - Response for create_port : {'port': {'name': '8373e73e-0425-4b2e-b12e-7af4d956e687', 'id': '8373e73e-0425-4b2e-b12e-7af4d956e687', 'tenant_id': 'ed6af2113f2e4ceeb6b46f4ad9720272', 'network_id': 'e72b088e-8818-4373-9319-bdb9fe0e2588', 'mac_address': '02:83:73:e7:3e: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': '101.168.48.5', 'subnet_id': '257be1c4-0edb-402c-8e80-975a6153c3bd'}], 'security_groups': ['a9f51d92-d3d2-4e1c-a81d-86ab98ac1790'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ed6af2113f2e4ceeb6b46f4ad9720272'}}
2025-10-13 12:31:14,300 - DEBUG - Services list from nova: [, , ]
2025-10-13 12:31:14,664 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4302-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4302-1)
2025-10-13 12:31:15,090 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4302-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4302-1)
2025-10-13 12:31:15,090 - INFO - Waiting for VM ctest-vn1-vm1-90365036 to be up..
2025-10-13 12:31:15,130 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-13 12:31:20,220 - DEBUG - VM is in ACTIVE state now
2025-10-13 12:31:20,220 - INFO - VM name : ctest-vn1-vm1-90365036
2025-10-13 12:31:20,298 - DEBUG - VM ctest-vn1-vm1-90365036 ID is 36fbbe19-3917-4034-81d9-d0fa2589e4c2
2025-10-13 12:31:20,316 - DEBUG - VM ctest-vn1-vm1-90365036 launched on Node cn-jenkins-deploy-platform-ansible-os-4302-1
2025-10-13 12:31:20,395 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/36fbbe19-3917-4034-81d9-d0fa2589e4c2
2025-10-13 12:31:20,404 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/3e36d46e-9f30-43ba-acb6-500c939a8dbc
2025-10-13 12:31:23,655 - 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-10-13 12:31:23,655 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-90365036 failed!
2025-10-13 12:31:23,713 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-30887060:ctest-vn1-95208641 is 101.73.231.129 and allocation pool is NOT set
2025-10-13 12:31:23,714 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-30887060:ctest-vn1-95208641 is 101.168.48.1 and allocation pool is NOT set
2025-10-13 12:31:27,790 - 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.78 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 6.782/6.782/6.782/0.000 ms')
2025-10-13 12:31:27,790 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-90365036 passed
2025-10-13 12:31:27,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 12:31:27,937 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-90365036, IP 101.73.231.133, Port 22
2025-10-13 12:31:28,092 - DEBUG - VM ctest-vn1-vm1-90365036 is ready for SSH connections
2025-10-13 12:31:28,092 - INFO - Waiting for VM ctest-vn1-vm2-46183422 to be up..
2025-10-13 12:31:28,168 - DEBUG - VM is in ACTIVE state now
2025-10-13 12:31:28,168 - INFO - VM name : ctest-vn1-vm2-46183422
2025-10-13 12:31:28,238 - DEBUG - VM ctest-vn1-vm2-46183422 ID is a7c2531e-9057-437c-b50b-1f184df1aaf7
2025-10-13 12:31:28,238 - DEBUG - VM ctest-vn1-vm2-46183422 launched on Node cn-jenkins-deploy-platform-ansible-os-4302-1
2025-10-13 12:31:28,316 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a7c2531e-9057-437c-b50b-1f184df1aaf7
2025-10-13 12:31:28,329 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/8373e73e-0425-4b2e-b12e-7af4d956e687
2025-10-13 12:31:29,562 - 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=5.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.04 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 = 1.037/3.161/5.285/2.124 ms')
2025-10-13 12:31:29,562 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-46183422 passed
2025-10-13 12:31:29,733 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 12:31:29,734 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-46183422, IP 101.168.48.5, Port 22
2025-10-13 12:31:29,907 - DEBUG - VM ctest-vn1-vm2-46183422 is ready for SSH connections
2025-10-13 12:31:29,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 12:31:29,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 12:31:29,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 12:31:29,908 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.73.231.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-10-13 12:31:29,908 - DEBUG - ping -s 56 -c 3 -W 1 101.73.231.133
2025-10-13 12:31:32,652 - DEBUG - PING 101.73.231.133 (101.73.231.133): 56 data bytes
64 bytes from 101.73.231.133: seq=0 ttl=63 time=3.394 ms
64 bytes from 101.73.231.133: seq=1 ttl=63 time=1.084 ms
64 bytes from 101.73.231.133: seq=2 ttl=63 time=1.102 ms
--- 101.73.231.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.084/1.860/3.394 ms
2025-10-13 12:31:32,652 - INFO - Ping to IP 101.73.231.133 from VM ctest-vn1-vm2-46183422 passed
2025-10-13 12:31:32,652 - INFO - Detaching port 8373e73e-0425-4b2e-b12e-7af4d956e687 from VM ctest-vn1-vm2-46183422
2025-10-13 12:31:32,718 - INFO - Deleting VM ctest-vn1-vm2-46183422
2025-10-13 12:31:32,797 - INFO - Detaching port 3e36d46e-9f30-43ba-acb6-500c939a8dbc from VM ctest-vn1-vm1-90365036
2025-10-13 12:31:32,842 - INFO - Deleting VM ctest-vn1-vm1-90365036
2025-10-13 12:31:33,144 - DEBUG - Response for delete_port : ()
2025-10-13 12:31:33,328 - DEBUG - Response for delete_port : ()
2025-10-13 12:31:33,328 - INFO - Deleting VN ctest-vn1-95208641
2025-10-13 12:31:33,474 - DEBUG - Response for deleting network ()
2025-10-13 12:31:33,726 - DEBUG - No XMPP flaps were noticed during the test
2025-10-13 12:31:33,726 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-13 12:31:33,727 - INFO - --------------------------------------------------------------------------------
2025-10-13 12:31:34,450 - INFO - Deleted project: ctest-TestPorts-30887060, ID : ed6af211-3f2e-4cee-b6b4-6f4ad9720272