2025-09-08 18:57:28,886 - INFO - Domain Default found not creating
2025-09-08 18:57:29,011 - INFO - Project ctest-TestPorts-08061663 not found, creating it
2025-09-08 18:57:29,432 - INFO - Created Project:ctest-TestPorts-08061663, ID : c6ed5405-8496-4558-adfc-9f636cdc24d3
2025-09-08 18:57:30,775 - INFO - ================================================================================
2025-09-08 18:57:30,775 - INFO - STARTING TEST : test_ports_bindings
2025-09-08 18:57:30,776 - 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-09-08 18:57:31,030 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-09-08 18:57:31,030 - INFO - Initial checks done. Running the testcase now
2025-09-08 18:57:31,030 - INFO -
2025-09-08 18:57:31,557 - DEBUG - Response for create_network : {'network': {'id': '33e92a5b-e6d9-49d8-a852-5d35127e9c73', 'name': 'ctest-vn-47603370', 'tenant_id': 'c6ed540584964558adfc9f636cdc24d3', 'project_id': 'c6ed540584964558adfc9f636cdc24d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08061663', 'ctest-vn-47603370'], 'port_security_enabled': True, 'description': ''}}
2025-09-08 18:57:31,731 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c766f95f-c811-4104-9365-a8f4b65e6e6f', 'name': '', 'tenant_id': 'c6ed540584964558adfc9f636cdc24d3', 'network_id': '33e92a5b-e6d9-49d8-a852-5d35127e9c73', 'ip_version': 4, 'cidr': '183.49.246.192/26', 'allocation_pools': [{'start': '183.49.246.194', 'end': '183.49.246.254'}], 'gateway_ip': '183.49.246.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.49.246.194', 'tags': [], 'project_id': 'c6ed540584964558adfc9f636cdc24d3'}}
2025-09-08 18:57:31,747 - INFO - Created VN ctest-vn-47603370
2025-09-08 18:57:31,798 - DEBUG - VN ctest-vn-47603370 UUID is 33e92a5b-e6d9-49d8-a852-5d35127e9c73
2025-09-08 18:57:31,895 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-08061663', 'ctest-vmi-73495700']}
2025-09-08 18:57:32,175 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-73495700', 'id': 'bb1c19d9-24f7-4f65-8367-80bc978e1612', 'tenant_id': 'c6ed540584964558adfc9f636cdc24d3', 'network_id': '33e92a5b-e6d9-49d8-a852-5d35127e9c73', 'mac_address': '02:bb:1c:19:d9:24', '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': '183.49.246.195', 'subnet_id': 'c766f95f-c811-4104-9365-a8f4b65e6e6f'}], 'security_groups': ['3f0a0189-64a5-41c0-bd65-14f09112aba5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c6ed540584964558adfc9f636cdc24d3'}}
2025-09-08 18:57:32,176 - DEBUG - Created port bb1c19d9-24f7-4f65-8367-80bc978e1612
2025-09-08 18:57:32,278 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/bb1c19d9-24f7-4f65-8367-80bc978e1612
2025-09-08 18:57:32,566 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/bb1c19d9-24f7-4f65-8367-80bc978e1612
2025-09-08 18:57:32,596 - INFO - VMI bb1c19d9-24f7-4f65-8367-80bc978e1612 verification in API Server passed
2025-09-08 18:57:32,675 - DEBUG - Response for delete_port : ()
2025-09-08 18:57:32,675 - INFO - Deleted port bb1c19d9-24f7-4f65-8367-80bc978e1612
2025-09-08 18:57:32,675 - INFO - Deleting VN ctest-vn-47603370
2025-09-08 18:57:32,754 - DEBUG - Response for deleting network ()
2025-09-08 18:57:33,010 - DEBUG - No XMPP flaps were noticed during the test
2025-09-08 18:57:33,010 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-08 18:57:33,010 - INFO - --------------------------------------------------------------------------------
2025-09-08 18:57:33,012 - INFO - ================================================================================
2025-09-08 18:57:33,012 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-08 18:57:33,013 - 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-09-08 18:57:33,298 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-09-08 18:57:33,298 - INFO - Initial checks done. Running the testcase now
2025-09-08 18:57:33,298 - INFO -
2025-09-08 18:57:33,456 - DEBUG - Response for create_network : {'network': {'id': '32ca7510-23f1-461f-8196-0958b670d47b', 'name': 'ctest-vn1-11378097', 'tenant_id': 'c6ed540584964558adfc9f636cdc24d3', 'project_id': 'c6ed540584964558adfc9f636cdc24d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08061663', 'ctest-vn1-11378097'], 'port_security_enabled': True, 'description': ''}}
2025-09-08 18:57:33,598 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c58d8c7-f1e7-4291-aca4-62e368335992', 'name': '', 'tenant_id': 'c6ed540584964558adfc9f636cdc24d3', 'network_id': '32ca7510-23f1-461f-8196-0958b670d47b', 'ip_version': 4, 'cidr': '202.243.192.192/26', 'allocation_pools': [{'start': '202.243.192.194', 'end': '202.243.192.254'}], 'gateway_ip': '202.243.192.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.243.192.194', 'tags': [], 'project_id': 'c6ed540584964558adfc9f636cdc24d3'}}
2025-09-08 18:57:33,739 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd46eb3c6-4bf1-45d9-a84a-16998145a572', 'name': '', 'tenant_id': 'c6ed540584964558adfc9f636cdc24d3', 'network_id': '32ca7510-23f1-461f-8196-0958b670d47b', 'ip_version': 4, 'cidr': '66.213.170.128/26', 'allocation_pools': [{'start': '66.213.170.130', 'end': '66.213.170.190'}], 'gateway_ip': '66.213.170.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.213.170.130', 'tags': [], 'project_id': 'c6ed540584964558adfc9f636cdc24d3'}}
2025-09-08 18:57:33,755 - INFO - Created VN ctest-vn1-11378097
2025-09-08 18:57:33,806 - DEBUG - VN ctest-vn1-11378097 UUID is 32ca7510-23f1-461f-8196-0958b670d47b
2025-09-08 18:57:34,177 - DEBUG - Response for create_port : {'port': {'name': 'dd5813b7-9aa4-42f0-8622-8bb368cff683', 'id': 'dd5813b7-9aa4-42f0-8622-8bb368cff683', 'tenant_id': 'c6ed540584964558adfc9f636cdc24d3', 'network_id': '32ca7510-23f1-461f-8196-0958b670d47b', 'mac_address': '02:dd:58:13:b7:9a', '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': '202.243.192.197', 'subnet_id': '3c58d8c7-f1e7-4291-aca4-62e368335992'}], 'security_groups': ['3f0a0189-64a5-41c0-bd65-14f09112aba5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c6ed540584964558adfc9f636cdc24d3'}}
2025-09-08 18:57:34,566 - DEBUG - Response for create_port : {'port': {'name': 'cf1990f4-5d4c-45b8-b386-e3a913d41164', 'id': 'cf1990f4-5d4c-45b8-b386-e3a913d41164', 'tenant_id': 'c6ed540584964558adfc9f636cdc24d3', 'network_id': '32ca7510-23f1-461f-8196-0958b670d47b', 'mac_address': '02:cf:19:90:f4:5d', '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': '66.213.170.133', 'subnet_id': 'd46eb3c6-4bf1-45d9-a84a-16998145a572'}], 'security_groups': ['3f0a0189-64a5-41c0-bd65-14f09112aba5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c6ed540584964558adfc9f636cdc24d3'}}
2025-09-08 18:57:34,625 - DEBUG - Services list from nova: [, , ]
2025-09-08 18:57:34,919 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4057-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4057-1)
2025-09-08 18:57:35,275 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4057-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4057-1)
2025-09-08 18:57:35,275 - INFO - Waiting for VM ctest-vn1-vm1-86504291 to be up..
2025-09-08 18:57:35,429 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-08 18:57:40,505 - DEBUG - VM is in ACTIVE state now
2025-09-08 18:57:40,505 - INFO - VM name : ctest-vn1-vm1-86504291
2025-09-08 18:57:40,568 - DEBUG - VM ctest-vn1-vm1-86504291 ID is 026592cb-415b-4349-bbe2-a6c0213db49b
2025-09-08 18:57:40,586 - DEBUG - VM ctest-vn1-vm1-86504291 launched on Node cn-jenkins-deploy-platform-ansible-os-4057-1
2025-09-08 18:57:40,660 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/026592cb-415b-4349-bbe2-a6c0213db49b
2025-09-08 18:57:40,668 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/dd5813b7-9aa4-42f0-8622-8bb368cff683
2025-09-08 18:57:43,928 - 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 1028ms')
2025-09-08 18:57:43,928 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86504291 failed!
2025-09-08 18:57:43,986 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08061663:ctest-vn1-11378097 is 202.243.192.193 and allocation pool is NOT set
2025-09-08 18:57:43,986 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08061663:ctest-vn1-11378097 is 66.213.170.129 and allocation pool is NOT set
2025-09-08 18:57:46,046 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.351 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.351/1.724/3.097/1.373 ms')
2025-09-08 18:57:46,046 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86504291 passed
2025-09-08 18:57:46,194 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 18:57:46,194 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-86504291, IP 202.243.192.197, Port 22
2025-09-08 18:57:46,350 - DEBUG - VM ctest-vn1-vm1-86504291 is ready for SSH connections
2025-09-08 18:57:46,350 - INFO - Waiting for VM ctest-vn1-vm2-83269569 to be up..
2025-09-08 18:57:46,419 - DEBUG - VM is in ACTIVE state now
2025-09-08 18:57:46,419 - INFO - VM name : ctest-vn1-vm2-83269569
2025-09-08 18:57:46,479 - DEBUG - VM ctest-vn1-vm2-83269569 ID is df50e374-76a9-4db2-815f-7d950f18e054
2025-09-08 18:57:46,479 - DEBUG - VM ctest-vn1-vm2-83269569 launched on Node cn-jenkins-deploy-platform-ansible-os-4057-1
2025-09-08 18:57:46,540 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/df50e374-76a9-4db2-815f-7d950f18e054
2025-09-08 18:57:46,547 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/cf1990f4-5d4c-45b8-b386-e3a913d41164
2025-09-08 18:57:47,779 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.97 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 = 2.710/2.838/2.966/0.128 ms')
2025-09-08 18:57:47,779 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-83269569 passed
2025-09-08 18:57:47,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 18:57:47,926 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-83269569, IP 66.213.170.133, Port 22
2025-09-08 18:57:48,086 - DEBUG - VM ctest-vn1-vm2-83269569 is ready for SSH connections
2025-09-08 18:57:48,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 18:57:48,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 18:57:48,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 18:57:48,086 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.243.192.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-09-08 18:57:48,086 - DEBUG - ping -s 56 -c 3 -W 1 202.243.192.197
2025-09-08 18:57:51,028 - DEBUG - PING 202.243.192.197 (202.243.192.197): 56 data bytes
64 bytes from 202.243.192.197: seq=0 ttl=63 time=3.535 ms
64 bytes from 202.243.192.197: seq=1 ttl=63 time=1.363 ms
64 bytes from 202.243.192.197: seq=2 ttl=63 time=0.686 ms
--- 202.243.192.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.686/1.861/3.535 ms
2025-09-08 18:57:51,028 - INFO - Ping to IP 202.243.192.197 from VM ctest-vn1-vm2-83269569 passed
2025-09-08 18:57:51,028 - INFO - Detaching port cf1990f4-5d4c-45b8-b386-e3a913d41164 from VM ctest-vn1-vm2-83269569
2025-09-08 18:57:51,073 - INFO - Deleting VM ctest-vn1-vm2-83269569
2025-09-08 18:57:51,137 - INFO - Detaching port dd5813b7-9aa4-42f0-8622-8bb368cff683 from VM ctest-vn1-vm1-86504291
2025-09-08 18:57:51,167 - INFO - Deleting VM ctest-vn1-vm1-86504291
2025-09-08 18:57:51,386 - DEBUG - Response for delete_port : ()
2025-09-08 18:57:51,549 - DEBUG - Response for delete_port : ()
2025-09-08 18:57:51,549 - INFO - Deleting VN ctest-vn1-11378097
2025-09-08 18:57:51,674 - DEBUG - Response for deleting network ()
2025-09-08 18:57:51,929 - DEBUG - No XMPP flaps were noticed during the test
2025-09-08 18:57:51,929 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-09-08 18:57:51,930 - INFO - --------------------------------------------------------------------------------
2025-09-08 18:57:52,569 - INFO - Deleted project: ctest-TestPorts-08061663, ID : c6ed5405-8496-4558-adfc-9f636cdc24d3