2025-09-02 22:35:17,491 - INFO - Domain Default found not creating
2025-09-02 22:35:17,664 - INFO - Project ctest-TestPorts-88875409 not found, creating it
2025-09-02 22:35:18,320 - INFO - Created Project:ctest-TestPorts-88875409, ID : 1d4f800a-914e-43f4-872d-475822df188b
2025-09-02 22:35:19,715 - INFO - ================================================================================
2025-09-02 22:35:19,715 - INFO - STARTING TEST : test_ports_bindings
2025-09-02 22:35:19,715 - 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-02 22:35:19,969 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with
2025-09-02 22:35:19,970 - INFO - Initial checks done. Running the testcase now
2025-09-02 22:35:19,970 - INFO -
2025-09-02 22:35:20,515 - DEBUG - Response for create_network : {'network': {'id': 'c1720417-3dca-4f61-a65e-74f51a9440fd', 'name': 'ctest-vn-44274105', 'tenant_id': '1d4f800a914e43f4872d475822df188b', 'project_id': '1d4f800a914e43f4872d475822df188b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-88875409', 'ctest-vn-44274105'], 'port_security_enabled': True, 'description': ''}}
2025-09-02 22:35:20,719 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb0987d1-0079-416a-bdc8-57b7a53d21d7', 'name': '', 'tenant_id': '1d4f800a914e43f4872d475822df188b', 'network_id': 'c1720417-3dca-4f61-a65e-74f51a9440fd', 'ip_version': 4, 'cidr': '123.239.107.64/26', 'allocation_pools': [{'start': '123.239.107.66', 'end': '123.239.107.126'}], 'gateway_ip': '123.239.107.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.239.107.66', 'tags': [], 'project_id': '1d4f800a914e43f4872d475822df188b'}}
2025-09-02 22:35:20,735 - INFO - Created VN ctest-vn-44274105
2025-09-02 22:35:20,787 - DEBUG - VN ctest-vn-44274105 UUID is c1720417-3dca-4f61-a65e-74f51a9440fd
2025-09-02 22:35:20,888 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-88875409', 'ctest-vmi-45283607']}
2025-09-02 22:35:21,146 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-45283607', 'id': '8c4a44fd-b269-4b4a-b179-eefb186939d0', 'tenant_id': '1d4f800a914e43f4872d475822df188b', 'network_id': 'c1720417-3dca-4f61-a65e-74f51a9440fd', 'mac_address': '02:8c:4a:44:fd:b2', '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': '123.239.107.67', 'subnet_id': 'bb0987d1-0079-416a-bdc8-57b7a53d21d7'}], 'security_groups': ['b36344bb-2c95-4972-894d-0ecfb1d6d11d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1d4f800a914e43f4872d475822df188b'}}
2025-09-02 22:35:21,146 - DEBUG - Created port 8c4a44fd-b269-4b4a-b179-eefb186939d0
2025-09-02 22:35:21,251 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/8c4a44fd-b269-4b4a-b179-eefb186939d0
2025-09-02 22:35:21,541 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/8c4a44fd-b269-4b4a-b179-eefb186939d0
2025-09-02 22:35:21,568 - INFO - VMI 8c4a44fd-b269-4b4a-b179-eefb186939d0 verification in API Server passed
2025-09-02 22:35:21,654 - DEBUG - Response for delete_port : ()
2025-09-02 22:35:21,654 - INFO - Deleted port 8c4a44fd-b269-4b4a-b179-eefb186939d0
2025-09-02 22:35:21,654 - INFO - Deleting VN ctest-vn-44274105
2025-09-02 22:35:21,752 - DEBUG - Response for deleting network ()
2025-09-02 22:35:22,003 - DEBUG - No XMPP flaps were noticed during the test
2025-09-02 22:35:22,003 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-02 22:35:22,003 - INFO - --------------------------------------------------------------------------------
2025-09-02 22:35:22,005 - INFO - ================================================================================
2025-09-02 22:35:22,006 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-02 22:35:22,006 - 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-02 22:35:22,291 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with
2025-09-02 22:35:22,292 - INFO - Initial checks done. Running the testcase now
2025-09-02 22:35:22,292 - INFO -
2025-09-02 22:35:22,454 - DEBUG - Response for create_network : {'network': {'id': '0fe36879-67c7-4086-b6e3-d7ecb9409b21', 'name': 'ctest-vn1-68227352', 'tenant_id': '1d4f800a914e43f4872d475822df188b', 'project_id': '1d4f800a914e43f4872d475822df188b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-88875409', 'ctest-vn1-68227352'], 'port_security_enabled': True, 'description': ''}}
2025-09-02 22:35:22,589 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1240764-39c1-4b3d-ace4-62d378603065', 'name': '', 'tenant_id': '1d4f800a914e43f4872d475822df188b', 'network_id': '0fe36879-67c7-4086-b6e3-d7ecb9409b21', 'ip_version': 4, 'cidr': '6.70.87.0/26', 'allocation_pools': [{'start': '6.70.87.2', 'end': '6.70.87.62'}], 'gateway_ip': '6.70.87.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.70.87.2', 'tags': [], 'project_id': '1d4f800a914e43f4872d475822df188b'}}
2025-09-02 22:35:22,771 - DEBUG - Response for create_subnet : {'subnet': {'id': '56d6ed7f-d93f-498e-b0cd-854a34975b57', 'name': '', 'tenant_id': '1d4f800a914e43f4872d475822df188b', 'network_id': '0fe36879-67c7-4086-b6e3-d7ecb9409b21', 'ip_version': 4, 'cidr': '30.16.113.0/26', 'allocation_pools': [{'start': '30.16.113.2', 'end': '30.16.113.62'}], 'gateway_ip': '30.16.113.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.16.113.2', 'tags': [], 'project_id': '1d4f800a914e43f4872d475822df188b'}}
2025-09-02 22:35:22,789 - INFO - Created VN ctest-vn1-68227352
2025-09-02 22:35:22,839 - DEBUG - VN ctest-vn1-68227352 UUID is 0fe36879-67c7-4086-b6e3-d7ecb9409b21
2025-09-02 22:35:23,155 - DEBUG - Response for create_port : {'port': {'name': '43c350ad-6a8e-4420-8881-2499a889e5c9', 'id': '43c350ad-6a8e-4420-8881-2499a889e5c9', 'tenant_id': '1d4f800a914e43f4872d475822df188b', 'network_id': '0fe36879-67c7-4086-b6e3-d7ecb9409b21', 'mac_address': '02:43:c3:50:ad:6a', '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': '6.70.87.5', 'subnet_id': 'f1240764-39c1-4b3d-ace4-62d378603065'}], 'security_groups': ['b36344bb-2c95-4972-894d-0ecfb1d6d11d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1d4f800a914e43f4872d475822df188b'}}
2025-09-02 22:35:23,322 - DEBUG - Response for create_port : {'port': {'name': 'b21bb379-33fe-4cd7-b0c5-491617b6d443', 'id': 'b21bb379-33fe-4cd7-b0c5-491617b6d443', 'tenant_id': '1d4f800a914e43f4872d475822df188b', 'network_id': '0fe36879-67c7-4086-b6e3-d7ecb9409b21', 'mac_address': '02:b2:1b:b3:79:33', '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': '30.16.113.5', 'subnet_id': '56d6ed7f-d93f-498e-b0cd-854a34975b57'}], 'security_groups': ['b36344bb-2c95-4972-894d-0ecfb1d6d11d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1d4f800a914e43f4872d475822df188b'}}
2025-09-02 22:35:23,378 - DEBUG - Services list from nova: [, , ]
2025-09-02 22:35:23,694 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4003-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4003-1)
2025-09-02 22:35:24,060 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4003-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4003-1)
2025-09-02 22:35:24,061 - INFO - Waiting for VM ctest-vn1-vm1-32992183 to be up..
2025-09-02 22:35:24,097 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-02 22:35:29,161 - DEBUG - VM is in ACTIVE state now
2025-09-02 22:35:29,162 - INFO - VM name : ctest-vn1-vm1-32992183
2025-09-02 22:35:29,227 - DEBUG - VM ctest-vn1-vm1-32992183 ID is e5c9c924-d051-453c-9e16-66f4b9fae0fa
2025-09-02 22:35:29,247 - DEBUG - VM ctest-vn1-vm1-32992183 launched on Node cn-jenkins-deploy-platform-ansible-os-4003-1
2025-09-02 22:35:29,447 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/e5c9c924-d051-453c-9e16-66f4b9fae0fa
2025-09-02 22:35:29,455 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/43c350ad-6a8e-4420-8881-2499a889e5c9
2025-09-02 22:35:32,696 - 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 1003ms')
2025-09-02 22:35:32,696 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-32992183 failed!
2025-09-02 22:35:32,747 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-88875409:ctest-vn1-68227352 is 6.70.87.1 and allocation pool is NOT set
2025-09-02 22:35:32,747 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-88875409:ctest-vn1-68227352 is 30.16.113.1 and allocation pool is NOT set
2025-09-02 22:35:34,809 - 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.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.771 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 = 0.771/2.273/3.775/1.502 ms')
2025-09-02 22:35:34,809 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-32992183 passed
2025-09-02 22:35:34,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-02 22:35:34,959 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-32992183, IP 6.70.87.5, Port 22
2025-09-02 22:35:35,133 - DEBUG - VM ctest-vn1-vm1-32992183 is ready for SSH connections
2025-09-02 22:35:35,133 - INFO - Waiting for VM ctest-vn1-vm2-48349539 to be up..
2025-09-02 22:35:35,203 - DEBUG - VM is in ACTIVE state now
2025-09-02 22:35:35,204 - INFO - VM name : ctest-vn1-vm2-48349539
2025-09-02 22:35:35,275 - DEBUG - VM ctest-vn1-vm2-48349539 ID is 3445e76a-758f-474e-a82f-58a410929e53
2025-09-02 22:35:35,275 - DEBUG - VM ctest-vn1-vm2-48349539 launched on Node cn-jenkins-deploy-platform-ansible-os-4003-1
2025-09-02 22:35:35,341 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/3445e76a-758f-474e-a82f-58a410929e53
2025-09-02 22:35:35,350 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/b21bb379-33fe-4cd7-b0c5-491617b6d443
2025-09-02 22:35:36,581 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.364 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.364/1.520/2.677/1.156 ms')
2025-09-02 22:35:36,581 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-48349539 passed
2025-09-02 22:35:36,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-02 22:35:36,731 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-48349539, IP 30.16.113.5, Port 22
2025-09-02 22:35:36,887 - DEBUG - VM ctest-vn1-vm2-48349539 is ready for SSH connections
2025-09-02 22:35:36,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-02 22:35:36,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-02 22:35:36,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-02 22:35:36,887 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.70.87.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2025-09-02 22:35:36,887 - DEBUG - ping -s 56 -c 3 -W 1 6.70.87.5
2025-09-02 22:35:39,845 - DEBUG - PING 6.70.87.5 (6.70.87.5): 56 data bytes
64 bytes from 6.70.87.5: seq=0 ttl=63 time=3.362 ms
64 bytes from 6.70.87.5: seq=1 ttl=63 time=0.937 ms
64 bytes from 6.70.87.5: seq=2 ttl=63 time=0.758 ms
--- 6.70.87.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.758/1.685/3.362 ms
2025-09-02 22:35:39,845 - INFO - Ping to IP 6.70.87.5 from VM ctest-vn1-vm2-48349539 passed
2025-09-02 22:35:39,845 - INFO - Detaching port b21bb379-33fe-4cd7-b0c5-491617b6d443 from VM ctest-vn1-vm2-48349539
2025-09-02 22:35:39,890 - INFO - Deleting VM ctest-vn1-vm2-48349539
2025-09-02 22:35:39,952 - INFO - Detaching port 43c350ad-6a8e-4420-8881-2499a889e5c9 from VM ctest-vn1-vm1-32992183
2025-09-02 22:35:39,981 - INFO - Deleting VM ctest-vn1-vm1-32992183
2025-09-02 22:35:40,168 - DEBUG - Response for delete_port : ()
2025-09-02 22:35:40,304 - DEBUG - Response for delete_port : ()
2025-09-02 22:35:40,304 - INFO - Deleting VN ctest-vn1-68227352
2025-09-02 22:35:40,468 - DEBUG - Response for deleting network ()
2025-09-02 22:35:40,728 - DEBUG - No XMPP flaps were noticed during the test
2025-09-02 22:35:40,728 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-09-02 22:35:40,728 - INFO - --------------------------------------------------------------------------------
2025-09-02 22:35:41,395 - INFO - Deleted project: ctest-TestPorts-88875409, ID : 1d4f800a-914e-43f4-872d-475822df188b