Skip to content

Report Portal tests review#164

Closed
bryansancheZ199 wants to merge 0 commit into
aparcar:mainfrom
bryansancheZ199:main
Closed

Report Portal tests review#164
bryansancheZ199 wants to merge 0 commit into
aparcar:mainfrom
bryansancheZ199:main

Conversation

@bryansancheZ199
Copy link
Copy Markdown
Contributor

@bryansancheZ199 bryansancheZ199 commented Aug 11, 2025

the review of the tests are showing perfect by report portal, but the system does not have a guest user without a password

Comment thread pytest.ini Outdated
@@ -0,0 +1,14 @@
[pytest]
rp_endpoint = https://tests.aparcar.org
rp_api_key = ${{ secrets.API_KEY }}
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

This value is only set within a CI run and can't stay in a file as is. Please check the documentation, it should be something like -o "rp_launch_attributes=Smoke Tests". https://reportportal.io/docs/log-data-in-reportportal/test-framework-integration/Python/pytest#configuration

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.

I think is working good this time, I runed at the github actions and is working fine.

Comment thread pytest.ini Outdated
rp_project = openwrt

rp_launch_description = "OpenWrt One Snapshot"
rp_launch_attributes = 'device:openwrt_one' 'revision:r30292-77b9393d2f' 'version:SNAPSHOT'
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

These values should be set dynamically in the CI

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.

I am still not very sure how that works but in this case I just coment it

Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
@aparcar
Copy link
Copy Markdown
Owner

aparcar commented Aug 13, 2025

These tests are mostly relevant for the CI, please check the daily workflow CI file and integrate those tests there.

Comment thread README.md Outdated
--firmware ../../openwrt/bin/targets/malta/be/openwrt-malta-be-vmlinux-initramfs.elf
--firmware ../../openwrt/bin/targets/malta/be/openwrt-malta-be-vmlinux-initramfs.elf \
--reportportal \
-rp-launch="name_of_test" \
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Please remove the last backslash, it would attach an empty line to command. Please read this to get an idea https://unix.stackexchange.com/questions/368753/what-does-this-command-with-a-backslash-at-the-end-do

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