2025-07-31 12:49:31,653 - INFO - Domain Default found not creating
2025-07-31 12:49:31,813 - INFO - Project ctest-TestPorts-69416829 not found, creating it
2025-07-31 12:49:32,292 - INFO - Created Project:ctest-TestPorts-69416829, ID : 62156470-7f34-4eca-aea6-49a58947230a
2025-07-31 12:49:33,746 - INFO - ================================================================================
2025-07-31 12:49:33,747 - INFO - STARTING TEST : test_ports_bindings
2025-07-31 12:49:33,747 - 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-07-31 12:49:34,007 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-07-31 12:49:34,007 - INFO - Initial checks done. Running the testcase now
2025-07-31 12:49:34,007 - INFO -
2025-07-31 12:49:34,604 - DEBUG - Response for create_network : {'network': {'id': '243bbd60-cd5c-4709-af02-58f5e1803798', 'name': 'ctest-vn-96188024', 'tenant_id': '621564707f344ecaaea649a58947230a', 'project_id': '621564707f344ecaaea649a58947230a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-69416829', 'ctest-vn-96188024'], 'port_security_enabled': True, 'description': ''}}
2025-07-31 12:49:34,797 - DEBUG - Response for create_subnet : {'subnet': {'id': '297e3762-c008-4d7d-953b-9cde31bc3d2a', 'name': '', 'tenant_id': '621564707f344ecaaea649a58947230a', 'network_id': '243bbd60-cd5c-4709-af02-58f5e1803798', 'ip_version': 4, 'cidr': '215.12.205.192/26', 'allocation_pools': [{'start': '215.12.205.194', 'end': '215.12.205.254'}], 'gateway_ip': '215.12.205.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.12.205.194', 'tags': [], 'project_id': '621564707f344ecaaea649a58947230a'}}
2025-07-31 12:49:34,814 - INFO - Created VN ctest-vn-96188024
2025-07-31 12:49:34,866 - DEBUG - VN ctest-vn-96188024 UUID is 243bbd60-cd5c-4709-af02-58f5e1803798
2025-07-31 12:49:34,980 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-69416829', 'ctest-vmi-26988746']}
2025-07-31 12:49:35,233 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-26988746', 'id': '08c19716-0bb4-4ba7-9676-9641294fbecb', 'tenant_id': '621564707f344ecaaea649a58947230a', 'network_id': '243bbd60-cd5c-4709-af02-58f5e1803798', 'mac_address': '02:08:c1:97:16:0b', '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': '215.12.205.195', 'subnet_id': '297e3762-c008-4d7d-953b-9cde31bc3d2a'}], 'security_groups': ['85a86b90-4759-448a-be0b-d423bda18bc6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '621564707f344ecaaea649a58947230a'}}
2025-07-31 12:49:35,233 - DEBUG - Created port 08c19716-0bb4-4ba7-9676-9641294fbecb
2025-07-31 12:49:35,342 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/08c19716-0bb4-4ba7-9676-9641294fbecb
2025-07-31 12:49:35,638 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/08c19716-0bb4-4ba7-9676-9641294fbecb
2025-07-31 12:49:35,674 - INFO - VMI 08c19716-0bb4-4ba7-9676-9641294fbecb verification in API Server passed
2025-07-31 12:49:35,784 - DEBUG - Response for delete_port : ()
2025-07-31 12:49:35,784 - INFO - Deleted port 08c19716-0bb4-4ba7-9676-9641294fbecb
2025-07-31 12:49:35,784 - INFO - Deleting VN ctest-vn-96188024
2025-07-31 12:49:35,907 - DEBUG - Response for deleting network ()
2025-07-31 12:49:36,176 - DEBUG - No XMPP flaps were noticed during the test
2025-07-31 12:49:36,176 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-07-31 12:49:36,177 - INFO - --------------------------------------------------------------------------------
2025-07-31 12:49:36,184 - INFO - ================================================================================
2025-07-31 12:49:36,184 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-07-31 12:49:36,184 - 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-07-31 12:49:36,457 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-07-31 12:49:36,457 - INFO - Initial checks done. Running the testcase now
2025-07-31 12:49:36,457 - INFO -
2025-07-31 12:49:36,669 - DEBUG - Response for create_network : {'network': {'id': 'c15df156-2272-4323-b412-b91a754ff305', 'name': 'ctest-vn1-94807174', 'tenant_id': '621564707f344ecaaea649a58947230a', 'project_id': '621564707f344ecaaea649a58947230a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-69416829', 'ctest-vn1-94807174'], 'port_security_enabled': True, 'description': ''}}
2025-07-31 12:49:36,903 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c97d9dc2-9196-45e4-8ce0-31b70871c312', 'name': '', 'tenant_id': '621564707f344ecaaea649a58947230a', 'network_id': 'c15df156-2272-4323-b412-b91a754ff305', 'ip_version': 4, 'cidr': '7.152.28.0/26', 'allocation_pools': [{'start': '7.152.28.2', 'end': '7.152.28.62'}], 'gateway_ip': '7.152.28.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.152.28.2', 'tags': [], 'project_id': '621564707f344ecaaea649a58947230a'}}
2025-07-31 12:49:37,091 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e7cec3e2-9cc2-4c19-9c3a-c2a817ba7ffd', 'name': '', 'tenant_id': '621564707f344ecaaea649a58947230a', 'network_id': 'c15df156-2272-4323-b412-b91a754ff305', 'ip_version': 4, 'cidr': '7.252.2.0/26', 'allocation_pools': [{'start': '7.252.2.2', 'end': '7.252.2.62'}], 'gateway_ip': '7.252.2.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.252.2.2', 'tags': [], 'project_id': '621564707f344ecaaea649a58947230a'}}
2025-07-31 12:49:37,114 - INFO - Created VN ctest-vn1-94807174
2025-07-31 12:49:37,166 - DEBUG - VN ctest-vn1-94807174 UUID is c15df156-2272-4323-b412-b91a754ff305
2025-07-31 12:49:37,510 - DEBUG - Response for create_port : {'port': {'name': 'a5960341-ca95-4b74-8758-98c287469685', 'id': 'a5960341-ca95-4b74-8758-98c287469685', 'tenant_id': '621564707f344ecaaea649a58947230a', 'network_id': 'c15df156-2272-4323-b412-b91a754ff305', 'mac_address': '02:a5:96:03:41:ca', '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': '7.152.28.5', 'subnet_id': 'c97d9dc2-9196-45e4-8ce0-31b70871c312'}], 'security_groups': ['85a86b90-4759-448a-be0b-d423bda18bc6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '621564707f344ecaaea649a58947230a'}}
2025-07-31 12:49:37,700 - DEBUG - Response for create_port : {'port': {'name': '0643e550-5c09-46c3-a137-f888c0a85749', 'id': '0643e550-5c09-46c3-a137-f888c0a85749', 'tenant_id': '621564707f344ecaaea649a58947230a', 'network_id': 'c15df156-2272-4323-b412-b91a754ff305', 'mac_address': '02:06:43:e5:50:5c', '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': '7.252.2.5', 'subnet_id': 'e7cec3e2-9cc2-4c19-9c3a-c2a817ba7ffd'}], 'security_groups': ['85a86b90-4759-448a-be0b-d423bda18bc6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '621564707f344ecaaea649a58947230a'}}
2025-07-31 12:49:37,759 - DEBUG - Services list from nova: [, , ]
2025-07-31 12:49:38,160 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3735-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3735-1)
2025-07-31 12:49:38,589 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3735-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3735-1)
2025-07-31 12:49:38,589 - INFO - Waiting for VM ctest-vn1-vm1-24211220 to be up..
2025-07-31 12:49:38,630 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-31 12:49:43,703 - DEBUG - VM is in ACTIVE state now
2025-07-31 12:49:43,703 - INFO - VM name : ctest-vn1-vm1-24211220
2025-07-31 12:49:43,780 - DEBUG - VM ctest-vn1-vm1-24211220 ID is 25e9fed8-bf6c-4c6f-9e4a-f0d6bd8ac1b8
2025-07-31 12:49:43,799 - DEBUG - VM ctest-vn1-vm1-24211220 launched on Node cn-jenkins-deploy-platform-ansible-os-3735-1
2025-07-31 12:49:43,874 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/25e9fed8-bf6c-4c6f-9e4a-f0d6bd8ac1b8
2025-07-31 12:49:43,885 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a5960341-ca95-4b74-8758-98c287469685
2025-07-31 12:49:47,136 - 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 1005ms')
2025-07-31 12:49:47,136 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24211220 failed!
2025-07-31 12:49:47,194 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-69416829:ctest-vn1-94807174 is 7.152.28.1 and allocation pool is NOT set
2025-07-31 12:49:47,194 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-69416829:ctest-vn1-94807174 is 7.252.2.1 and allocation pool is NOT set
2025-07-31 12:49:49,265 - 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=11.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.99 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 = 3.987/7.802/11.617/3.815 ms')
2025-07-31 12:49:49,265 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24211220 passed
2025-07-31 12:49:49,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-31 12:49:49,422 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-24211220, IP 7.152.28.5, Port 22
2025-07-31 12:49:49,488 - 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-07-31 12:49:49,583 - DEBUG - VM ctest-vn1-vm1-24211220 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-31 12:49:54,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-31 12:49:54,584 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-24211220, IP 7.152.28.5, Port 22
2025-07-31 12:49:54,752 - DEBUG - VM ctest-vn1-vm1-24211220 is ready for SSH connections
2025-07-31 12:49:54,753 - INFO - Waiting for VM ctest-vn1-vm2-69724361 to be up..
2025-07-31 12:49:54,837 - DEBUG - VM is in ACTIVE state now
2025-07-31 12:49:54,837 - INFO - VM name : ctest-vn1-vm2-69724361
2025-07-31 12:49:54,915 - DEBUG - VM ctest-vn1-vm2-69724361 ID is a3637d4d-5ca1-47d4-850c-ca6a02b1b80a
2025-07-31 12:49:54,915 - DEBUG - VM ctest-vn1-vm2-69724361 launched on Node cn-jenkins-deploy-platform-ansible-os-3735-1
2025-07-31 12:49:54,990 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a3637d4d-5ca1-47d4-850c-ca6a02b1b80a
2025-07-31 12:49:55,000 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0643e550-5c09-46c3-a137-f888c0a85749
2025-07-31 12:49:56,248 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.443 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.443/1.614/2.786/1.171 ms')
2025-07-31 12:49:56,248 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-69724361 passed
2025-07-31 12:49:56,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-31 12:49:56,407 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-69724361, IP 7.252.2.5, Port 22
2025-07-31 12:49:56,562 - DEBUG - VM ctest-vn1-vm2-69724361 is ready for SSH connections
2025-07-31 12:49:56,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-31 12:49:56,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-31 12:49:56,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-31 12:49:56,563 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.152.28.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-31 12:49:56,563 - DEBUG - ping -s 56 -c 3 -W 1 7.152.28.5
2025-07-31 12:49:59,181 - DEBUG - PING 7.152.28.5 (7.152.28.5): 56 data bytes
64 bytes from 7.152.28.5: seq=0 ttl=63 time=4.541 ms
64 bytes from 7.152.28.5: seq=1 ttl=63 time=1.247 ms
64 bytes from 7.152.28.5: seq=2 ttl=63 time=1.007 ms
--- 7.152.28.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.007/2.265/4.541 ms
2025-07-31 12:49:59,182 - INFO - Ping to IP 7.152.28.5 from VM ctest-vn1-vm2-69724361 passed
2025-07-31 12:49:59,182 - INFO - Detaching port 0643e550-5c09-46c3-a137-f888c0a85749 from VM ctest-vn1-vm2-69724361
2025-07-31 12:49:59,230 - INFO - Deleting VM ctest-vn1-vm2-69724361
2025-07-31 12:49:59,306 - INFO - Detaching port a5960341-ca95-4b74-8758-98c287469685 from VM ctest-vn1-vm1-24211220
2025-07-31 12:49:59,342 - INFO - Deleting VM ctest-vn1-vm1-24211220
2025-07-31 12:49:59,619 - DEBUG - Response for delete_port : ()
2025-07-31 12:49:59,805 - DEBUG - Response for delete_port : ()
2025-07-31 12:49:59,805 - INFO - Deleting VN ctest-vn1-94807174
2025-07-31 12:49:59,963 - DEBUG - Response for deleting network ()
2025-07-31 12:50:00,225 - DEBUG - No XMPP flaps were noticed during the test
2025-07-31 12:50:00,225 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-07-31 12:50:00,225 - INFO - --------------------------------------------------------------------------------
2025-07-31 12:50:00,974 - INFO - Deleted project: ctest-TestPorts-69416829, ID : 62156470-7f34-4eca-aea6-49a58947230a