Skip to content

USB missing icon bug fix - #12322

Merged
Nir-Az merged 4 commits into
realsenseai:developmentfrom
AviaAv:icon-missing
Nov 6, 2023
Merged

USB missing icon bug fix#12322
Nir-Az merged 4 commits into
realsenseai:developmentfrom
AviaAv:icon-missing

Conversation

@AviaAv

@AviaAv AviaAv commented Oct 26, 2023

Copy link
Copy Markdown
Contributor

Tracked on [LRS-932]

@AviaAv
AviaAv requested a review from Nir-Az October 29, 2023 07:21
@Nir-Az

Nir-Az commented Oct 29, 2023

Copy link
Copy Markdown
Collaborator

All tests were failed,
Please try rebasing latest development on your branch

# Copyright(c) 2021 Intel Corporation. All Rights Reserved.

import pyrealsense2 as rs
from rspy import test

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no #test:device ... no test running..


dev = test.find_first_device_or_exit()

test.check(dev.supports(rs.camera_info.usb_type_descriptor))

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add querying and making sure not Undefined

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the bug present this check was enough to fail it, but I'll add a check making sure the type is not Undefined

@Nir-Az

Nir-Az commented Nov 2, 2023

Copy link
Copy Markdown
Collaborator

Please rebase your branch, LibCI fails

@Nir-Az

Nir-Az commented Nov 5, 2023

Copy link
Copy Markdown
Collaborator

Need to exclude D457 as it is not USB based.

#test:device each(D400*) !D457

-D- in <module 'pyrealsense2' from '/mnt/ci/jenkins/workspace/LRS_jetson_compile_pipeline/arm64/static/Release/pyrealsense2.cpython-37m-aarch64-linux-gnu.so'>
-E- Traceback (most recent call last):
      File "/mnt/ci/jenkins/workspace/LRS_jetson_compile_pipeline/unit-tests/live/metadata/test-usb-type-found.py", line 17, in <module>
        test.check(supports)
        check failed; received False
-E- Test failed

___```

@Nir-Az Nir-Az left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Nir-Az
Nir-Az merged commit 92fd292 into realsenseai:development Nov 6, 2023
@Nir-Az Nir-Az changed the title missing icon bug fix USB missing icon bug fix Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants