2025-12-22 16:57:47,853 - INFO - Domain Default found not creating
2025-12-22 16:57:48,031 - INFO - Project ctest-TestPorts-41617266 not found, creating it
2025-12-22 16:57:48,508 - INFO - Created Project:ctest-TestPorts-41617266, ID : 6e68e75b-ecca-41d6-bc55-0958b5c74171
2025-12-22 16:57:50,155 - INFO - ================================================================================
2025-12-22 16:57:50,155 - INFO - STARTING TEST : test_ports_bindings
2025-12-22 16:57:50,155 - 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-22 16:57:50,412 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-12-22 16:57:50,412 - INFO - Initial checks done. Running the testcase now
2025-12-22 16:57:50,412 - INFO -
2025-12-22 16:57:51,022 - DEBUG - Response for create_network : {'network': {'id': '4008c976-a493-44dd-bae2-2691caebc696', 'name': 'ctest-vn-78445356', 'tenant_id': '6e68e75becca41d6bc550958b5c74171', 'project_id': '6e68e75becca41d6bc550958b5c74171', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41617266', 'ctest-vn-78445356'], 'port_security_enabled': True, 'description': ''}}
2025-12-22 16:57:51,229 - DEBUG - Response for create_subnet : {'subnet': {'id': '60d2640b-ba74-4c58-972b-7430219e8341', 'name': '', 'tenant_id': '6e68e75becca41d6bc550958b5c74171', 'network_id': '4008c976-a493-44dd-bae2-2691caebc696', 'ip_version': 4, 'cidr': '120.171.214.64/26', 'allocation_pools': [{'start': '120.171.214.66', 'end': '120.171.214.126'}], 'gateway_ip': '120.171.214.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.171.214.66', 'tags': [], 'project_id': '6e68e75becca41d6bc550958b5c74171'}}
2025-12-22 16:57:51,247 - INFO - Created VN ctest-vn-78445356
2025-12-22 16:57:51,299 - DEBUG - VN ctest-vn-78445356 UUID is 4008c976-a493-44dd-bae2-2691caebc696
2025-12-22 16:57:51,404 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-41617266', 'ctest-vmi-06477582']}
2025-12-22 16:57:51,690 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-06477582', 'id': 'ece340a3-46d7-4a62-8df2-b89228ed76a6', 'tenant_id': '6e68e75becca41d6bc550958b5c74171', 'network_id': '4008c976-a493-44dd-bae2-2691caebc696', 'mac_address': '02:ec:e3:40:a3:46', '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': '120.171.214.67', 'subnet_id': '60d2640b-ba74-4c58-972b-7430219e8341'}], 'security_groups': ['4c13c5ed-1b52-4f5b-b1d8-bf75f5831d56'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6e68e75becca41d6bc550958b5c74171'}}
2025-12-22 16:57:51,690 - DEBUG - Created port ece340a3-46d7-4a62-8df2-b89228ed76a6
2025-12-22 16:57:51,795 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ece340a3-46d7-4a62-8df2-b89228ed76a6
2025-12-22 16:57:52,128 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ece340a3-46d7-4a62-8df2-b89228ed76a6
2025-12-22 16:57:52,165 - INFO - VMI ece340a3-46d7-4a62-8df2-b89228ed76a6 verification in API Server passed
2025-12-22 16:57:52,265 - DEBUG - Response for delete_port : ()
2025-12-22 16:57:52,265 - INFO - Deleted port ece340a3-46d7-4a62-8df2-b89228ed76a6
2025-12-22 16:57:52,265 - INFO - Deleting VN ctest-vn-78445356
2025-12-22 16:57:52,362 - DEBUG - Response for deleting network ()
2025-12-22 16:57:52,617 - DEBUG - No XMPP flaps were noticed during the test
2025-12-22 16:57:52,617 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-22 16:57:52,617 - INFO - --------------------------------------------------------------------------------
2025-12-22 16:57:52,620 - INFO - ================================================================================
2025-12-22 16:57:52,620 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-22 16:57:52,620 - 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-22 16:57:52,916 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-12-22 16:57:52,916 - INFO - Initial checks done. Running the testcase now
2025-12-22 16:57:52,916 - INFO -
2025-12-22 16:57:53,099 - DEBUG - Response for create_network : {'network': {'id': 'be950d62-c869-47fb-a324-6a18c7c76c19', 'name': 'ctest-vn1-21006182', 'tenant_id': '6e68e75becca41d6bc550958b5c74171', 'project_id': '6e68e75becca41d6bc550958b5c74171', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41617266', 'ctest-vn1-21006182'], 'port_security_enabled': True, 'description': ''}}
2025-12-22 16:57:53,324 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f79c679-edaf-4668-ab5a-527e49c4cdfd', 'name': '', 'tenant_id': '6e68e75becca41d6bc550958b5c74171', 'network_id': 'be950d62-c869-47fb-a324-6a18c7c76c19', 'ip_version': 4, 'cidr': '91.251.136.64/26', 'allocation_pools': [{'start': '91.251.136.66', 'end': '91.251.136.126'}], 'gateway_ip': '91.251.136.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.251.136.66', 'tags': [], 'project_id': '6e68e75becca41d6bc550958b5c74171'}}
2025-12-22 16:57:53,460 - DEBUG - Response for create_subnet : {'subnet': {'id': '186419a9-6698-46c5-b2ca-641b9e8148ab', 'name': '', 'tenant_id': '6e68e75becca41d6bc550958b5c74171', 'network_id': 'be950d62-c869-47fb-a324-6a18c7c76c19', 'ip_version': 4, 'cidr': '76.142.173.0/26', 'allocation_pools': [{'start': '76.142.173.2', 'end': '76.142.173.62'}], 'gateway_ip': '76.142.173.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.142.173.2', 'tags': [], 'project_id': '6e68e75becca41d6bc550958b5c74171'}}
2025-12-22 16:57:53,478 - INFO - Created VN ctest-vn1-21006182
2025-12-22 16:57:53,531 - DEBUG - VN ctest-vn1-21006182 UUID is be950d62-c869-47fb-a324-6a18c7c76c19
2025-12-22 16:57:53,842 - DEBUG - Response for create_port : {'port': {'name': '494d8e34-cbdb-4978-866f-321a18df65e9', 'id': '494d8e34-cbdb-4978-866f-321a18df65e9', 'tenant_id': '6e68e75becca41d6bc550958b5c74171', 'network_id': 'be950d62-c869-47fb-a324-6a18c7c76c19', 'mac_address': '02:49:4d:8e:34:cb', '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': '91.251.136.69', 'subnet_id': '1f79c679-edaf-4668-ab5a-527e49c4cdfd'}], 'security_groups': ['4c13c5ed-1b52-4f5b-b1d8-bf75f5831d56'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6e68e75becca41d6bc550958b5c74171'}}
2025-12-22 16:57:54,024 - DEBUG - Response for create_port : {'port': {'name': '9a532d21-1514-4ccc-935f-c606165b394f', 'id': '9a532d21-1514-4ccc-935f-c606165b394f', 'tenant_id': '6e68e75becca41d6bc550958b5c74171', 'network_id': 'be950d62-c869-47fb-a324-6a18c7c76c19', 'mac_address': '02:9a:53:2d:21:15', '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': '76.142.173.5', 'subnet_id': '186419a9-6698-46c5-b2ca-641b9e8148ab'}], 'security_groups': ['4c13c5ed-1b52-4f5b-b1d8-bf75f5831d56'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6e68e75becca41d6bc550958b5c74171'}}
2025-12-22 16:57:54,084 - DEBUG - Services list from nova: [, , ]
2025-12-22 16:57:54,472 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4921-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4921-1)
2025-12-22 16:57:54,867 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4921-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4921-1)
2025-12-22 16:57:54,867 - INFO - Waiting for VM ctest-vn1-vm1-76291746 to be up..
2025-12-22 16:57:54,908 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-22 16:57:59,996 - DEBUG - VM is in ACTIVE state now
2025-12-22 16:57:59,996 - INFO - VM name : ctest-vn1-vm1-76291746
2025-12-22 16:58:00,081 - DEBUG - VM ctest-vn1-vm1-76291746 ID is 8f09f30b-c114-41d5-b788-6c6e9cbb6acf
2025-12-22 16:58:00,101 - DEBUG - VM ctest-vn1-vm1-76291746 launched on Node cn-jenkins-deploy-platform-ansible-os-4921-1
2025-12-22 16:58:00,180 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/8f09f30b-c114-41d5-b788-6c6e9cbb6acf
2025-12-22 16:58:00,188 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/494d8e34-cbdb-4978-866f-321a18df65e9
2025-12-22 16:58:03,432 - 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 1010ms')
2025-12-22 16:58:03,432 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76291746 failed!
2025-12-22 16:58:03,487 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41617266:ctest-vn1-21006182 is 91.251.136.65 and allocation pool is NOT set
2025-12-22 16:58:03,487 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41617266:ctest-vn1-21006182 is 76.142.173.1 and allocation pool is NOT set
2025-12-22 16:58:07,565 - 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=3.61 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 3.611/3.611/3.611/0.000 ms')
2025-12-22 16:58:07,565 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76291746 passed
2025-12-22 16:58:07,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 16:58:07,715 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76291746, IP 91.251.136.69, Port 22
2025-12-22 16:58:07,780 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-12-22 16:58:07,862 - DEBUG - VM ctest-vn1-vm1-76291746 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-22 16:58:12,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 16:58:12,864 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76291746, IP 91.251.136.69, Port 22
2025-12-22 16:58:13,019 - DEBUG - VM ctest-vn1-vm1-76291746 is ready for SSH connections
2025-12-22 16:58:13,019 - INFO - Waiting for VM ctest-vn1-vm2-23367346 to be up..
2025-12-22 16:58:13,094 - DEBUG - VM is in ACTIVE state now
2025-12-22 16:58:13,094 - INFO - VM name : ctest-vn1-vm2-23367346
2025-12-22 16:58:13,172 - DEBUG - VM ctest-vn1-vm2-23367346 ID is aaf6fbb3-9e42-4011-8095-84e6e09c6b5b
2025-12-22 16:58:13,172 - DEBUG - VM ctest-vn1-vm2-23367346 launched on Node cn-jenkins-deploy-platform-ansible-os-4921-1
2025-12-22 16:58:13,246 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/aaf6fbb3-9e42-4011-8095-84e6e09c6b5b
2025-12-22 16:58:13,254 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9a532d21-1514-4ccc-935f-c606165b394f
2025-12-22 16:58:14,493 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.408 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.408/2.003/3.599/1.595 ms')
2025-12-22 16:58:14,493 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-23367346 passed
2025-12-22 16:58:14,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 16:58:14,647 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-23367346, IP 76.142.173.5, Port 22
2025-12-22 16:58:14,806 - DEBUG - VM ctest-vn1-vm2-23367346 is ready for SSH connections
2025-12-22 16:58:14,806 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 16:58:14,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 16:58:14,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 16:58:14,807 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.251.136.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-12-22 16:58:14,807 - DEBUG - ping -s 56 -c 3 -W 1 91.251.136.69
2025-12-22 16:58:17,493 - DEBUG - PING 91.251.136.69 (91.251.136.69): 56 data bytes
64 bytes from 91.251.136.69: seq=0 ttl=63 time=3.914 ms
64 bytes from 91.251.136.69: seq=1 ttl=63 time=1.237 ms
64 bytes from 91.251.136.69: seq=2 ttl=63 time=1.055 ms
--- 91.251.136.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.055/2.068/3.914 ms
2025-12-22 16:58:17,493 - INFO - Ping to IP 91.251.136.69 from VM ctest-vn1-vm2-23367346 passed
2025-12-22 16:58:17,493 - INFO - Detaching port 9a532d21-1514-4ccc-935f-c606165b394f from VM ctest-vn1-vm2-23367346
2025-12-22 16:58:17,547 - INFO - Deleting VM ctest-vn1-vm2-23367346
2025-12-22 16:58:17,623 - INFO - Detaching port 494d8e34-cbdb-4978-866f-321a18df65e9 from VM ctest-vn1-vm1-76291746
2025-12-22 16:58:17,660 - INFO - Deleting VM ctest-vn1-vm1-76291746
2025-12-22 16:58:17,931 - DEBUG - Response for delete_port : ()
2025-12-22 16:58:18,124 - DEBUG - Response for delete_port : ()
2025-12-22 16:58:18,124 - INFO - Deleting VN ctest-vn1-21006182
2025-12-22 16:58:18,314 - DEBUG - Response for deleting network ()
2025-12-22 16:58:18,583 - DEBUG - No XMPP flaps were noticed during the test
2025-12-22 16:58:18,583 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-12-22 16:58:18,584 - INFO - --------------------------------------------------------------------------------
2025-12-22 16:58:19,358 - INFO - Deleted project: ctest-TestPorts-41617266, ID : 6e68e75b-ecca-41d6-bc55-0958b5c74171