2025-07-23 06:22:43,773 - INFO - Domain Default found not creating
2025-07-23 06:22:43,956 - INFO - Project ctest-TestPorts-81982701 not found, creating it
2025-07-23 06:22:44,434 - INFO - Created Project:ctest-TestPorts-81982701, ID : 4b9334b7-15d8-491d-833d-e41a02f89053
2025-07-23 06:22:46,017 - INFO - ================================================================================
2025-07-23 06:22:46,018 - INFO - STARTING TEST : test_ports_bindings
2025-07-23 06:22:46,018 - 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-23 06:22:46,272 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with
2025-07-23 06:22:46,272 - INFO - Initial checks done. Running the testcase now
2025-07-23 06:22:46,272 - INFO -
2025-07-23 06:22:46,998 - DEBUG - Response for create_network : {'network': {'id': '650d56ef-3ec5-435f-9b3d-fa94754616e2', 'name': 'ctest-vn-67641849', 'tenant_id': '4b9334b715d8491d833de41a02f89053', 'project_id': '4b9334b715d8491d833de41a02f89053', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-81982701', 'ctest-vn-67641849'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 06:22:47,226 - DEBUG - Response for create_subnet : {'subnet': {'id': '3fa5a0af-231f-471c-8186-1489acbbc16a', 'name': '', 'tenant_id': '4b9334b715d8491d833de41a02f89053', 'network_id': '650d56ef-3ec5-435f-9b3d-fa94754616e2', 'ip_version': 4, 'cidr': '190.214.200.64/26', 'allocation_pools': [{'start': '190.214.200.66', 'end': '190.214.200.126'}], 'gateway_ip': '190.214.200.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.214.200.66', 'tags': [], 'project_id': '4b9334b715d8491d833de41a02f89053'}}
2025-07-23 06:22:47,247 - INFO - Created VN ctest-vn-67641849
2025-07-23 06:22:47,301 - DEBUG - VN ctest-vn-67641849 UUID is 650d56ef-3ec5-435f-9b3d-fa94754616e2
2025-07-23 06:22:47,407 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-81982701', 'ctest-vmi-19088248']}
2025-07-23 06:22:47,657 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-19088248', 'id': '9bf3a41f-c737-4748-b274-32682aeb2293', 'tenant_id': '4b9334b715d8491d833de41a02f89053', 'network_id': '650d56ef-3ec5-435f-9b3d-fa94754616e2', 'mac_address': '02:9b:f3:a4:1f:c7', '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': '190.214.200.67', 'subnet_id': '3fa5a0af-231f-471c-8186-1489acbbc16a'}], 'security_groups': ['582ad2c3-188f-4fcf-ab13-8ee0160f34b9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4b9334b715d8491d833de41a02f89053'}}
2025-07-23 06:22:47,657 - DEBUG - Created port 9bf3a41f-c737-4748-b274-32682aeb2293
2025-07-23 06:22:47,769 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/9bf3a41f-c737-4748-b274-32682aeb2293
2025-07-23 06:22:48,061 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/9bf3a41f-c737-4748-b274-32682aeb2293
2025-07-23 06:22:48,097 - INFO - VMI 9bf3a41f-c737-4748-b274-32682aeb2293 verification in API Server passed
2025-07-23 06:22:48,192 - DEBUG - Response for delete_port : ()
2025-07-23 06:22:48,192 - INFO - Deleted port 9bf3a41f-c737-4748-b274-32682aeb2293
2025-07-23 06:22:48,192 - INFO - Deleting VN ctest-vn-67641849
2025-07-23 06:22:48,333 - DEBUG - Response for deleting network ()
2025-07-23 06:22:48,588 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 06:22:48,588 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-07-23 06:22:48,588 - INFO - --------------------------------------------------------------------------------
2025-07-23 06:22:48,592 - INFO - ================================================================================
2025-07-23 06:22:48,592 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-07-23 06:22:48,592 - 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-23 06:22:48,884 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with
2025-07-23 06:22:48,885 - INFO - Initial checks done. Running the testcase now
2025-07-23 06:22:48,885 - INFO -
2025-07-23 06:22:49,070 - DEBUG - Response for create_network : {'network': {'id': 'a4670784-33f8-4173-9c5d-68e9fca2a467', 'name': 'ctest-vn1-15735449', 'tenant_id': '4b9334b715d8491d833de41a02f89053', 'project_id': '4b9334b715d8491d833de41a02f89053', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-81982701', 'ctest-vn1-15735449'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 06:22:49,284 - DEBUG - Response for create_subnet : {'subnet': {'id': '06a7a551-b7e0-4841-bb70-6481d3e64699', 'name': '', 'tenant_id': '4b9334b715d8491d833de41a02f89053', 'network_id': 'a4670784-33f8-4173-9c5d-68e9fca2a467', 'ip_version': 4, 'cidr': '155.215.187.192/26', 'allocation_pools': [{'start': '155.215.187.194', 'end': '155.215.187.254'}], 'gateway_ip': '155.215.187.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.215.187.194', 'tags': [], 'project_id': '4b9334b715d8491d833de41a02f89053'}}
2025-07-23 06:22:49,469 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f425860-ee49-4826-91f4-c6601ca8dcf8', 'name': '', 'tenant_id': '4b9334b715d8491d833de41a02f89053', 'network_id': 'a4670784-33f8-4173-9c5d-68e9fca2a467', 'ip_version': 4, 'cidr': '145.32.37.0/26', 'allocation_pools': [{'start': '145.32.37.2', 'end': '145.32.37.62'}], 'gateway_ip': '145.32.37.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.32.37.2', 'tags': [], 'project_id': '4b9334b715d8491d833de41a02f89053'}}
2025-07-23 06:22:49,491 - INFO - Created VN ctest-vn1-15735449
2025-07-23 06:22:49,545 - DEBUG - VN ctest-vn1-15735449 UUID is a4670784-33f8-4173-9c5d-68e9fca2a467
2025-07-23 06:22:49,865 - DEBUG - Response for create_port : {'port': {'name': 'a2a69c1f-a3e7-48cc-8d4a-fb8c5f207612', 'id': 'a2a69c1f-a3e7-48cc-8d4a-fb8c5f207612', 'tenant_id': '4b9334b715d8491d833de41a02f89053', 'network_id': 'a4670784-33f8-4173-9c5d-68e9fca2a467', 'mac_address': '02:a2:a6:9c:1f:a3', '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': '155.215.187.197', 'subnet_id': '06a7a551-b7e0-4841-bb70-6481d3e64699'}], 'security_groups': ['582ad2c3-188f-4fcf-ab13-8ee0160f34b9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4b9334b715d8491d833de41a02f89053'}}
2025-07-23 06:22:50,064 - DEBUG - Response for create_port : {'port': {'name': '2d6e0f7d-3eba-4cd3-ad66-46e6bc5778c2', 'id': '2d6e0f7d-3eba-4cd3-ad66-46e6bc5778c2', 'tenant_id': '4b9334b715d8491d833de41a02f89053', 'network_id': 'a4670784-33f8-4173-9c5d-68e9fca2a467', 'mac_address': '02:2d:6e:0f:7d:3e', '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': '145.32.37.5', 'subnet_id': '8f425860-ee49-4826-91f4-c6601ca8dcf8'}], 'security_groups': ['582ad2c3-188f-4fcf-ab13-8ee0160f34b9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4b9334b715d8491d833de41a02f89053'}}
2025-07-23 06:22:50,122 - DEBUG - Services list from nova: [, , ]
2025-07-23 06:22:50,463 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3698-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3698-1)
2025-07-23 06:22:50,864 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3698-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3698-1)
2025-07-23 06:22:50,864 - INFO - Waiting for VM ctest-vn1-vm1-75787484 to be up..
2025-07-23 06:22:50,905 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 06:22:55,990 - DEBUG - VM is in ACTIVE state now
2025-07-23 06:22:55,990 - INFO - VM name : ctest-vn1-vm1-75787484
2025-07-23 06:22:56,070 - DEBUG - VM ctest-vn1-vm1-75787484 ID is 96541ac7-aa24-4199-9e3a-fd43f536423b
2025-07-23 06:22:56,089 - DEBUG - VM ctest-vn1-vm1-75787484 launched on Node cn-jenkins-deploy-platform-ansible-os-3698-1
2025-07-23 06:22:56,161 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/96541ac7-aa24-4199-9e3a-fd43f536423b
2025-07-23 06:22:56,170 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/a2a69c1f-a3e7-48cc-8d4a-fb8c5f207612
2025-07-23 06:22:59,423 - 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-07-23 06:22:59,423 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75787484 failed!
2025-07-23 06:22:59,481 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-81982701:ctest-vn1-15735449 is 155.215.187.193 and allocation pool is NOT set
2025-07-23 06:22:59,481 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-81982701:ctest-vn1-15735449 is 145.32.37.1 and allocation pool is NOT set
2025-07-23 06:23:03,550 - 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=2 ttl=63 time=10.3 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 10.284/10.284/10.284/0.000 ms')
2025-07-23 06:23:03,550 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75787484 passed
2025-07-23 06:23:03,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 06:23:03,705 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-75787484, IP 155.215.187.197, Port 22
2025-07-23 06:23:03,860 - DEBUG - VM ctest-vn1-vm1-75787484 is ready for SSH connections
2025-07-23 06:23:03,860 - INFO - Waiting for VM ctest-vn1-vm2-87928186 to be up..
2025-07-23 06:23:03,940 - DEBUG - VM is in ACTIVE state now
2025-07-23 06:23:03,940 - INFO - VM name : ctest-vn1-vm2-87928186
2025-07-23 06:23:04,022 - DEBUG - VM ctest-vn1-vm2-87928186 ID is 70dec0e5-6411-43da-8e7e-3982924269ff
2025-07-23 06:23:04,022 - DEBUG - VM ctest-vn1-vm2-87928186 launched on Node cn-jenkins-deploy-platform-ansible-os-3698-1
2025-07-23 06:23:04,096 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/70dec0e5-6411-43da-8e7e-3982924269ff
2025-07-23 06:23:04,105 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/2d6e0f7d-3eba-4cd3-ad66-46e6bc5778c2
2025-07-23 06:23:05,352 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.88 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 = 1.876/3.363/4.850/1.487 ms')
2025-07-23 06:23:05,352 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-87928186 passed
2025-07-23 06:23:05,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 06:23:05,501 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-87928186, IP 145.32.37.5, Port 22
2025-07-23 06:23:05,656 - DEBUG - VM ctest-vn1-vm2-87928186 is ready for SSH connections
2025-07-23 06:23:05,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 06:23:05,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 06:23:05,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 06:23:05,657 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.215.187.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-07-23 06:23:05,657 - DEBUG - ping -s 56 -c 3 -W 1 155.215.187.197
2025-07-23 06:23:08,346 - DEBUG - PING 155.215.187.197 (155.215.187.197): 56 data bytes
64 bytes from 155.215.187.197: seq=0 ttl=63 time=4.492 ms
64 bytes from 155.215.187.197: seq=1 ttl=63 time=1.321 ms
64 bytes from 155.215.187.197: seq=2 ttl=63 time=0.751 ms
--- 155.215.187.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.751/2.188/4.492 ms
2025-07-23 06:23:08,346 - INFO - Ping to IP 155.215.187.197 from VM ctest-vn1-vm2-87928186 passed
2025-07-23 06:23:08,347 - INFO - Detaching port 2d6e0f7d-3eba-4cd3-ad66-46e6bc5778c2 from VM ctest-vn1-vm2-87928186
2025-07-23 06:23:08,398 - INFO - Deleting VM ctest-vn1-vm2-87928186
2025-07-23 06:23:08,461 - INFO - Detaching port a2a69c1f-a3e7-48cc-8d4a-fb8c5f207612 from VM ctest-vn1-vm1-75787484
2025-07-23 06:23:08,494 - INFO - Deleting VM ctest-vn1-vm1-75787484
2025-07-23 06:23:08,739 - DEBUG - Response for delete_port : ()
2025-07-23 06:23:08,943 - DEBUG - Response for delete_port : ()
2025-07-23 06:23:08,943 - INFO - Deleting VN ctest-vn1-15735449
2025-07-23 06:23:09,101 - DEBUG - Response for deleting network ()
2025-07-23 06:23:09,363 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 06:23:09,363 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-07-23 06:23:09,363 - INFO - --------------------------------------------------------------------------------
2025-07-23 06:23:10,040 - INFO - Deleted project: ctest-TestPorts-81982701, ID : 4b9334b7-15d8-491d-833d-e41a02f89053