2025-10-29 11:43:34,994 - INFO - Domain Default found not creating
2025-10-29 11:43:35,170 - INFO - Project ctest-TestPorts-38025376 not found, creating it
2025-10-29 11:43:35,713 - INFO - Created Project:ctest-TestPorts-38025376, ID : 9988b949-0dbd-498b-a9a3-2082cdfb8a32
2025-10-29 11:43:37,939 - INFO - ================================================================================
2025-10-29 11:43:37,939 - INFO - STARTING TEST : test_ports_bindings
2025-10-29 11:43:37,939 - 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-29 11:43:39,273 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0', '10.20.0.254': '0'}, '10.0.0.50': {'10.20.0.254': '0', '10.20.0.14': '0'}} with
2025-10-29 11:43:39,274 - INFO - Initial checks done. Running the testcase now
2025-10-29 11:43:39,274 - INFO -
2025-10-29 11:43:40,322 - DEBUG - Response for create_network : {'network': {'id': '97e83b27-0a7f-450a-b7b8-9122e2fdcc6c', 'name': 'ctest-vn-05258375', 'tenant_id': '9988b9490dbd498ba9a32082cdfb8a32', 'project_id': '9988b9490dbd498ba9a32082cdfb8a32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38025376', 'ctest-vn-05258375'], 'port_security_enabled': True, 'description': ''}}
2025-10-29 11:43:40,670 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c51f2fc2-a8f7-46bd-8387-a64fdc80b4e0', 'name': '', 'tenant_id': '9988b9490dbd498ba9a32082cdfb8a32', 'network_id': '97e83b27-0a7f-450a-b7b8-9122e2fdcc6c', 'ip_version': 4, 'cidr': '102.48.132.0/26', 'allocation_pools': [{'start': '102.48.132.2', 'end': '102.48.132.62'}], 'gateway_ip': '102.48.132.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.48.132.2', 'tags': [], 'project_id': '9988b9490dbd498ba9a32082cdfb8a32'}}
2025-10-29 11:43:40,701 - INFO - Created VN ctest-vn-05258375
2025-10-29 11:43:40,714 - DEBUG - VN ctest-vn-05258375 UUID is 97e83b27-0a7f-450a-b7b8-9122e2fdcc6c
2025-10-29 11:43:40,814 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-38025376', 'ctest-vmi-82334199']}
2025-10-29 11:43:41,158 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-82334199', 'id': 'd7bab506-e674-4a18-bf9f-6e4ad519afe8', 'tenant_id': '9988b9490dbd498ba9a32082cdfb8a32', 'network_id': '97e83b27-0a7f-450a-b7b8-9122e2fdcc6c', 'mac_address': '02:d7:ba:b5:06:e6', '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': '102.48.132.3', 'subnet_id': 'c51f2fc2-a8f7-46bd-8387-a64fdc80b4e0'}], 'security_groups': ['aece5af9-6af1-47ed-98b0-64f37450e949'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9988b9490dbd498ba9a32082cdfb8a32'}}
2025-10-29 11:43:41,158 - DEBUG - Created port d7bab506-e674-4a18-bf9f-6e4ad519afe8
2025-10-29 11:43:41,280 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d7bab506-e674-4a18-bf9f-6e4ad519afe8
2025-10-29 11:43:41,600 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d7bab506-e674-4a18-bf9f-6e4ad519afe8
2025-10-29 11:43:41,645 - INFO - VMI d7bab506-e674-4a18-bf9f-6e4ad519afe8 verification in API Server passed
2025-10-29 11:43:41,828 - DEBUG - Response for delete_port : ()
2025-10-29 11:43:41,828 - INFO - Deleted port d7bab506-e674-4a18-bf9f-6e4ad519afe8
2025-10-29 11:43:41,829 - INFO - Deleting VN ctest-vn-05258375
2025-10-29 11:43:42,012 - DEBUG - Response for deleting network ()
2025-10-29 11:43:43,303 - DEBUG - No XMPP flaps were noticed during the test
2025-10-29 11:43:43,304 - INFO - END TEST : test_ports_bindings : PASSED[0:00:06]
2025-10-29 11:43:43,304 - INFO - --------------------------------------------------------------------------------
2025-10-29 11:43:43,307 - INFO - ================================================================================
2025-10-29 11:43:43,307 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-29 11:43:43,307 - 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-29 11:43:44,613 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0', '10.20.0.254': '0'}, '10.0.0.50': {'10.20.0.254': '0', '10.20.0.14': '0'}} with
2025-10-29 11:43:44,613 - INFO - Initial checks done. Running the testcase now
2025-10-29 11:43:44,613 - INFO -
2025-10-29 11:43:44,879 - DEBUG - Response for create_network : {'network': {'id': 'ca5aef64-0b16-4a8b-b41e-5361d7b49b21', 'name': 'ctest-vn1-71141464', 'tenant_id': '9988b9490dbd498ba9a32082cdfb8a32', 'project_id': '9988b9490dbd498ba9a32082cdfb8a32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38025376', 'ctest-vn1-71141464'], 'port_security_enabled': True, 'description': ''}}
2025-10-29 11:43:45,143 - DEBUG - Response for create_subnet : {'subnet': {'id': '01fdb6e6-6807-4ac5-a450-6443a94253f9', 'name': '', 'tenant_id': '9988b9490dbd498ba9a32082cdfb8a32', 'network_id': 'ca5aef64-0b16-4a8b-b41e-5361d7b49b21', 'ip_version': 4, 'cidr': '121.239.4.64/26', 'allocation_pools': [{'start': '121.239.4.66', 'end': '121.239.4.126'}], 'gateway_ip': '121.239.4.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.239.4.66', 'tags': [], 'project_id': '9988b9490dbd498ba9a32082cdfb8a32'}}
2025-10-29 11:43:45,409 - DEBUG - Response for create_subnet : {'subnet': {'id': '23958fa4-0190-42c8-b84e-95e071262e13', 'name': '', 'tenant_id': '9988b9490dbd498ba9a32082cdfb8a32', 'network_id': 'ca5aef64-0b16-4a8b-b41e-5361d7b49b21', 'ip_version': 4, 'cidr': '123.60.2.128/26', 'allocation_pools': [{'start': '123.60.2.130', 'end': '123.60.2.190'}], 'gateway_ip': '123.60.2.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.60.2.130', 'tags': [], 'project_id': '9988b9490dbd498ba9a32082cdfb8a32'}}
2025-10-29 11:43:45,454 - INFO - Created VN ctest-vn1-71141464
2025-10-29 11:43:45,470 - DEBUG - VN ctest-vn1-71141464 UUID is ca5aef64-0b16-4a8b-b41e-5361d7b49b21
2025-10-29 11:43:45,923 - DEBUG - Response for create_port : {'port': {'name': 'd70b06d9-564a-4321-95dc-c43ae60fbe77', 'id': 'd70b06d9-564a-4321-95dc-c43ae60fbe77', 'tenant_id': '9988b9490dbd498ba9a32082cdfb8a32', 'network_id': 'ca5aef64-0b16-4a8b-b41e-5361d7b49b21', 'mac_address': '02:d7:0b:06:d9:56', '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': '121.239.4.69', 'subnet_id': '01fdb6e6-6807-4ac5-a450-6443a94253f9'}], 'security_groups': ['aece5af9-6af1-47ed-98b0-64f37450e949'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9988b9490dbd498ba9a32082cdfb8a32'}}
2025-10-29 11:43:46,185 - DEBUG - Response for create_port : {'port': {'name': '4685af04-777a-484f-928a-3c8d3fe8772a', 'id': '4685af04-777a-484f-928a-3c8d3fe8772a', 'tenant_id': '9988b9490dbd498ba9a32082cdfb8a32', 'network_id': 'ca5aef64-0b16-4a8b-b41e-5361d7b49b21', 'mac_address': '02:46:85:af:04:77', '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.60.2.133', 'subnet_id': '23958fa4-0190-42c8-b84e-95e071262e13'}], 'security_groups': ['aece5af9-6af1-47ed-98b0-64f37450e949'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9988b9490dbd498ba9a32082cdfb8a32'}}
2025-10-29 11:43:46,255 - DEBUG - Services list from nova: [, , , ]
2025-10-29 11:43:46,784 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4521-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4521-2)
2025-10-29 11:43:47,294 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4521-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4521-1)
2025-10-29 11:43:47,294 - INFO - Waiting for VM ctest-vn1-vm1-10413265 to be up..
2025-10-29 11:43:47,354 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-29 11:43:52,449 - DEBUG - VM is in ACTIVE state now
2025-10-29 11:43:52,449 - INFO - VM name : ctest-vn1-vm1-10413265
2025-10-29 11:43:52,554 - DEBUG - VM ctest-vn1-vm1-10413265 ID is eb9897f7-e0cf-48f7-9bc8-fd3bc3e61d66
2025-10-29 11:43:52,586 - DEBUG - VM ctest-vn1-vm1-10413265 launched on Node an-jenkins-deploy-platform-ansible-os-4521-2
2025-10-29 11:43:52,685 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/eb9897f7-e0cf-48f7-9bc8-fd3bc3e61d66
2025-10-29 11:43:52,999 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/eb9897f7-e0cf-48f7-9bc8-fd3bc3e61d66
2025-10-29 11:43:53,042 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/d70b06d9-564a-4321-95dc-c43ae60fbe77
2025-10-29 11:43:56,242 - 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 1031ms')
2025-10-29 11:43:56,242 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10413265 failed!
2025-10-29 11:43:56,259 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38025376:ctest-vn1-71141464 is 121.239.4.65 and allocation pool is NOT set
2025-10-29 11:43:56,259 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38025376:ctest-vn1-71141464 is 123.60.2.129 and allocation pool is NOT set
2025-10-29 11:43:58,317 - 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=4.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.699 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.699/2.791/4.884/2.092 ms')
2025-10-29 11:43:58,317 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10413265 passed
2025-10-29 11:43:58,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 11:43:58,397 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-10413265, IP 121.239.4.69, Port 22
2025-10-29 11:43:58,574 - DEBUG - VM ctest-vn1-vm1-10413265 is ready for SSH connections
2025-10-29 11:43:58,574 - INFO - Waiting for VM ctest-vn1-vm2-86133793 to be up..
2025-10-29 11:43:58,672 - DEBUG - VM is in ACTIVE state now
2025-10-29 11:43:58,672 - INFO - VM name : ctest-vn1-vm2-86133793
2025-10-29 11:43:58,758 - DEBUG - VM ctest-vn1-vm2-86133793 ID is 61dbe3a5-b456-4997-93df-d8d7d31757d2
2025-10-29 11:43:58,758 - DEBUG - VM ctest-vn1-vm2-86133793 launched on Node an-jenkins-deploy-platform-ansible-os-4521-1
2025-10-29 11:43:58,839 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/61dbe3a5-b456-4997-93df-d8d7d31757d2
2025-10-29 11:43:58,851 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/4685af04-777a-484f-928a-3c8d3fe8772a
2025-10-29 11:44:00,013 - 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.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.77 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 = 2.773/4.015/5.258/1.242 ms')
2025-10-29 11:44:00,014 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-86133793 passed
2025-10-29 11:44:00,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 11:44:00,090 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-86133793, IP 123.60.2.133, Port 22
2025-10-29 11:44:00,157 - 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-29 11:44:00,244 - DEBUG - VM ctest-vn1-vm2-86133793 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 11:44:05,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 11:44:05,245 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-86133793, IP 123.60.2.133, Port 22
2025-10-29 11:44:05,406 - DEBUG - VM ctest-vn1-vm2-86133793 is ready for SSH connections
2025-10-29 11:44:05,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 11:44:05,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 11:44:05,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 11:44:05,406 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.239.4.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-10-29 11:44:05,407 - DEBUG - ping -s 56 -c 3 -W 1 121.239.4.69
2025-10-29 11:44:08,390 - DEBUG - PING 121.239.4.69 (121.239.4.69): 56 data bytes
64 bytes from 121.239.4.69: seq=0 ttl=63 time=5.176 ms
64 bytes from 121.239.4.69: seq=1 ttl=63 time=1.238 ms
64 bytes from 121.239.4.69: seq=2 ttl=63 time=1.493 ms
--- 121.239.4.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.238/2.635/5.176 ms
2025-10-29 11:44:08,390 - INFO - Ping to IP 121.239.4.69 from VM ctest-vn1-vm2-86133793 passed
2025-10-29 11:44:08,390 - INFO - Detaching port 4685af04-777a-484f-928a-3c8d3fe8772a from VM ctest-vn1-vm2-86133793
2025-10-29 11:44:08,457 - INFO - Deleting VM ctest-vn1-vm2-86133793
2025-10-29 11:44:08,532 - INFO - Detaching port d70b06d9-564a-4321-95dc-c43ae60fbe77 from VM ctest-vn1-vm1-10413265
2025-10-29 11:44:08,561 - INFO - Deleting VM ctest-vn1-vm1-10413265
2025-10-29 11:44:08,934 - DEBUG - Response for delete_port : ()
2025-10-29 11:44:09,213 - DEBUG - Response for delete_port : ()
2025-10-29 11:44:09,213 - INFO - Deleting VN ctest-vn1-71141464
2025-10-29 11:44:09,441 - DEBUG - Response for deleting network ()
2025-10-29 11:44:10,762 - DEBUG - No XMPP flaps were noticed during the test
2025-10-29 11:44:10,762 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2025-10-29 11:44:10,763 - INFO - --------------------------------------------------------------------------------
2025-10-29 11:44:11,568 - INFO - Deleted project: ctest-TestPorts-38025376, ID : 9988b949-0dbd-498b-a9a3-2082cdfb8a32