2025-11-14 07:50:45,194 - INFO - Domain Default found not creating
2025-11-14 07:50:45,364 - INFO - Project ctest-TestPorts-19182265 not found, creating it
2025-11-14 07:50:45,858 - INFO - Created Project:ctest-TestPorts-19182265, ID : 0066ae12-6e63-4eff-8910-c97f022d2970
2025-11-14 07:50:47,466 - INFO - ================================================================================
2025-11-14 07:50:47,466 - INFO - STARTING TEST : test_ports_bindings
2025-11-14 07:50:47,466 - 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-11-14 07:50:47,719 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2025-11-14 07:50:47,719 - INFO - Initial checks done. Running the testcase now
2025-11-14 07:50:47,719 - INFO -
2025-11-14 07:50:48,373 - DEBUG - Response for create_network : {'network': {'id': '67627073-23fc-4b77-a483-2c43a956e459', 'name': 'ctest-vn-13465980', 'tenant_id': '0066ae126e634eff8910c97f022d2970', 'project_id': '0066ae126e634eff8910c97f022d2970', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-19182265', 'ctest-vn-13465980'], 'port_security_enabled': True, 'description': ''}}
2025-11-14 07:50:48,530 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e21fa09-5767-4f23-a6c7-a18f75de2ee9', 'name': '', 'tenant_id': '0066ae126e634eff8910c97f022d2970', 'network_id': '67627073-23fc-4b77-a483-2c43a956e459', 'ip_version': 4, 'cidr': '32.109.57.0/26', 'allocation_pools': [{'start': '32.109.57.2', 'end': '32.109.57.62'}], 'gateway_ip': '32.109.57.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.109.57.2', 'tags': [], 'project_id': '0066ae126e634eff8910c97f022d2970'}}
2025-11-14 07:50:48,546 - INFO - Created VN ctest-vn-13465980
2025-11-14 07:50:48,598 - DEBUG - VN ctest-vn-13465980 UUID is 67627073-23fc-4b77-a483-2c43a956e459
2025-11-14 07:50:48,700 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-19182265', 'ctest-vmi-00089205']}
2025-11-14 07:50:48,967 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-00089205', 'id': 'e67ba1e0-0612-4c89-bbe1-ff4213707d1a', 'tenant_id': '0066ae126e634eff8910c97f022d2970', 'network_id': '67627073-23fc-4b77-a483-2c43a956e459', 'mac_address': '02:e6:7b:a1:e0:06', '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': '32.109.57.3', 'subnet_id': '9e21fa09-5767-4f23-a6c7-a18f75de2ee9'}], 'security_groups': ['0afab89a-ca8f-43c1-8a90-9bd4ab33bf77'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0066ae126e634eff8910c97f022d2970'}}
2025-11-14 07:50:48,967 - DEBUG - Created port e67ba1e0-0612-4c89-bbe1-ff4213707d1a
2025-11-14 07:50:49,070 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e67ba1e0-0612-4c89-bbe1-ff4213707d1a
2025-11-14 07:50:49,404 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e67ba1e0-0612-4c89-bbe1-ff4213707d1a
2025-11-14 07:50:49,451 - INFO - VMI e67ba1e0-0612-4c89-bbe1-ff4213707d1a verification in API Server passed
2025-11-14 07:50:49,532 - DEBUG - Response for delete_port : ()
2025-11-14 07:50:49,533 - INFO - Deleted port e67ba1e0-0612-4c89-bbe1-ff4213707d1a
2025-11-14 07:50:49,533 - INFO - Deleting VN ctest-vn-13465980
2025-11-14 07:50:49,626 - DEBUG - Response for deleting network ()
2025-11-14 07:50:49,879 - DEBUG - No XMPP flaps were noticed during the test
2025-11-14 07:50:49,879 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-14 07:50:49,879 - INFO - --------------------------------------------------------------------------------
2025-11-14 07:50:49,881 - INFO - ================================================================================
2025-11-14 07:50:49,881 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-14 07:50:49,881 - 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-11-14 07:50:50,166 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2025-11-14 07:50:50,166 - INFO - Initial checks done. Running the testcase now
2025-11-14 07:50:50,166 - INFO -
2025-11-14 07:50:50,339 - DEBUG - Response for create_network : {'network': {'id': '3b573e44-b783-4bfa-8970-740fe0b624c7', 'name': 'ctest-vn1-78612493', 'tenant_id': '0066ae126e634eff8910c97f022d2970', 'project_id': '0066ae126e634eff8910c97f022d2970', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-19182265', 'ctest-vn1-78612493'], 'port_security_enabled': True, 'description': ''}}
2025-11-14 07:50:50,531 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b039372-d1e5-4c66-8f9e-8af91074024b', 'name': '', 'tenant_id': '0066ae126e634eff8910c97f022d2970', 'network_id': '3b573e44-b783-4bfa-8970-740fe0b624c7', 'ip_version': 4, 'cidr': '124.165.98.0/26', 'allocation_pools': [{'start': '124.165.98.2', 'end': '124.165.98.62'}], 'gateway_ip': '124.165.98.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.165.98.2', 'tags': [], 'project_id': '0066ae126e634eff8910c97f022d2970'}}
2025-11-14 07:50:50,669 - DEBUG - Response for create_subnet : {'subnet': {'id': '8efa80cb-3519-414c-b863-1840d788924d', 'name': '', 'tenant_id': '0066ae126e634eff8910c97f022d2970', 'network_id': '3b573e44-b783-4bfa-8970-740fe0b624c7', 'ip_version': 4, 'cidr': '90.168.97.128/26', 'allocation_pools': [{'start': '90.168.97.130', 'end': '90.168.97.190'}], 'gateway_ip': '90.168.97.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.168.97.130', 'tags': [], 'project_id': '0066ae126e634eff8910c97f022d2970'}}
2025-11-14 07:50:50,687 - INFO - Created VN ctest-vn1-78612493
2025-11-14 07:50:50,738 - DEBUG - VN ctest-vn1-78612493 UUID is 3b573e44-b783-4bfa-8970-740fe0b624c7
2025-11-14 07:50:51,060 - DEBUG - Response for create_port : {'port': {'name': '3aa7ddda-9e11-4f85-93cd-82bc5a0e14b6', 'id': '3aa7ddda-9e11-4f85-93cd-82bc5a0e14b6', 'tenant_id': '0066ae126e634eff8910c97f022d2970', 'network_id': '3b573e44-b783-4bfa-8970-740fe0b624c7', 'mac_address': '02:3a:a7:dd:da:9e', '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': '124.165.98.5', 'subnet_id': '5b039372-d1e5-4c66-8f9e-8af91074024b'}], 'security_groups': ['0afab89a-ca8f-43c1-8a90-9bd4ab33bf77'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0066ae126e634eff8910c97f022d2970'}}
2025-11-14 07:50:51,235 - DEBUG - Response for create_port : {'port': {'name': 'f9946a84-0cb9-4f2d-924f-a45f5795b123', 'id': 'f9946a84-0cb9-4f2d-924f-a45f5795b123', 'tenant_id': '0066ae126e634eff8910c97f022d2970', 'network_id': '3b573e44-b783-4bfa-8970-740fe0b624c7', 'mac_address': '02:f9:94:6a:84:0c', '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.168.97.133', 'subnet_id': '8efa80cb-3519-414c-b863-1840d788924d'}], 'security_groups': ['0afab89a-ca8f-43c1-8a90-9bd4ab33bf77'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0066ae126e634eff8910c97f022d2970'}}
2025-11-14 07:50:51,292 - DEBUG - Services list from nova: [, , ]
2025-11-14 07:50:51,646 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4727-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4727-1)
2025-11-14 07:50:52,034 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4727-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4727-1)
2025-11-14 07:50:52,034 - INFO - Waiting for VM ctest-vn1-vm1-58129006 to be up..
2025-11-14 07:50:52,071 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-14 07:50:57,149 - DEBUG - VM is in ACTIVE state now
2025-11-14 07:50:57,149 - INFO - VM name : ctest-vn1-vm1-58129006
2025-11-14 07:50:57,237 - DEBUG - VM ctest-vn1-vm1-58129006 ID is 87be509a-a34d-4ceb-be72-e69ac2821f1a
2025-11-14 07:50:57,258 - DEBUG - VM ctest-vn1-vm1-58129006 launched on Node cn-jenkins-deploy-platform-ansible-os-4727-1
2025-11-14 07:50:57,343 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/87be509a-a34d-4ceb-be72-e69ac2821f1a
2025-11-14 07:50:57,354 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3aa7ddda-9e11-4f85-93cd-82bc5a0e14b6
2025-11-14 07:51:00,621 - 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 1023ms')
2025-11-14 07:51:00,622 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-58129006 failed!
2025-11-14 07:51:00,682 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-19182265:ctest-vn1-78612493 is 124.165.98.1 and allocation pool is NOT set
2025-11-14 07:51:00,682 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-19182265:ctest-vn1-78612493 is 90.168.97.129 and allocation pool is NOT set
2025-11-14 07:51:04,751 - 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=5.59 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 5.594/5.594/5.594/0.000 ms')
2025-11-14 07:51:04,751 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-58129006 passed
2025-11-14 07:51:04,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-14 07:51:04,906 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-58129006, IP 124.165.98.5, Port 22
2025-11-14 07:51:05,061 - DEBUG - VM ctest-vn1-vm1-58129006 is ready for SSH connections
2025-11-14 07:51:05,061 - INFO - Waiting for VM ctest-vn1-vm2-77433509 to be up..
2025-11-14 07:51:05,140 - DEBUG - VM is in ACTIVE state now
2025-11-14 07:51:05,140 - INFO - VM name : ctest-vn1-vm2-77433509
2025-11-14 07:51:05,212 - DEBUG - VM ctest-vn1-vm2-77433509 ID is 367ef4ee-1b11-4c0d-8b3f-49801b8de25d
2025-11-14 07:51:05,213 - DEBUG - VM ctest-vn1-vm2-77433509 launched on Node cn-jenkins-deploy-platform-ansible-os-4727-1
2025-11-14 07:51:05,286 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/367ef4ee-1b11-4c0d-8b3f-49801b8de25d
2025-11-14 07:51:05,296 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f9946a84-0cb9-4f2d-924f-a45f5795b123
2025-11-14 07:51:06,540 - 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.462 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.462/1.746/3.030/1.284 ms')
2025-11-14 07:51:06,540 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-77433509 passed
2025-11-14 07:51:06,690 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-14 07:51:06,690 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-77433509, IP 90.168.97.133, Port 22
2025-11-14 07:51:06,849 - DEBUG - VM ctest-vn1-vm2-77433509 is ready for SSH connections
2025-11-14 07:51:06,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-14 07:51:06,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-14 07:51:06,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-14 07:51:06,849 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.165.98.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-11-14 07:51:06,849 - DEBUG - ping -s 56 -c 3 -W 1 124.165.98.5
2025-11-14 07:51:09,886 - DEBUG - PING 124.165.98.5 (124.165.98.5): 56 data bytes
64 bytes from 124.165.98.5: seq=0 ttl=63 time=3.701 ms
64 bytes from 124.165.98.5: seq=1 ttl=63 time=0.885 ms
64 bytes from 124.165.98.5: seq=2 ttl=63 time=0.781 ms
--- 124.165.98.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.781/1.789/3.701 ms
2025-11-14 07:51:09,886 - INFO - Ping to IP 124.165.98.5 from VM ctest-vn1-vm2-77433509 passed
2025-11-14 07:51:09,886 - INFO - Detaching port f9946a84-0cb9-4f2d-924f-a45f5795b123 from VM ctest-vn1-vm2-77433509
2025-11-14 07:51:09,935 - INFO - Deleting VM ctest-vn1-vm2-77433509
2025-11-14 07:51:10,006 - INFO - Detaching port 3aa7ddda-9e11-4f85-93cd-82bc5a0e14b6 from VM ctest-vn1-vm1-58129006
2025-11-14 07:51:10,039 - INFO - Deleting VM ctest-vn1-vm1-58129006
2025-11-14 07:51:10,289 - DEBUG - Response for delete_port : ()
2025-11-14 07:51:10,455 - DEBUG - Response for delete_port : ()
2025-11-14 07:51:10,455 - INFO - Deleting VN ctest-vn1-78612493
2025-11-14 07:51:10,595 - DEBUG - Response for deleting network ()
2025-11-14 07:51:10,854 - DEBUG - No XMPP flaps were noticed during the test
2025-11-14 07:51:10,854 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-11-14 07:51:10,854 - INFO - --------------------------------------------------------------------------------
2025-11-14 07:51:11,604 - INFO - Deleted project: ctest-TestPorts-19182265, ID : 0066ae12-6e63-4eff-8910-c97f022d2970