2025-12-18 23:52:59,392 - INFO - Domain Default found not creating
2025-12-18 23:52:59,567 - INFO - Project ctest-TestPorts-93103312 not found, creating it
2025-12-18 23:53:00,045 - INFO - Created Project:ctest-TestPorts-93103312, ID : 06a39442-24f2-4975-8d42-6590074b0a2a
2025-12-18 23:53:01,628 - INFO - ================================================================================
2025-12-18 23:53:01,628 - INFO - STARTING TEST : test_ports_bindings
2025-12-18 23:53:01,628 - 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-12-18 23:53:01,886 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-12-18 23:53:01,886 - INFO - Initial checks done. Running the testcase now
2025-12-18 23:53:01,886 - INFO -
2025-12-18 23:53:02,460 - DEBUG - Response for create_network : {'network': {'id': '454d8c49-4ea7-45be-bab4-3028a9e1ca56', 'name': 'ctest-vn-56934350', 'tenant_id': '06a3944224f249758d426590074b0a2a', 'project_id': '06a3944224f249758d426590074b0a2a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-93103312', 'ctest-vn-56934350'], 'port_security_enabled': True, 'description': ''}}
2025-12-18 23:53:02,611 - DEBUG - Response for create_subnet : {'subnet': {'id': '28c8aceb-16fc-4067-872e-7ce06480fd2c', 'name': '', 'tenant_id': '06a3944224f249758d426590074b0a2a', 'network_id': '454d8c49-4ea7-45be-bab4-3028a9e1ca56', 'ip_version': 4, 'cidr': '138.84.146.0/26', 'allocation_pools': [{'start': '138.84.146.2', 'end': '138.84.146.62'}], 'gateway_ip': '138.84.146.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.84.146.2', 'tags': [], 'project_id': '06a3944224f249758d426590074b0a2a'}}
2025-12-18 23:53:02,630 - INFO - Created VN ctest-vn-56934350
2025-12-18 23:53:02,680 - DEBUG - VN ctest-vn-56934350 UUID is 454d8c49-4ea7-45be-bab4-3028a9e1ca56
2025-12-18 23:53:02,787 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-93103312', 'ctest-vmi-82999926']}
2025-12-18 23:53:03,010 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-82999926', 'id': '965dd3f1-2c32-4ade-9f3d-9b8fda9e6407', 'tenant_id': '06a3944224f249758d426590074b0a2a', 'network_id': '454d8c49-4ea7-45be-bab4-3028a9e1ca56', 'mac_address': '02:96:5d:d3:f1:2c', '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': '138.84.146.3', 'subnet_id': '28c8aceb-16fc-4067-872e-7ce06480fd2c'}], 'security_groups': ['ff0ac71a-e2c7-44c3-8047-04b4a971af21'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '06a3944224f249758d426590074b0a2a'}}
2025-12-18 23:53:03,011 - DEBUG - Created port 965dd3f1-2c32-4ade-9f3d-9b8fda9e6407
2025-12-18 23:53:03,116 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/965dd3f1-2c32-4ade-9f3d-9b8fda9e6407
2025-12-18 23:53:03,423 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/965dd3f1-2c32-4ade-9f3d-9b8fda9e6407
2025-12-18 23:53:03,461 - INFO - VMI 965dd3f1-2c32-4ade-9f3d-9b8fda9e6407 verification in API Server passed
2025-12-18 23:53:03,557 - DEBUG - Response for delete_port : ()
2025-12-18 23:53:03,557 - INFO - Deleted port 965dd3f1-2c32-4ade-9f3d-9b8fda9e6407
2025-12-18 23:53:03,557 - INFO - Deleting VN ctest-vn-56934350
2025-12-18 23:53:03,664 - DEBUG - Response for deleting network ()
2025-12-18 23:53:03,925 - DEBUG - No XMPP flaps were noticed during the test
2025-12-18 23:53:03,925 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-18 23:53:03,925 - INFO - --------------------------------------------------------------------------------
2025-12-18 23:53:03,927 - INFO - ================================================================================
2025-12-18 23:53:03,928 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-18 23:53:03,928 - 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-12-18 23:53:04,215 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-12-18 23:53:04,215 - INFO - Initial checks done. Running the testcase now
2025-12-18 23:53:04,215 - INFO -
2025-12-18 23:53:04,394 - DEBUG - Response for create_network : {'network': {'id': 'c599e9e9-ea90-4173-82a7-6b07a9d76500', 'name': 'ctest-vn1-40177298', 'tenant_id': '06a3944224f249758d426590074b0a2a', 'project_id': '06a3944224f249758d426590074b0a2a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-93103312', 'ctest-vn1-40177298'], 'port_security_enabled': True, 'description': ''}}
2025-12-18 23:53:04,580 - DEBUG - Response for create_subnet : {'subnet': {'id': '71fe438c-4267-435c-b5b7-2eb6754bcff9', 'name': '', 'tenant_id': '06a3944224f249758d426590074b0a2a', 'network_id': 'c599e9e9-ea90-4173-82a7-6b07a9d76500', 'ip_version': 4, 'cidr': '179.76.71.192/26', 'allocation_pools': [{'start': '179.76.71.194', 'end': '179.76.71.254'}], 'gateway_ip': '179.76.71.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.76.71.194', 'tags': [], 'project_id': '06a3944224f249758d426590074b0a2a'}}
2025-12-18 23:53:04,731 - DEBUG - Response for create_subnet : {'subnet': {'id': '66b6bcae-4000-4a2f-937e-93fb17bd5b9d', 'name': '', 'tenant_id': '06a3944224f249758d426590074b0a2a', 'network_id': 'c599e9e9-ea90-4173-82a7-6b07a9d76500', 'ip_version': 4, 'cidr': '215.93.200.0/26', 'allocation_pools': [{'start': '215.93.200.2', 'end': '215.93.200.62'}], 'gateway_ip': '215.93.200.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.93.200.2', 'tags': [], 'project_id': '06a3944224f249758d426590074b0a2a'}}
2025-12-18 23:53:04,748 - INFO - Created VN ctest-vn1-40177298
2025-12-18 23:53:04,800 - DEBUG - VN ctest-vn1-40177298 UUID is c599e9e9-ea90-4173-82a7-6b07a9d76500
2025-12-18 23:53:05,086 - DEBUG - Response for create_port : {'port': {'name': '8c1f61a5-9b70-473d-98ad-0cbb81ab81ee', 'id': '8c1f61a5-9b70-473d-98ad-0cbb81ab81ee', 'tenant_id': '06a3944224f249758d426590074b0a2a', 'network_id': 'c599e9e9-ea90-4173-82a7-6b07a9d76500', 'mac_address': '02:8c:1f:61:a5:9b', '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': '179.76.71.197', 'subnet_id': '71fe438c-4267-435c-b5b7-2eb6754bcff9'}], 'security_groups': ['ff0ac71a-e2c7-44c3-8047-04b4a971af21'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '06a3944224f249758d426590074b0a2a'}}
2025-12-18 23:53:05,255 - DEBUG - Response for create_port : {'port': {'name': '69ad9a88-8dff-48e6-a032-04939fe1ec07', 'id': '69ad9a88-8dff-48e6-a032-04939fe1ec07', 'tenant_id': '06a3944224f249758d426590074b0a2a', 'network_id': 'c599e9e9-ea90-4173-82a7-6b07a9d76500', 'mac_address': '02:69:ad:9a:88:8d', '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': '215.93.200.5', 'subnet_id': '66b6bcae-4000-4a2f-937e-93fb17bd5b9d'}], 'security_groups': ['ff0ac71a-e2c7-44c3-8047-04b4a971af21'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '06a3944224f249758d426590074b0a2a'}}
2025-12-18 23:53:05,312 - DEBUG - Services list from nova: [, , ]
2025-12-18 23:53:05,692 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4908-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4908-1)
2025-12-18 23:53:06,104 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4908-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4908-1)
2025-12-18 23:53:06,104 - INFO - Waiting for VM ctest-vn1-vm1-38495195 to be up..
2025-12-18 23:53:06,143 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-18 23:53:11,220 - DEBUG - VM is in ACTIVE state now
2025-12-18 23:53:11,220 - INFO - VM name : ctest-vn1-vm1-38495195
2025-12-18 23:53:11,296 - DEBUG - VM ctest-vn1-vm1-38495195 ID is 7a9ee20d-dcce-40dd-bd1f-4ecb5e79ec43
2025-12-18 23:53:11,317 - DEBUG - VM ctest-vn1-vm1-38495195 launched on Node cn-jenkins-deploy-platform-ansible-os-4908-1
2025-12-18 23:53:11,393 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7a9ee20d-dcce-40dd-bd1f-4ecb5e79ec43
2025-12-18 23:53:11,401 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8c1f61a5-9b70-473d-98ad-0cbb81ab81ee
2025-12-18 23:53:14,660 - 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 1019ms')
2025-12-18 23:53:14,661 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38495195 failed!
2025-12-18 23:53:14,716 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-93103312:ctest-vn1-40177298 is 179.76.71.193 and allocation pool is NOT set
2025-12-18 23:53:14,717 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-93103312:ctest-vn1-40177298 is 215.93.200.1 and allocation pool is NOT set
2025-12-18 23:53:18,781 - 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=8.53 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 8.525/8.525/8.525/0.000 ms')
2025-12-18 23:53:18,781 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38495195 passed
2025-12-18 23:53:18,928 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 23:53:18,928 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-38495195, IP 179.76.71.197, Port 22
2025-12-18 23:53:19,088 - DEBUG - VM ctest-vn1-vm1-38495195 is ready for SSH connections
2025-12-18 23:53:19,088 - INFO - Waiting for VM ctest-vn1-vm2-17728194 to be up..
2025-12-18 23:53:19,165 - DEBUG - VM is in ACTIVE state now
2025-12-18 23:53:19,165 - INFO - VM name : ctest-vn1-vm2-17728194
2025-12-18 23:53:19,239 - DEBUG - VM ctest-vn1-vm2-17728194 ID is eeab11b5-ecd8-42bc-9d41-a8fd0256bba7
2025-12-18 23:53:19,239 - DEBUG - VM ctest-vn1-vm2-17728194 launched on Node cn-jenkins-deploy-platform-ansible-os-4908-1
2025-12-18 23:53:19,316 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/eeab11b5-ecd8-42bc-9d41-a8fd0256bba7
2025-12-18 23:53:19,324 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/69ad9a88-8dff-48e6-a032-04939fe1ec07
2025-12-18 23:53:20,553 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.506 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.506/1.649/2.793/1.143 ms')
2025-12-18 23:53:20,553 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-17728194 passed
2025-12-18 23:53:20,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 23:53:20,705 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-17728194, IP 215.93.200.5, Port 22
2025-12-18 23:53:20,860 - DEBUG - VM ctest-vn1-vm2-17728194 is ready for SSH connections
2025-12-18 23:53:20,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 23:53:20,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 23:53:20,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 23:53:20,861 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.76.71.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-12-18 23:53:20,861 - DEBUG - ping -s 56 -c 3 -W 1 179.76.71.197
2025-12-18 23:53:23,543 - DEBUG - PING 179.76.71.197 (179.76.71.197): 56 data bytes
64 bytes from 179.76.71.197: seq=0 ttl=63 time=3.876 ms
64 bytes from 179.76.71.197: seq=1 ttl=63 time=0.892 ms
64 bytes from 179.76.71.197: seq=2 ttl=63 time=0.841 ms
--- 179.76.71.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.841/1.869/3.876 ms
2025-12-18 23:53:23,544 - INFO - Ping to IP 179.76.71.197 from VM ctest-vn1-vm2-17728194 passed
2025-12-18 23:53:23,544 - INFO - Detaching port 69ad9a88-8dff-48e6-a032-04939fe1ec07 from VM ctest-vn1-vm2-17728194
2025-12-18 23:53:23,594 - INFO - Deleting VM ctest-vn1-vm2-17728194
2025-12-18 23:53:23,666 - INFO - Detaching port 8c1f61a5-9b70-473d-98ad-0cbb81ab81ee from VM ctest-vn1-vm1-38495195
2025-12-18 23:53:23,700 - INFO - Deleting VM ctest-vn1-vm1-38495195
2025-12-18 23:53:23,958 - DEBUG - Response for delete_port : ()
2025-12-18 23:53:24,166 - DEBUG - Response for delete_port : ()
2025-12-18 23:53:24,166 - INFO - Deleting VN ctest-vn1-40177298
2025-12-18 23:53:24,348 - DEBUG - Response for deleting network ()
2025-12-18 23:53:24,602 - DEBUG - No XMPP flaps were noticed during the test
2025-12-18 23:53:24,602 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-12-18 23:53:24,602 - INFO - --------------------------------------------------------------------------------
2025-12-18 23:53:25,309 - INFO - Deleted project: ctest-TestPorts-93103312, ID : 06a39442-24f2-4975-8d42-6590074b0a2a