2025-12-04 02:34:08,881 - INFO - Domain Default found not creating
2025-12-04 02:34:09,097 - INFO - Project ctest-TestPorts-83318177 not found, creating it
2025-12-04 02:34:09,681 - INFO - Created Project:ctest-TestPorts-83318177, ID : 113fe34b-f94f-450d-a07e-3f39d0dc1495
2025-12-04 02:34:11,515 - INFO - ================================================================================
2025-12-04 02:34:11,515 - INFO - STARTING TEST : test_ports_bindings
2025-12-04 02:34:11,516 - 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-04 02:34:12,803 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.209': '0', '10.20.0.254': '0'}, '10.0.0.130': {'10.20.0.192': '0', '10.20.0.209': '0'}} with
2025-12-04 02:34:12,803 - INFO - Initial checks done. Running the testcase now
2025-12-04 02:34:12,803 - INFO -
2025-12-04 02:34:13,566 - DEBUG - Response for create_network : {'network': {'id': 'ee3f0b46-a5bc-483b-810d-858b204d0b8f', 'name': 'ctest-vn-57050363', 'tenant_id': '113fe34bf94f450da07e3f39d0dc1495', 'project_id': '113fe34bf94f450da07e3f39d0dc1495', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-83318177', 'ctest-vn-57050363'], 'port_security_enabled': True, 'description': ''}}
2025-12-04 02:34:13,885 - DEBUG - Response for create_subnet : {'subnet': {'id': 'badf9cd5-3595-4771-a17d-486cd989115a', 'name': '', 'tenant_id': '113fe34bf94f450da07e3f39d0dc1495', 'network_id': 'ee3f0b46-a5bc-483b-810d-858b204d0b8f', 'ip_version': 4, 'cidr': '220.117.178.192/26', 'allocation_pools': [{'start': '220.117.178.194', 'end': '220.117.178.254'}], 'gateway_ip': '220.117.178.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.117.178.194', 'tags': [], 'project_id': '113fe34bf94f450da07e3f39d0dc1495'}}
2025-12-04 02:34:13,911 - INFO - Created VN ctest-vn-57050363
2025-12-04 02:34:13,923 - DEBUG - VN ctest-vn-57050363 UUID is ee3f0b46-a5bc-483b-810d-858b204d0b8f
2025-12-04 02:34:14,009 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-83318177', 'ctest-vmi-48621326']}
2025-12-04 02:34:14,335 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-48621326', 'id': '1f740d74-2a2b-42ff-a08e-c11b368b71e8', 'tenant_id': '113fe34bf94f450da07e3f39d0dc1495', 'network_id': 'ee3f0b46-a5bc-483b-810d-858b204d0b8f', 'mac_address': '02:1f:74:0d:74:2a', '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': '220.117.178.195', 'subnet_id': 'badf9cd5-3595-4771-a17d-486cd989115a'}], 'security_groups': ['27774d72-d789-4526-871d-26dcbf7823a5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '113fe34bf94f450da07e3f39d0dc1495'}}
2025-12-04 02:34:14,335 - DEBUG - Created port 1f740d74-2a2b-42ff-a08e-c11b368b71e8
2025-12-04 02:34:14,416 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/1f740d74-2a2b-42ff-a08e-c11b368b71e8
2025-12-04 02:34:14,720 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/1f740d74-2a2b-42ff-a08e-c11b368b71e8
2025-12-04 02:34:14,763 - INFO - VMI 1f740d74-2a2b-42ff-a08e-c11b368b71e8 verification in API Server passed
2025-12-04 02:34:14,912 - DEBUG - Response for delete_port : ()
2025-12-04 02:34:14,912 - INFO - Deleted port 1f740d74-2a2b-42ff-a08e-c11b368b71e8
2025-12-04 02:34:14,912 - INFO - Deleting VN ctest-vn-57050363
2025-12-04 02:34:15,092 - DEBUG - Response for deleting network ()
2025-12-04 02:34:16,366 - DEBUG - No XMPP flaps were noticed during the test
2025-12-04 02:34:16,366 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2025-12-04 02:34:16,366 - INFO - --------------------------------------------------------------------------------
2025-12-04 02:34:16,370 - INFO - ================================================================================
2025-12-04 02:34:16,371 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-04 02:34:16,371 - 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-04 02:34:17,681 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.209': '0', '10.20.0.254': '0'}, '10.0.0.130': {'10.20.0.192': '0', '10.20.0.209': '0'}} with
2025-12-04 02:34:17,681 - INFO - Initial checks done. Running the testcase now
2025-12-04 02:34:17,681 - INFO -
2025-12-04 02:34:17,972 - DEBUG - Response for create_network : {'network': {'id': '3cdf9c37-6478-4837-baf9-b8a291392483', 'name': 'ctest-vn1-00990599', 'tenant_id': '113fe34bf94f450da07e3f39d0dc1495', 'project_id': '113fe34bf94f450da07e3f39d0dc1495', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-83318177', 'ctest-vn1-00990599'], 'port_security_enabled': True, 'description': ''}}
2025-12-04 02:34:18,194 - DEBUG - Response for create_subnet : {'subnet': {'id': '922afb82-0159-498c-afe2-f23a88fbb816', 'name': '', 'tenant_id': '113fe34bf94f450da07e3f39d0dc1495', 'network_id': '3cdf9c37-6478-4837-baf9-b8a291392483', 'ip_version': 4, 'cidr': '166.180.235.128/26', 'allocation_pools': [{'start': '166.180.235.130', 'end': '166.180.235.190'}], 'gateway_ip': '166.180.235.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.180.235.130', 'tags': [], 'project_id': '113fe34bf94f450da07e3f39d0dc1495'}}
2025-12-04 02:34:18,431 - DEBUG - Response for create_subnet : {'subnet': {'id': '354aab75-f8f4-4346-bc1e-ef9b02d1ff92', 'name': '', 'tenant_id': '113fe34bf94f450da07e3f39d0dc1495', 'network_id': '3cdf9c37-6478-4837-baf9-b8a291392483', 'ip_version': 4, 'cidr': '74.212.42.192/26', 'allocation_pools': [{'start': '74.212.42.194', 'end': '74.212.42.254'}], 'gateway_ip': '74.212.42.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.212.42.194', 'tags': [], 'project_id': '113fe34bf94f450da07e3f39d0dc1495'}}
2025-12-04 02:34:18,461 - INFO - Created VN ctest-vn1-00990599
2025-12-04 02:34:18,476 - DEBUG - VN ctest-vn1-00990599 UUID is 3cdf9c37-6478-4837-baf9-b8a291392483
2025-12-04 02:34:18,845 - DEBUG - Response for create_port : {'port': {'name': 'cd90e7f5-e073-4aaa-9ff1-7a70c35edd54', 'id': 'cd90e7f5-e073-4aaa-9ff1-7a70c35edd54', 'tenant_id': '113fe34bf94f450da07e3f39d0dc1495', 'network_id': '3cdf9c37-6478-4837-baf9-b8a291392483', 'mac_address': '02:cd:90:e7:f5:e0', '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': '166.180.235.133', 'subnet_id': '922afb82-0159-498c-afe2-f23a88fbb816'}], 'security_groups': ['27774d72-d789-4526-871d-26dcbf7823a5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '113fe34bf94f450da07e3f39d0dc1495'}}
2025-12-04 02:34:19,138 - DEBUG - Response for create_port : {'port': {'name': '8ab0a274-d4ac-4ca9-bc5f-9c8169846486', 'id': '8ab0a274-d4ac-4ca9-bc5f-9c8169846486', 'tenant_id': '113fe34bf94f450da07e3f39d0dc1495', 'network_id': '3cdf9c37-6478-4837-baf9-b8a291392483', 'mac_address': '02:8a:b0:a2:74:d4', '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': '74.212.42.197', 'subnet_id': '354aab75-f8f4-4346-bc1e-ef9b02d1ff92'}], 'security_groups': ['27774d72-d789-4526-871d-26dcbf7823a5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '113fe34bf94f450da07e3f39d0dc1495'}}
2025-12-04 02:34:19,202 - DEBUG - Services list from nova: [, , , ]
2025-12-04 02:34:19,732 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4840-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4840-1)
2025-12-04 02:34:20,306 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4840-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4840-2)
2025-12-04 02:34:20,307 - INFO - Waiting for VM ctest-vn1-vm1-09390294 to be up..
2025-12-04 02:34:20,362 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-04 02:34:25,451 - DEBUG - VM is in ACTIVE state now
2025-12-04 02:34:25,451 - INFO - VM name : ctest-vn1-vm1-09390294
2025-12-04 02:34:25,536 - DEBUG - VM ctest-vn1-vm1-09390294 ID is f6818379-1d27-4b9d-b9b1-b66f78c93b52
2025-12-04 02:34:25,560 - DEBUG - VM ctest-vn1-vm1-09390294 launched on Node an-jenkins-deploy-platform-ansible-os-4840-1
2025-12-04 02:34:25,651 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/f6818379-1d27-4b9d-b9b1-b66f78c93b52
2025-12-04 02:34:25,954 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/f6818379-1d27-4b9d-b9b1-b66f78c93b52
2025-12-04 02:34:25,993 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/cd90e7f5-e073-4aaa-9ff1-7a70c35edd54
2025-12-04 02:34:29,186 - 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 1038ms')
2025-12-04 02:34:29,186 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09390294 failed!
2025-12-04 02:34:29,201 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-83318177:ctest-vn1-00990599 is 166.180.235.129 and allocation pool is NOT set
2025-12-04 02:34:29,201 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-83318177:ctest-vn1-00990599 is 74.212.42.193 and allocation pool is NOT set
2025-12-04 02:34:33,284 - 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.08 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 8.075/8.075/8.075/0.000 ms')
2025-12-04 02:34:33,284 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09390294 passed
2025-12-04 02:34:33,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 02:34:33,415 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-09390294, IP 166.180.235.133, Port 22
2025-12-04 02:34:33,571 - DEBUG - VM ctest-vn1-vm1-09390294 is ready for SSH connections
2025-12-04 02:34:33,571 - INFO - Waiting for VM ctest-vn1-vm2-91638454 to be up..
2025-12-04 02:34:33,726 - DEBUG - VM is in ACTIVE state now
2025-12-04 02:34:33,726 - INFO - VM name : ctest-vn1-vm2-91638454
2025-12-04 02:34:33,957 - DEBUG - VM ctest-vn1-vm2-91638454 ID is fdec9732-3213-4534-9b35-f81d8f60130e
2025-12-04 02:34:33,957 - DEBUG - VM ctest-vn1-vm2-91638454 launched on Node an-jenkins-deploy-platform-ansible-os-4840-2
2025-12-04 02:34:34,122 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/fdec9732-3213-4534-9b35-f81d8f60130e
2025-12-04 02:34:34,134 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/8ab0a274-d4ac-4ca9-bc5f-9c8169846486
2025-12-04 02:34:35,341 - 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.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=7.82 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 = 5.554/6.687/7.820/1.133 ms')
2025-12-04 02:34:35,341 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-91638454 passed
2025-12-04 02:34:35,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 02:34:35,410 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-91638454, IP 74.212.42.197, Port 22
2025-12-04 02:34:35,479 - 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-12-04 02:34:35,568 - DEBUG - VM ctest-vn1-vm2-91638454 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-04 02:34:40,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 02:34:40,569 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-91638454, IP 74.212.42.197, Port 22
2025-12-04 02:34:40,746 - DEBUG - VM ctest-vn1-vm2-91638454 is ready for SSH connections
2025-12-04 02:34:40,746 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 02:34:40,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 02:34:40,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 02:34:40,747 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.180.235.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-12-04 02:34:40,747 - DEBUG - ping -s 56 -c 3 -W 1 166.180.235.133
2025-12-04 02:34:43,772 - DEBUG - PING 166.180.235.133 (166.180.235.133): 56 data bytes
64 bytes from 166.180.235.133: seq=0 ttl=63 time=6.136 ms
64 bytes from 166.180.235.133: seq=1 ttl=63 time=1.523 ms
64 bytes from 166.180.235.133: seq=2 ttl=63 time=1.556 ms
--- 166.180.235.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.523/3.071/6.136 ms
2025-12-04 02:34:43,772 - INFO - Ping to IP 166.180.235.133 from VM ctest-vn1-vm2-91638454 passed
2025-12-04 02:34:43,772 - INFO - Detaching port 8ab0a274-d4ac-4ca9-bc5f-9c8169846486 from VM ctest-vn1-vm2-91638454
2025-12-04 02:34:43,824 - INFO - Deleting VM ctest-vn1-vm2-91638454
2025-12-04 02:34:43,905 - INFO - Detaching port cd90e7f5-e073-4aaa-9ff1-7a70c35edd54 from VM ctest-vn1-vm1-09390294
2025-12-04 02:34:43,938 - INFO - Deleting VM ctest-vn1-vm1-09390294
2025-12-04 02:34:44,293 - DEBUG - Response for delete_port : ()
2025-12-04 02:34:44,566 - DEBUG - Response for delete_port : ()
2025-12-04 02:34:44,567 - INFO - Deleting VN ctest-vn1-00990599
2025-12-04 02:34:44,794 - DEBUG - Response for deleting network ()
2025-12-04 02:34:46,089 - DEBUG - No XMPP flaps were noticed during the test
2025-12-04 02:34:46,089 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:30]
2025-12-04 02:34:46,089 - INFO - --------------------------------------------------------------------------------
2025-12-04 02:34:46,902 - INFO - Deleted project: ctest-TestPorts-83318177, ID : 113fe34b-f94f-450d-a07e-3f39d0dc1495