2025-10-30 02:28:27,963 - INFO - Domain Default found not creating
2025-10-30 02:28:28,102 - INFO - Project ctest-TestPorts-44771378 not found, creating it
2025-10-30 02:28:28,621 - INFO - Created Project:ctest-TestPorts-44771378, ID : f6d8d895-20b1-4ba1-b959-eb5a97d57802
2025-10-30 02:28:30,035 - INFO - ================================================================================
2025-10-30 02:28:30,036 - INFO - STARTING TEST : test_ports_bindings
2025-10-30 02:28:30,036 - 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-10-30 02:28:31,319 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.131': '0', '10.20.0.254': '0'}, '10.0.0.65': {'10.20.0.254': '0', '10.20.0.131': '0'}} with
2025-10-30 02:28:31,319 - INFO - Initial checks done. Running the testcase now
2025-10-30 02:28:31,319 - INFO -
2025-10-30 02:28:31,985 - DEBUG - Response for create_network : {'network': {'id': '159c5166-c2e3-41c4-9661-2f915859d4b8', 'name': 'ctest-vn-25938072', 'tenant_id': 'f6d8d89520b14ba1b959eb5a97d57802', 'project_id': 'f6d8d89520b14ba1b959eb5a97d57802', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-44771378', 'ctest-vn-25938072'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 02:28:32,253 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a396ba0-4133-4235-868d-104237594155', 'name': '', 'tenant_id': 'f6d8d89520b14ba1b959eb5a97d57802', 'network_id': '159c5166-c2e3-41c4-9661-2f915859d4b8', 'ip_version': 4, 'cidr': '186.144.72.64/26', 'allocation_pools': [{'start': '186.144.72.66', 'end': '186.144.72.126'}], 'gateway_ip': '186.144.72.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.144.72.66', 'tags': [], 'project_id': 'f6d8d89520b14ba1b959eb5a97d57802'}}
2025-10-30 02:28:32,274 - INFO - Created VN ctest-vn-25938072
2025-10-30 02:28:32,285 - DEBUG - VN ctest-vn-25938072 UUID is 159c5166-c2e3-41c4-9661-2f915859d4b8
2025-10-30 02:28:32,353 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-44771378', 'ctest-vmi-74316013']}
2025-10-30 02:28:32,657 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-74316013', 'id': '8d46ea55-b9bd-4881-9f2a-99910bf8adfb', 'tenant_id': 'f6d8d89520b14ba1b959eb5a97d57802', 'network_id': '159c5166-c2e3-41c4-9661-2f915859d4b8', 'mac_address': '02:8d:46:ea:55:b9', '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': '186.144.72.67', 'subnet_id': '7a396ba0-4133-4235-868d-104237594155'}], 'security_groups': ['f57c0b4a-65d7-4a26-b715-de0f7f5330dc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f6d8d89520b14ba1b959eb5a97d57802'}}
2025-10-30 02:28:32,657 - DEBUG - Created port 8d46ea55-b9bd-4881-9f2a-99910bf8adfb
2025-10-30 02:28:32,733 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/8d46ea55-b9bd-4881-9f2a-99910bf8adfb
2025-10-30 02:28:33,033 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/8d46ea55-b9bd-4881-9f2a-99910bf8adfb
2025-10-30 02:28:33,068 - INFO - VMI 8d46ea55-b9bd-4881-9f2a-99910bf8adfb verification in API Server passed
2025-10-30 02:28:33,218 - DEBUG - Response for delete_port : ()
2025-10-30 02:28:33,218 - INFO - Deleted port 8d46ea55-b9bd-4881-9f2a-99910bf8adfb
2025-10-30 02:28:33,218 - INFO - Deleting VN ctest-vn-25938072
2025-10-30 02:28:33,377 - DEBUG - Response for deleting network ()
2025-10-30 02:28:34,651 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 02:28:34,651 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04]
2025-10-30 02:28:34,652 - INFO - --------------------------------------------------------------------------------
2025-10-30 02:28:34,657 - INFO - ================================================================================
2025-10-30 02:28:34,657 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-30 02:28:34,657 - 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-10-30 02:28:35,934 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.131': '0', '10.20.0.254': '0'}, '10.0.0.65': {'10.20.0.254': '0', '10.20.0.131': '0'}} with
2025-10-30 02:28:35,934 - INFO - Initial checks done. Running the testcase now
2025-10-30 02:28:35,934 - INFO -
2025-10-30 02:28:36,231 - DEBUG - Response for create_network : {'network': {'id': 'e801b6e9-6584-4b2a-8b10-0d580ea10ff2', 'name': 'ctest-vn1-01470589', 'tenant_id': 'f6d8d89520b14ba1b959eb5a97d57802', 'project_id': 'f6d8d89520b14ba1b959eb5a97d57802', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-44771378', 'ctest-vn1-01470589'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 02:28:36,487 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe7909b2-0707-42a4-91cf-597e847f0534', 'name': '', 'tenant_id': 'f6d8d89520b14ba1b959eb5a97d57802', 'network_id': 'e801b6e9-6584-4b2a-8b10-0d580ea10ff2', 'ip_version': 4, 'cidr': '20.66.251.128/26', 'allocation_pools': [{'start': '20.66.251.130', 'end': '20.66.251.190'}], 'gateway_ip': '20.66.251.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.66.251.130', 'tags': [], 'project_id': 'f6d8d89520b14ba1b959eb5a97d57802'}}
2025-10-30 02:28:36,791 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e4dbdb6-bdd4-4c5c-a4a4-51f0c8786749', 'name': '', 'tenant_id': 'f6d8d89520b14ba1b959eb5a97d57802', 'network_id': 'e801b6e9-6584-4b2a-8b10-0d580ea10ff2', 'ip_version': 4, 'cidr': '95.245.165.0/26', 'allocation_pools': [{'start': '95.245.165.2', 'end': '95.245.165.62'}], 'gateway_ip': '95.245.165.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.245.165.2', 'tags': [], 'project_id': 'f6d8d89520b14ba1b959eb5a97d57802'}}
2025-10-30 02:28:36,820 - INFO - Created VN ctest-vn1-01470589
2025-10-30 02:28:36,839 - DEBUG - VN ctest-vn1-01470589 UUID is e801b6e9-6584-4b2a-8b10-0d580ea10ff2
2025-10-30 02:28:37,281 - DEBUG - Response for create_port : {'port': {'name': '96ac53fc-01a9-43b9-82d2-23c8893101a7', 'id': '96ac53fc-01a9-43b9-82d2-23c8893101a7', 'tenant_id': 'f6d8d89520b14ba1b959eb5a97d57802', 'network_id': 'e801b6e9-6584-4b2a-8b10-0d580ea10ff2', 'mac_address': '02:96:ac:53:fc:01', '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': '20.66.251.133', 'subnet_id': 'fe7909b2-0707-42a4-91cf-597e847f0534'}], 'security_groups': ['f57c0b4a-65d7-4a26-b715-de0f7f5330dc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f6d8d89520b14ba1b959eb5a97d57802'}}
2025-10-30 02:28:37,538 - DEBUG - Response for create_port : {'port': {'name': 'f68120a9-edce-4f21-b60f-3e83b1a01e10', 'id': 'f68120a9-edce-4f21-b60f-3e83b1a01e10', 'tenant_id': 'f6d8d89520b14ba1b959eb5a97d57802', 'network_id': 'e801b6e9-6584-4b2a-8b10-0d580ea10ff2', 'mac_address': '02:f6:81:20:a9:ed', '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': '95.245.165.5', 'subnet_id': '3e4dbdb6-bdd4-4c5c-a4a4-51f0c8786749'}], 'security_groups': ['f57c0b4a-65d7-4a26-b715-de0f7f5330dc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f6d8d89520b14ba1b959eb5a97d57802'}}
2025-10-30 02:28:37,601 - DEBUG - Services list from nova: [, , , ]
2025-10-30 02:28:38,157 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4535-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4535-2)
2025-10-30 02:28:38,807 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4535-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4535-1)
2025-10-30 02:28:38,808 - INFO - Waiting for VM ctest-vn1-vm1-95457794 to be up..
2025-10-30 02:28:38,861 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-30 02:28:43,961 - DEBUG - VM is in ACTIVE state now
2025-10-30 02:28:43,961 - INFO - VM name : ctest-vn1-vm1-95457794
2025-10-30 02:28:44,053 - DEBUG - VM ctest-vn1-vm1-95457794 ID is 42f2afd7-c58c-4020-8dbe-497d70ee5cea
2025-10-30 02:28:44,085 - DEBUG - VM ctest-vn1-vm1-95457794 launched on Node an-jenkins-deploy-platform-ansible-os-4535-2
2025-10-30 02:28:44,185 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/42f2afd7-c58c-4020-8dbe-497d70ee5cea
2025-10-30 02:28:44,493 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/42f2afd7-c58c-4020-8dbe-497d70ee5cea
2025-10-30 02:28:44,531 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/96ac53fc-01a9-43b9-82d2-23c8893101a7
2025-10-30 02:28:47,711 - 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 1024ms')
2025-10-30 02:28:47,711 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95457794 failed!
2025-10-30 02:28:47,727 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44771378:ctest-vn1-01470589 is 20.66.251.129 and allocation pool is NOT set
2025-10-30 02:28:47,727 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44771378:ctest-vn1-01470589 is 95.245.165.1 and allocation pool is NOT set
2025-10-30 02:28:49,789 - 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=3.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.813 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 = 0.813/2.333/3.854/1.520 ms')
2025-10-30 02:28:49,789 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95457794 passed
2025-10-30 02:28:49,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 02:28:49,859 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-95457794, IP 20.66.251.133, Port 22
2025-10-30 02:28:50,028 - DEBUG - VM ctest-vn1-vm1-95457794 is ready for SSH connections
2025-10-30 02:28:50,029 - INFO - Waiting for VM ctest-vn1-vm2-07974437 to be up..
2025-10-30 02:28:50,114 - DEBUG - VM is in ACTIVE state now
2025-10-30 02:28:50,114 - INFO - VM name : ctest-vn1-vm2-07974437
2025-10-30 02:28:50,202 - DEBUG - VM ctest-vn1-vm2-07974437 ID is 0bb25ad8-27ef-48ac-aa15-ea8b6d3fa9e3
2025-10-30 02:28:50,202 - DEBUG - VM ctest-vn1-vm2-07974437 launched on Node an-jenkins-deploy-platform-ansible-os-4535-1
2025-10-30 02:28:50,296 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/0bb25ad8-27ef-48ac-aa15-ea8b6d3fa9e3
2025-10-30 02:28:50,306 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/f68120a9-edce-4f21-b60f-3e83b1a01e10
2025-10-30 02:28:51,478 - 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=3.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.457 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.457/2.214/3.971/1.757 ms')
2025-10-30 02:28:51,478 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-07974437 passed
2025-10-30 02:28:51,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 02:28:51,549 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-07974437, IP 95.245.165.5, Port 22
2025-10-30 02:28:51,715 - DEBUG - VM ctest-vn1-vm2-07974437 is ready for SSH connections
2025-10-30 02:28:51,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 02:28:51,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 02:28:51,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 02:28:51,716 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.66.251.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2025-10-30 02:28:51,716 - DEBUG - ping -s 56 -c 3 -W 1 20.66.251.133
2025-10-30 02:28:54,716 - DEBUG - PING 20.66.251.133 (20.66.251.133): 56 data bytes
64 bytes from 20.66.251.133: seq=0 ttl=63 time=6.538 ms
64 bytes from 20.66.251.133: seq=1 ttl=63 time=1.280 ms
64 bytes from 20.66.251.133: seq=2 ttl=63 time=1.322 ms
--- 20.66.251.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.280/3.046/6.538 ms
2025-10-30 02:28:54,716 - INFO - Ping to IP 20.66.251.133 from VM ctest-vn1-vm2-07974437 passed
2025-10-30 02:28:54,717 - INFO - Detaching port f68120a9-edce-4f21-b60f-3e83b1a01e10 from VM ctest-vn1-vm2-07974437
2025-10-30 02:28:54,778 - INFO - Deleting VM ctest-vn1-vm2-07974437
2025-10-30 02:28:54,852 - INFO - Detaching port 96ac53fc-01a9-43b9-82d2-23c8893101a7 from VM ctest-vn1-vm1-95457794
2025-10-30 02:28:54,886 - INFO - Deleting VM ctest-vn1-vm1-95457794
2025-10-30 02:28:55,205 - DEBUG - Response for delete_port : ()
2025-10-30 02:28:55,430 - DEBUG - Response for delete_port : ()
2025-10-30 02:28:55,430 - INFO - Deleting VN ctest-vn1-01470589
2025-10-30 02:28:55,610 - DEBUG - Response for deleting network ()
2025-10-30 02:28:56,918 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 02:28:56,919 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22]
2025-10-30 02:28:56,919 - INFO - --------------------------------------------------------------------------------
2025-10-30 02:28:58,067 - INFO - Deleted project: ctest-TestPorts-44771378, ID : f6d8d895-20b1-4ba1-b959-eb5a97d57802