2025-10-21 14:34:01,972 - INFO - Domain Default found not creating
2025-10-21 14:34:02,108 - INFO - Project ctest-TestPorts-69761983 not found, creating it
2025-10-21 14:34:02,537 - INFO - Created Project:ctest-TestPorts-69761983, ID : 41d0b781-35fc-4667-96c6-ef3b0f6a1515
2025-10-21 14:34:03,895 - INFO - ================================================================================
2025-10-21 14:34:03,895 - INFO - STARTING TEST : test_ports_bindings
2025-10-21 14:34:03,895 - 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-21 14:34:04,152 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-10-21 14:34:04,152 - INFO - Initial checks done. Running the testcase now
2025-10-21 14:34:04,152 - INFO -
2025-10-21 14:34:04,674 - DEBUG - Response for create_network : {'network': {'id': '888174f7-e77c-4ddf-9671-72a6b8715e94', 'name': 'ctest-vn-72493690', 'tenant_id': '41d0b78135fc466796c6ef3b0f6a1515', 'project_id': '41d0b78135fc466796c6ef3b0f6a1515', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-69761983', 'ctest-vn-72493690'], 'port_security_enabled': True, 'description': ''}}
2025-10-21 14:34:04,856 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e160948-783e-49d1-a5cf-27635ce2c4de', 'name': '', 'tenant_id': '41d0b78135fc466796c6ef3b0f6a1515', 'network_id': '888174f7-e77c-4ddf-9671-72a6b8715e94', 'ip_version': 4, 'cidr': '98.236.240.64/26', 'allocation_pools': [{'start': '98.236.240.66', 'end': '98.236.240.126'}], 'gateway_ip': '98.236.240.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.236.240.66', 'tags': [], 'project_id': '41d0b78135fc466796c6ef3b0f6a1515'}}
2025-10-21 14:34:04,871 - INFO - Created VN ctest-vn-72493690
2025-10-21 14:34:04,923 - DEBUG - VN ctest-vn-72493690 UUID is 888174f7-e77c-4ddf-9671-72a6b8715e94
2025-10-21 14:34:05,022 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-69761983', 'ctest-vmi-26438260']}
2025-10-21 14:34:05,288 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-26438260', 'id': 'ce0046ab-54c2-4664-bf52-f1d85d041d68', 'tenant_id': '41d0b78135fc466796c6ef3b0f6a1515', 'network_id': '888174f7-e77c-4ddf-9671-72a6b8715e94', 'mac_address': '02:ce:00:46:ab:54', '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': '98.236.240.67', 'subnet_id': '4e160948-783e-49d1-a5cf-27635ce2c4de'}], 'security_groups': ['4c60508c-307d-4f43-bc63-fd406702eb1d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '41d0b78135fc466796c6ef3b0f6a1515'}}
2025-10-21 14:34:05,288 - DEBUG - Created port ce0046ab-54c2-4664-bf52-f1d85d041d68
2025-10-21 14:34:05,395 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ce0046ab-54c2-4664-bf52-f1d85d041d68
2025-10-21 14:34:05,685 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ce0046ab-54c2-4664-bf52-f1d85d041d68
2025-10-21 14:34:05,713 - INFO - VMI ce0046ab-54c2-4664-bf52-f1d85d041d68 verification in API Server passed
2025-10-21 14:34:05,780 - DEBUG - Response for delete_port : ()
2025-10-21 14:34:05,780 - INFO - Deleted port ce0046ab-54c2-4664-bf52-f1d85d041d68
2025-10-21 14:34:05,780 - INFO - Deleting VN ctest-vn-72493690
2025-10-21 14:34:05,869 - DEBUG - Response for deleting network ()
2025-10-21 14:34:06,123 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 14:34:06,124 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-21 14:34:06,124 - INFO - --------------------------------------------------------------------------------
2025-10-21 14:34:06,126 - INFO - ================================================================================
2025-10-21 14:34:06,126 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-21 14:34:06,126 - 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-21 14:34:06,413 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-10-21 14:34:06,413 - INFO - Initial checks done. Running the testcase now
2025-10-21 14:34:06,413 - INFO -
2025-10-21 14:34:06,591 - DEBUG - Response for create_network : {'network': {'id': 'fa0afe0f-1b7b-4392-9344-3215fa4e6e4f', 'name': 'ctest-vn1-65114809', 'tenant_id': '41d0b78135fc466796c6ef3b0f6a1515', 'project_id': '41d0b78135fc466796c6ef3b0f6a1515', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-69761983', 'ctest-vn1-65114809'], 'port_security_enabled': True, 'description': ''}}
2025-10-21 14:34:06,785 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b1ef65b-2471-423d-9e89-1c651b62b26c', 'name': '', 'tenant_id': '41d0b78135fc466796c6ef3b0f6a1515', 'network_id': 'fa0afe0f-1b7b-4392-9344-3215fa4e6e4f', 'ip_version': 4, 'cidr': '187.204.136.64/26', 'allocation_pools': [{'start': '187.204.136.66', 'end': '187.204.136.126'}], 'gateway_ip': '187.204.136.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.204.136.66', 'tags': [], 'project_id': '41d0b78135fc466796c6ef3b0f6a1515'}}
2025-10-21 14:34:06,979 - DEBUG - Response for create_subnet : {'subnet': {'id': '1bededd3-35a4-4ea4-8a7a-0745f8c39efa', 'name': '', 'tenant_id': '41d0b78135fc466796c6ef3b0f6a1515', 'network_id': 'fa0afe0f-1b7b-4392-9344-3215fa4e6e4f', 'ip_version': 4, 'cidr': '191.196.171.192/26', 'allocation_pools': [{'start': '191.196.171.194', 'end': '191.196.171.254'}], 'gateway_ip': '191.196.171.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.196.171.194', 'tags': [], 'project_id': '41d0b78135fc466796c6ef3b0f6a1515'}}
2025-10-21 14:34:06,996 - INFO - Created VN ctest-vn1-65114809
2025-10-21 14:34:07,047 - DEBUG - VN ctest-vn1-65114809 UUID is fa0afe0f-1b7b-4392-9344-3215fa4e6e4f
2025-10-21 14:34:07,326 - DEBUG - Response for create_port : {'port': {'name': '7d1d6a6d-37af-4bcc-9479-7c9e44f4ae9f', 'id': '7d1d6a6d-37af-4bcc-9479-7c9e44f4ae9f', 'tenant_id': '41d0b78135fc466796c6ef3b0f6a1515', 'network_id': 'fa0afe0f-1b7b-4392-9344-3215fa4e6e4f', 'mac_address': '02:7d:1d:6a:6d:37', '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': '187.204.136.69', 'subnet_id': '3b1ef65b-2471-423d-9e89-1c651b62b26c'}], 'security_groups': ['4c60508c-307d-4f43-bc63-fd406702eb1d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '41d0b78135fc466796c6ef3b0f6a1515'}}
2025-10-21 14:34:07,492 - DEBUG - Response for create_port : {'port': {'name': 'bc72dea6-a996-4aef-81cf-f23584d5f34b', 'id': 'bc72dea6-a996-4aef-81cf-f23584d5f34b', 'tenant_id': '41d0b78135fc466796c6ef3b0f6a1515', 'network_id': 'fa0afe0f-1b7b-4392-9344-3215fa4e6e4f', 'mac_address': '02:bc:72:de:a6:a9', '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': '191.196.171.197', 'subnet_id': '1bededd3-35a4-4ea4-8a7a-0745f8c39efa'}], 'security_groups': ['4c60508c-307d-4f43-bc63-fd406702eb1d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '41d0b78135fc466796c6ef3b0f6a1515'}}
2025-10-21 14:34:07,543 - DEBUG - Services list from nova: [, , ]
2025-10-21 14:34:07,843 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4395-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4395-1)
2025-10-21 14:34:08,171 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4395-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4395-1)
2025-10-21 14:34:08,171 - INFO - Waiting for VM ctest-vn1-vm1-92312991 to be up..
2025-10-21 14:34:08,204 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-21 14:34:13,278 - DEBUG - VM is in ACTIVE state now
2025-10-21 14:34:13,278 - INFO - VM name : ctest-vn1-vm1-92312991
2025-10-21 14:34:13,353 - DEBUG - VM ctest-vn1-vm1-92312991 ID is af08eebc-e533-40af-bfe8-dc054f817b76
2025-10-21 14:34:13,376 - DEBUG - VM ctest-vn1-vm1-92312991 launched on Node cn-jenkins-deploy-platform-ansible-os-4395-1
2025-10-21 14:34:13,440 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/af08eebc-e533-40af-bfe8-dc054f817b76
2025-10-21 14:34:13,448 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7d1d6a6d-37af-4bcc-9479-7c9e44f4ae9f
2025-10-21 14:34:16,688 - 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 1016ms')
2025-10-21 14:34:16,689 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92312991 failed!
2025-10-21 14:34:16,743 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-69761983:ctest-vn1-65114809 is 187.204.136.65 and allocation pool is NOT set
2025-10-21 14:34:16,744 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-69761983:ctest-vn1-65114809 is 191.196.171.193 and allocation pool is NOT set
2025-10-21 14:34:18,808 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.620 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.620/2.371/4.123/1.751 ms')
2025-10-21 14:34:18,808 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92312991 passed
2025-10-21 14:34:18,955 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 14:34:18,955 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-92312991, IP 187.204.136.69, Port 22
2025-10-21 14:34:19,115 - DEBUG - VM ctest-vn1-vm1-92312991 is ready for SSH connections
2025-10-21 14:34:19,115 - INFO - Waiting for VM ctest-vn1-vm2-94273249 to be up..
2025-10-21 14:34:19,182 - DEBUG - VM is in ACTIVE state now
2025-10-21 14:34:19,183 - INFO - VM name : ctest-vn1-vm2-94273249
2025-10-21 14:34:19,252 - DEBUG - VM ctest-vn1-vm2-94273249 ID is a2ac3f41-a294-4b16-8e25-b873e568f21a
2025-10-21 14:34:19,252 - DEBUG - VM ctest-vn1-vm2-94273249 launched on Node cn-jenkins-deploy-platform-ansible-os-4395-1
2025-10-21 14:34:19,314 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a2ac3f41-a294-4b16-8e25-b873e568f21a
2025-10-21 14:34:19,323 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bc72dea6-a996-4aef-81cf-f23584d5f34b
2025-10-21 14:34:20,551 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.801 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.801/2.239/3.678/1.438 ms')
2025-10-21 14:34:20,552 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-94273249 passed
2025-10-21 14:34:20,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 14:34:20,699 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-94273249, IP 191.196.171.197, Port 22
2025-10-21 14:34:20,863 - DEBUG - VM ctest-vn1-vm2-94273249 is ready for SSH connections
2025-10-21 14:34:20,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 14:34:20,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 14:34:20,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 14:34:20,863 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.204.136.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-21 14:34:20,863 - DEBUG - ping -s 56 -c 3 -W 1 187.204.136.69
2025-10-21 14:34:23,807 - DEBUG - PING 187.204.136.69 (187.204.136.69): 56 data bytes
64 bytes from 187.204.136.69: seq=0 ttl=63 time=5.154 ms
64 bytes from 187.204.136.69: seq=1 ttl=63 time=0.768 ms
64 bytes from 187.204.136.69: seq=2 ttl=63 time=0.710 ms
--- 187.204.136.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.710/2.210/5.154 ms
2025-10-21 14:34:23,807 - INFO - Ping to IP 187.204.136.69 from VM ctest-vn1-vm2-94273249 passed
2025-10-21 14:34:23,807 - INFO - Detaching port bc72dea6-a996-4aef-81cf-f23584d5f34b from VM ctest-vn1-vm2-94273249
2025-10-21 14:34:23,853 - INFO - Deleting VM ctest-vn1-vm2-94273249
2025-10-21 14:34:23,911 - INFO - Detaching port 7d1d6a6d-37af-4bcc-9479-7c9e44f4ae9f from VM ctest-vn1-vm1-92312991
2025-10-21 14:34:23,940 - INFO - Deleting VM ctest-vn1-vm1-92312991
2025-10-21 14:34:24,125 - DEBUG - Response for delete_port : ()
2025-10-21 14:34:24,280 - DEBUG - Response for delete_port : ()
2025-10-21 14:34:24,280 - INFO - Deleting VN ctest-vn1-65114809
2025-10-21 14:34:24,419 - DEBUG - Response for deleting network ()
2025-10-21 14:34:24,672 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 14:34:24,672 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-10-21 14:34:24,672 - INFO - --------------------------------------------------------------------------------
2025-10-21 14:34:25,351 - INFO - Deleted project: ctest-TestPorts-69761983, ID : 41d0b781-35fc-4667-96c6-ef3b0f6a1515