2025-08-26 00:06:44,719 - INFO - Domain Default found not creating
2025-08-26 00:06:44,884 - INFO - Project ctest-TestPorts-80848076 not found, creating it
2025-08-26 00:06:45,567 - INFO - Created Project:ctest-TestPorts-80848076, ID : 6f60c6ba-f341-4816-943a-76890931401c
2025-08-26 00:06:47,481 - INFO - ================================================================================
2025-08-26 00:06:47,481 - INFO - STARTING TEST : test_ports_bindings
2025-08-26 00:06:47,481 - 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-08-26 00:06:48,882 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.254': '0', '10.20.0.25': '0'}, '10.0.0.41': {'10.20.0.25': '0', '10.20.0.14': '0'}} with
2025-08-26 00:06:48,882 - INFO - Initial checks done. Running the testcase now
2025-08-26 00:06:48,882 - INFO -
2025-08-26 00:06:49,669 - DEBUG - Response for create_network : {'network': {'id': '7ca41ede-c6bb-42f5-976e-2628aacbfe4a', 'name': 'ctest-vn-39229328', 'tenant_id': '6f60c6baf3414816943a76890931401c', 'project_id': '6f60c6baf3414816943a76890931401c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-80848076', 'ctest-vn-39229328'], 'port_security_enabled': True, 'description': ''}}
2025-08-26 00:06:50,047 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db7a9a42-c7be-4fc9-9324-16fa5e0ab931', 'name': '', 'tenant_id': '6f60c6baf3414816943a76890931401c', 'network_id': '7ca41ede-c6bb-42f5-976e-2628aacbfe4a', 'ip_version': 4, 'cidr': '115.53.106.64/26', 'allocation_pools': [{'start': '115.53.106.66', 'end': '115.53.106.126'}], 'gateway_ip': '115.53.106.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.53.106.66', 'tags': [], 'project_id': '6f60c6baf3414816943a76890931401c'}}
2025-08-26 00:06:50,075 - INFO - Created VN ctest-vn-39229328
2025-08-26 00:06:50,090 - DEBUG - VN ctest-vn-39229328 UUID is 7ca41ede-c6bb-42f5-976e-2628aacbfe4a
2025-08-26 00:06:50,178 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-80848076', 'ctest-vmi-58098615']}
2025-08-26 00:06:50,567 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-58098615', 'id': '7416eee1-f272-4012-8387-c54eb9caecae', 'tenant_id': '6f60c6baf3414816943a76890931401c', 'network_id': '7ca41ede-c6bb-42f5-976e-2628aacbfe4a', 'mac_address': '02:74:16:ee:e1:f2', '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': '115.53.106.67', 'subnet_id': 'db7a9a42-c7be-4fc9-9324-16fa5e0ab931'}], 'security_groups': ['28b82428-efef-4b4b-8625-9217c3510d2c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6f60c6baf3414816943a76890931401c'}}
2025-08-26 00:06:50,567 - DEBUG - Created port 7416eee1-f272-4012-8387-c54eb9caecae
2025-08-26 00:06:50,640 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/7416eee1-f272-4012-8387-c54eb9caecae
2025-08-26 00:06:51,123 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/7416eee1-f272-4012-8387-c54eb9caecae
2025-08-26 00:06:51,183 - INFO - VMI 7416eee1-f272-4012-8387-c54eb9caecae verification in API Server passed
2025-08-26 00:06:51,529 - DEBUG - Response for delete_port : ()
2025-08-26 00:06:51,529 - INFO - Deleted port 7416eee1-f272-4012-8387-c54eb9caecae
2025-08-26 00:06:51,529 - INFO - Deleting VN ctest-vn-39229328
2025-08-26 00:06:51,780 - DEBUG - Response for deleting network ()
2025-08-26 00:06:53,150 - DEBUG - No XMPP flaps were noticed during the test
2025-08-26 00:06:53,150 - INFO - END TEST : test_ports_bindings : PASSED[0:00:06]
2025-08-26 00:06:53,150 - INFO - --------------------------------------------------------------------------------
2025-08-26 00:06:53,158 - INFO - ================================================================================
2025-08-26 00:06:53,158 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-26 00:06:53,158 - 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-08-26 00:06:54,548 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.254': '0', '10.20.0.25': '0'}, '10.0.0.41': {'10.20.0.25': '0', '10.20.0.14': '0'}} with
2025-08-26 00:06:54,549 - INFO - Initial checks done. Running the testcase now
2025-08-26 00:06:54,549 - INFO -
2025-08-26 00:06:54,875 - DEBUG - Response for create_network : {'network': {'id': '228fa7d4-8463-40bb-9009-07d70a628463', 'name': 'ctest-vn1-47058454', 'tenant_id': '6f60c6baf3414816943a76890931401c', 'project_id': '6f60c6baf3414816943a76890931401c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-80848076', 'ctest-vn1-47058454'], 'port_security_enabled': True, 'description': ''}}
2025-08-26 00:06:55,158 - DEBUG - Response for create_subnet : {'subnet': {'id': '69b8ce90-1bbf-48e7-8ee7-c467d91a7f04', 'name': '', 'tenant_id': '6f60c6baf3414816943a76890931401c', 'network_id': '228fa7d4-8463-40bb-9009-07d70a628463', 'ip_version': 4, 'cidr': '216.221.62.0/26', 'allocation_pools': [{'start': '216.221.62.2', 'end': '216.221.62.62'}], 'gateway_ip': '216.221.62.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.221.62.2', 'tags': [], 'project_id': '6f60c6baf3414816943a76890931401c'}}
2025-08-26 00:06:55,407 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b132e92c-782e-4314-8272-30564cfb2e2e', 'name': '', 'tenant_id': '6f60c6baf3414816943a76890931401c', 'network_id': '228fa7d4-8463-40bb-9009-07d70a628463', 'ip_version': 4, 'cidr': '223.168.75.192/26', 'allocation_pools': [{'start': '223.168.75.194', 'end': '223.168.75.254'}], 'gateway_ip': '223.168.75.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.168.75.194', 'tags': [], 'project_id': '6f60c6baf3414816943a76890931401c'}}
2025-08-26 00:06:55,437 - INFO - Created VN ctest-vn1-47058454
2025-08-26 00:06:55,451 - DEBUG - VN ctest-vn1-47058454 UUID is 228fa7d4-8463-40bb-9009-07d70a628463
2025-08-26 00:06:55,882 - DEBUG - Response for create_port : {'port': {'name': '9d879f7a-bdd4-423c-a5b7-087c1d5bb58a', 'id': '9d879f7a-bdd4-423c-a5b7-087c1d5bb58a', 'tenant_id': '6f60c6baf3414816943a76890931401c', 'network_id': '228fa7d4-8463-40bb-9009-07d70a628463', 'mac_address': '02:9d:87:9f:7a:bd', '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': '216.221.62.5', 'subnet_id': '69b8ce90-1bbf-48e7-8ee7-c467d91a7f04'}], 'security_groups': ['28b82428-efef-4b4b-8625-9217c3510d2c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6f60c6baf3414816943a76890931401c'}}
2025-08-26 00:06:56,207 - DEBUG - Response for create_port : {'port': {'name': '739fbda9-2dab-4abd-8b96-97a529a2ad25', 'id': '739fbda9-2dab-4abd-8b96-97a529a2ad25', 'tenant_id': '6f60c6baf3414816943a76890931401c', 'network_id': '228fa7d4-8463-40bb-9009-07d70a628463', 'mac_address': '02:73:9f:bd:a9:2d', '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': '223.168.75.197', 'subnet_id': 'b132e92c-782e-4314-8272-30564cfb2e2e'}], 'security_groups': ['28b82428-efef-4b4b-8625-9217c3510d2c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6f60c6baf3414816943a76890931401c'}}
2025-08-26 00:06:56,275 - DEBUG - Services list from nova: [, , , ]
2025-08-26 00:06:56,875 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3931-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3931-1)
2025-08-26 00:06:57,562 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3931-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3931-2)
2025-08-26 00:06:57,562 - INFO - Waiting for VM ctest-vn1-vm1-70127699 to be up..
2025-08-26 00:06:57,616 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-26 00:07:02,741 - DEBUG - VM is in ACTIVE state now
2025-08-26 00:07:02,741 - INFO - VM name : ctest-vn1-vm1-70127699
2025-08-26 00:07:02,880 - DEBUG - VM ctest-vn1-vm1-70127699 ID is 11b47c5a-c68b-41c5-94a5-1bf65de97676
2025-08-26 00:07:02,918 - DEBUG - VM ctest-vn1-vm1-70127699 launched on Node an-jenkins-deploy-platform-ansible-os-3931-1
2025-08-26 00:07:03,049 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/11b47c5a-c68b-41c5-94a5-1bf65de97676
2025-08-26 00:07:03,375 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/11b47c5a-c68b-41c5-94a5-1bf65de97676
2025-08-26 00:07:03,408 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9d879f7a-bdd4-423c-a5b7-087c1d5bb58a
2025-08-26 00:07:06,589 - 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 1011ms')
2025-08-26 00:07:06,590 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70127699 failed!
2025-08-26 00:07:06,605 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-80848076:ctest-vn1-47058454 is 216.221.62.1 and allocation pool is NOT set
2025-08-26 00:07:06,605 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-80848076:ctest-vn1-47058454 is 223.168.75.193 and allocation pool is NOT set
2025-08-26 00:07:08,671 - 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.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.399 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 = 0.399/2.312/4.226/1.913 ms')
2025-08-26 00:07:08,671 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70127699 passed
2025-08-26 00:07:08,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 00:07:08,742 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-70127699, IP 216.221.62.5, Port 22
2025-08-26 00:07:08,914 - DEBUG - VM ctest-vn1-vm1-70127699 is ready for SSH connections
2025-08-26 00:07:08,915 - INFO - Waiting for VM ctest-vn1-vm2-20558738 to be up..
2025-08-26 00:07:09,026 - DEBUG - VM is in ACTIVE state now
2025-08-26 00:07:09,026 - INFO - VM name : ctest-vn1-vm2-20558738
2025-08-26 00:07:09,131 - DEBUG - VM ctest-vn1-vm2-20558738 ID is 2060de97-b338-469c-b8d2-0a4abff42ae3
2025-08-26 00:07:09,131 - DEBUG - VM ctest-vn1-vm2-20558738 launched on Node an-jenkins-deploy-platform-ansible-os-3931-2
2025-08-26 00:07:09,215 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2060de97-b338-469c-b8d2-0a4abff42ae3
2025-08-26 00:07:09,227 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/739fbda9-2dab-4abd-8b96-97a529a2ad25
2025-08-26 00:07:10,451 - 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.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=8.52 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.205/6.862/8.519/1.657 ms')
2025-08-26 00:07:10,451 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-20558738 passed
2025-08-26 00:07:10,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 00:07:10,533 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-20558738, IP 223.168.75.197, Port 22
2025-08-26 00:07:10,601 - 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-08-26 00:07:10,702 - DEBUG - VM ctest-vn1-vm2-20558738 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-26 00:07:15,703 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 00:07:15,703 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-20558738, IP 223.168.75.197, Port 22
2025-08-26 00:07:15,921 - DEBUG - VM ctest-vn1-vm2-20558738 is ready for SSH connections
2025-08-26 00:07:15,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 00:07:15,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 00:07:15,924 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 00:07:15,925 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.221.62.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-08-26 00:07:15,925 - DEBUG - ping -s 56 -c 3 -W 1 216.221.62.5
2025-08-26 00:07:19,251 - DEBUG - PING 216.221.62.5 (216.221.62.5): 56 data bytes
64 bytes from 216.221.62.5: seq=0 ttl=63 time=6.355 ms
64 bytes from 216.221.62.5: seq=1 ttl=63 time=2.103 ms
64 bytes from 216.221.62.5: seq=2 ttl=63 time=2.991 ms
--- 216.221.62.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 2.103/3.816/6.355 ms
2025-08-26 00:07:19,251 - INFO - Ping to IP 216.221.62.5 from VM ctest-vn1-vm2-20558738 passed
2025-08-26 00:07:19,252 - INFO - Detaching port 739fbda9-2dab-4abd-8b96-97a529a2ad25 from VM ctest-vn1-vm2-20558738
2025-08-26 00:07:19,334 - INFO - Deleting VM ctest-vn1-vm2-20558738
2025-08-26 00:07:19,427 - INFO - Detaching port 9d879f7a-bdd4-423c-a5b7-087c1d5bb58a from VM ctest-vn1-vm1-70127699
2025-08-26 00:07:19,457 - INFO - Deleting VM ctest-vn1-vm1-70127699
2025-08-26 00:07:19,915 - DEBUG - Response for delete_port : ()
2025-08-26 00:07:20,218 - DEBUG - Response for delete_port : ()
2025-08-26 00:07:20,218 - INFO - Deleting VN ctest-vn1-47058454
2025-08-26 00:07:20,559 - DEBUG - Response for deleting network ()
2025-08-26 00:07:22,020 - DEBUG - No XMPP flaps were noticed during the test
2025-08-26 00:07:22,020 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:29]
2025-08-26 00:07:22,021 - INFO - --------------------------------------------------------------------------------
2025-08-26 00:07:23,339 - INFO - Deleted project: ctest-TestPorts-80848076, ID : 6f60c6ba-f341-4816-943a-76890931401c