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

Update nanopb required packages #2704

Merged
merged 1 commit into from
Jan 10, 2024
Merged

Update nanopb required packages #2704

merged 1 commit into from
Jan 10, 2024

Conversation

slaff
Copy link
Contributor

@slaff slaff commented Jan 10, 2024

In our CI system sometimes the installed protoc version on the system is incompatible with the installed python-protobuf version. This fix, recommended here: https://groups.google.com/g/nanopb/c/YJn3DlY20_g, should take care of this.

In our CI system sometimes the installed protoc version on the system is
incompatible with the installed python-protobuf version.
This fix, recommended here: https://groups.google.com/g/nanopb/c/YJn3DlY20_g, should fix the issue.
@slaff slaff added this to the 5.2.0 milestone Jan 10, 2024
Copy link

what-the-diff bot commented Jan 10, 2024

PR Summary

  • Update to Project Dependencies
    The necessary list of resources or requirements needed to run the Sming project has been adjusted. These include specific versions of libraries, modules, and other ancillary items our project needs.
  • Introduction of grpcio-tools
    A new much-needed resource, 'grpcio-tools', has been included in the project's resource list. Such an addition aids improving our project's inter-service communication, resulting in a boost in overall efficiency and reliability.

@slaff slaff changed the title Update requirements.txt Update nanopb required packages Jan 10, 2024
@slaff slaff merged commit a70ab7d into develop Jan 10, 2024
86 checks passed
@slaff
Copy link
Contributor Author

slaff commented Jan 10, 2024

@mikee47 can we do something about this CI failure:

54995818 Apparent time: 24843546

FAIL: abs(int(us - duration)) < 500

FAIL in `void ClockTestTemplate<Clock, TimeType>::execute() [with Clock = CpuCycleClock<eCF_160MHz>; TimeType = long long unsigned int]`

Assertion failed: false, file d:/a/Sming/Sming/projects/tests/HostTests/modules/Clocks.cpp, line 58


signal_handler: SIGABRT - usually caused by an abort() or assert()


Closed "out/Host/debug/firmware/flash.bin"
Goodbye!
make[2]: *** [run] Error 1
make[1]: *** [/D/a/Sming/Sming/projects/tests/HostTests/.host.complete] Error 2
make: *** [tests] Error 2

D:\a\Sming\Sming\Sming>echo Failed with error #2. 
Failed with error #2.

happening also on Ubuntu:

>> vs. system time
431259038 System time elapsed: 2000000
431259047 CpuCycleClock ticks: 3974967456
431259048 Ratio: x 1987.483728
431259050 Apparent time: 24843547
FAIL: abs(int(us - duration)) < 500
FAIL in `void ClockTestTemplate<Clock, TimeType>::execute() [with Clock = CpuCycleClock<eCF_160MHz>; TimeType = long long unsigned int]`
app: /home/runner/projects/tests/HostTests/modules/Clocks.cpp:58: void ClockTestTemplate<Clock, TimeType>::execute() [with Clock = CpuCycleClock<eCF_160MHz>; TimeType = long long unsigned int]: Assertion `false' failed.

signal_handler: SIGABRT - usually caused by an abort() or assert()

Closed "out/Host/debug/firmware/flash.bin"
Goodbye!
make[2]: *** [/home/runner/work/Sming/Sming/Sming/Arch/Host/app.mk:42: run] Error 1
make[1]: *** [Makefile:168: /home/runner/projects/tests/HostTests/.host.complete] Error 2
make: *** [Makefile:154: tests] Error 2
Error: Process completed with exit code 2.

@mikee47
Copy link
Contributor

mikee47 commented Jan 10, 2024

@slaff I've addressed this in #2706

@slaff slaff deleted the fix/ci-protoc branch January 11, 2024 12:18
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