2025-11-17 02:05:25,970 - INFO - Domain Default found not creating
2025-11-17 02:05:26,183 - INFO - Project ctest-TestPorts-44610719 not found, creating it
2025-11-17 02:05:26,798 - INFO - Created Project:ctest-TestPorts-44610719, ID : d92ce319-61b0-4cd2-8752-dba0a20416e5
2025-11-17 02:05:28,440 - INFO - ================================================================================
2025-11-17 02:05:28,441 - INFO - STARTING TEST : test_ports_bindings
2025-11-17 02:05:28,441 - 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-11-17 02:05:28,711 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with
2025-11-17 02:05:28,711 - INFO - Initial checks done. Running the testcase now
2025-11-17 02:05:28,712 - INFO -
2025-11-17 02:05:29,380 - DEBUG - Response for create_network : {'network': {'id': '791d6dd9-ef52-4712-80f2-f06c69d6ca4f', 'name': 'ctest-vn-70303164', 'tenant_id': 'd92ce31961b04cd28752dba0a20416e5', 'project_id': 'd92ce31961b04cd28752dba0a20416e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-44610719', 'ctest-vn-70303164'], 'port_security_enabled': True, 'description': ''}}
2025-11-17 02:05:29,550 - DEBUG - Response for create_subnet : {'subnet': {'id': '15056219-20d8-428e-aef7-29fe32dcde3e', 'name': '', 'tenant_id': 'd92ce31961b04cd28752dba0a20416e5', 'network_id': '791d6dd9-ef52-4712-80f2-f06c69d6ca4f', 'ip_version': 4, 'cidr': '101.56.8.0/26', 'allocation_pools': [{'start': '101.56.8.2', 'end': '101.56.8.62'}], 'gateway_ip': '101.56.8.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.56.8.2', 'tags': [], 'project_id': 'd92ce31961b04cd28752dba0a20416e5'}}
2025-11-17 02:05:29,569 - INFO - Created VN ctest-vn-70303164
2025-11-17 02:05:29,623 - DEBUG - VN ctest-vn-70303164 UUID is 791d6dd9-ef52-4712-80f2-f06c69d6ca4f
2025-11-17 02:05:29,743 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-44610719', 'ctest-vmi-90397528']}
2025-11-17 02:05:30,041 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-90397528', 'id': '5b4842db-958e-4ef1-8378-da7529eacca2', 'tenant_id': 'd92ce31961b04cd28752dba0a20416e5', 'network_id': '791d6dd9-ef52-4712-80f2-f06c69d6ca4f', 'mac_address': '02:5b:48:42:db:95', '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': '101.56.8.3', 'subnet_id': '15056219-20d8-428e-aef7-29fe32dcde3e'}], 'security_groups': ['aa07875b-2076-4b3c-b988-b5cd63606a1e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd92ce31961b04cd28752dba0a20416e5'}}
2025-11-17 02:05:30,041 - DEBUG - Created port 5b4842db-958e-4ef1-8378-da7529eacca2
2025-11-17 02:05:30,151 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/5b4842db-958e-4ef1-8378-da7529eacca2
2025-11-17 02:05:30,468 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/5b4842db-958e-4ef1-8378-da7529eacca2
2025-11-17 02:05:30,509 - INFO - VMI 5b4842db-958e-4ef1-8378-da7529eacca2 verification in API Server passed
2025-11-17 02:05:30,629 - DEBUG - Response for delete_port : ()
2025-11-17 02:05:30,629 - INFO - Deleted port 5b4842db-958e-4ef1-8378-da7529eacca2
2025-11-17 02:05:30,630 - INFO - Deleting VN ctest-vn-70303164
2025-11-17 02:05:30,762 - DEBUG - Response for deleting network ()
2025-11-17 02:05:31,041 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 02:05:31,041 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-17 02:05:31,041 - INFO - --------------------------------------------------------------------------------
2025-11-17 02:05:31,044 - INFO - ================================================================================
2025-11-17 02:05:31,044 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-17 02:05:31,044 - 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-11-17 02:05:31,343 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with
2025-11-17 02:05:31,343 - INFO - Initial checks done. Running the testcase now
2025-11-17 02:05:31,343 - INFO -
2025-11-17 02:05:31,561 - DEBUG - Response for create_network : {'network': {'id': 'c9733220-ac1f-4f3e-aee1-edeb682bc5fa', 'name': 'ctest-vn1-11201956', 'tenant_id': 'd92ce31961b04cd28752dba0a20416e5', 'project_id': 'd92ce31961b04cd28752dba0a20416e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-44610719', 'ctest-vn1-11201956'], 'port_security_enabled': True, 'description': ''}}
2025-11-17 02:05:31,724 - DEBUG - Response for create_subnet : {'subnet': {'id': '28ae941b-ec81-44a6-a7c1-40f3fe480bb9', 'name': '', 'tenant_id': 'd92ce31961b04cd28752dba0a20416e5', 'network_id': 'c9733220-ac1f-4f3e-aee1-edeb682bc5fa', 'ip_version': 4, 'cidr': '33.159.217.0/26', 'allocation_pools': [{'start': '33.159.217.2', 'end': '33.159.217.62'}], 'gateway_ip': '33.159.217.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.159.217.2', 'tags': [], 'project_id': 'd92ce31961b04cd28752dba0a20416e5'}}
2025-11-17 02:05:31,938 - DEBUG - Response for create_subnet : {'subnet': {'id': '12ef9986-c146-4e0b-963f-749d87da45a6', 'name': '', 'tenant_id': 'd92ce31961b04cd28752dba0a20416e5', 'network_id': 'c9733220-ac1f-4f3e-aee1-edeb682bc5fa', 'ip_version': 4, 'cidr': '32.0.109.64/26', 'allocation_pools': [{'start': '32.0.109.66', 'end': '32.0.109.126'}], 'gateway_ip': '32.0.109.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.0.109.66', 'tags': [], 'project_id': 'd92ce31961b04cd28752dba0a20416e5'}}
2025-11-17 02:05:31,961 - INFO - Created VN ctest-vn1-11201956
2025-11-17 02:05:32,015 - DEBUG - VN ctest-vn1-11201956 UUID is c9733220-ac1f-4f3e-aee1-edeb682bc5fa
2025-11-17 02:05:32,394 - DEBUG - Response for create_port : {'port': {'name': '3c380a95-58bd-4195-a048-6217cde0aca4', 'id': '3c380a95-58bd-4195-a048-6217cde0aca4', 'tenant_id': 'd92ce31961b04cd28752dba0a20416e5', 'network_id': 'c9733220-ac1f-4f3e-aee1-edeb682bc5fa', 'mac_address': '02:3c:38:0a:95:58', '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': '33.159.217.5', 'subnet_id': '28ae941b-ec81-44a6-a7c1-40f3fe480bb9'}], 'security_groups': ['aa07875b-2076-4b3c-b988-b5cd63606a1e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd92ce31961b04cd28752dba0a20416e5'}}
2025-11-17 02:05:32,589 - DEBUG - Response for create_port : {'port': {'name': '04640e67-14a3-4ef5-91ed-a1862d8c0b05', 'id': '04640e67-14a3-4ef5-91ed-a1862d8c0b05', 'tenant_id': 'd92ce31961b04cd28752dba0a20416e5', 'network_id': 'c9733220-ac1f-4f3e-aee1-edeb682bc5fa', 'mac_address': '02:04:64:0e:67:14', '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': '32.0.109.69', 'subnet_id': '12ef9986-c146-4e0b-963f-749d87da45a6'}], 'security_groups': ['aa07875b-2076-4b3c-b988-b5cd63606a1e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd92ce31961b04cd28752dba0a20416e5'}}
2025-11-17 02:05:32,669 - DEBUG - Services list from nova: [, , ]
2025-11-17 02:05:33,070 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4739-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4739-1)
2025-11-17 02:05:33,601 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4739-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4739-1)
2025-11-17 02:05:33,601 - INFO - Waiting for VM ctest-vn1-vm1-48638502 to be up..
2025-11-17 02:05:33,650 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-17 02:05:38,739 - DEBUG - VM is in ACTIVE state now
2025-11-17 02:05:38,739 - INFO - VM name : ctest-vn1-vm1-48638502
2025-11-17 02:05:38,830 - DEBUG - VM ctest-vn1-vm1-48638502 ID is 9f28b938-4734-47e8-a00e-c40d85e716b6
2025-11-17 02:05:38,852 - DEBUG - VM ctest-vn1-vm1-48638502 launched on Node cn-jenkins-deploy-platform-ansible-os-4739-1
2025-11-17 02:05:38,937 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/9f28b938-4734-47e8-a00e-c40d85e716b6
2025-11-17 02:05:38,946 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/3c380a95-58bd-4195-a048-6217cde0aca4
2025-11-17 02:05:42,229 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1024ms')
2025-11-17 02:05:42,229 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-48638502 failed!
2025-11-17 02:05:42,287 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44610719:ctest-vn1-11201956 is 33.159.217.1 and allocation pool is NOT set
2025-11-17 02:05:42,287 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44610719:ctest-vn1-11201956 is 32.0.109.65 and allocation pool is NOT set
2025-11-17 02:05:46,357 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1002ms')
2025-11-17 02:05:46,358 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-48638502 failed!
2025-11-17 02:05:46,419 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44610719:ctest-vn1-11201956 is 33.159.217.1 and allocation pool is NOT set
2025-11-17 02:05:46,419 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44610719:ctest-vn1-11201956 is 32.0.109.65 and allocation pool is NOT set
2025-11-17 02:05:48,489 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.710 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 = 0.710/1.962/3.215/1.252 ms')
2025-11-17 02:05:48,489 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-48638502 passed
2025-11-17 02:05:48,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 02:05:48,643 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-48638502, IP 33.159.217.5, Port 22
2025-11-17 02:05:48,809 - DEBUG - VM ctest-vn1-vm1-48638502 is ready for SSH connections
2025-11-17 02:05:48,809 - INFO - Waiting for VM ctest-vn1-vm2-64175025 to be up..
2025-11-17 02:05:48,901 - DEBUG - VM is in ACTIVE state now
2025-11-17 02:05:48,901 - INFO - VM name : ctest-vn1-vm2-64175025
2025-11-17 02:05:48,992 - DEBUG - VM ctest-vn1-vm2-64175025 ID is 03a5a7a9-2567-45ee-a03e-cdf363a28d10
2025-11-17 02:05:48,992 - DEBUG - VM ctest-vn1-vm2-64175025 launched on Node cn-jenkins-deploy-platform-ansible-os-4739-1
2025-11-17 02:05:49,090 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/03a5a7a9-2567-45ee-a03e-cdf363a28d10
2025-11-17 02:05:49,101 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/04640e67-14a3-4ef5-91ed-a1862d8c0b05
2025-11-17 02:05:50,346 - 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=3.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.526 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.526/2.017/3.509/1.491 ms')
2025-11-17 02:05:50,346 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-64175025 passed
2025-11-17 02:05:50,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 02:05:50,503 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-64175025, IP 32.0.109.69, Port 22
2025-11-17 02:05:50,669 - DEBUG - VM ctest-vn1-vm2-64175025 is ready for SSH connections
2025-11-17 02:05:50,669 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 02:05:50,669 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 02:05:50,669 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 02:05:50,669 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.159.217.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-11-17 02:05:50,669 - DEBUG - ping -s 56 -c 3 -W 1 33.159.217.5
2025-11-17 02:05:54,431 - DEBUG - PING 33.159.217.5 (33.159.217.5): 56 data bytes
64 bytes from 33.159.217.5: seq=0 ttl=63 time=4.437 ms
64 bytes from 33.159.217.5: seq=1 ttl=63 time=0.843 ms
64 bytes from 33.159.217.5: seq=2 ttl=63 time=0.974 ms
--- 33.159.217.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.843/2.084/4.437 ms
2025-11-17 02:05:54,431 - INFO - Ping to IP 33.159.217.5 from VM ctest-vn1-vm2-64175025 passed
2025-11-17 02:05:54,431 - INFO - Detaching port 04640e67-14a3-4ef5-91ed-a1862d8c0b05 from VM ctest-vn1-vm2-64175025
2025-11-17 02:05:54,484 - INFO - Deleting VM ctest-vn1-vm2-64175025
2025-11-17 02:05:54,568 - INFO - Detaching port 3c380a95-58bd-4195-a048-6217cde0aca4 from VM ctest-vn1-vm1-48638502
2025-11-17 02:05:54,612 - INFO - Deleting VM ctest-vn1-vm1-48638502
2025-11-17 02:05:54,908 - DEBUG - Response for delete_port : ()
2025-11-17 02:05:55,079 - DEBUG - Response for delete_port : ()
2025-11-17 02:05:55,079 - INFO - Deleting VN ctest-vn1-11201956
2025-11-17 02:05:55,219 - DEBUG - Response for deleting network ()
2025-11-17 02:05:55,481 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 02:05:55,481 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-11-17 02:05:55,481 - INFO - --------------------------------------------------------------------------------
2025-11-17 02:05:56,177 - INFO - Deleted project: ctest-TestPorts-44610719, ID : d92ce319-61b0-4cd2-8752-dba0a20416e5