2025-08-11 15:28:16,626 - INFO - Domain Default found not creating
2025-08-11 15:28:16,756 - INFO - Project ctest-TestPorts-99731290 not found, creating it
2025-08-11 15:28:17,224 - INFO - Created Project:ctest-TestPorts-99731290, ID : 9ef0d292-0407-4c64-9a4d-a24f2a860fcf
2025-08-11 15:28:18,615 - INFO - ================================================================================
2025-08-11 15:28:18,616 - INFO - STARTING TEST : test_ports_bindings
2025-08-11 15:28:18,616 - 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-11 15:28:18,873 - DEBUG - Nothing to compare xmpp stats {'10.0.0.128': {'10.0.0.128': '0'}} with
2025-08-11 15:28:18,874 - INFO - Initial checks done. Running the testcase now
2025-08-11 15:28:18,874 - INFO -
2025-08-11 15:28:19,401 - DEBUG - Response for create_network : {'network': {'id': '344bb11d-e8b9-4367-a383-ad48d7bb25a8', 'name': 'ctest-vn-61408926', 'tenant_id': '9ef0d29204074c649a4da24f2a860fcf', 'project_id': '9ef0d29204074c649a4da24f2a860fcf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99731290', 'ctest-vn-61408926'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 15:28:19,561 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d594a02-3c04-42f0-a423-9f9800b2c17e', 'name': '', 'tenant_id': '9ef0d29204074c649a4da24f2a860fcf', 'network_id': '344bb11d-e8b9-4367-a383-ad48d7bb25a8', 'ip_version': 4, 'cidr': '201.221.222.128/26', 'allocation_pools': [{'start': '201.221.222.130', 'end': '201.221.222.190'}], 'gateway_ip': '201.221.222.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.221.222.130', 'tags': [], 'project_id': '9ef0d29204074c649a4da24f2a860fcf'}}
2025-08-11 15:28:19,579 - INFO - Created VN ctest-vn-61408926
2025-08-11 15:28:19,628 - DEBUG - VN ctest-vn-61408926 UUID is 344bb11d-e8b9-4367-a383-ad48d7bb25a8
2025-08-11 15:28:19,730 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-99731290', 'ctest-vmi-65796793']}
2025-08-11 15:28:20,036 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-65796793', 'id': 'a3a30e20-d8a4-4724-9907-0b54d80df278', 'tenant_id': '9ef0d29204074c649a4da24f2a860fcf', 'network_id': '344bb11d-e8b9-4367-a383-ad48d7bb25a8', 'mac_address': '02:a3:a3:0e:20:d8', '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': '201.221.222.131', 'subnet_id': '2d594a02-3c04-42f0-a423-9f9800b2c17e'}], 'security_groups': ['c43be396-621e-492a-a8f8-6ac01c183a26'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9ef0d29204074c649a4da24f2a860fcf'}}
2025-08-11 15:28:20,036 - DEBUG - Created port a3a30e20-d8a4-4724-9907-0b54d80df278
2025-08-11 15:28:20,136 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine-interface/a3a30e20-d8a4-4724-9907-0b54d80df278
2025-08-11 15:28:20,422 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine-interface/a3a30e20-d8a4-4724-9907-0b54d80df278
2025-08-11 15:28:20,451 - INFO - VMI a3a30e20-d8a4-4724-9907-0b54d80df278 verification in API Server passed
2025-08-11 15:28:20,527 - DEBUG - Response for delete_port : ()
2025-08-11 15:28:20,527 - INFO - Deleted port a3a30e20-d8a4-4724-9907-0b54d80df278
2025-08-11 15:28:20,528 - INFO - Deleting VN ctest-vn-61408926
2025-08-11 15:28:20,626 - DEBUG - Response for deleting network ()
2025-08-11 15:28:20,881 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 15:28:20,882 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-11 15:28:20,882 - INFO - --------------------------------------------------------------------------------
2025-08-11 15:28:20,885 - INFO - ================================================================================
2025-08-11 15:28:20,885 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-11 15:28:20,885 - 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-11 15:28:21,173 - DEBUG - Nothing to compare xmpp stats {'10.0.0.128': {'10.0.0.128': '0'}} with
2025-08-11 15:28:21,173 - INFO - Initial checks done. Running the testcase now
2025-08-11 15:28:21,173 - INFO -
2025-08-11 15:28:21,338 - DEBUG - Response for create_network : {'network': {'id': '5f55519f-10e7-49b8-bf42-f842cddf96ed', 'name': 'ctest-vn1-87339766', 'tenant_id': '9ef0d29204074c649a4da24f2a860fcf', 'project_id': '9ef0d29204074c649a4da24f2a860fcf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99731290', 'ctest-vn1-87339766'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 15:28:21,494 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e43d734-c220-4d41-94d1-ec116155d40d', 'name': '', 'tenant_id': '9ef0d29204074c649a4da24f2a860fcf', 'network_id': '5f55519f-10e7-49b8-bf42-f842cddf96ed', 'ip_version': 4, 'cidr': '134.187.139.64/26', 'allocation_pools': [{'start': '134.187.139.66', 'end': '134.187.139.126'}], 'gateway_ip': '134.187.139.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.187.139.66', 'tags': [], 'project_id': '9ef0d29204074c649a4da24f2a860fcf'}}
2025-08-11 15:28:21,639 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ddf42d24-2a49-4daa-8524-5a9476cc40ee', 'name': '', 'tenant_id': '9ef0d29204074c649a4da24f2a860fcf', 'network_id': '5f55519f-10e7-49b8-bf42-f842cddf96ed', 'ip_version': 4, 'cidr': '133.172.239.64/26', 'allocation_pools': [{'start': '133.172.239.66', 'end': '133.172.239.126'}], 'gateway_ip': '133.172.239.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.172.239.66', 'tags': [], 'project_id': '9ef0d29204074c649a4da24f2a860fcf'}}
2025-08-11 15:28:21,656 - INFO - Created VN ctest-vn1-87339766
2025-08-11 15:28:21,712 - DEBUG - VN ctest-vn1-87339766 UUID is 5f55519f-10e7-49b8-bf42-f842cddf96ed
2025-08-11 15:28:21,977 - DEBUG - Response for create_port : {'port': {'name': 'd617e175-1a30-4411-aa68-7746f2ad5a90', 'id': 'd617e175-1a30-4411-aa68-7746f2ad5a90', 'tenant_id': '9ef0d29204074c649a4da24f2a860fcf', 'network_id': '5f55519f-10e7-49b8-bf42-f842cddf96ed', 'mac_address': '02:d6:17:e1:75:1a', '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': '134.187.139.69', 'subnet_id': '4e43d734-c220-4d41-94d1-ec116155d40d'}], 'security_groups': ['c43be396-621e-492a-a8f8-6ac01c183a26'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9ef0d29204074c649a4da24f2a860fcf'}}
2025-08-11 15:28:22,147 - DEBUG - Response for create_port : {'port': {'name': 'dcbb7196-3e0d-4c23-91c3-98eaef0504f8', 'id': 'dcbb7196-3e0d-4c23-91c3-98eaef0504f8', 'tenant_id': '9ef0d29204074c649a4da24f2a860fcf', 'network_id': '5f55519f-10e7-49b8-bf42-f842cddf96ed', 'mac_address': '02:dc:bb:71:96: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': '133.172.239.69', 'subnet_id': 'ddf42d24-2a49-4daa-8524-5a9476cc40ee'}], 'security_groups': ['c43be396-621e-492a-a8f8-6ac01c183a26'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9ef0d29204074c649a4da24f2a860fcf'}}
2025-08-11 15:28:22,199 - DEBUG - Services list from nova: [, , ]
2025-08-11 15:28:22,481 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3810-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3810-1)
2025-08-11 15:28:22,840 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3810-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3810-1)
2025-08-11 15:28:22,840 - INFO - Waiting for VM ctest-vn1-vm1-34322023 to be up..
2025-08-11 15:28:22,877 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 15:28:27,958 - DEBUG - VM is in ACTIVE state now
2025-08-11 15:28:27,959 - INFO - VM name : ctest-vn1-vm1-34322023
2025-08-11 15:28:28,037 - DEBUG - VM ctest-vn1-vm1-34322023 ID is 4459b5b9-a732-4e74-befe-517ab93d1cf0
2025-08-11 15:28:28,059 - DEBUG - VM ctest-vn1-vm1-34322023 launched on Node cn-jenkins-deploy-platform-ansible-os-3810-1.
2025-08-11 15:28:28,128 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine/4459b5b9-a732-4e74-befe-517ab93d1cf0
2025-08-11 15:28:28,136 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine-interface/d617e175-1a30-4411-aa68-7746f2ad5a90
2025-08-11 15:28:31,399 - 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 1027ms')
2025-08-11 15:28:31,399 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34322023 failed!
2025-08-11 15:28:31,456 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99731290:ctest-vn1-87339766 is 134.187.139.65 and allocation pool is NOT set
2025-08-11 15:28:31,456 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99731290:ctest-vn1-87339766 is 133.172.239.65 and allocation pool is NOT set
2025-08-11 15:28:33,513 - 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=5.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.68 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 = 1.676/3.414/5.153/1.738 ms')
2025-08-11 15:28:33,513 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34322023 passed
2025-08-11 15:28:33,660 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 15:28:33,660 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-34322023, IP 134.187.139.69, Port 22
2025-08-11 15:28:33,812 - DEBUG - VM ctest-vn1-vm1-34322023 is ready for SSH connections
2025-08-11 15:28:33,812 - INFO - Waiting for VM ctest-vn1-vm2-86218918 to be up..
2025-08-11 15:28:33,882 - DEBUG - VM is in ACTIVE state now
2025-08-11 15:28:33,883 - INFO - VM name : ctest-vn1-vm2-86218918
2025-08-11 15:28:33,944 - DEBUG - VM ctest-vn1-vm2-86218918 ID is c085e4b4-004f-46e0-b52a-6e19a5fe82e3
2025-08-11 15:28:33,945 - DEBUG - VM ctest-vn1-vm2-86218918 launched on Node cn-jenkins-deploy-platform-ansible-os-3810-1.
2025-08-11 15:28:34,016 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine/c085e4b4-004f-46e0-b52a-6e19a5fe82e3
2025-08-11 15:28:34,022 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine-interface/dcbb7196-3e0d-4c23-91c3-98eaef0504f8
2025-08-11 15:28:35,253 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.348 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.348/1.501/2.654/1.153 ms')
2025-08-11 15:28:35,253 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-86218918 passed
2025-08-11 15:28:35,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 15:28:35,404 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-86218918, IP 133.172.239.69, Port 22
2025-08-11 15:28:35,559 - DEBUG - VM ctest-vn1-vm2-86218918 is ready for SSH connections
2025-08-11 15:28:35,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 15:28:35,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 15:28:35,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 15:28:35,559 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.187.139.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.128, gateway password: c0ntrail123
2025-08-11 15:28:35,559 - DEBUG - ping -s 56 -c 3 -W 1 134.187.139.69
2025-08-11 15:28:38,458 - DEBUG - PING 134.187.139.69 (134.187.139.69): 56 data bytes
64 bytes from 134.187.139.69: seq=0 ttl=63 time=3.090 ms
64 bytes from 134.187.139.69: seq=1 ttl=63 time=0.862 ms
64 bytes from 134.187.139.69: seq=2 ttl=63 time=0.701 ms
--- 134.187.139.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.701/1.551/3.090 ms
2025-08-11 15:28:38,458 - INFO - Ping to IP 134.187.139.69 from VM ctest-vn1-vm2-86218918 passed
2025-08-11 15:28:38,458 - INFO - Detaching port dcbb7196-3e0d-4c23-91c3-98eaef0504f8 from VM ctest-vn1-vm2-86218918
2025-08-11 15:28:38,502 - INFO - Deleting VM ctest-vn1-vm2-86218918
2025-08-11 15:28:38,563 - INFO - Detaching port d617e175-1a30-4411-aa68-7746f2ad5a90 from VM ctest-vn1-vm1-34322023
2025-08-11 15:28:38,596 - INFO - Deleting VM ctest-vn1-vm1-34322023
2025-08-11 15:28:38,945 - DEBUG - Response for delete_port : ()
2025-08-11 15:28:39,064 - DEBUG - Response for delete_port : ()
2025-08-11 15:28:39,064 - INFO - Deleting VN ctest-vn1-87339766
2025-08-11 15:28:39,173 - DEBUG - Response for deleting network ()
2025-08-11 15:28:39,443 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 15:28:39,444 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-11 15:28:39,444 - INFO - --------------------------------------------------------------------------------
2025-08-11 15:28:40,087 - INFO - Deleted project: ctest-TestPorts-99731290, ID : 9ef0d292-0407-4c64-9a4d-a24f2a860fcf