2025-08-18 15:36:30,890 - INFO - Domain Default found not creating
2025-08-18 15:36:31,030 - INFO - Project ctest-TestPorts-38012616 not found, creating it
2025-08-18 15:36:31,484 - INFO - Created Project:ctest-TestPorts-38012616, ID : ead00256-0b0a-4521-8066-56637450d537
2025-08-18 15:36:33,031 - INFO - ================================================================================
2025-08-18 15:36:33,031 - INFO - STARTING TEST : test_ports_bindings
2025-08-18 15:36:33,031 - 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-18 15:36:33,288 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with
2025-08-18 15:36:33,288 - INFO - Initial checks done. Running the testcase now
2025-08-18 15:36:33,288 - INFO -
2025-08-18 15:36:33,864 - DEBUG - Response for create_network : {'network': {'id': '58c73e02-39a0-4f51-ba28-ad965f199518', 'name': 'ctest-vn-71480590', 'tenant_id': 'ead002560b0a4521806656637450d537', 'project_id': 'ead002560b0a4521806656637450d537', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38012616', 'ctest-vn-71480590'], 'port_security_enabled': True, 'description': ''}}
2025-08-18 15:36:34,067 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe59ec2b-a446-47d2-a290-8d0db06fcb2e', 'name': '', 'tenant_id': 'ead002560b0a4521806656637450d537', 'network_id': '58c73e02-39a0-4f51-ba28-ad965f199518', 'ip_version': 4, 'cidr': '19.165.69.64/26', 'allocation_pools': [{'start': '19.165.69.66', 'end': '19.165.69.126'}], 'gateway_ip': '19.165.69.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.165.69.66', 'tags': [], 'project_id': 'ead002560b0a4521806656637450d537'}}
2025-08-18 15:36:34,083 - INFO - Created VN ctest-vn-71480590
2025-08-18 15:36:34,134 - DEBUG - VN ctest-vn-71480590 UUID is 58c73e02-39a0-4f51-ba28-ad965f199518
2025-08-18 15:36:34,229 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-38012616', 'ctest-vmi-75018588']}
2025-08-18 15:36:34,523 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-75018588', 'id': '13cbcb9c-a815-4e05-bd7b-304eb68eaedb', 'tenant_id': 'ead002560b0a4521806656637450d537', 'network_id': '58c73e02-39a0-4f51-ba28-ad965f199518', 'mac_address': '02:13:cb:cb:9c:a8', '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': '19.165.69.67', 'subnet_id': 'fe59ec2b-a446-47d2-a290-8d0db06fcb2e'}], 'security_groups': ['a8f47dff-91ed-4b4e-9d52-1b234cafdfa4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ead002560b0a4521806656637450d537'}}
2025-08-18 15:36:34,523 - DEBUG - Created port 13cbcb9c-a815-4e05-bd7b-304eb68eaedb
2025-08-18 15:36:34,626 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/13cbcb9c-a815-4e05-bd7b-304eb68eaedb
2025-08-18 15:36:34,970 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/13cbcb9c-a815-4e05-bd7b-304eb68eaedb
2025-08-18 15:36:35,000 - INFO - VMI 13cbcb9c-a815-4e05-bd7b-304eb68eaedb verification in API Server passed
2025-08-18 15:36:35,091 - DEBUG - Response for delete_port : ()
2025-08-18 15:36:35,091 - INFO - Deleted port 13cbcb9c-a815-4e05-bd7b-304eb68eaedb
2025-08-18 15:36:35,091 - INFO - Deleting VN ctest-vn-71480590
2025-08-18 15:36:35,189 - DEBUG - Response for deleting network ()
2025-08-18 15:36:35,443 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 15:36:35,443 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-18 15:36:35,443 - INFO - --------------------------------------------------------------------------------
2025-08-18 15:36:35,445 - INFO - ================================================================================
2025-08-18 15:36:35,446 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-18 15:36:35,446 - 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-18 15:36:35,730 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with
2025-08-18 15:36:35,730 - INFO - Initial checks done. Running the testcase now
2025-08-18 15:36:35,730 - INFO -
2025-08-18 15:36:35,911 - DEBUG - Response for create_network : {'network': {'id': '6e4dd04b-5480-42b2-9606-435c3a04a472', 'name': 'ctest-vn1-64923410', 'tenant_id': 'ead002560b0a4521806656637450d537', 'project_id': 'ead002560b0a4521806656637450d537', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38012616', 'ctest-vn1-64923410'], 'port_security_enabled': True, 'description': ''}}
2025-08-18 15:36:36,066 - DEBUG - Response for create_subnet : {'subnet': {'id': '1796ab58-1c4c-44d3-9ba8-87a693624fd2', 'name': '', 'tenant_id': 'ead002560b0a4521806656637450d537', 'network_id': '6e4dd04b-5480-42b2-9606-435c3a04a472', 'ip_version': 4, 'cidr': '124.155.218.128/26', 'allocation_pools': [{'start': '124.155.218.130', 'end': '124.155.218.190'}], 'gateway_ip': '124.155.218.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.155.218.130', 'tags': [], 'project_id': 'ead002560b0a4521806656637450d537'}}
2025-08-18 15:36:36,244 - DEBUG - Response for create_subnet : {'subnet': {'id': 'df6f8da7-22f3-473b-839b-185aa7aeb63e', 'name': '', 'tenant_id': 'ead002560b0a4521806656637450d537', 'network_id': '6e4dd04b-5480-42b2-9606-435c3a04a472', 'ip_version': 4, 'cidr': '132.222.114.192/26', 'allocation_pools': [{'start': '132.222.114.194', 'end': '132.222.114.254'}], 'gateway_ip': '132.222.114.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.222.114.194', 'tags': [], 'project_id': 'ead002560b0a4521806656637450d537'}}
2025-08-18 15:36:36,262 - INFO - Created VN ctest-vn1-64923410
2025-08-18 15:36:36,314 - DEBUG - VN ctest-vn1-64923410 UUID is 6e4dd04b-5480-42b2-9606-435c3a04a472
2025-08-18 15:36:36,623 - DEBUG - Response for create_port : {'port': {'name': 'd3b8ef38-693f-4da9-af19-9f55958425f9', 'id': 'd3b8ef38-693f-4da9-af19-9f55958425f9', 'tenant_id': 'ead002560b0a4521806656637450d537', 'network_id': '6e4dd04b-5480-42b2-9606-435c3a04a472', 'mac_address': '02:d3:b8:ef:38:69', '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': '124.155.218.133', 'subnet_id': '1796ab58-1c4c-44d3-9ba8-87a693624fd2'}], 'security_groups': ['a8f47dff-91ed-4b4e-9d52-1b234cafdfa4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ead002560b0a4521806656637450d537'}}
2025-08-18 15:36:36,815 - DEBUG - Response for create_port : {'port': {'name': 'e8e0035c-7550-4f67-a226-cc237c14ade3', 'id': 'e8e0035c-7550-4f67-a226-cc237c14ade3', 'tenant_id': 'ead002560b0a4521806656637450d537', 'network_id': '6e4dd04b-5480-42b2-9606-435c3a04a472', 'mac_address': '02:e8:e0:03:5c:75', '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': '132.222.114.197', 'subnet_id': 'df6f8da7-22f3-473b-839b-185aa7aeb63e'}], 'security_groups': ['a8f47dff-91ed-4b4e-9d52-1b234cafdfa4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ead002560b0a4521806656637450d537'}}
2025-08-18 15:36:36,872 - DEBUG - Services list from nova: [, , ]
2025-08-18 15:36:37,210 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3878-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3878-1)
2025-08-18 15:36:37,668 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3878-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3878-1)
2025-08-18 15:36:37,669 - INFO - Waiting for VM ctest-vn1-vm1-01282720 to be up..
2025-08-18 15:36:37,710 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-18 15:36:42,789 - DEBUG - VM is in ACTIVE state now
2025-08-18 15:36:42,790 - INFO - VM name : ctest-vn1-vm1-01282720
2025-08-18 15:36:42,859 - DEBUG - VM ctest-vn1-vm1-01282720 ID is dda33887-31dd-4503-b7f9-251f60477a6d
2025-08-18 15:36:42,877 - DEBUG - VM ctest-vn1-vm1-01282720 launched on Node cn-jenkins-deploy-platform-ansible-os-3878-1.
2025-08-18 15:36:42,946 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/dda33887-31dd-4503-b7f9-251f60477a6d
2025-08-18 15:36:42,954 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d3b8ef38-693f-4da9-af19-9f55958425f9
2025-08-18 15:36:46,212 - 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-08-18 15:36:46,212 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01282720 failed!
2025-08-18 15:36:46,266 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38012616:ctest-vn1-64923410 is 124.155.218.129 and allocation pool is NOT set
2025-08-18 15:36:46,266 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38012616:ctest-vn1-64923410 is 132.222.114.193 and allocation pool is NOT set
2025-08-18 15:36:50,342 - 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=8.71 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 8.705/8.705/8.705/0.000 ms')
2025-08-18 15:36:50,342 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01282720 passed
2025-08-18 15:36:50,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 15:36:50,494 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01282720, IP 124.155.218.133, Port 22
2025-08-18 15:36:50,549 - 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-08-18 15:36:50,623 - DEBUG - VM ctest-vn1-vm1-01282720 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-18 15:36:55,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 15:36:55,624 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01282720, IP 124.155.218.133, Port 22
2025-08-18 15:36:55,815 - DEBUG - VM ctest-vn1-vm1-01282720 is ready for SSH connections
2025-08-18 15:36:55,815 - INFO - Waiting for VM ctest-vn1-vm2-08224541 to be up..
2025-08-18 15:36:55,884 - DEBUG - VM is in ACTIVE state now
2025-08-18 15:36:55,884 - INFO - VM name : ctest-vn1-vm2-08224541
2025-08-18 15:36:55,950 - DEBUG - VM ctest-vn1-vm2-08224541 ID is 3b1f9749-f5d3-45dc-9883-1d29a2f6d7c7
2025-08-18 15:36:55,950 - DEBUG - VM ctest-vn1-vm2-08224541 launched on Node cn-jenkins-deploy-platform-ansible-os-3878-1.
2025-08-18 15:36:56,018 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3b1f9749-f5d3-45dc-9883-1d29a2f6d7c7
2025-08-18 15:36:56,025 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e8e0035c-7550-4f67-a226-cc237c14ade3
2025-08-18 15:36:57,250 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.349 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.349/1.752/3.156/1.403 ms')
2025-08-18 15:36:57,250 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-08224541 passed
2025-08-18 15:36:57,402 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 15:36:57,402 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-08224541, IP 132.222.114.197, Port 22
2025-08-18 15:36:57,567 - DEBUG - VM ctest-vn1-vm2-08224541 is ready for SSH connections
2025-08-18 15:36:57,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 15:36:57,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 15:36:57,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 15:36:57,567 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.155.218.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-08-18 15:36:57,567 - DEBUG - ping -s 56 -c 3 -W 1 124.155.218.133
2025-08-18 15:37:00,231 - DEBUG - PING 124.155.218.133 (124.155.218.133): 56 data bytes
64 bytes from 124.155.218.133: seq=0 ttl=63 time=3.648 ms
64 bytes from 124.155.218.133: seq=1 ttl=63 time=0.888 ms
64 bytes from 124.155.218.133: seq=2 ttl=63 time=0.791 ms
--- 124.155.218.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.791/1.775/3.648 ms
2025-08-18 15:37:00,231 - INFO - Ping to IP 124.155.218.133 from VM ctest-vn1-vm2-08224541 passed
2025-08-18 15:37:00,231 - INFO - Detaching port e8e0035c-7550-4f67-a226-cc237c14ade3 from VM ctest-vn1-vm2-08224541
2025-08-18 15:37:00,279 - INFO - Deleting VM ctest-vn1-vm2-08224541
2025-08-18 15:37:00,360 - INFO - Detaching port d3b8ef38-693f-4da9-af19-9f55958425f9 from VM ctest-vn1-vm1-01282720
2025-08-18 15:37:00,392 - INFO - Deleting VM ctest-vn1-vm1-01282720
2025-08-18 15:37:00,613 - DEBUG - Response for delete_port : ()
2025-08-18 15:37:00,795 - DEBUG - Response for delete_port : ()
2025-08-18 15:37:00,795 - INFO - Deleting VN ctest-vn1-64923410
2025-08-18 15:37:00,940 - DEBUG - Response for deleting network ()
2025-08-18 15:37:01,202 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 15:37:01,202 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-08-18 15:37:01,202 - INFO - --------------------------------------------------------------------------------
2025-08-18 15:37:01,901 - INFO - Deleted project: ctest-TestPorts-38012616, ID : ead00256-0b0a-4521-8066-56637450d537