2025-10-27 20:31:17,475 - INFO - Domain Default found not creating
2025-10-27 20:31:17,642 - INFO - Project ctest-TestPorts-33687799 not found, creating it
2025-10-27 20:31:18,063 - INFO - Created Project:ctest-TestPorts-33687799, ID : 742b7a71-e12f-46b4-8e34-ddb7c1aebcf9
2025-10-27 20:31:19,428 - INFO - ================================================================================
2025-10-27 20:31:19,428 - INFO - STARTING TEST : test_ports_bindings
2025-10-27 20:31:19,428 - 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-27 20:31:19,690 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-10-27 20:31:19,690 - INFO - Initial checks done. Running the testcase now
2025-10-27 20:31:19,691 - INFO -
2025-10-27 20:31:20,223 - DEBUG - Response for create_network : {'network': {'id': 'fc907caa-ca81-4706-b78d-9f84cee2f820', 'name': 'ctest-vn-72628659', 'tenant_id': '742b7a71e12f46b48e34ddb7c1aebcf9', 'project_id': '742b7a71e12f46b48e34ddb7c1aebcf9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-33687799', 'ctest-vn-72628659'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 20:31:20,420 - DEBUG - Response for create_subnet : {'subnet': {'id': '5532f29f-820d-49ae-9d16-4e9fda67952f', 'name': '', 'tenant_id': '742b7a71e12f46b48e34ddb7c1aebcf9', 'network_id': 'fc907caa-ca81-4706-b78d-9f84cee2f820', 'ip_version': 4, 'cidr': '174.223.179.128/26', 'allocation_pools': [{'start': '174.223.179.130', 'end': '174.223.179.190'}], 'gateway_ip': '174.223.179.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.223.179.130', 'tags': [], 'project_id': '742b7a71e12f46b48e34ddb7c1aebcf9'}}
2025-10-27 20:31:20,436 - INFO - Created VN ctest-vn-72628659
2025-10-27 20:31:20,486 - DEBUG - VN ctest-vn-72628659 UUID is fc907caa-ca81-4706-b78d-9f84cee2f820
2025-10-27 20:31:20,671 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-33687799', 'ctest-vmi-46286673']}
2025-10-27 20:31:20,934 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-46286673', 'id': 'd69c366f-3b80-4272-abfc-818647c6bb6a', 'tenant_id': '742b7a71e12f46b48e34ddb7c1aebcf9', 'network_id': 'fc907caa-ca81-4706-b78d-9f84cee2f820', 'mac_address': '02:d6:9c:36:6f:3b', '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': '174.223.179.131', 'subnet_id': '5532f29f-820d-49ae-9d16-4e9fda67952f'}], 'security_groups': ['8402535f-1c12-4068-aac9-b7d87201a14e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '742b7a71e12f46b48e34ddb7c1aebcf9'}}
2025-10-27 20:31:20,934 - DEBUG - Created port d69c366f-3b80-4272-abfc-818647c6bb6a
2025-10-27 20:31:21,038 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d69c366f-3b80-4272-abfc-818647c6bb6a
2025-10-27 20:31:21,325 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d69c366f-3b80-4272-abfc-818647c6bb6a
2025-10-27 20:31:21,358 - INFO - VMI d69c366f-3b80-4272-abfc-818647c6bb6a verification in API Server passed
2025-10-27 20:31:21,438 - DEBUG - Response for delete_port : ()
2025-10-27 20:31:21,438 - INFO - Deleted port d69c366f-3b80-4272-abfc-818647c6bb6a
2025-10-27 20:31:21,438 - INFO - Deleting VN ctest-vn-72628659
2025-10-27 20:31:21,533 - DEBUG - Response for deleting network ()
2025-10-27 20:31:21,791 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 20:31:21,791 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-27 20:31:21,791 - INFO - --------------------------------------------------------------------------------
2025-10-27 20:31:21,793 - INFO - ================================================================================
2025-10-27 20:31:21,794 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-27 20:31:21,794 - 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-27 20:31:22,082 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-10-27 20:31:22,082 - INFO - Initial checks done. Running the testcase now
2025-10-27 20:31:22,082 - INFO -
2025-10-27 20:31:22,248 - DEBUG - Response for create_network : {'network': {'id': '330a27b7-9971-45cd-8e42-e8fba710afa3', 'name': 'ctest-vn1-67797599', 'tenant_id': '742b7a71e12f46b48e34ddb7c1aebcf9', 'project_id': '742b7a71e12f46b48e34ddb7c1aebcf9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-33687799', 'ctest-vn1-67797599'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 20:31:22,445 - DEBUG - Response for create_subnet : {'subnet': {'id': '25f37381-49b2-4c24-b076-e424aff9f82a', 'name': '', 'tenant_id': '742b7a71e12f46b48e34ddb7c1aebcf9', 'network_id': '330a27b7-9971-45cd-8e42-e8fba710afa3', 'ip_version': 4, 'cidr': '65.35.154.0/26', 'allocation_pools': [{'start': '65.35.154.2', 'end': '65.35.154.62'}], 'gateway_ip': '65.35.154.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.35.154.2', 'tags': [], 'project_id': '742b7a71e12f46b48e34ddb7c1aebcf9'}}
2025-10-27 20:31:22,600 - DEBUG - Response for create_subnet : {'subnet': {'id': '82b20ab8-b9f7-432b-8247-e5e701de90f3', 'name': '', 'tenant_id': '742b7a71e12f46b48e34ddb7c1aebcf9', 'network_id': '330a27b7-9971-45cd-8e42-e8fba710afa3', 'ip_version': 4, 'cidr': '62.108.106.64/26', 'allocation_pools': [{'start': '62.108.106.66', 'end': '62.108.106.126'}], 'gateway_ip': '62.108.106.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.108.106.66', 'tags': [], 'project_id': '742b7a71e12f46b48e34ddb7c1aebcf9'}}
2025-10-27 20:31:22,618 - INFO - Created VN ctest-vn1-67797599
2025-10-27 20:31:22,670 - DEBUG - VN ctest-vn1-67797599 UUID is 330a27b7-9971-45cd-8e42-e8fba710afa3
2025-10-27 20:31:22,945 - DEBUG - Response for create_port : {'port': {'name': 'c263f58c-edf7-4519-a742-3a82803741d9', 'id': 'c263f58c-edf7-4519-a742-3a82803741d9', 'tenant_id': '742b7a71e12f46b48e34ddb7c1aebcf9', 'network_id': '330a27b7-9971-45cd-8e42-e8fba710afa3', 'mac_address': '02:c2:63:f5:8c:ed', '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': '65.35.154.5', 'subnet_id': '25f37381-49b2-4c24-b076-e424aff9f82a'}], 'security_groups': ['8402535f-1c12-4068-aac9-b7d87201a14e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '742b7a71e12f46b48e34ddb7c1aebcf9'}}
2025-10-27 20:31:23,097 - DEBUG - Response for create_port : {'port': {'name': '6ed3a598-3e34-4a4b-acea-953b1a172860', 'id': '6ed3a598-3e34-4a4b-acea-953b1a172860', 'tenant_id': '742b7a71e12f46b48e34ddb7c1aebcf9', 'network_id': '330a27b7-9971-45cd-8e42-e8fba710afa3', 'mac_address': '02:6e:d3:a5:98:3e', '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': '62.108.106.69', 'subnet_id': '82b20ab8-b9f7-432b-8247-e5e701de90f3'}], 'security_groups': ['8402535f-1c12-4068-aac9-b7d87201a14e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '742b7a71e12f46b48e34ddb7c1aebcf9'}}
2025-10-27 20:31:23,156 - DEBUG - Services list from nova: [, , ]
2025-10-27 20:31:23,478 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4511-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4511-1)
2025-10-27 20:31:23,846 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4511-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4511-1)
2025-10-27 20:31:23,846 - INFO - Waiting for VM ctest-vn1-vm1-31417250 to be up..
2025-10-27 20:31:23,884 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-27 20:31:28,954 - DEBUG - VM is in ACTIVE state now
2025-10-27 20:31:28,954 - INFO - VM name : ctest-vn1-vm1-31417250
2025-10-27 20:31:29,020 - DEBUG - VM ctest-vn1-vm1-31417250 ID is a7a16efa-76f8-4ead-8cc2-5c124df38c1a
2025-10-27 20:31:29,037 - DEBUG - VM ctest-vn1-vm1-31417250 launched on Node cn-jenkins-deploy-platform-ansible-os-4511-1
2025-10-27 20:31:29,104 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a7a16efa-76f8-4ead-8cc2-5c124df38c1a
2025-10-27 20:31:29,111 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c263f58c-edf7-4519-a742-3a82803741d9
2025-10-27 20:31:32,377 - 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 1031ms')
2025-10-27 20:31:32,377 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31417250 failed!
2025-10-27 20:31:32,430 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-33687799:ctest-vn1-67797599 is 65.35.154.1 and allocation pool is NOT set
2025-10-27 20:31:32,430 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-33687799:ctest-vn1-67797599 is 62.108.106.65 and allocation pool is NOT set
2025-10-27 20:31:34,486 - 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=4.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.977 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.977/2.906/4.835/1.929 ms')
2025-10-27 20:31:34,486 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31417250 passed
2025-10-27 20:31:34,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 20:31:34,638 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-31417250, IP 65.35.154.5, Port 22
2025-10-27 20:31:34,808 - DEBUG - VM ctest-vn1-vm1-31417250 is ready for SSH connections
2025-10-27 20:31:34,808 - INFO - Waiting for VM ctest-vn1-vm2-15826567 to be up..
2025-10-27 20:31:34,878 - DEBUG - VM is in ACTIVE state now
2025-10-27 20:31:34,878 - INFO - VM name : ctest-vn1-vm2-15826567
2025-10-27 20:31:34,948 - DEBUG - VM ctest-vn1-vm2-15826567 ID is 31de86a5-b1ac-4ee7-b321-58b636ac686d
2025-10-27 20:31:34,948 - DEBUG - VM ctest-vn1-vm2-15826567 launched on Node cn-jenkins-deploy-platform-ansible-os-4511-1
2025-10-27 20:31:35,029 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/31de86a5-b1ac-4ee7-b321-58b636ac686d
2025-10-27 20:31:35,037 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6ed3a598-3e34-4a4b-acea-953b1a172860
2025-10-27 20:31:36,266 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.434 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.434/1.537/2.640/1.103 ms')
2025-10-27 20:31:36,266 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-15826567 passed
2025-10-27 20:31:36,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 20:31:36,422 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-15826567, IP 62.108.106.69, Port 22
2025-10-27 20:31:36,588 - DEBUG - VM ctest-vn1-vm2-15826567 is ready for SSH connections
2025-10-27 20:31:36,588 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 20:31:36,588 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 20:31:36,588 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 20:31:36,588 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.35.154.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-27 20:31:36,588 - DEBUG - ping -s 56 -c 3 -W 1 65.35.154.5
2025-10-27 20:31:39,549 - DEBUG - PING 65.35.154.5 (65.35.154.5): 56 data bytes
64 bytes from 65.35.154.5: seq=0 ttl=63 time=3.462 ms
64 bytes from 65.35.154.5: seq=1 ttl=63 time=0.818 ms
64 bytes from 65.35.154.5: seq=2 ttl=63 time=0.877 ms
--- 65.35.154.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.818/1.719/3.462 ms
2025-10-27 20:31:39,549 - INFO - Ping to IP 65.35.154.5 from VM ctest-vn1-vm2-15826567 passed
2025-10-27 20:31:39,549 - INFO - Detaching port 6ed3a598-3e34-4a4b-acea-953b1a172860 from VM ctest-vn1-vm2-15826567
2025-10-27 20:31:39,604 - INFO - Deleting VM ctest-vn1-vm2-15826567
2025-10-27 20:31:39,678 - INFO - Detaching port c263f58c-edf7-4519-a742-3a82803741d9 from VM ctest-vn1-vm1-31417250
2025-10-27 20:31:39,710 - INFO - Deleting VM ctest-vn1-vm1-31417250
2025-10-27 20:31:39,927 - DEBUG - Response for delete_port : ()
2025-10-27 20:31:40,113 - DEBUG - Response for delete_port : ()
2025-10-27 20:31:40,113 - INFO - Deleting VN ctest-vn1-67797599
2025-10-27 20:31:40,276 - DEBUG - Response for deleting network ()
2025-10-27 20:31:40,545 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 20:31:40,545 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-10-27 20:31:40,545 - INFO - --------------------------------------------------------------------------------
2025-10-27 20:31:41,245 - INFO - Deleted project: ctest-TestPorts-33687799, ID : 742b7a71-e12f-46b4-8e34-ddb7c1aebcf9