2025-12-01 02:10:00,134 - INFO - Domain Default found not creating
2025-12-01 02:10:00,314 - INFO - Project ctest-TestPorts-45339138 not found, creating it
2025-12-01 02:10:00,758 - INFO - Created Project:ctest-TestPorts-45339138, ID : 25c072cb-9de4-43fe-9d14-0e210a3b0a0f
2025-12-01 02:10:02,269 - INFO - ================================================================================
2025-12-01 02:10:02,270 - INFO - STARTING TEST : test_ports_bindings
2025-12-01 02:10:02,270 - 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-12-01 02:10:02,525 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.18': '0'}} with
2025-12-01 02:10:02,525 - INFO - Initial checks done. Running the testcase now
2025-12-01 02:10:02,525 - INFO -
2025-12-01 02:10:03,193 - DEBUG - Response for create_network : {'network': {'id': '4fd04e64-e30d-43d4-ae69-443983b00c8d', 'name': 'ctest-vn-88772510', 'tenant_id': '25c072cb9de443fe9d140e210a3b0a0f', 'project_id': '25c072cb9de443fe9d140e210a3b0a0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45339138', 'ctest-vn-88772510'], 'port_security_enabled': True, 'description': ''}}
2025-12-01 02:10:03,363 - DEBUG - Response for create_subnet : {'subnet': {'id': '59351232-5533-4526-986c-fada4944dde4', 'name': '', 'tenant_id': '25c072cb9de443fe9d140e210a3b0a0f', 'network_id': '4fd04e64-e30d-43d4-ae69-443983b00c8d', 'ip_version': 4, 'cidr': '131.162.171.64/26', 'allocation_pools': [{'start': '131.162.171.66', 'end': '131.162.171.126'}], 'gateway_ip': '131.162.171.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.162.171.66', 'tags': [], 'project_id': '25c072cb9de443fe9d140e210a3b0a0f'}}
2025-12-01 02:10:03,383 - INFO - Created VN ctest-vn-88772510
2025-12-01 02:10:03,435 - DEBUG - VN ctest-vn-88772510 UUID is 4fd04e64-e30d-43d4-ae69-443983b00c8d
2025-12-01 02:10:03,544 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-45339138', 'ctest-vmi-90053489']}
2025-12-01 02:10:03,788 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-90053489', 'id': '4fe28290-e67e-47a9-a7ad-4ee99295e25f', 'tenant_id': '25c072cb9de443fe9d140e210a3b0a0f', 'network_id': '4fd04e64-e30d-43d4-ae69-443983b00c8d', 'mac_address': '02:4f:e2:82:90:e6', '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': '131.162.171.67', 'subnet_id': '59351232-5533-4526-986c-fada4944dde4'}], 'security_groups': ['9f79829c-1645-41d7-b12d-9531354df6e7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '25c072cb9de443fe9d140e210a3b0a0f'}}
2025-12-01 02:10:03,788 - DEBUG - Created port 4fe28290-e67e-47a9-a7ad-4ee99295e25f
2025-12-01 02:10:03,895 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/4fe28290-e67e-47a9-a7ad-4ee99295e25f
2025-12-01 02:10:04,205 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/4fe28290-e67e-47a9-a7ad-4ee99295e25f
2025-12-01 02:10:04,241 - INFO - VMI 4fe28290-e67e-47a9-a7ad-4ee99295e25f verification in API Server passed
2025-12-01 02:10:04,334 - DEBUG - Response for delete_port : ()
2025-12-01 02:10:04,335 - INFO - Deleted port 4fe28290-e67e-47a9-a7ad-4ee99295e25f
2025-12-01 02:10:04,335 - INFO - Deleting VN ctest-vn-88772510
2025-12-01 02:10:04,433 - DEBUG - Response for deleting network ()
2025-12-01 02:10:04,689 - DEBUG - No XMPP flaps were noticed during the test
2025-12-01 02:10:04,689 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-01 02:10:04,689 - INFO - --------------------------------------------------------------------------------
2025-12-01 02:10:04,691 - INFO - ================================================================================
2025-12-01 02:10:04,691 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-01 02:10:04,691 - 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-12-01 02:10:04,983 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.18': '0'}} with
2025-12-01 02:10:04,983 - INFO - Initial checks done. Running the testcase now
2025-12-01 02:10:04,983 - INFO -
2025-12-01 02:10:05,168 - DEBUG - Response for create_network : {'network': {'id': '61c60d61-34fb-49ad-a0a5-008729ca5fa8', 'name': 'ctest-vn1-02920096', 'tenant_id': '25c072cb9de443fe9d140e210a3b0a0f', 'project_id': '25c072cb9de443fe9d140e210a3b0a0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45339138', 'ctest-vn1-02920096'], 'port_security_enabled': True, 'description': ''}}
2025-12-01 02:10:05,342 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a0b6501-3f09-4d24-835d-21372a48efca', 'name': '', 'tenant_id': '25c072cb9de443fe9d140e210a3b0a0f', 'network_id': '61c60d61-34fb-49ad-a0a5-008729ca5fa8', 'ip_version': 4, 'cidr': '104.145.22.64/26', 'allocation_pools': [{'start': '104.145.22.66', 'end': '104.145.22.126'}], 'gateway_ip': '104.145.22.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.145.22.66', 'tags': [], 'project_id': '25c072cb9de443fe9d140e210a3b0a0f'}}
2025-12-01 02:10:05,539 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d8e3057-8b5b-4a5a-8209-a7fbbfbbe759', 'name': '', 'tenant_id': '25c072cb9de443fe9d140e210a3b0a0f', 'network_id': '61c60d61-34fb-49ad-a0a5-008729ca5fa8', 'ip_version': 4, 'cidr': '218.173.131.192/26', 'allocation_pools': [{'start': '218.173.131.194', 'end': '218.173.131.254'}], 'gateway_ip': '218.173.131.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.173.131.194', 'tags': [], 'project_id': '25c072cb9de443fe9d140e210a3b0a0f'}}
2025-12-01 02:10:05,557 - INFO - Created VN ctest-vn1-02920096
2025-12-01 02:10:05,607 - DEBUG - VN ctest-vn1-02920096 UUID is 61c60d61-34fb-49ad-a0a5-008729ca5fa8
2025-12-01 02:10:05,894 - DEBUG - Response for create_port : {'port': {'name': '74582602-db6f-443b-9f7d-0c4a7e1b70a4', 'id': '74582602-db6f-443b-9f7d-0c4a7e1b70a4', 'tenant_id': '25c072cb9de443fe9d140e210a3b0a0f', 'network_id': '61c60d61-34fb-49ad-a0a5-008729ca5fa8', 'mac_address': '02:74:58:26:02:db', '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': '104.145.22.69', 'subnet_id': '1a0b6501-3f09-4d24-835d-21372a48efca'}], 'security_groups': ['9f79829c-1645-41d7-b12d-9531354df6e7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '25c072cb9de443fe9d140e210a3b0a0f'}}
2025-12-01 02:10:06,083 - DEBUG - Response for create_port : {'port': {'name': '67ee100e-d512-4d00-8f8c-6a3eb27993a1', 'id': '67ee100e-d512-4d00-8f8c-6a3eb27993a1', 'tenant_id': '25c072cb9de443fe9d140e210a3b0a0f', 'network_id': '61c60d61-34fb-49ad-a0a5-008729ca5fa8', 'mac_address': '02:67:ee:10:0e:d5', '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': '218.173.131.197', 'subnet_id': '4d8e3057-8b5b-4a5a-8209-a7fbbfbbe759'}], 'security_groups': ['9f79829c-1645-41d7-b12d-9531354df6e7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '25c072cb9de443fe9d140e210a3b0a0f'}}
2025-12-01 02:10:06,140 - DEBUG - Services list from nova: [, , ]
2025-12-01 02:10:06,484 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4828-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4828-1)
2025-12-01 02:10:06,921 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4828-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4828-1)
2025-12-01 02:10:06,921 - INFO - Waiting for VM ctest-vn1-vm1-62242689 to be up..
2025-12-01 02:10:06,957 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-01 02:10:12,028 - DEBUG - VM is in ACTIVE state now
2025-12-01 02:10:12,028 - INFO - VM name : ctest-vn1-vm1-62242689
2025-12-01 02:10:12,099 - DEBUG - VM ctest-vn1-vm1-62242689 ID is 1741f715-9bb6-4c41-a76c-221bb5e331fe
2025-12-01 02:10:12,121 - DEBUG - VM ctest-vn1-vm1-62242689 launched on Node cn-jenkins-deploy-platform-ansible-os-4828-1
2025-12-01 02:10:12,197 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/1741f715-9bb6-4c41-a76c-221bb5e331fe
2025-12-01 02:10:12,205 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/74582602-db6f-443b-9f7d-0c4a7e1b70a4
2025-12-01 02:10:15,459 - 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-12-01 02:10:15,459 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62242689 failed!
2025-12-01 02:10:15,511 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45339138:ctest-vn1-02920096 is 104.145.22.65 and allocation pool is NOT set
2025-12-01 02:10:15,511 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45339138:ctest-vn1-02920096 is 218.173.131.193 and allocation pool is NOT set
2025-12-01 02:10:17,575 - 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=7.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.51 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 = 2.513/5.230/7.947/2.717 ms')
2025-12-01 02:10:17,575 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62242689 passed
2025-12-01 02:10:17,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-01 02:10:17,723 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-62242689, IP 104.145.22.69, Port 22
2025-12-01 02:10:17,892 - DEBUG - VM ctest-vn1-vm1-62242689 is ready for SSH connections
2025-12-01 02:10:17,892 - INFO - Waiting for VM ctest-vn1-vm2-85773294 to be up..
2025-12-01 02:10:17,968 - DEBUG - VM is in ACTIVE state now
2025-12-01 02:10:17,968 - INFO - VM name : ctest-vn1-vm2-85773294
2025-12-01 02:10:18,056 - DEBUG - VM ctest-vn1-vm2-85773294 ID is f1ee930c-f75d-4841-9a5f-270077eb86cc
2025-12-01 02:10:18,056 - DEBUG - VM ctest-vn1-vm2-85773294 launched on Node cn-jenkins-deploy-platform-ansible-os-4828-1
2025-12-01 02:10:18,135 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/f1ee930c-f75d-4841-9a5f-270077eb86cc
2025-12-01 02:10:18,144 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/67ee100e-d512-4d00-8f8c-6a3eb27993a1
2025-12-01 02:10:19,384 - 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=2.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.451 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.451/1.537/2.624/1.086 ms')
2025-12-01 02:10:19,384 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-85773294 passed
2025-12-01 02:10:19,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-01 02:10:19,531 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-85773294, IP 218.173.131.197, Port 22
2025-12-01 02:10:19,684 - DEBUG - VM ctest-vn1-vm2-85773294 is ready for SSH connections
2025-12-01 02:10:19,685 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-01 02:10:19,685 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-01 02:10:19,685 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-01 02:10:19,685 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.145.22.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2025-12-01 02:10:19,685 - DEBUG - ping -s 56 -c 3 -W 1 104.145.22.69
2025-12-01 02:10:22,634 - DEBUG - PING 104.145.22.69 (104.145.22.69): 56 data bytes
64 bytes from 104.145.22.69: seq=0 ttl=63 time=3.624 ms
64 bytes from 104.145.22.69: seq=1 ttl=63 time=0.840 ms
64 bytes from 104.145.22.69: seq=2 ttl=63 time=0.853 ms
--- 104.145.22.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.840/1.772/3.624 ms
2025-12-01 02:10:22,634 - INFO - Ping to IP 104.145.22.69 from VM ctest-vn1-vm2-85773294 passed
2025-12-01 02:10:22,634 - INFO - Detaching port 67ee100e-d512-4d00-8f8c-6a3eb27993a1 from VM ctest-vn1-vm2-85773294
2025-12-01 02:10:22,684 - INFO - Deleting VM ctest-vn1-vm2-85773294
2025-12-01 02:10:22,754 - INFO - Detaching port 74582602-db6f-443b-9f7d-0c4a7e1b70a4 from VM ctest-vn1-vm1-62242689
2025-12-01 02:10:22,788 - INFO - Deleting VM ctest-vn1-vm1-62242689
2025-12-01 02:10:23,008 - DEBUG - Response for delete_port : ()
2025-12-01 02:10:23,166 - DEBUG - Response for delete_port : ()
2025-12-01 02:10:23,166 - INFO - Deleting VN ctest-vn1-02920096
2025-12-01 02:10:23,294 - DEBUG - Response for deleting network ()
2025-12-01 02:10:23,547 - DEBUG - No XMPP flaps were noticed during the test
2025-12-01 02:10:23,548 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-12-01 02:10:23,548 - INFO - --------------------------------------------------------------------------------
2025-12-01 02:10:24,197 - INFO - Deleted project: ctest-TestPorts-45339138, ID : 25c072cb-9de4-43fe-9d14-0e210a3b0a0f