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

cpu/samd21: Enable continuous read bit for periph_rtt #17403

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

dylad
Copy link
Member

@dylad dylad commented Dec 15, 2021

Contribution description

This PR sets the continuous read bit in READREQ register for SAMD21. This will allows to continuously sync the COUNT register in order to avoid the heavy sync delay that currently exists on master.
According to the datasheet, any write attempt on a write synchronized register will clear this bit, so we re-enables it after any COUNT or ALARM write for RTT driver. RTC is not affected by this PR.

Since READREQ register is only defined for SAMDxx, others SAM0 families should not be affected by this PR.

I don't know if this will have side effects so let the CI tests it.

Testing procedure

Check CI.
Can also be tested on hardware.

Issues/PRs references

Partial fix for #17395

@dylad dylad added the CI: run tests If set, CI server will run tests on hardware for the labeled PR label Dec 15, 2021
@dylad dylad requested review from kaspar030 and fjmolinas December 15, 2021 10:23
@github-actions github-actions bot added Area: CI Area: Continuous Integration of RIOT components Area: cpu Area: CPU/MCU ports Platform: ARM Platform: This PR/issue effects ARM-based platforms labels Dec 15, 2021
@dylad dylad added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Dec 15, 2021
@fjmolinas
Copy link
Contributor

With this PR I have missed IRQ USEMODULE=evtimer_on_ztimer BOARD=samr21-xpro make -C tests/evtimer_msg/ clean flash term -j

2021-12-15 11:38:25,389 # main(): This is RIOT! (Version: 2022.01-devel-1248-g71a481-pr-17403)
2021-12-15 11:38:25,391 # Testing generic evtimer
2021-12-15 11:38:25,396 # This should list 2 items
2021-12-15 11:38:25,398 # ev #1 offset=998
2021-12-15 11:38:25,399 # ev #2 offset=501
2021-12-15 11:38:25,404 # This should list 4 items
2021-12-15 11:38:25,406 # ev #1 offset=659
2021-12-15 11:38:25,407 # ev #2 offset=340
2021-12-15 11:38:25,409 # ev #3 offset=501
2021-12-15 11:38:25,410 # ev #4 offset=2454
2021-12-15 11:38:25,416 # Are the reception times of all 4 msgs close to the supposed values?
2021-12-15 11:38:29,385 # By now all msgs should have been received
2021-12-15 11:38:29,388 # If yes, the tests were successful

And with periph_rtt only the first hello shows:

main(): This is RIOT! (Version: 2022.01-devel-1248-g71a481-pr-17403)

RIOT RTT low-level driver test
RTT configuration:
RTT_MAX_VALUE: 0xffffffff
RTT_FREQUENCY: 32768

Testing the tick conversion
Trying to convert 1 to seconds and back
Trying to convert 256 to seconds and back
Trying to convert 65536 to seconds and back
Trying to convert 16777216 to seconds and back
Trying to convert 2147483648 to seconds and back
All ok

Initializing the RTT driver
This test will now display 'Hello' every 5 seconds

RTT now: 151
Setting RTT timer to 1337
RTT now: 1342
rtt_set_counter() PASSED
Setting initial alarm to now + 5 s (165182)
rtt_get_alarm() PASSED
Done setting up the RTT, wait for many Hellos
Hello
Timeout in expect script at "child.expect_exact('Hello\r\n', timeout=period + 1)" (tests/periph_rtt/tests/01-run.py:31)

@dylad dylad force-pushed the pr/cpu/samd21/rtt_continuous_read branch from f327486 to 3ba673c Compare January 11, 2022 21:19
@dylad dylad added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Jan 11, 2022
@fjmolinas
Copy link
Contributor

Now periph_rtt test passes, but it seems to have other side effects, it seems that with this change the minimum offset for an RTT alarm has gone up drastically (running tests/periph_rtt_min on only 10 samples yields around 320 ticks. The evtimer based test is also still failing...

@dylad dylad force-pushed the pr/cpu/samd21/rtt_continuous_read branch from 3ba673c to 67aa21c Compare February 5, 2022 17:18
@dylad dylad requested a review from bergzand as a code owner February 5, 2022 17:18
@github-actions github-actions bot added Area: sys Area: System Area: timers Area: timer subsystems labels Feb 5, 2022
@fjmolinas
Copy link
Contributor

I have some weird results @dylad, I tested once on IoT-LAB and It works:

IOTLAB_NODE=samr21-10.saclay.iot-lab.info USEMODULE=evtimer_on_ztimer BOARD=samr21-xpro make -C tests/periph_rtt_min/ clean flash test -j
Sample 1009
Sample 1010
Sample 1011
Sample 1012
Sample 1013
Sample 1014
Sample 1015
Sample 1016
Sample 1017
Sample 1018
Sample 1019
Sample 1020
Sample 1021
Sample 1022
Sample 1023

RTT_MIN_OFFSET for samr21-xpro over 1024 samples: 7

But on local (over ssh) hardware I have it taking ages:

main(): This is RIOT! (Version: 2022.04-devel-224-g67aa2-pr-17403)
Evaluate RTT_MIN_OFFSET over 10 samples
Sample 0
Sample 1
Sample 2
Sample 3
Sample 4
Sample 5
Sample 6
Sample 7
Sample 8
Sample 9

RTT_MIN_OFFSET for samr21-xpro over 10 samples: 33

Can you push a remove c ommit seting the samples to 10 or something to see the result on the Murdock amr21-xpro's?

@github-actions github-actions bot added the Area: Kconfig Area: Kconfig integration label Feb 8, 2022
@fjmolinas fjmolinas added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Feb 9, 2022
@fjmolinas
Copy link
Contributor

I re-tested on two samr21-xpro I have locally, and both have very large RTT_MIN_OFFSET=(33..320) maybe something special is going on with the iot-lab samr21-xpro? I tested all 15 and all of them had the same result with RTT_MIN_OFFSET=7, could it be something with the flasher? @aabadie is the anything different with them?

@fjmolinas fjmolinas added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Feb 9, 2022
@@ -84,7 +84,7 @@ endif
# the counter is read, this propagates and leads to timing errors
# on ztimer_msec that are higher than > +-1msec.
# The same goes for the fe310 rtt.
ifneq (,$(filter sam% fe310,$(CPU)))
ifneq (,$(filter sam3 fe310,$(CPU)))
Copy link
Contributor

Choose a reason for hiding this comment

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

BTW @dylad what sam% based BOARDs do you have?

Copy link
Member Author

Choose a reason for hiding this comment

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

I have access to SAML10/SAML11, SAML21, a SAMD21 mini clone and a SAME54
I don't have any sam3.

Copy link
Contributor

Choose a reason for hiding this comment

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

sam3 uses a completely different driver, I wonder if it wasn't caught here by mistake.

Copy link
Member Author

Choose a reason for hiding this comment

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

When I started this PR, this line was ifneq (,$(filter sam% fe310,$(CPU)))
Which include both sam0 and sam3.
With this PR, sam0 should work fine but since sam3 were disabled and no tests were run on it. I just leave it there.

Copy link
Member Author

Choose a reason for hiding this comment

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

Should I remove it then ?

Copy link
Contributor

Choose a reason for hiding this comment

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

I'd say so

Copy link
Member Author

@dylad dylad Nov 30, 2022

Choose a reason for hiding this comment

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

Note that there will be a mismatch with sam3 Kconfig since this feature is also disabled in sam3 Kconfig

Copy link
Member Author

Choose a reason for hiding this comment

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

Should be fixed.

@stale stale bot added the State: stale State: The issue / PR has no activity for >185 days label Nov 2, 2022
@jue89
Copy link
Contributor

jue89 commented Nov 24, 2022

Could you rebase? It would be nice to know if this brings improvement for ztimer_msec backend by ztimer_periph_rtt. #18795 may be very helpful to measure time spent reading the current rtt value.

@stale stale bot removed the State: stale State: The issue / PR has no activity for >185 days label Nov 24, 2022
@dylad
Copy link
Member Author

dylad commented Nov 24, 2022

Will do tonight.

@dylad dylad force-pushed the pr/cpu/samd21/rtt_continuous_read branch from 1e785f5 to 1abb847 Compare November 24, 2022 20:03
@github-actions github-actions bot removed Area: Kconfig Area: Kconfig integration Area: CI Area: Continuous Integration of RIOT components labels Nov 24, 2022
@dylad
Copy link
Member Author

dylad commented Nov 24, 2022

Okay I've rebased this PR (and I really hope I didn't f*ck up something).
This PR should be fully retested with care ! (I can run some tests this weekend).

@riot-ci
Copy link

riot-ci commented Nov 24, 2022

Murdock results

FAILED

90637cc tests/periph_pm: remove SAM0 specific configuration

Success Failures Total Runtime
2228 0 6817 03m:12s

Artifacts

@benpicco
Copy link
Contributor

Ah, Kconfig…

@dylad dylad force-pushed the pr/cpu/samd21/rtt_continuous_read branch from 1abb847 to f35057e Compare November 25, 2022 20:37
@dylad dylad requested a review from MrKevinWeiss as a code owner November 25, 2022 20:37
@github-actions github-actions bot added the Area: Kconfig Area: Kconfig integration label Nov 25, 2022
@dylad dylad force-pushed the pr/cpu/samd21/rtt_continuous_read branch from f35057e to 6398c5d Compare November 30, 2022 15:00
@jue89
Copy link
Contributor

jue89 commented Dec 1, 2022

@benpicco Could you check this PR with your debug_irq_disable module? Especially ztimer_now() calls on ZTIMER_MSEC which runs on ztimer_periph_rtt should be faster.

@benpicco
Copy link
Contributor

benpicco commented Dec 1, 2022

With this PR on samr21-xpro I get

2022-12-01 16:22:24,502 # main(): This is RIOT! (Version: 2023.01-devel-518-gc354e-pr/cpu/samd21/rtt_continuous_read)
2022-12-01 16:22:25,506 # irq disabled for 116 ticks in core/mutex.c:198
2022-12-01 16:22:25,511 # irq disabled for 223 ticks in sys/ztimer/core.c:189
2022-12-01 16:22:25,516 # irq disabled for 15802 ticks in sys/ztimer/core.c:120
2022-12-01 16:22:25,522 # irq disabled for 17385 ticks in sys/ztimer/periph_rtt.c:62
2022-12-01 16:22:25,527 # irq disabled for 7608 ticks in sys/ztimer/core.c:189
2022-12-01 16:22:25,528 # slept until 1028
2022-12-01 16:22:25,533 # irq disabled for 279 ticks in sys/ztimer/util.c:70
2022-12-01 16:22:25,538 # irq disabled for 17982 ticks in sys/ztimer/core.c:120
2022-12-01 16:22:25,542 # irq disabled for 136 ticks in core/mutex.c:80
2022-12-01 16:22:26,512 # irq disabled for 8308 ticks in sys/ztimer/core.c:189
2022-12-01 16:22:26,516 # irq disabled for 116 ticks in core/mutex.c:198
2022-12-01 16:22:26,520 # irq disabled for 223 ticks in sys/ztimer/core.c:189
2022-12-01 16:22:26,525 # irq disabled for 9472 ticks in sys/ztimer/core.c:120
2022-12-01 16:22:26,531 # irq disabled for 17391 ticks in sys/ztimer/periph_rtt.c:62
2022-12-01 16:22:26,536 # irq disabled for 7629 ticks in sys/ztimer/core.c:189
2022-12-01 16:22:26,538 # slept until 2037
2022-12-01 16:22:26,542 # irq disabled for 279 ticks in sys/ztimer/util.c:70
2022-12-01 16:22:26,547 # irq disabled for 18029 ticks in sys/ztimer/core.c:120
2022-12-01 16:22:26,551 # irq disabled for 136 ticks in core/mutex.c:80
2022-12-01 16:22:27,511 # irq disabled for 8308 ticks in sys/ztimer/core.c:189
2022-12-01 16:22:27,515 # irq disabled for 116 ticks in core/mutex.c:198
2022-12-01 16:22:27,520 # irq disabled for 223 ticks in sys/ztimer/core.c:189
2022-12-01 16:22:27,525 # irq disabled for 9313 ticks in sys/ztimer/core.c:120
2022-12-01 16:22:27,530 # irq disabled for 17389 ticks in sys/ztimer/periph_rtt.c:62
2022-12-01 16:22:27,535 # irq disabled for 7601 ticks in sys/ztimer/core.c:189
2022-12-01 16:22:27,537 # slept until 3037
2022-12-01 16:22:27,541 # irq disabled for 279 ticks in sys/ztimer/util.c:70
2022-12-01 16:22:27,546 # irq disabled for 17909 ticks in sys/ztimer/core.c:120
2022-12-01 16:22:27,551 # irq disabled for 136 ticks in core/mutex.c:80
2022-12-01 16:22:28,511 # irq disabled for 8308 ticks in sys/ztimer/core.c:189
2022-12-01 16:22:28,515 # irq disabled for 116 ticks in core/mutex.c:198
2022-12-01 16:22:28,520 # irq disabled for 223 ticks in sys/ztimer/core.c:189
2022-12-01 16:22:28,525 # irq disabled for 9308 ticks in sys/ztimer/core.c:120
2022-12-01 16:22:28,531 # irq disabled for 17372 ticks in sys/ztimer/periph_rtt.c:62
2022-12-01 16:22:28,535 # irq disabled for 8952 ticks in sys/ztimer/core.c:189
2022-12-01 16:22:28,537 # slept until 4037

with examples/timer_periodic_wakeup and

this patch
diff --git a/examples/timer_periodic_wakeup/Makefile b/examples/timer_periodic_wakeup/Makefile
index 9168c38eb5..c2ad1913ad 100644
--- a/examples/timer_periodic_wakeup/Makefile
+++ b/examples/timer_periodic_wakeup/Makefile
@@ -1,8 +1,11 @@
 APPLICATION = timer_periodic_wakeup
 RIOTBASE ?= $(CURDIR)/../..
+
 BOARD ?= native
-USEMODULE += xtimer
-QUIET ?= 1
+
+USEMODULE += ztimer_msec
+
+USEMODULE += debug_irq_disable
 
 # Comment this out to disable code in RIOT that does safety checking
 # which is not needed in a production environment but helps in the
diff --git a/examples/timer_periodic_wakeup/main.c b/examples/timer_periodic_wakeup/main.c
index a1c91506cf..fca92a0f03 100644
--- a/examples/timer_periodic_wakeup/main.c
+++ b/examples/timer_periodic_wakeup/main.c
@@ -19,19 +19,19 @@
  */
 
 #include <stdio.h>
-#include "xtimer.h"
+#include "ztimer.h"
 #include "timex.h"
 
 /* set interval to 1 second */
-#define INTERVAL (1U * US_PER_SEC)
+#define INTERVAL (1U * MS_PER_SEC)
 
 int main(void)
 {
-    xtimer_ticks32_t last_wakeup = xtimer_now();
+    uint32_t last_wakeup = ztimer_now(ZTIMER_MSEC);
 
     while(1) {
-        xtimer_periodic_wakeup(&last_wakeup, INTERVAL);
-        printf("slept until %" PRIu32 "\n", xtimer_usec_from_ticks(xtimer_now()));
+        ztimer_periodic_wakeup(ZTIMER_MSEC, &last_wakeup, INTERVAL);
+        printf("slept until %" PRIu32 "\n", ztimer_now(ZTIMER_MSEC));
     }
 
     return 0;

Still slightly better than master (without ztimer_no_periph_rtt).

2022-12-01 16:26:08,653 # main(): This is RIOT! (Version: 2023.01-devel-519-gdf0c0)
2022-12-01 16:26:09,623 # irq disabled for 116 ticks in core/mutex.c:198
2022-12-01 16:26:09,628 # irq disabled for 8296 ticks in sys/ztimer/core.c:189
2022-12-01 16:26:09,633 # irq disabled for 16510 ticks in sys/ztimer/core.c:120
2022-12-01 16:26:09,639 # irq disabled for 8696 ticks in sys/ztimer/periph_rtt.c:62
2022-12-01 16:26:09,644 # irq disabled for 8919 ticks in sys/ztimer/core.c:189
2022-12-01 16:26:09,645 # slept until 1026
2022-12-01 16:26:09,650 # irq disabled for 7666 ticks in sys/ztimer/util.c:70
2022-12-01 16:26:09,655 # irq disabled for 25348 ticks in sys/ztimer/core.c:120
2022-12-01 16:26:09,659 # irq disabled for 136 ticks in core/mutex.c:80
2022-12-01 16:26:10,628 # irq disabled for 8289 ticks in sys/ztimer/core.c:189
2022-12-01 16:26:10,632 # irq disabled for 116 ticks in core/mutex.c:198
2022-12-01 16:26:10,637 # irq disabled for 7855 ticks in sys/ztimer/core.c:189
2022-12-01 16:26:10,642 # irq disabled for 16608 ticks in sys/ztimer/core.c:120
2022-12-01 16:26:10,648 # irq disabled for 8703 ticks in sys/ztimer/periph_rtt.c:62
2022-12-01 16:26:10,653 # irq disabled for 9003 ticks in sys/ztimer/core.c:189
2022-12-01 16:26:10,654 # slept until 2035
2022-12-01 16:26:10,659 # irq disabled for 7750 ticks in sys/ztimer/util.c:70
2022-12-01 16:26:10,664 # irq disabled for 25376 ticks in sys/ztimer/core.c:120
2022-12-01 16:26:10,669 # irq disabled for 136 ticks in core/mutex.c:80
2022-12-01 16:26:11,627 # irq disabled for 8296 ticks in sys/ztimer/core.c:189
2022-12-01 16:26:11,632 # irq disabled for 116 ticks in core/mutex.c:198
2022-12-01 16:26:11,636 # irq disabled for 7862 ticks in sys/ztimer/core.c:189
2022-12-01 16:26:11,642 # irq disabled for 16608 ticks in sys/ztimer/core.c:120
2022-12-01 16:26:11,647 # irq disabled for 8703 ticks in sys/ztimer/periph_rtt.c:62
2022-12-01 16:26:11,652 # irq disabled for 7561 ticks in sys/ztimer/core.c:189
2022-12-01 16:26:11,653 # slept until 3035
2022-12-01 16:26:11,658 # irq disabled for 7694 ticks in sys/ztimer/util.c:70
2022-12-01 16:26:11,664 # irq disabled for 25397 ticks in sys/ztimer/core.c:120
2022-12-01 16:26:11,668 # irq disabled for 136 ticks in core/mutex.c:80
2022-12-01 16:26:12,628 # irq disabled for 8289 ticks in sys/ztimer/core.c:189
2022-12-01 16:26:12,632 # irq disabled for 116 ticks in core/mutex.c:198
2022-12-01 16:26:12,637 # irq disabled for 7799 ticks in sys/ztimer/core.c:189
2022-12-01 16:26:12,642 # irq disabled for 16629 ticks in sys/ztimer/core.c:120
2022-12-01 16:26:12,647 # irq disabled for 8703 ticks in sys/ztimer/periph_rtt.c:62
2022-12-01 16:26:12,652 # irq disabled for 8989 ticks in sys/ztimer/core.c:189
2022-12-01 16:26:12,654 # slept until 4035
2022-12-01 16:26:12,659 # irq disabled for 7715 ticks in sys/ztimer/util.c:70
2022-12-01 16:26:12,664 # irq disabled for 25383 ticks in sys/ztimer/core.c:120
2022-12-01 16:26:12,668 # irq disabled for 136 ticks in core/mutex.c:80
2022-12-01 16:26:13,628 # irq disabled for 8296 ticks in sys/ztimer/core.c:189
2022-12-01 16:26:13,632 # irq disabled for 116 ticks in core/mutex.c:198
2022-12-01 16:26:13,637 # irq disabled for 7813 ticks in sys/ztimer/core.c:189
2022-12-01 16:26:13,642 # irq disabled for 16608 ticks in sys/ztimer/core.c:120
2022-12-01 16:26:13,648 # irq disabled for 8703 ticks in sys/ztimer/periph_rtt.c:62
2022-12-01 16:26:13,653 # irq disabled for 8989 ticks in sys/ztimer/core.c:189
2022-12-01 16:26:13,654 # slept until 5035

With ztimer_no_periph_rtt the MCU doesn't sleep for 1s but has multiple intermediate wake-ups:

2022-12-01 16:20:30,389 # slept until 1042
2022-12-01 16:20:30,393 # irq disabled for 622 ticks in sys/ztimer/util.c:70
2022-12-01 16:20:30,398 # irq disabled for 2130 ticks in sys/ztimer/core.c:120
2022-12-01 16:20:30,402 # irq disabled for 136 ticks in core/mutex.c:80
2022-12-01 16:20:30,431 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:30,436 # irq disabled for 425 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:30,468 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:30,474 # irq disabled for 465 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:30,506 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:30,512 # irq disabled for 465 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:30,543 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:30,549 # irq disabled for 457 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:30,581 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:30,587 # irq disabled for 425 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:30,619 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:30,624 # irq disabled for 465 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:30,656 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:30,662 # irq disabled for 465 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:30,694 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:30,699 # irq disabled for 457 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:30,731 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:30,737 # irq disabled for 465 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:30,769 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:30,774 # irq disabled for 465 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:30,806 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:30,812 # irq disabled for 457 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:30,844 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:30,849 # irq disabled for 425 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:30,881 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:30,887 # irq disabled for 465 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:30,919 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:30,924 # irq disabled for 465 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:30,956 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:30,962 # irq disabled for 457 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:30,994 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:30,999 # irq disabled for 465 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:31,032 # irq disabled for 380 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,037 # irq disabled for 465 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:31,069 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,075 # irq disabled for 457 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:31,107 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,112 # irq disabled for 425 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:31,144 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,150 # irq disabled for 473 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:31,182 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,187 # irq disabled for 465 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:31,219 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,225 # irq disabled for 457 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:31,257 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,262 # irq disabled for 473 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:31,294 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,300 # irq disabled for 465 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:31,332 # irq disabled for 380 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,337 # irq disabled for 457 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:31,362 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,367 # irq disabled for 598 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,371 # irq disabled for 116 ticks in core/mutex.c:198
2022-12-01 16:20:31,376 # irq disabled for 550 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,380 # irq disabled for 1077 ticks in sys/ztimer/core.c:120
2022-12-01 16:20:31,385 # irq disabled for 388 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,391 # irq disabled for 425 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:31,395 # irq disabled for 550 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,397 # slept until 2047
2022-12-01 16:20:31,401 # irq disabled for 630 ticks in sys/ztimer/util.c:70
2022-12-01 16:20:31,406 # irq disabled for 2162 ticks in sys/ztimer/core.c:120
2022-12-01 16:20:31,410 # irq disabled for 136 ticks in core/mutex.c:80
2022-12-01 16:20:31,439 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,445 # irq disabled for 457 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:31,476 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,482 # irq disabled for 473 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:31,514 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,520 # irq disabled for 465 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:31,552 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,557 # irq disabled for 457 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:31,589 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,595 # irq disabled for 425 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:31,627 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,632 # irq disabled for 473 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:31,664 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,670 # irq disabled for 465 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:31,702 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,707 # irq disabled for 457 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:31,739 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,745 # irq disabled for 465 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:31,777 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,782 # irq disabled for 465 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:31,814 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,820 # irq disabled for 457 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:31,852 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,858 # irq disabled for 433 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:31,890 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,895 # irq disabled for 473 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:31,927 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,933 # irq disabled for 457 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:31,965 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:31,970 # irq disabled for 457 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:32,002 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:32,008 # irq disabled for 473 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:32,040 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:32,045 # irq disabled for 465 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:32,077 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:32,083 # irq disabled for 457 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:32,115 # irq disabled for 380 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:32,120 # irq disabled for 449 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:32,152 # irq disabled for 380 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:32,158 # irq disabled for 465 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:32,190 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:32,196 # irq disabled for 457 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:32,227 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:32,233 # irq disabled for 425 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:32,265 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:32,271 # irq disabled for 465 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:32,303 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:32,308 # irq disabled for 465 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:32,340 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:32,346 # irq disabled for 457 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:32,366 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:32,371 # irq disabled for 590 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:32,375 # irq disabled for 116 ticks in core/mutex.c:198
2022-12-01 16:20:32,380 # irq disabled for 566 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:32,385 # irq disabled for 1045 ticks in sys/ztimer/core.c:120
2022-12-01 16:20:32,389 # irq disabled for 372 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:32,395 # irq disabled for 449 ticks in drivers/periph_common/timer.c:29
2022-12-01 16:20:32,399 # irq disabled for 598 ticks in sys/ztimer/core.c:189
2022-12-01 16:20:32,401 # slept until 3047

This was partially cleans up in RIOT-OS#18423 but it looks like this one was missed.

Signed-off-by: Dylan Laduranty <[email protected]>
@github-actions github-actions bot added the Area: tests Area: tests and testing framework label Dec 1, 2022
@dylad
Copy link
Member Author

dylad commented Dec 10, 2022

I failed to understand why CI is complaining only for two tests builds on ONE board...
Did anyone has an idea here ?

@benpicco benpicco added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Jan 25, 2023
@Teufelchen1
Copy link
Contributor

How can we move this forward?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: cpu Area: CPU/MCU ports Area: Kconfig Area: Kconfig integration Area: sys Area: System Area: tests Area: tests and testing framework Area: timers Area: timer subsystems CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR CI: run tests If set, CI server will run tests on hardware for the labeled PR Platform: ARM Platform: This PR/issue effects ARM-based platforms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants