Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build_micropython.yml workflow fix #2358

Merged
merged 1 commit into from
Jul 7, 2021

Conversation

amirgon
Copy link
Contributor

@amirgon amirgon commented Jul 7, 2021

Micropython dev-8.0 was merged to main. Change workflow to checkout main branch instead of dev-8.0

Micropython dev-8.0 was merged to main. Change workflow to checkout main branch instead of dev-8.0
@embeddedt embeddedt merged commit 0c386e3 into lvgl:master Jul 7, 2021
@embeddedt
Copy link
Member

embeddedt commented Jul 7, 2021

@amirgon It seems that the tests in master failed due to a core dump, although that did not happen on the PR itself.

@amirgon
Copy link
Contributor Author

amirgon commented Jul 7, 2021

@amirgon It seems that the tests in master failed due to a core dump, although that did not happen on the PR itself.

That's strange. It's passing locally, I can't reproduce this.
Also, when I tried to re-run this on GitHub actions it passed.

@embeddedt
Copy link
Member

The failure seems to be random. I pushed an unrelated commit to lvgl master and the MicroPython tests passed that time.

I guess we'll monitor it for the next little while and see what happens.

@amirgon amirgon deleted the fix/dev-8.0_to_master branch July 7, 2021 22:38
amirgon added a commit to lvgl/lv_binding_micropython that referenced this pull request Jul 8, 2021
To debug random crashes, catch SIGSEGV and print stack trace when running tests.  

Example of a random crash: https://github.com/lvgl/lvgl/runs/3013533718?check_suite_focus=true
Related: lvgl/lvgl#2358 (comment)
amirgon added a commit to lvgl/lv_binding_micropython that referenced this pull request Jul 8, 2021
* CI: Catch SIGSEGV when running tests 

To debug random crashes, catch SIGSEGV and print stack trace when running tests.  

Example of a random crash: https://github.com/lvgl/lvgl/runs/3013533718?check_suite_focus=true
Related: lvgl/lvgl#2358 (comment)

* Update unix_port.yml

Add -rdynamic to ldflags
Required for backtrace with sources when using catchsegv in run_test.sh

Related: 
- https://www.gnu.org/software/libc/manual/html_node/Backtraces.html#:~:text=Currently%2C%20the,pass%20-rdynamic
- https://stackoverflow.com/a/47602133/619493

* Update unix_port.yml

Add missing libdl.
Otherwise: "DSO missing from command line"

* Update unix_port.yml

Trying to fix "DSO missing from command line" error.

Related: https://stackoverflow.com/a/55086637/619493

* Update run.sh

Temporarily exclude advanced_demo.py until SIGSEGV is resolved

Example for the problem:
https://github.com/lvgl/lv_binding_micropython/runs/3017175341

Related: #164
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.

None yet

2 participants