2025-07-23 00:12:09,133 - INFO - Domain Default found not creating
2025-07-23 00:12:09,301 - INFO - Project ctest-TestPorts-85094905 not found, creating it
2025-07-23 00:12:09,804 - INFO - Created Project:ctest-TestPorts-85094905, ID : 6d97c751-1f0b-4c4d-acfb-f049eb0ac473
2025-07-23 00:12:11,333 - INFO - ================================================================================
2025-07-23 00:12:11,333 - INFO - STARTING TEST : test_ports_bindings
2025-07-23 00:12:11,333 - 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-07-23 00:12:11,589 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-07-23 00:12:11,589 - INFO - Initial checks done. Running the testcase now
2025-07-23 00:12:11,589 - INFO -
2025-07-23 00:12:12,185 - DEBUG - Response for create_network : {'network': {'id': '9167e6c9-47e3-4c4e-b80f-0b8e9648f378', 'name': 'ctest-vn-19472363', 'tenant_id': '6d97c7511f0b4c4dacfbf049eb0ac473', 'project_id': '6d97c7511f0b4c4dacfbf049eb0ac473', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-85094905', 'ctest-vn-19472363'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 00:12:12,378 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a9cd2ed-6aec-402e-93d9-a31c3f9f23ee', 'name': '', 'tenant_id': '6d97c7511f0b4c4dacfbf049eb0ac473', 'network_id': '9167e6c9-47e3-4c4e-b80f-0b8e9648f378', 'ip_version': 4, 'cidr': '169.176.222.64/26', 'allocation_pools': [{'start': '169.176.222.66', 'end': '169.176.222.126'}], 'gateway_ip': '169.176.222.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.176.222.66', 'tags': [], 'project_id': '6d97c7511f0b4c4dacfbf049eb0ac473'}}
2025-07-23 00:12:12,401 - INFO - Created VN ctest-vn-19472363
2025-07-23 00:12:12,457 - DEBUG - VN ctest-vn-19472363 UUID is 9167e6c9-47e3-4c4e-b80f-0b8e9648f378
2025-07-23 00:12:12,574 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-85094905', 'ctest-vmi-38633084']}
2025-07-23 00:12:12,842 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-38633084', 'id': 'aa3c6706-bc2c-4afc-990c-8fdf50925b9e', 'tenant_id': '6d97c7511f0b4c4dacfbf049eb0ac473', 'network_id': '9167e6c9-47e3-4c4e-b80f-0b8e9648f378', 'mac_address': '02:aa:3c:67:06: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': '169.176.222.67', 'subnet_id': '4a9cd2ed-6aec-402e-93d9-a31c3f9f23ee'}], 'security_groups': ['2da1f963-6b4e-40fa-9a77-44f1f54920f9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6d97c7511f0b4c4dacfbf049eb0ac473'}}
2025-07-23 00:12:12,842 - DEBUG - Created port aa3c6706-bc2c-4afc-990c-8fdf50925b9e
2025-07-23 00:12:12,953 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/aa3c6706-bc2c-4afc-990c-8fdf50925b9e
2025-07-23 00:12:13,258 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/aa3c6706-bc2c-4afc-990c-8fdf50925b9e
2025-07-23 00:12:13,302 - INFO - VMI aa3c6706-bc2c-4afc-990c-8fdf50925b9e verification in API Server passed
2025-07-23 00:12:13,413 - DEBUG - Response for delete_port : ()
2025-07-23 00:12:13,413 - INFO - Deleted port aa3c6706-bc2c-4afc-990c-8fdf50925b9e
2025-07-23 00:12:13,413 - INFO - Deleting VN ctest-vn-19472363
2025-07-23 00:12:13,539 - DEBUG - Response for deleting network ()
2025-07-23 00:12:13,807 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 00:12:13,807 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-07-23 00:12:13,807 - INFO - --------------------------------------------------------------------------------
2025-07-23 00:12:13,810 - INFO - ================================================================================
2025-07-23 00:12:13,810 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-07-23 00:12:13,810 - 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-07-23 00:12:14,110 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-07-23 00:12:14,110 - INFO - Initial checks done. Running the testcase now
2025-07-23 00:12:14,110 - INFO -
2025-07-23 00:12:14,311 - DEBUG - Response for create_network : {'network': {'id': '0f33699a-484c-4235-bf1c-e344796c816a', 'name': 'ctest-vn1-81380245', 'tenant_id': '6d97c7511f0b4c4dacfbf049eb0ac473', 'project_id': '6d97c7511f0b4c4dacfbf049eb0ac473', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-85094905', 'ctest-vn1-81380245'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 00:12:14,548 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b8326c90-4616-44cc-a359-b514c05399ef', 'name': '', 'tenant_id': '6d97c7511f0b4c4dacfbf049eb0ac473', 'network_id': '0f33699a-484c-4235-bf1c-e344796c816a', 'ip_version': 4, 'cidr': '69.206.215.64/26', 'allocation_pools': [{'start': '69.206.215.66', 'end': '69.206.215.126'}], 'gateway_ip': '69.206.215.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.206.215.66', 'tags': [], 'project_id': '6d97c7511f0b4c4dacfbf049eb0ac473'}}
2025-07-23 00:12:14,744 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fee6c2d5-58bc-497f-99d5-e4e816bb34c3', 'name': '', 'tenant_id': '6d97c7511f0b4c4dacfbf049eb0ac473', 'network_id': '0f33699a-484c-4235-bf1c-e344796c816a', 'ip_version': 4, 'cidr': '178.25.189.128/26', 'allocation_pools': [{'start': '178.25.189.130', 'end': '178.25.189.190'}], 'gateway_ip': '178.25.189.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.25.189.130', 'tags': [], 'project_id': '6d97c7511f0b4c4dacfbf049eb0ac473'}}
2025-07-23 00:12:14,765 - INFO - Created VN ctest-vn1-81380245
2025-07-23 00:12:14,821 - DEBUG - VN ctest-vn1-81380245 UUID is 0f33699a-484c-4235-bf1c-e344796c816a
2025-07-23 00:12:15,167 - DEBUG - Response for create_port : {'port': {'name': '9cd7de74-a250-4dd9-9b69-ec9884ff566a', 'id': '9cd7de74-a250-4dd9-9b69-ec9884ff566a', 'tenant_id': '6d97c7511f0b4c4dacfbf049eb0ac473', 'network_id': '0f33699a-484c-4235-bf1c-e344796c816a', 'mac_address': '02:9c:d7:de:74:a2', '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': '69.206.215.69', 'subnet_id': 'b8326c90-4616-44cc-a359-b514c05399ef'}], 'security_groups': ['2da1f963-6b4e-40fa-9a77-44f1f54920f9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6d97c7511f0b4c4dacfbf049eb0ac473'}}
2025-07-23 00:12:15,360 - DEBUG - Response for create_port : {'port': {'name': 'c4c2175f-a167-4431-a272-925fa221a173', 'id': 'c4c2175f-a167-4431-a272-925fa221a173', 'tenant_id': '6d97c7511f0b4c4dacfbf049eb0ac473', 'network_id': '0f33699a-484c-4235-bf1c-e344796c816a', 'mac_address': '02:c4:c2:17:5f:a1', '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': '178.25.189.133', 'subnet_id': 'fee6c2d5-58bc-497f-99d5-e4e816bb34c3'}], 'security_groups': ['2da1f963-6b4e-40fa-9a77-44f1f54920f9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6d97c7511f0b4c4dacfbf049eb0ac473'}}
2025-07-23 00:12:15,418 - DEBUG - Services list from nova: [, , ]
2025-07-23 00:12:15,764 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3697-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3697-1)
2025-07-23 00:12:16,199 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3697-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3697-1)
2025-07-23 00:12:16,200 - INFO - Waiting for VM ctest-vn1-vm1-49852749 to be up..
2025-07-23 00:12:16,243 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 00:12:21,325 - DEBUG - VM is in ACTIVE state now
2025-07-23 00:12:21,325 - INFO - VM name : ctest-vn1-vm1-49852749
2025-07-23 00:12:21,410 - DEBUG - VM ctest-vn1-vm1-49852749 ID is 265bee5d-bb64-418e-89fd-455fd935b655
2025-07-23 00:12:21,439 - DEBUG - VM ctest-vn1-vm1-49852749 launched on Node cn-jenkins-deploy-platform-ansible-os-3697-1
2025-07-23 00:12:21,528 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/265bee5d-bb64-418e-89fd-455fd935b655
2025-07-23 00:12:21,539 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9cd7de74-a250-4dd9-9b69-ec9884ff566a
2025-07-23 00:12:24,821 - 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 1029ms')
2025-07-23 00:12:24,821 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49852749 failed!
2025-07-23 00:12:24,885 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-85094905:ctest-vn1-81380245 is 69.206.215.65 and allocation pool is NOT set
2025-07-23 00:12:24,885 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-85094905:ctest-vn1-81380245 is 178.25.189.129 and allocation pool is NOT set
2025-07-23 00:12:28,961 - 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=3.56 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1003ms\r\nrtt min/avg/max/mdev = 3.559/3.559/3.559/0.000 ms')
2025-07-23 00:12:28,961 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49852749 passed
2025-07-23 00:12:29,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 00:12:29,118 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-49852749, IP 69.206.215.69, Port 22
2025-07-23 00:12:29,274 - DEBUG - VM ctest-vn1-vm1-49852749 is ready for SSH connections
2025-07-23 00:12:29,274 - INFO - Waiting for VM ctest-vn1-vm2-75299427 to be up..
2025-07-23 00:12:29,360 - DEBUG - VM is in ACTIVE state now
2025-07-23 00:12:29,360 - INFO - VM name : ctest-vn1-vm2-75299427
2025-07-23 00:12:29,439 - DEBUG - VM ctest-vn1-vm2-75299427 ID is a072846f-9a8f-4fa3-87ce-0e9955767d18
2025-07-23 00:12:29,440 - DEBUG - VM ctest-vn1-vm2-75299427 launched on Node cn-jenkins-deploy-platform-ansible-os-3697-1
2025-07-23 00:12:29,522 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a072846f-9a8f-4fa3-87ce-0e9955767d18
2025-07-23 00:12:29,531 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c4c2175f-a167-4431-a272-925fa221a173
2025-07-23 00:12:30,782 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.519 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.519/1.735/2.952/1.216 ms')
2025-07-23 00:12:30,782 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-75299427 passed
2025-07-23 00:12:30,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 00:12:30,938 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-75299427, IP 178.25.189.133, Port 22
2025-07-23 00:12:31,107 - DEBUG - VM ctest-vn1-vm2-75299427 is ready for SSH connections
2025-07-23 00:12:31,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 00:12:31,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 00:12:31,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 00:12:31,108 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.206.215.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-07-23 00:12:31,108 - DEBUG - ping -s 56 -c 3 -W 1 69.206.215.69
2025-07-23 00:12:33,784 - DEBUG - PING 69.206.215.69 (69.206.215.69): 56 data bytes
64 bytes from 69.206.215.69: seq=0 ttl=63 time=4.381 ms
64 bytes from 69.206.215.69: seq=1 ttl=63 time=1.375 ms
64 bytes from 69.206.215.69: seq=2 ttl=63 time=1.017 ms
--- 69.206.215.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.017/2.257/4.381 ms
2025-07-23 00:12:33,784 - INFO - Ping to IP 69.206.215.69 from VM ctest-vn1-vm2-75299427 passed
2025-07-23 00:12:33,784 - INFO - Detaching port c4c2175f-a167-4431-a272-925fa221a173 from VM ctest-vn1-vm2-75299427
2025-07-23 00:12:33,837 - INFO - Deleting VM ctest-vn1-vm2-75299427
2025-07-23 00:12:33,914 - INFO - Detaching port 9cd7de74-a250-4dd9-9b69-ec9884ff566a from VM ctest-vn1-vm1-49852749
2025-07-23 00:12:33,953 - INFO - Deleting VM ctest-vn1-vm1-49852749
2025-07-23 00:12:34,320 - DEBUG - Response for delete_port : ()
2025-07-23 00:12:34,544 - DEBUG - Response for delete_port : ()
2025-07-23 00:12:34,544 - INFO - Deleting VN ctest-vn1-81380245
2025-07-23 00:12:34,759 - DEBUG - Response for deleting network ()
2025-07-23 00:12:35,032 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 00:12:35,032 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22]
2025-07-23 00:12:35,032 - INFO - --------------------------------------------------------------------------------
2025-07-23 00:12:35,776 - INFO - Deleted project: ctest-TestPorts-85094905, ID : 6d97c751-1f0b-4c4d-acfb-f049eb0ac473