2025-08-15 09:35:41,603 - INFO - Domain Default found not creating
2025-08-15 09:35:41,729 - INFO - Project ctest-TestPorts-43950406 not found, creating it
2025-08-15 09:35:42,156 - INFO - Created Project:ctest-TestPorts-43950406, ID : dcdf9df4-ec63-49bb-9d75-668dd85eca08
2025-08-15 09:35:43,552 - INFO - ================================================================================
2025-08-15 09:35:43,552 - INFO - STARTING TEST : test_ports_bindings
2025-08-15 09:35:43,552 - 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-15 09:35:43,814 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.129': '0'}} with
2025-08-15 09:35:43,814 - INFO - Initial checks done. Running the testcase now
2025-08-15 09:35:43,814 - INFO -
2025-08-15 09:35:44,420 - DEBUG - Response for create_network : {'network': {'id': '31ab9e31-3574-4b33-ad97-277648ea8ae8', 'name': 'ctest-vn-66674209', 'tenant_id': 'dcdf9df4ec6349bb9d75668dd85eca08', 'project_id': 'dcdf9df4ec6349bb9d75668dd85eca08', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-43950406', 'ctest-vn-66674209'], 'port_security_enabled': True, 'description': ''}}
2025-08-15 09:35:44,642 - DEBUG - Response for create_subnet : {'subnet': {'id': '10788da0-0458-46e9-8db2-3b038b72444b', 'name': '', 'tenant_id': 'dcdf9df4ec6349bb9d75668dd85eca08', 'network_id': '31ab9e31-3574-4b33-ad97-277648ea8ae8', 'ip_version': 4, 'cidr': '214.45.139.0/26', 'allocation_pools': [{'start': '214.45.139.2', 'end': '214.45.139.62'}], 'gateway_ip': '214.45.139.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.45.139.2', 'tags': [], 'project_id': 'dcdf9df4ec6349bb9d75668dd85eca08'}}
2025-08-15 09:35:44,659 - INFO - Created VN ctest-vn-66674209
2025-08-15 09:35:44,710 - DEBUG - VN ctest-vn-66674209 UUID is 31ab9e31-3574-4b33-ad97-277648ea8ae8
2025-08-15 09:35:44,811 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-43950406', 'ctest-vmi-32271421']}
2025-08-15 09:35:45,479 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-32271421', 'id': 'b4f6e514-9df5-4da3-9869-a023735b4150', 'tenant_id': 'dcdf9df4ec6349bb9d75668dd85eca08', 'network_id': '31ab9e31-3574-4b33-ad97-277648ea8ae8', 'mac_address': '02:b4:f6:e5:14:9d', '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': '214.45.139.3', 'subnet_id': '10788da0-0458-46e9-8db2-3b038b72444b'}], 'security_groups': ['6fbaa3d0-f335-4438-a8d2-f3c122b0acea'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dcdf9df4ec6349bb9d75668dd85eca08'}}
2025-08-15 09:35:45,479 - DEBUG - Created port b4f6e514-9df5-4da3-9869-a023735b4150
2025-08-15 09:35:45,622 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/b4f6e514-9df5-4da3-9869-a023735b4150
2025-08-15 09:35:45,941 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/b4f6e514-9df5-4da3-9869-a023735b4150
2025-08-15 09:35:45,973 - INFO - VMI b4f6e514-9df5-4da3-9869-a023735b4150 verification in API Server passed
2025-08-15 09:35:46,057 - DEBUG - Response for delete_port : ()
2025-08-15 09:35:46,058 - INFO - Deleted port b4f6e514-9df5-4da3-9869-a023735b4150
2025-08-15 09:35:46,058 - INFO - Deleting VN ctest-vn-66674209
2025-08-15 09:35:46,149 - DEBUG - Response for deleting network ()
2025-08-15 09:35:46,402 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 09:35:46,402 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-15 09:35:46,403 - INFO - --------------------------------------------------------------------------------
2025-08-15 09:35:46,405 - INFO - ================================================================================
2025-08-15 09:35:46,405 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-15 09:35:46,405 - 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-15 09:35:46,694 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.129': '0'}} with
2025-08-15 09:35:46,695 - INFO - Initial checks done. Running the testcase now
2025-08-15 09:35:46,695 - INFO -
2025-08-15 09:35:46,862 - DEBUG - Response for create_network : {'network': {'id': 'b4464d2d-cdfc-43fc-9a70-538140228199', 'name': 'ctest-vn1-54679277', 'tenant_id': 'dcdf9df4ec6349bb9d75668dd85eca08', 'project_id': 'dcdf9df4ec6349bb9d75668dd85eca08', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-43950406', 'ctest-vn1-54679277'], 'port_security_enabled': True, 'description': ''}}
2025-08-15 09:35:47,022 - DEBUG - Response for create_subnet : {'subnet': {'id': '513523f8-313f-4e23-be07-bced5800a7a4', 'name': '', 'tenant_id': 'dcdf9df4ec6349bb9d75668dd85eca08', 'network_id': 'b4464d2d-cdfc-43fc-9a70-538140228199', 'ip_version': 4, 'cidr': '174.148.255.0/26', 'allocation_pools': [{'start': '174.148.255.2', 'end': '174.148.255.62'}], 'gateway_ip': '174.148.255.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.148.255.2', 'tags': [], 'project_id': 'dcdf9df4ec6349bb9d75668dd85eca08'}}
2025-08-15 09:35:47,231 - DEBUG - Response for create_subnet : {'subnet': {'id': '95255468-b63b-43c6-8f26-5cd5eb26a6f2', 'name': '', 'tenant_id': 'dcdf9df4ec6349bb9d75668dd85eca08', 'network_id': 'b4464d2d-cdfc-43fc-9a70-538140228199', 'ip_version': 4, 'cidr': '153.185.150.192/26', 'allocation_pools': [{'start': '153.185.150.194', 'end': '153.185.150.254'}], 'gateway_ip': '153.185.150.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.185.150.194', 'tags': [], 'project_id': 'dcdf9df4ec6349bb9d75668dd85eca08'}}
2025-08-15 09:35:47,254 - INFO - Created VN ctest-vn1-54679277
2025-08-15 09:35:47,306 - DEBUG - VN ctest-vn1-54679277 UUID is b4464d2d-cdfc-43fc-9a70-538140228199
2025-08-15 09:35:47,656 - DEBUG - Response for create_port : {'port': {'name': '32f17146-72e2-4ae4-b170-e3dc827b7f1c', 'id': '32f17146-72e2-4ae4-b170-e3dc827b7f1c', 'tenant_id': 'dcdf9df4ec6349bb9d75668dd85eca08', 'network_id': 'b4464d2d-cdfc-43fc-9a70-538140228199', 'mac_address': '02:32:f1:71:46:72', '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': '174.148.255.5', 'subnet_id': '513523f8-313f-4e23-be07-bced5800a7a4'}], 'security_groups': ['6fbaa3d0-f335-4438-a8d2-f3c122b0acea'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dcdf9df4ec6349bb9d75668dd85eca08'}}
2025-08-15 09:35:47,827 - DEBUG - Response for create_port : {'port': {'name': '8ac205cc-9091-4842-8591-538fccb938e6', 'id': '8ac205cc-9091-4842-8591-538fccb938e6', 'tenant_id': 'dcdf9df4ec6349bb9d75668dd85eca08', 'network_id': 'b4464d2d-cdfc-43fc-9a70-538140228199', 'mac_address': '02:8a:c2:05:cc:90', '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': '153.185.150.197', 'subnet_id': '95255468-b63b-43c6-8f26-5cd5eb26a6f2'}], 'security_groups': ['6fbaa3d0-f335-4438-a8d2-f3c122b0acea'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dcdf9df4ec6349bb9d75668dd85eca08'}}
2025-08-15 09:35:47,883 - DEBUG - Services list from nova: [, , ]
2025-08-15 09:35:48,178 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3863-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3863-1)
2025-08-15 09:35:48,530 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3863-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3863-1)
2025-08-15 09:35:48,530 - INFO - Waiting for VM ctest-vn1-vm1-76502800 to be up..
2025-08-15 09:35:48,566 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-15 09:35:53,646 - DEBUG - VM is in ACTIVE state now
2025-08-15 09:35:53,646 - INFO - VM name : ctest-vn1-vm1-76502800
2025-08-15 09:35:53,714 - DEBUG - VM ctest-vn1-vm1-76502800 ID is 294c386e-9bd6-411c-9919-0374565e1f5a
2025-08-15 09:35:53,733 - DEBUG - VM ctest-vn1-vm1-76502800 launched on Node cn-jenkins-deploy-platform-ansible-os-3863-1
2025-08-15 09:35:53,802 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/294c386e-9bd6-411c-9919-0374565e1f5a
2025-08-15 09:35:53,810 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/32f17146-72e2-4ae4-b170-e3dc827b7f1c
2025-08-15 09:35:57,062 - 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-15 09:35:57,062 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76502800 failed!
2025-08-15 09:35:57,122 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43950406:ctest-vn1-54679277 is 174.148.255.1 and allocation pool is NOT set
2025-08-15 09:35:57,122 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43950406:ctest-vn1-54679277 is 153.185.150.193 and allocation pool is NOT set
2025-08-15 09:35:59,183 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.53 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 = 1.530/2.800/4.071/1.270 ms')
2025-08-15 09:35:59,183 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76502800 passed
2025-08-15 09:35:59,338 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 09:35:59,338 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76502800, IP 174.148.255.5, Port 22
2025-08-15 09:35:59,498 - DEBUG - VM ctest-vn1-vm1-76502800 is ready for SSH connections
2025-08-15 09:35:59,498 - INFO - Waiting for VM ctest-vn1-vm2-55980298 to be up..
2025-08-15 09:35:59,574 - DEBUG - VM is in ACTIVE state now
2025-08-15 09:35:59,574 - INFO - VM name : ctest-vn1-vm2-55980298
2025-08-15 09:35:59,645 - DEBUG - VM ctest-vn1-vm2-55980298 ID is dd461676-9317-440d-a137-075118789c31
2025-08-15 09:35:59,646 - DEBUG - VM ctest-vn1-vm2-55980298 launched on Node cn-jenkins-deploy-platform-ansible-os-3863-1
2025-08-15 09:35:59,710 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/dd461676-9317-440d-a137-075118789c31
2025-08-15 09:35:59,719 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/8ac205cc-9091-4842-8591-538fccb938e6
2025-08-15 09:36:00,962 - 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=4.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.424 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.424/2.678/4.933/2.254 ms')
2025-08-15 09:36:00,963 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-55980298 passed
2025-08-15 09:36:01,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 09:36:01,110 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-55980298, IP 153.185.150.197, Port 22
2025-08-15 09:36:01,269 - DEBUG - VM ctest-vn1-vm2-55980298 is ready for SSH connections
2025-08-15 09:36:01,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 09:36:01,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 09:36:01,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 09:36:01,270 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.148.255.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-08-15 09:36:01,270 - DEBUG - ping -s 56 -c 3 -W 1 174.148.255.5
2025-08-15 09:36:04,205 - DEBUG - PING 174.148.255.5 (174.148.255.5): 56 data bytes
64 bytes from 174.148.255.5: seq=0 ttl=63 time=3.441 ms
64 bytes from 174.148.255.5: seq=1 ttl=63 time=0.903 ms
64 bytes from 174.148.255.5: seq=2 ttl=63 time=0.723 ms
--- 174.148.255.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.723/1.689/3.441 ms
2025-08-15 09:36:04,205 - INFO - Ping to IP 174.148.255.5 from VM ctest-vn1-vm2-55980298 passed
2025-08-15 09:36:04,205 - INFO - Detaching port 8ac205cc-9091-4842-8591-538fccb938e6 from VM ctest-vn1-vm2-55980298
2025-08-15 09:36:04,251 - INFO - Deleting VM ctest-vn1-vm2-55980298
2025-08-15 09:36:04,320 - INFO - Detaching port 32f17146-72e2-4ae4-b170-e3dc827b7f1c from VM ctest-vn1-vm1-76502800
2025-08-15 09:36:04,354 - INFO - Deleting VM ctest-vn1-vm1-76502800
2025-08-15 09:36:04,577 - DEBUG - Response for delete_port : ()
2025-08-15 09:36:04,749 - DEBUG - Response for delete_port : ()
2025-08-15 09:36:04,749 - INFO - Deleting VN ctest-vn1-54679277
2025-08-15 09:36:04,881 - DEBUG - Response for deleting network ()
2025-08-15 09:36:05,150 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 09:36:05,151 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-15 09:36:05,151 - INFO - --------------------------------------------------------------------------------
2025-08-15 09:36:05,807 - INFO - Deleted project: ctest-TestPorts-43950406, ID : dcdf9df4-ec63-49bb-9d75-668dd85eca08