2025-09-19 21:30:41,041 - INFO - Domain Default found not creating
2025-09-19 21:30:41,173 - INFO - Project ctest-TestPorts-07108603 not found, creating it
2025-09-19 21:30:41,602 - INFO - Created Project:ctest-TestPorts-07108603, ID : b22c8398-efbb-44e9-b4a4-3208b19124f6
2025-09-19 21:30:42,977 - INFO - ================================================================================
2025-09-19 21:30:42,977 - INFO - STARTING TEST : test_ports_bindings
2025-09-19 21:30:42,977 - 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-19 21:30:43,239 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-09-19 21:30:43,239 - INFO - Initial checks done. Running the testcase now
2025-09-19 21:30:43,239 - INFO -
2025-09-19 21:30:43,878 - DEBUG - Response for create_network : {'network': {'id': '7a86fb0d-f697-4b56-a7a0-d2cba0985ee2', 'name': 'ctest-vn-45081270', 'tenant_id': 'b22c8398efbb44e9b4a43208b19124f6', 'project_id': 'b22c8398efbb44e9b4a43208b19124f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-07108603', 'ctest-vn-45081270'], 'port_security_enabled': True, 'description': ''}}
2025-09-19 21:30:44,091 - DEBUG - Response for create_subnet : {'subnet': {'id': '792fbb10-0378-40c0-b8f4-36037a01d61b', 'name': '', 'tenant_id': 'b22c8398efbb44e9b4a43208b19124f6', 'network_id': '7a86fb0d-f697-4b56-a7a0-d2cba0985ee2', 'ip_version': 4, 'cidr': '173.24.145.64/26', 'allocation_pools': [{'start': '173.24.145.66', 'end': '173.24.145.126'}], 'gateway_ip': '173.24.145.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.24.145.66', 'tags': [], 'project_id': 'b22c8398efbb44e9b4a43208b19124f6'}}
2025-09-19 21:30:44,109 - INFO - Created VN ctest-vn-45081270
2025-09-19 21:30:44,158 - DEBUG - VN ctest-vn-45081270 UUID is 7a86fb0d-f697-4b56-a7a0-d2cba0985ee2
2025-09-19 21:30:44,262 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-07108603', 'ctest-vmi-19000634']}
2025-09-19 21:30:44,541 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-19000634', 'id': 'faf316f8-1614-4871-8477-47f222a4816a', 'tenant_id': 'b22c8398efbb44e9b4a43208b19124f6', 'network_id': '7a86fb0d-f697-4b56-a7a0-d2cba0985ee2', 'mac_address': '02:fa:f3:16:f8:16', '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': '173.24.145.67', 'subnet_id': '792fbb10-0378-40c0-b8f4-36037a01d61b'}], 'security_groups': ['85b1987b-6012-4519-836e-30001ba9c90d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b22c8398efbb44e9b4a43208b19124f6'}}
2025-09-19 21:30:44,541 - DEBUG - Created port faf316f8-1614-4871-8477-47f222a4816a
2025-09-19 21:30:44,646 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/faf316f8-1614-4871-8477-47f222a4816a
2025-09-19 21:30:44,939 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/faf316f8-1614-4871-8477-47f222a4816a
2025-09-19 21:30:44,966 - INFO - VMI faf316f8-1614-4871-8477-47f222a4816a verification in API Server passed
2025-09-19 21:30:45,047 - DEBUG - Response for delete_port : ()
2025-09-19 21:30:45,047 - INFO - Deleted port faf316f8-1614-4871-8477-47f222a4816a
2025-09-19 21:30:45,048 - INFO - Deleting VN ctest-vn-45081270
2025-09-19 21:30:45,138 - DEBUG - Response for deleting network ()
2025-09-19 21:30:45,390 - DEBUG - No XMPP flaps were noticed during the test
2025-09-19 21:30:45,390 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-19 21:30:45,390 - INFO - --------------------------------------------------------------------------------
2025-09-19 21:30:45,393 - INFO - ================================================================================
2025-09-19 21:30:45,393 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-19 21:30:45,393 - 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-19 21:30:45,679 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-09-19 21:30:45,679 - INFO - Initial checks done. Running the testcase now
2025-09-19 21:30:45,679 - INFO -
2025-09-19 21:30:45,843 - DEBUG - Response for create_network : {'network': {'id': '26b6f4dc-9899-4f37-81ca-645c496055bd', 'name': 'ctest-vn1-35496416', 'tenant_id': 'b22c8398efbb44e9b4a43208b19124f6', 'project_id': 'b22c8398efbb44e9b4a43208b19124f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-07108603', 'ctest-vn1-35496416'], 'port_security_enabled': True, 'description': ''}}
2025-09-19 21:30:46,008 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea0d5a67-9d62-445d-a991-1056cc7aac4d', 'name': '', 'tenant_id': 'b22c8398efbb44e9b4a43208b19124f6', 'network_id': '26b6f4dc-9899-4f37-81ca-645c496055bd', 'ip_version': 4, 'cidr': '68.68.160.64/26', 'allocation_pools': [{'start': '68.68.160.66', 'end': '68.68.160.126'}], 'gateway_ip': '68.68.160.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.68.160.66', 'tags': [], 'project_id': 'b22c8398efbb44e9b4a43208b19124f6'}}
2025-09-19 21:30:46,201 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f89d0d0a-b2dd-45d6-a2a9-f8d30f08db54', 'name': '', 'tenant_id': 'b22c8398efbb44e9b4a43208b19124f6', 'network_id': '26b6f4dc-9899-4f37-81ca-645c496055bd', 'ip_version': 4, 'cidr': '125.33.160.64/26', 'allocation_pools': [{'start': '125.33.160.66', 'end': '125.33.160.126'}], 'gateway_ip': '125.33.160.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.33.160.66', 'tags': [], 'project_id': 'b22c8398efbb44e9b4a43208b19124f6'}}
2025-09-19 21:30:46,216 - INFO - Created VN ctest-vn1-35496416
2025-09-19 21:30:46,266 - DEBUG - VN ctest-vn1-35496416 UUID is 26b6f4dc-9899-4f37-81ca-645c496055bd
2025-09-19 21:30:46,534 - DEBUG - Response for create_port : {'port': {'name': '947bcc5e-aea0-4965-ad01-2a1eddcda672', 'id': '947bcc5e-aea0-4965-ad01-2a1eddcda672', 'tenant_id': 'b22c8398efbb44e9b4a43208b19124f6', 'network_id': '26b6f4dc-9899-4f37-81ca-645c496055bd', 'mac_address': '02:94:7b:cc:5e:ae', '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': '68.68.160.69', 'subnet_id': 'ea0d5a67-9d62-445d-a991-1056cc7aac4d'}], 'security_groups': ['85b1987b-6012-4519-836e-30001ba9c90d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b22c8398efbb44e9b4a43208b19124f6'}}
2025-09-19 21:30:46,705 - DEBUG - Response for create_port : {'port': {'name': '0c01de53-df51-46e4-87d3-0b90d6ccef39', 'id': '0c01de53-df51-46e4-87d3-0b90d6ccef39', 'tenant_id': 'b22c8398efbb44e9b4a43208b19124f6', 'network_id': '26b6f4dc-9899-4f37-81ca-645c496055bd', 'mac_address': '02:0c:01:de:53:df', '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': '125.33.160.69', 'subnet_id': 'f89d0d0a-b2dd-45d6-a2a9-f8d30f08db54'}], 'security_groups': ['85b1987b-6012-4519-836e-30001ba9c90d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b22c8398efbb44e9b4a43208b19124f6'}}
2025-09-19 21:30:46,757 - DEBUG - Services list from nova: [, , ]
2025-09-19 21:30:47,059 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4153-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4153-1)
2025-09-19 21:30:47,410 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4153-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4153-1)
2025-09-19 21:30:47,410 - INFO - Waiting for VM ctest-vn1-vm1-95822920 to be up..
2025-09-19 21:30:47,450 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-19 21:30:52,517 - DEBUG - VM is in ACTIVE state now
2025-09-19 21:30:52,517 - INFO - VM name : ctest-vn1-vm1-95822920
2025-09-19 21:30:52,583 - DEBUG - VM ctest-vn1-vm1-95822920 ID is 0fb12a30-344b-4cf0-91d1-895e1f7ec513
2025-09-19 21:30:52,601 - DEBUG - VM ctest-vn1-vm1-95822920 launched on Node cn-jenkins-deploy-platform-ansible-os-4153-1
2025-09-19 21:30:52,664 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0fb12a30-344b-4cf0-91d1-895e1f7ec513
2025-09-19 21:30:52,673 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/947bcc5e-aea0-4965-ad01-2a1eddcda672
2025-09-19 21:30:55,908 - 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 1007ms')
2025-09-19 21:30:55,908 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95822920 failed!
2025-09-19 21:30:55,962 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-07108603:ctest-vn1-35496416 is 68.68.160.65 and allocation pool is NOT set
2025-09-19 21:30:55,962 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-07108603:ctest-vn1-35496416 is 125.33.160.65 and allocation pool is NOT set
2025-09-19 21:30:58,020 - 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=2.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.242 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.242/1.585/2.928/1.343 ms')
2025-09-19 21:30:58,021 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95822920 passed
2025-09-19 21:30:58,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-19 21:30:58,175 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-95822920, IP 68.68.160.69, Port 22
2025-09-19 21:30:58,345 - DEBUG - VM ctest-vn1-vm1-95822920 is ready for SSH connections
2025-09-19 21:30:58,345 - INFO - Waiting for VM ctest-vn1-vm2-17685489 to be up..
2025-09-19 21:30:58,441 - DEBUG - VM is in ACTIVE state now
2025-09-19 21:30:58,442 - INFO - VM name : ctest-vn1-vm2-17685489
2025-09-19 21:30:58,514 - DEBUG - VM ctest-vn1-vm2-17685489 ID is 6c05f671-421e-4ddd-b6d3-1ae4e9ffc6fa
2025-09-19 21:30:58,514 - DEBUG - VM ctest-vn1-vm2-17685489 launched on Node cn-jenkins-deploy-platform-ansible-os-4153-1
2025-09-19 21:30:58,586 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6c05f671-421e-4ddd-b6d3-1ae4e9ffc6fa
2025-09-19 21:30:58,595 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0c01de53-df51-46e4-87d3-0b90d6ccef39
2025-09-19 21:30:59,833 - 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=3.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.13 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.125/2.154/3.184/1.029 ms')
2025-09-19 21:30:59,833 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-17685489 passed
2025-09-19 21:30:59,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-19 21:30:59,986 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-17685489, IP 125.33.160.69, Port 22
2025-09-19 21:31:00,142 - DEBUG - VM ctest-vn1-vm2-17685489 is ready for SSH connections
2025-09-19 21:31:00,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-19 21:31:00,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-19 21:31:00,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-19 21:31:00,142 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.68.160.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-09-19 21:31:00,142 - DEBUG - ping -s 56 -c 3 -W 1 68.68.160.69
2025-09-19 21:31:03,065 - DEBUG - PING 68.68.160.69 (68.68.160.69): 56 data bytes
64 bytes from 68.68.160.69: seq=0 ttl=63 time=3.613 ms
64 bytes from 68.68.160.69: seq=1 ttl=63 time=0.935 ms
64 bytes from 68.68.160.69: seq=2 ttl=63 time=0.770 ms
--- 68.68.160.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.770/1.772/3.613 ms
2025-09-19 21:31:03,065 - INFO - Ping to IP 68.68.160.69 from VM ctest-vn1-vm2-17685489 passed
2025-09-19 21:31:03,065 - INFO - Detaching port 0c01de53-df51-46e4-87d3-0b90d6ccef39 from VM ctest-vn1-vm2-17685489
2025-09-19 21:31:03,125 - INFO - Deleting VM ctest-vn1-vm2-17685489
2025-09-19 21:31:03,194 - INFO - Detaching port 947bcc5e-aea0-4965-ad01-2a1eddcda672 from VM ctest-vn1-vm1-95822920
2025-09-19 21:31:03,238 - INFO - Deleting VM ctest-vn1-vm1-95822920
2025-09-19 21:31:03,453 - DEBUG - Response for delete_port : ()
2025-09-19 21:31:03,608 - DEBUG - Response for delete_port : ()
2025-09-19 21:31:03,608 - INFO - Deleting VN ctest-vn1-35496416
2025-09-19 21:31:03,729 - DEBUG - Response for deleting network ()
2025-09-19 21:31:03,985 - DEBUG - No XMPP flaps were noticed during the test
2025-09-19 21:31:03,986 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-09-19 21:31:03,986 - INFO - --------------------------------------------------------------------------------
2025-09-19 21:31:04,637 - INFO - Deleted project: ctest-TestPorts-07108603, ID : b22c8398-efbb-44e9-b4a4-3208b19124f6