2025-10-09 12:05:51,985 - INFO - Domain Default found not creating
2025-10-09 12:05:52,234 - INFO - Project ctest-TestPorts-46983937 not found, creating it
2025-10-09 12:05:52,984 - INFO - Created Project:ctest-TestPorts-46983937, ID : ccff7604-0a38-4615-a028-40e929b6ad41
2025-10-09 12:05:54,874 - INFO - ================================================================================
2025-10-09 12:05:54,875 - INFO - STARTING TEST : test_ports_bindings
2025-10-09 12:05:54,875 - 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-10-09 12:05:55,159 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-10-09 12:05:55,159 - INFO - Initial checks done. Running the testcase now
2025-10-09 12:05:55,159 - INFO -
2025-10-09 12:05:55,858 - DEBUG - Response for create_network : {'network': {'id': '646776a7-d62b-428b-afdc-0f19fa72575a', 'name': 'ctest-vn-36741239', 'tenant_id': 'ccff76040a384615a02840e929b6ad41', 'project_id': 'ccff76040a384615a02840e929b6ad41', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-46983937', 'ctest-vn-36741239'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 12:05:56,100 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7722ed4-0975-44d9-b2bd-5b3086ad34e9', 'name': '', 'tenant_id': 'ccff76040a384615a02840e929b6ad41', 'network_id': '646776a7-d62b-428b-afdc-0f19fa72575a', 'ip_version': 4, 'cidr': '4.121.31.64/26', 'allocation_pools': [{'start': '4.121.31.66', 'end': '4.121.31.126'}], 'gateway_ip': '4.121.31.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.121.31.66', 'tags': [], 'project_id': 'ccff76040a384615a02840e929b6ad41'}}
2025-10-09 12:05:56,123 - INFO - Created VN ctest-vn-36741239
2025-10-09 12:05:56,175 - DEBUG - VN ctest-vn-36741239 UUID is 646776a7-d62b-428b-afdc-0f19fa72575a
2025-10-09 12:05:56,306 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-46983937', 'ctest-vmi-17066628']}
2025-10-09 12:05:56,635 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-17066628', 'id': '17baa4a1-5bc7-42fa-b26b-c1ab50cfb766', 'tenant_id': 'ccff76040a384615a02840e929b6ad41', 'network_id': '646776a7-d62b-428b-afdc-0f19fa72575a', 'mac_address': '02:17:ba:a4:a1:5b', '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': '4.121.31.67', 'subnet_id': 'f7722ed4-0975-44d9-b2bd-5b3086ad34e9'}], 'security_groups': ['95712bc6-eab1-4f3c-8b45-f6c1b3ec0305'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ccff76040a384615a02840e929b6ad41'}}
2025-10-09 12:05:56,636 - DEBUG - Created port 17baa4a1-5bc7-42fa-b26b-c1ab50cfb766
2025-10-09 12:05:56,757 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/17baa4a1-5bc7-42fa-b26b-c1ab50cfb766
2025-10-09 12:05:57,086 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/17baa4a1-5bc7-42fa-b26b-c1ab50cfb766
2025-10-09 12:05:57,137 - INFO - VMI 17baa4a1-5bc7-42fa-b26b-c1ab50cfb766 verification in API Server passed
2025-10-09 12:05:57,273 - DEBUG - Response for delete_port : ()
2025-10-09 12:05:57,273 - INFO - Deleted port 17baa4a1-5bc7-42fa-b26b-c1ab50cfb766
2025-10-09 12:05:57,273 - INFO - Deleting VN ctest-vn-36741239
2025-10-09 12:05:57,446 - DEBUG - Response for deleting network ()
2025-10-09 12:05:57,737 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 12:05:57,737 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-09 12:05:57,738 - INFO - --------------------------------------------------------------------------------
2025-10-09 12:05:57,742 - INFO - ================================================================================
2025-10-09 12:05:57,742 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-09 12:05:57,743 - 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-10-09 12:05:58,045 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-10-09 12:05:58,045 - INFO - Initial checks done. Running the testcase now
2025-10-09 12:05:58,045 - INFO -
2025-10-09 12:05:58,320 - DEBUG - Response for create_network : {'network': {'id': '27e31104-7f2d-4977-9bf1-61fa59a7d8c1', 'name': 'ctest-vn1-74094761', 'tenant_id': 'ccff76040a384615a02840e929b6ad41', 'project_id': 'ccff76040a384615a02840e929b6ad41', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-46983937', 'ctest-vn1-74094761'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 12:05:58,572 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f0446dc-eaa2-4431-be36-5833b348dcd1', 'name': '', 'tenant_id': 'ccff76040a384615a02840e929b6ad41', 'network_id': '27e31104-7f2d-4977-9bf1-61fa59a7d8c1', 'ip_version': 4, 'cidr': '78.31.72.128/26', 'allocation_pools': [{'start': '78.31.72.130', 'end': '78.31.72.190'}], 'gateway_ip': '78.31.72.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.31.72.130', 'tags': [], 'project_id': 'ccff76040a384615a02840e929b6ad41'}}
2025-10-09 12:05:58,759 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e17357eb-2650-4d49-a89f-3ddf76c7936a', 'name': '', 'tenant_id': 'ccff76040a384615a02840e929b6ad41', 'network_id': '27e31104-7f2d-4977-9bf1-61fa59a7d8c1', 'ip_version': 4, 'cidr': '34.185.15.64/26', 'allocation_pools': [{'start': '34.185.15.66', 'end': '34.185.15.126'}], 'gateway_ip': '34.185.15.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.185.15.66', 'tags': [], 'project_id': 'ccff76040a384615a02840e929b6ad41'}}
2025-10-09 12:05:58,790 - INFO - Created VN ctest-vn1-74094761
2025-10-09 12:05:58,852 - DEBUG - VN ctest-vn1-74094761 UUID is 27e31104-7f2d-4977-9bf1-61fa59a7d8c1
2025-10-09 12:05:59,285 - DEBUG - Response for create_port : {'port': {'name': '2a6b7c39-c069-4ec1-aaea-cb7a6281369a', 'id': '2a6b7c39-c069-4ec1-aaea-cb7a6281369a', 'tenant_id': 'ccff76040a384615a02840e929b6ad41', 'network_id': '27e31104-7f2d-4977-9bf1-61fa59a7d8c1', 'mac_address': '02:2a:6b:7c:39:c0', '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': '78.31.72.133', 'subnet_id': '9f0446dc-eaa2-4431-be36-5833b348dcd1'}], 'security_groups': ['95712bc6-eab1-4f3c-8b45-f6c1b3ec0305'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ccff76040a384615a02840e929b6ad41'}}
2025-10-09 12:05:59,546 - DEBUG - Response for create_port : {'port': {'name': '5bb941cb-5fd2-4782-b931-6ed34fb87e1f', 'id': '5bb941cb-5fd2-4782-b931-6ed34fb87e1f', 'tenant_id': 'ccff76040a384615a02840e929b6ad41', 'network_id': '27e31104-7f2d-4977-9bf1-61fa59a7d8c1', 'mac_address': '02:5b:b9:41:cb:5f', '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': '34.185.15.69', 'subnet_id': 'e17357eb-2650-4d49-a89f-3ddf76c7936a'}], 'security_groups': ['95712bc6-eab1-4f3c-8b45-f6c1b3ec0305'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ccff76040a384615a02840e929b6ad41'}}
2025-10-09 12:05:59,643 - DEBUG - Services list from nova: [, , ]
2025-10-09 12:06:00,198 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4259-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4259-1)
2025-10-09 12:06:00,857 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4259-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4259-1)
2025-10-09 12:06:00,857 - INFO - Waiting for VM ctest-vn1-vm1-59730976 to be up..
2025-10-09 12:06:00,922 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-09 12:06:06,037 - DEBUG - VM is in ACTIVE state now
2025-10-09 12:06:06,037 - INFO - VM name : ctest-vn1-vm1-59730976
2025-10-09 12:06:06,162 - DEBUG - VM ctest-vn1-vm1-59730976 ID is 7139d5f3-ecca-4975-8483-4830df5ec889
2025-10-09 12:06:06,196 - DEBUG - VM ctest-vn1-vm1-59730976 launched on Node cn-jenkins-deploy-platform-ansible-os-4259-1
2025-10-09 12:06:06,316 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7139d5f3-ecca-4975-8483-4830df5ec889
2025-10-09 12:06:06,328 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2a6b7c39-c069-4ec1-aaea-cb7a6281369a
2025-10-09 12:06:09,615 - 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 1022ms')
2025-10-09 12:06:09,615 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-59730976 failed!
2025-10-09 12:06:09,671 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-46983937:ctest-vn1-74094761 is 78.31.72.129 and allocation pool is NOT set
2025-10-09 12:06:09,672 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-46983937:ctest-vn1-74094761 is 34.185.15.65 and allocation pool is NOT set
2025-10-09 12:06:13,743 - 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 1007ms')
2025-10-09 12:06:13,743 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-59730976 failed!
2025-10-09 12:06:13,804 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-46983937:ctest-vn1-74094761 is 78.31.72.129 and allocation pool is NOT set
2025-10-09 12:06:13,804 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-46983937:ctest-vn1-74094761 is 34.185.15.65 and allocation pool is NOT set
2025-10-09 12:06:15,872 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.55 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.553/3.608/5.664/2.055 ms')
2025-10-09 12:06:15,872 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-59730976 passed
2025-10-09 12:06:16,032 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 12:06:16,032 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-59730976, IP 78.31.72.133, Port 22
2025-10-09 12:06:16,097 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-09 12:06:16,213 - DEBUG - VM ctest-vn1-vm1-59730976 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-09 12:06:21,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 12:06:21,215 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-59730976, IP 78.31.72.133, Port 22
2025-10-09 12:06:21,385 - DEBUG - VM ctest-vn1-vm1-59730976 is ready for SSH connections
2025-10-09 12:06:21,385 - INFO - Waiting for VM ctest-vn1-vm2-45022449 to be up..
2025-10-09 12:06:21,477 - DEBUG - VM is in ACTIVE state now
2025-10-09 12:06:21,477 - INFO - VM name : ctest-vn1-vm2-45022449
2025-10-09 12:06:21,582 - DEBUG - VM ctest-vn1-vm2-45022449 ID is 0bec881f-57ec-42bb-a9ef-106cdc87b8b4
2025-10-09 12:06:21,582 - DEBUG - VM ctest-vn1-vm2-45022449 launched on Node cn-jenkins-deploy-platform-ansible-os-4259-1
2025-10-09 12:06:21,688 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0bec881f-57ec-42bb-a9ef-106cdc87b8b4
2025-10-09 12:06:21,698 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5bb941cb-5fd2-4782-b931-6ed34fb87e1f
2025-10-09 12:06:22,958 - 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.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.571 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.571/1.980/3.389/1.409 ms')
2025-10-09 12:06:22,959 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-45022449 passed
2025-10-09 12:06:23,115 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 12:06:23,116 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-45022449, IP 34.185.15.69, Port 22
2025-10-09 12:06:23,286 - DEBUG - VM ctest-vn1-vm2-45022449 is ready for SSH connections
2025-10-09 12:06:23,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 12:06:23,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 12:06:23,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 12:06:23,288 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.31.72.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-10-09 12:06:23,288 - DEBUG - ping -s 56 -c 3 -W 1 78.31.72.133
2025-10-09 12:06:26,095 - DEBUG - PING 78.31.72.133 (78.31.72.133): 56 data bytes
64 bytes from 78.31.72.133: seq=0 ttl=63 time=5.455 ms
64 bytes from 78.31.72.133: seq=1 ttl=63 time=1.317 ms
64 bytes from 78.31.72.133: seq=2 ttl=63 time=1.207 ms
--- 78.31.72.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.207/2.659/5.455 ms
2025-10-09 12:06:26,095 - INFO - Ping to IP 78.31.72.133 from VM ctest-vn1-vm2-45022449 passed
2025-10-09 12:06:26,096 - INFO - Detaching port 5bb941cb-5fd2-4782-b931-6ed34fb87e1f from VM ctest-vn1-vm2-45022449
2025-10-09 12:06:26,174 - INFO - Deleting VM ctest-vn1-vm2-45022449
2025-10-09 12:06:26,276 - INFO - Detaching port 2a6b7c39-c069-4ec1-aaea-cb7a6281369a from VM ctest-vn1-vm1-59730976
2025-10-09 12:06:26,329 - INFO - Deleting VM ctest-vn1-vm1-59730976
2025-10-09 12:06:26,692 - DEBUG - Response for delete_port : ()
2025-10-09 12:06:26,933 - DEBUG - Response for delete_port : ()
2025-10-09 12:06:26,933 - INFO - Deleting VN ctest-vn1-74094761
2025-10-09 12:06:27,128 - DEBUG - Response for deleting network ()
2025-10-09 12:06:27,409 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 12:06:27,410 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:30]
2025-10-09 12:06:27,410 - INFO - --------------------------------------------------------------------------------
2025-10-09 12:06:28,215 - INFO - Deleted project: ctest-TestPorts-46983937, ID : ccff7604-0a38-4615-a028-40e929b6ad41