2025-08-15 16:30:40,564 - INFO - Domain Default found not creating
2025-08-15 16:30:40,677 - INFO - Project ctest-TestPorts-91127385 not found, creating it
2025-08-15 16:30:41,176 - INFO - Created Project:ctest-TestPorts-91127385, ID : 9d30f677-e648-4c27-af41-6ca5e5c0e6c5
2025-08-15 16:30:42,544 - INFO - ================================================================================
2025-08-15 16:30:42,544 - INFO - STARTING TEST : test_ports_bindings
2025-08-15 16:30:42,544 - 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-15 16:30:42,793 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2025-08-15 16:30:42,793 - INFO - Initial checks done. Running the testcase now
2025-08-15 16:30:42,793 - INFO -
2025-08-15 16:30:43,308 - DEBUG - Response for create_network : {'network': {'id': 'e72c282c-9c6b-46ce-9c65-7911d4077b86', 'name': 'ctest-vn-86004068', 'tenant_id': '9d30f677e6484c27af416ca5e5c0e6c5', 'project_id': '9d30f677e6484c27af416ca5e5c0e6c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-91127385', 'ctest-vn-86004068'], 'port_security_enabled': True, 'description': ''}}
2025-08-15 16:30:43,456 - DEBUG - Response for create_subnet : {'subnet': {'id': '80aca03b-4a11-4335-b045-953edd6c5347', 'name': '', 'tenant_id': '9d30f677e6484c27af416ca5e5c0e6c5', 'network_id': 'e72c282c-9c6b-46ce-9c65-7911d4077b86', 'ip_version': 4, 'cidr': '90.105.66.64/26', 'allocation_pools': [{'start': '90.105.66.66', 'end': '90.105.66.126'}], 'gateway_ip': '90.105.66.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.105.66.66', 'tags': [], 'project_id': '9d30f677e6484c27af416ca5e5c0e6c5'}}
2025-08-15 16:30:43,471 - INFO - Created VN ctest-vn-86004068
2025-08-15 16:30:43,524 - DEBUG - VN ctest-vn-86004068 UUID is e72c282c-9c6b-46ce-9c65-7911d4077b86
2025-08-15 16:30:43,617 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-91127385', 'ctest-vmi-10810436']}
2025-08-15 16:30:43,881 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-10810436', 'id': '2d8ca890-bc91-4d0d-a04b-16ec42112423', 'tenant_id': '9d30f677e6484c27af416ca5e5c0e6c5', 'network_id': 'e72c282c-9c6b-46ce-9c65-7911d4077b86', 'mac_address': '02:2d:8c:a8:90:bc', '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': '90.105.66.67', 'subnet_id': '80aca03b-4a11-4335-b045-953edd6c5347'}], 'security_groups': ['00f90a25-388d-4067-97e9-4480d821488b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9d30f677e6484c27af416ca5e5c0e6c5'}}
2025-08-15 16:30:43,881 - DEBUG - Created port 2d8ca890-bc91-4d0d-a04b-16ec42112423
2025-08-15 16:30:43,984 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2d8ca890-bc91-4d0d-a04b-16ec42112423
2025-08-15 16:30:44,271 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2d8ca890-bc91-4d0d-a04b-16ec42112423
2025-08-15 16:30:44,299 - INFO - VMI 2d8ca890-bc91-4d0d-a04b-16ec42112423 verification in API Server passed
2025-08-15 16:30:44,371 - DEBUG - Response for delete_port : ()
2025-08-15 16:30:44,372 - INFO - Deleted port 2d8ca890-bc91-4d0d-a04b-16ec42112423
2025-08-15 16:30:44,372 - INFO - Deleting VN ctest-vn-86004068
2025-08-15 16:30:44,469 - DEBUG - Response for deleting network ()
2025-08-15 16:30:44,724 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 16:30:44,724 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-15 16:30:44,724 - INFO - --------------------------------------------------------------------------------
2025-08-15 16:30:44,727 - INFO - ================================================================================
2025-08-15 16:30:44,727 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-15 16:30:44,727 - 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-15 16:30:45,009 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2025-08-15 16:30:45,009 - INFO - Initial checks done. Running the testcase now
2025-08-15 16:30:45,009 - INFO -
2025-08-15 16:30:45,175 - DEBUG - Response for create_network : {'network': {'id': 'c4e8a024-3a71-486f-8494-7753c56b8797', 'name': 'ctest-vn1-01815763', 'tenant_id': '9d30f677e6484c27af416ca5e5c0e6c5', 'project_id': '9d30f677e6484c27af416ca5e5c0e6c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-91127385', 'ctest-vn1-01815763'], 'port_security_enabled': True, 'description': ''}}
2025-08-15 16:30:45,350 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca411035-1f91-4f71-8194-1dbc52632ca0', 'name': '', 'tenant_id': '9d30f677e6484c27af416ca5e5c0e6c5', 'network_id': 'c4e8a024-3a71-486f-8494-7753c56b8797', 'ip_version': 4, 'cidr': '52.224.163.192/26', 'allocation_pools': [{'start': '52.224.163.194', 'end': '52.224.163.254'}], 'gateway_ip': '52.224.163.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.224.163.194', 'tags': [], 'project_id': '9d30f677e6484c27af416ca5e5c0e6c5'}}
2025-08-15 16:30:45,502 - DEBUG - Response for create_subnet : {'subnet': {'id': '316b1890-ca8e-4b8d-b298-08f3256c86f7', 'name': '', 'tenant_id': '9d30f677e6484c27af416ca5e5c0e6c5', 'network_id': 'c4e8a024-3a71-486f-8494-7753c56b8797', 'ip_version': 4, 'cidr': '212.47.229.64/26', 'allocation_pools': [{'start': '212.47.229.66', 'end': '212.47.229.126'}], 'gateway_ip': '212.47.229.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.47.229.66', 'tags': [], 'project_id': '9d30f677e6484c27af416ca5e5c0e6c5'}}
2025-08-15 16:30:45,518 - INFO - Created VN ctest-vn1-01815763
2025-08-15 16:30:45,568 - DEBUG - VN ctest-vn1-01815763 UUID is c4e8a024-3a71-486f-8494-7753c56b8797
2025-08-15 16:30:45,860 - DEBUG - Response for create_port : {'port': {'name': '8203d369-56dc-42a0-a1dc-73d0b2e06942', 'id': '8203d369-56dc-42a0-a1dc-73d0b2e06942', 'tenant_id': '9d30f677e6484c27af416ca5e5c0e6c5', 'network_id': 'c4e8a024-3a71-486f-8494-7753c56b8797', 'mac_address': '02:82:03:d3:69:56', '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': '52.224.163.197', 'subnet_id': 'ca411035-1f91-4f71-8194-1dbc52632ca0'}], 'security_groups': ['00f90a25-388d-4067-97e9-4480d821488b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9d30f677e6484c27af416ca5e5c0e6c5'}}
2025-08-15 16:30:46,041 - DEBUG - Response for create_port : {'port': {'name': 'a7324212-2411-4129-9526-ae3bde56350e', 'id': 'a7324212-2411-4129-9526-ae3bde56350e', 'tenant_id': '9d30f677e6484c27af416ca5e5c0e6c5', 'network_id': 'c4e8a024-3a71-486f-8494-7753c56b8797', 'mac_address': '02:a7:32:42:12:24', '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': '212.47.229.69', 'subnet_id': '316b1890-ca8e-4b8d-b298-08f3256c86f7'}], 'security_groups': ['00f90a25-388d-4067-97e9-4480d821488b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9d30f677e6484c27af416ca5e5c0e6c5'}}
2025-08-15 16:30:46,094 - DEBUG - Services list from nova: [, , ]
2025-08-15 16:30:46,382 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3865-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3865-1)
2025-08-15 16:30:46,695 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3865-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3865-1)
2025-08-15 16:30:46,695 - INFO - Waiting for VM ctest-vn1-vm1-71565536 to be up..
2025-08-15 16:30:46,725 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-15 16:30:51,791 - DEBUG - VM is in ACTIVE state now
2025-08-15 16:30:51,791 - INFO - VM name : ctest-vn1-vm1-71565536
2025-08-15 16:30:51,854 - DEBUG - VM ctest-vn1-vm1-71565536 ID is 6ef9436a-89bd-4cfe-9316-3da053379189
2025-08-15 16:30:51,870 - DEBUG - VM ctest-vn1-vm1-71565536 launched on Node cn-jenkins-deploy-platform-ansible-os-3865-1
2025-08-15 16:30:51,931 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6ef9436a-89bd-4cfe-9316-3da053379189
2025-08-15 16:30:51,940 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8203d369-56dc-42a0-a1dc-73d0b2e06942
2025-08-15 16:30:55,198 - 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 1012ms')
2025-08-15 16:30:55,198 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71565536 failed!
2025-08-15 16:30:55,252 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-91127385:ctest-vn1-01815763 is 52.224.163.193 and allocation pool is NOT set
2025-08-15 16:30:55,252 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-91127385:ctest-vn1-01815763 is 212.47.229.65 and allocation pool is NOT set
2025-08-15 16:30:57,313 - 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.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.706 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.706/1.856/3.007/1.150 ms')
2025-08-15 16:30:57,313 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71565536 passed
2025-08-15 16:30:57,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 16:30:57,464 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-71565536, IP 52.224.163.197, Port 22
2025-08-15 16:30:57,619 - DEBUG - VM ctest-vn1-vm1-71565536 is ready for SSH connections
2025-08-15 16:30:57,620 - INFO - Waiting for VM ctest-vn1-vm2-12294015 to be up..
2025-08-15 16:30:57,682 - DEBUG - VM is in ACTIVE state now
2025-08-15 16:30:57,682 - INFO - VM name : ctest-vn1-vm2-12294015
2025-08-15 16:30:57,741 - DEBUG - VM ctest-vn1-vm2-12294015 ID is b30d525f-6868-4f6c-a088-c8e46d5dc8aa
2025-08-15 16:30:57,741 - DEBUG - VM ctest-vn1-vm2-12294015 launched on Node cn-jenkins-deploy-platform-ansible-os-3865-1
2025-08-15 16:30:57,802 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b30d525f-6868-4f6c-a088-c8e46d5dc8aa
2025-08-15 16:30:57,808 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a7324212-2411-4129-9526-ae3bde56350e
2025-08-15 16:30:59,035 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.360 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.360/1.471/2.582/1.111 ms')
2025-08-15 16:30:59,035 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-12294015 passed
2025-08-15 16:30:59,192 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 16:30:59,192 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-12294015, IP 212.47.229.69, Port 22
2025-08-15 16:30:59,343 - DEBUG - VM ctest-vn1-vm2-12294015 is ready for SSH connections
2025-08-15 16:30:59,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 16:30:59,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 16:30:59,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 16:30:59,343 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.224.163.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-08-15 16:30:59,343 - DEBUG - ping -s 56 -c 3 -W 1 52.224.163.197
2025-08-15 16:31:02,207 - DEBUG - PING 52.224.163.197 (52.224.163.197): 56 data bytes
64 bytes from 52.224.163.197: seq=0 ttl=63 time=3.583 ms
64 bytes from 52.224.163.197: seq=1 ttl=63 time=0.708 ms
64 bytes from 52.224.163.197: seq=2 ttl=63 time=0.797 ms
--- 52.224.163.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.708/1.696/3.583 ms
2025-08-15 16:31:02,207 - INFO - Ping to IP 52.224.163.197 from VM ctest-vn1-vm2-12294015 passed
2025-08-15 16:31:02,207 - INFO - Detaching port a7324212-2411-4129-9526-ae3bde56350e from VM ctest-vn1-vm2-12294015
2025-08-15 16:31:02,250 - INFO - Deleting VM ctest-vn1-vm2-12294015
2025-08-15 16:31:02,304 - INFO - Detaching port 8203d369-56dc-42a0-a1dc-73d0b2e06942 from VM ctest-vn1-vm1-71565536
2025-08-15 16:31:02,330 - INFO - Deleting VM ctest-vn1-vm1-71565536
2025-08-15 16:31:02,512 - DEBUG - Response for delete_port : ()
2025-08-15 16:31:02,670 - DEBUG - Response for delete_port : ()
2025-08-15 16:31:02,671 - INFO - Deleting VN ctest-vn1-01815763
2025-08-15 16:31:02,798 - DEBUG - Response for deleting network ()
2025-08-15 16:31:03,053 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 16:31:03,053 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-15 16:31:03,053 - INFO - --------------------------------------------------------------------------------
2025-08-15 16:31:03,696 - INFO - Deleted project: ctest-TestPorts-91127385, ID : 9d30f677-e648-4c27-af41-6ca5e5c0e6c5