2025-08-15 09:45:16,955 - INFO - Domain Default found not creating
2025-08-15 09:45:17,079 - INFO - Project ctest-TestPorts-76131777 not found, creating it
2025-08-15 09:45:17,536 - INFO - Created Project:ctest-TestPorts-76131777, ID : ecef9822-a2eb-42e4-8da7-7f481d2a2adf
2025-08-15 09:45:18,908 - INFO - ================================================================================
2025-08-15 09:45:18,908 - INFO - STARTING TEST : test_ports_bindings
2025-08-15 09:45:18,909 - 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-15 09:45:20,170 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.14': '0', '10.20.0.254': '0'}, '10.0.0.242': {'10.20.0.254': '0', '10.20.0.25': '0'}} with
2025-08-15 09:45:20,170 - INFO - Initial checks done. Running the testcase now
2025-08-15 09:45:20,170 - INFO -
2025-08-15 09:45:20,843 - DEBUG - Response for create_network : {'network': {'id': 'ea81772f-9aca-4d47-934c-ae8931fb0849', 'name': 'ctest-vn-95556872', 'tenant_id': 'ecef9822a2eb42e48da77f481d2a2adf', 'project_id': 'ecef9822a2eb42e48da77f481d2a2adf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-76131777', 'ctest-vn-95556872'], 'port_security_enabled': True, 'description': ''}}
2025-08-15 09:45:21,144 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3b94f0a-603f-4564-a65d-5266f7556543', 'name': '', 'tenant_id': 'ecef9822a2eb42e48da77f481d2a2adf', 'network_id': 'ea81772f-9aca-4d47-934c-ae8931fb0849', 'ip_version': 4, 'cidr': '113.151.214.192/26', 'allocation_pools': [{'start': '113.151.214.194', 'end': '113.151.214.254'}], 'gateway_ip': '113.151.214.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.151.214.194', 'tags': [], 'project_id': 'ecef9822a2eb42e48da77f481d2a2adf'}}
2025-08-15 09:45:21,165 - INFO - Created VN ctest-vn-95556872
2025-08-15 09:45:21,176 - DEBUG - VN ctest-vn-95556872 UUID is ea81772f-9aca-4d47-934c-ae8931fb0849
2025-08-15 09:45:21,247 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-76131777', 'ctest-vmi-36273974']}
2025-08-15 09:45:21,576 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-36273974', 'id': '5ba126c2-d3f8-4570-bd2d-aecece87abbf', 'tenant_id': 'ecef9822a2eb42e48da77f481d2a2adf', 'network_id': 'ea81772f-9aca-4d47-934c-ae8931fb0849', 'mac_address': '02:5b:a1:26:c2:d3', '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': '113.151.214.195', 'subnet_id': 'e3b94f0a-603f-4564-a65d-5266f7556543'}], 'security_groups': ['d8964f9f-daa8-432d-a577-90d7a6160400'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ecef9822a2eb42e48da77f481d2a2adf'}}
2025-08-15 09:45:21,576 - DEBUG - Created port 5ba126c2-d3f8-4570-bd2d-aecece87abbf
2025-08-15 09:45:21,652 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5ba126c2-d3f8-4570-bd2d-aecece87abbf
2025-08-15 09:45:21,953 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5ba126c2-d3f8-4570-bd2d-aecece87abbf
2025-08-15 09:45:21,983 - INFO - VMI 5ba126c2-d3f8-4570-bd2d-aecece87abbf verification in API Server passed
2025-08-15 09:45:22,155 - DEBUG - Response for delete_port : ()
2025-08-15 09:45:22,155 - INFO - Deleted port 5ba126c2-d3f8-4570-bd2d-aecece87abbf
2025-08-15 09:45:22,155 - INFO - Deleting VN ctest-vn-95556872
2025-08-15 09:45:22,287 - DEBUG - Response for deleting network ()
2025-08-15 09:45:23,550 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 09:45:23,550 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2025-08-15 09:45:23,550 - INFO - --------------------------------------------------------------------------------
2025-08-15 09:45:23,552 - INFO - ================================================================================
2025-08-15 09:45:23,552 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-15 09:45:23,552 - 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-15 09:45:24,830 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.14': '0', '10.20.0.254': '0'}, '10.0.0.242': {'10.20.0.254': '0', '10.20.0.25': '0'}} with
2025-08-15 09:45:24,830 - INFO - Initial checks done. Running the testcase now
2025-08-15 09:45:24,830 - INFO -
2025-08-15 09:45:25,066 - DEBUG - Response for create_network : {'network': {'id': '5cd8e4e9-6f2c-4c41-8e06-f91179b2d604', 'name': 'ctest-vn1-31983887', 'tenant_id': 'ecef9822a2eb42e48da77f481d2a2adf', 'project_id': 'ecef9822a2eb42e48da77f481d2a2adf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-76131777', 'ctest-vn1-31983887'], 'port_security_enabled': True, 'description': ''}}
2025-08-15 09:45:25,303 - DEBUG - Response for create_subnet : {'subnet': {'id': '5191b804-7d46-4cce-aa36-30315f265346', 'name': '', 'tenant_id': 'ecef9822a2eb42e48da77f481d2a2adf', 'network_id': '5cd8e4e9-6f2c-4c41-8e06-f91179b2d604', 'ip_version': 4, 'cidr': '74.151.108.128/26', 'allocation_pools': [{'start': '74.151.108.130', 'end': '74.151.108.190'}], 'gateway_ip': '74.151.108.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.151.108.130', 'tags': [], 'project_id': 'ecef9822a2eb42e48da77f481d2a2adf'}}
2025-08-15 09:45:25,526 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d76aa7a-370b-4962-a515-2041dbdf1cd1', 'name': '', 'tenant_id': 'ecef9822a2eb42e48da77f481d2a2adf', 'network_id': '5cd8e4e9-6f2c-4c41-8e06-f91179b2d604', 'ip_version': 4, 'cidr': '135.105.14.0/26', 'allocation_pools': [{'start': '135.105.14.2', 'end': '135.105.14.62'}], 'gateway_ip': '135.105.14.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.105.14.2', 'tags': [], 'project_id': 'ecef9822a2eb42e48da77f481d2a2adf'}}
2025-08-15 09:45:25,548 - INFO - Created VN ctest-vn1-31983887
2025-08-15 09:45:25,562 - DEBUG - VN ctest-vn1-31983887 UUID is 5cd8e4e9-6f2c-4c41-8e06-f91179b2d604
2025-08-15 09:45:25,885 - DEBUG - Response for create_port : {'port': {'name': 'cfb696ff-7327-43d5-9672-87f6b0f5aca6', 'id': 'cfb696ff-7327-43d5-9672-87f6b0f5aca6', 'tenant_id': 'ecef9822a2eb42e48da77f481d2a2adf', 'network_id': '5cd8e4e9-6f2c-4c41-8e06-f91179b2d604', 'mac_address': '02:cf:b6:96:ff:73', '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': '74.151.108.133', 'subnet_id': '5191b804-7d46-4cce-aa36-30315f265346'}], 'security_groups': ['d8964f9f-daa8-432d-a577-90d7a6160400'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ecef9822a2eb42e48da77f481d2a2adf'}}
2025-08-15 09:45:26,164 - DEBUG - Response for create_port : {'port': {'name': '8ad31bd4-e620-45ce-a6bf-d34967ba2584', 'id': '8ad31bd4-e620-45ce-a6bf-d34967ba2584', 'tenant_id': 'ecef9822a2eb42e48da77f481d2a2adf', 'network_id': '5cd8e4e9-6f2c-4c41-8e06-f91179b2d604', 'mac_address': '02:8a:d3:1b:d4:e6', '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': '135.105.14.5', 'subnet_id': '7d76aa7a-370b-4962-a515-2041dbdf1cd1'}], 'security_groups': ['d8964f9f-daa8-432d-a577-90d7a6160400'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ecef9822a2eb42e48da77f481d2a2adf'}}
2025-08-15 09:45:26,224 - DEBUG - Services list from nova: [, , , ]
2025-08-15 09:45:26,675 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3861-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3861-2)
2025-08-15 09:45:27,163 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3861-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3861-1)
2025-08-15 09:45:27,163 - INFO - Waiting for VM ctest-vn1-vm1-33853751 to be up..
2025-08-15 09:45:27,226 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-15 09:45:32,300 - DEBUG - VM is in ACTIVE state now
2025-08-15 09:45:32,300 - INFO - VM name : ctest-vn1-vm1-33853751
2025-08-15 09:45:32,370 - DEBUG - VM ctest-vn1-vm1-33853751 ID is f49c38d6-8a96-472c-8daa-2f702e875aa2
2025-08-15 09:45:32,392 - DEBUG - VM ctest-vn1-vm1-33853751 launched on Node an-jenkins-deploy-platform-ansible-os-3861-2
2025-08-15 09:45:32,464 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/f49c38d6-8a96-472c-8daa-2f702e875aa2
2025-08-15 09:45:32,754 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/f49c38d6-8a96-472c-8daa-2f702e875aa2
2025-08-15 09:45:32,784 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/cfb696ff-7327-43d5-9672-87f6b0f5aca6
2025-08-15 09:45:35,951 - 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 1019ms')
2025-08-15 09:45:35,951 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-33853751 failed!
2025-08-15 09:45:35,965 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76131777:ctest-vn1-31983887 is 74.151.108.129 and allocation pool is NOT set
2025-08-15 09:45:35,965 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76131777:ctest-vn1-31983887 is 135.105.14.1 and allocation pool is NOT set
2025-08-15 09:45:38,023 - 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=4.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.362 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.362/2.284/4.206/1.922 ms')
2025-08-15 09:45:38,023 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-33853751 passed
2025-08-15 09:45:38,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 09:45:38,091 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-33853751, IP 74.151.108.133, Port 22
2025-08-15 09:45:38,256 - DEBUG - VM ctest-vn1-vm1-33853751 is ready for SSH connections
2025-08-15 09:45:38,256 - INFO - Waiting for VM ctest-vn1-vm2-12077572 to be up..
2025-08-15 09:45:38,324 - DEBUG - VM is in ACTIVE state now
2025-08-15 09:45:38,324 - INFO - VM name : ctest-vn1-vm2-12077572
2025-08-15 09:45:38,393 - DEBUG - VM ctest-vn1-vm2-12077572 ID is 06325ba7-cda4-4b13-9d79-9824fb604426
2025-08-15 09:45:38,393 - DEBUG - VM ctest-vn1-vm2-12077572 launched on Node an-jenkins-deploy-platform-ansible-os-3861-1
2025-08-15 09:45:38,466 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/06325ba7-cda4-4b13-9d79-9824fb604426
2025-08-15 09:45:38,474 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/8ad31bd4-e620-45ce-a6bf-d34967ba2584
2025-08-15 09:45:39,623 - 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=5.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.69 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.693/3.381/5.069/1.688 ms')
2025-08-15 09:45:39,623 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-12077572 passed
2025-08-15 09:45:39,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 09:45:39,691 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-12077572, IP 135.105.14.5, Port 22
2025-08-15 09:45:39,847 - DEBUG - VM ctest-vn1-vm2-12077572 is ready for SSH connections
2025-08-15 09:45:39,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 09:45:39,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 09:45:39,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 09:45:39,847 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.151.108.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-08-15 09:45:39,847 - DEBUG - ping -s 56 -c 3 -W 1 74.151.108.133
2025-08-15 09:45:42,754 - DEBUG - PING 74.151.108.133 (74.151.108.133): 56 data bytes
64 bytes from 74.151.108.133: seq=0 ttl=63 time=3.958 ms
64 bytes from 74.151.108.133: seq=1 ttl=63 time=1.036 ms
64 bytes from 74.151.108.133: seq=2 ttl=63 time=0.976 ms
--- 74.151.108.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.976/1.990/3.958 ms
2025-08-15 09:45:42,754 - INFO - Ping to IP 74.151.108.133 from VM ctest-vn1-vm2-12077572 passed
2025-08-15 09:45:42,754 - INFO - Detaching port 8ad31bd4-e620-45ce-a6bf-d34967ba2584 from VM ctest-vn1-vm2-12077572
2025-08-15 09:45:42,876 - INFO - Deleting VM ctest-vn1-vm2-12077572
2025-08-15 09:45:42,935 - INFO - Detaching port cfb696ff-7327-43d5-9672-87f6b0f5aca6 from VM ctest-vn1-vm1-33853751
2025-08-15 09:45:42,960 - INFO - Deleting VM ctest-vn1-vm1-33853751
2025-08-15 09:45:43,239 - DEBUG - Response for delete_port : ()
2025-08-15 09:45:43,453 - DEBUG - Response for delete_port : ()
2025-08-15 09:45:43,454 - INFO - Deleting VN ctest-vn1-31983887
2025-08-15 09:45:43,636 - DEBUG - Response for deleting network ()
2025-08-15 09:45:44,892 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 09:45:44,892 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-08-15 09:45:44,892 - INFO - --------------------------------------------------------------------------------
2025-08-15 09:45:45,583 - INFO - Deleted project: ctest-TestPorts-76131777, ID : ecef9822-a2eb-42e4-8da7-7f481d2a2adf