- Dec 07, 2022
-
-
Krzysztof Chruściński authored
Algorithm was converting uptime to nanoseconds which can easily lead to overflows. Changed algorithm to use milliseconds and nanoseconds for remainder only. Signed-off-by:
Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no> (cherry picked from commit 35593ce1)
-
- Dec 06, 2022
-
-
Christopher Friedt authored
Previously, there was no test coverage for `sleep()` and `usleep()`. This change adds full test coverage. Signed-off-by:
Chris Friedt <cfriedt@meta.com> (cherry picked from commit 027b79ec)
-
Christopher Friedt authored
The original implementation of `usleep()` was not compliant to the POSIX spec in 3 ways. - calling thread may not be suspended (because `k_busy_wait()` was previously used for short durations) - if `usecs` > 1000000, previously we did not return -1 or set `errno` to `EINVAL` - if interrupted, previously we did not return -1 or set `errno` to `EINTR` This change addresses those issues to make `usleep()` more POSIX-compliant. Signed-off-by:
Chris Friedt <cfriedt@meta.com> (cherry picked from commit 7b95428f)
-
Christopher Friedt authored
In the case that `sleep()` is interrupted, the POSIX spec requires it to return the number of "unslept" seconds (i.e. the number of seconds requested minus the number of seconds actually slept). Since `k_sleep()` already returns the amount of "unslept" time in ms, we can simply use that. Signed-off-by:
Chris Friedt <cfriedt@meta.com> (cherry picked from commit dcfcc645)
-
Christopher Friedt authored
Using `usleep()` for >= 10000000 microseconds results in an error, so this test was kind of defective, having explicitly called `usleep()` for seconds. Also, check the return values of `clock_gettime()`. Signed-off-by:
Chris Friedt <cfriedt@meta.com> (cherry picked from commit 23a1f0a6)
-
- Nov 28, 2022
-
-
Jamie McCrae authored
Updates mcumgr to resolve an issue with the state of a firmware update not being reset if an error occurs or if the underlying area is erased. Fixes #52247 Backporting commit 4c48b4f2 Signed-off-by:
Jamie McCrae <jamie.mccrae@nordicsemi.no>
-
Jamie McCrae authored
Fixes an issue with 2 user data sizes being out of sync causing CI failures. Fixes #52591 Signed-off-by:
Jamie McCrae <jamie.mccrae@nordicsemi.no>
-
- Nov 27, 2022
-
-
Martí Bolívar authored
Pin the types-PyYAML version to 6.0.7. Version 6.0.8 is causing CI errors for other pull requests, so we need this in to get other PRs moving. Fixes: #46286 Signed-off-by:
Martí Bolívar <marti.bolivar@nordicsemi.no>
-
Stephanos Ioannidis authored
In the new ephemeral Zephyr runners, the cached repository files are located in a foreign file system and Git clone operation cannot create hard-links to the cached repository objects, which forces the Git clone operation to copy the objects from the cache file system to the runner container file system. This commit updates the CI workflows to instead perform a "shared clone" of the cached repository, which allows the cloned repository to utilise the object database of the cached repository. While "shared clone" can be often dangerous because the source repository objects can be deleted, in this case, the source repository (i.e. cached repository) is mounted as read-only and immutable. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit updates the codecov workflow to pre-clone the Zephyr repository from the runner repository cache. Note that the `origin` remote URL is reconfigured to that of the GitHub Zephyr repository because the checkout action attempts to delete everything and re-clone otherwise. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit updates the codecov workflow to use the new Kubernetes- based zephyr-runner. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
The repository clean-up steps are no longer necessary because the new zephyr-runner is ephemeral and does not contain any files from the previous runs. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit updates the clang workflow to pre-clone the Zephyr repository from the runner repository cache. Note that the `origin` remote URL is reconfigured to that of the GitHub Zephyr repository because the checkout action attempts to delete everything and re-clone otherwise. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit updates the clang workflow to use the new Kubernetes-based zephyr-runner. Note that the repository cache directory path has been changed for the new runner. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
The repository clean-up steps are no longer necessary because the new zephyr-runner is ephemeral and does not contain any files from the previous runs. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit updates the twister workflow to pre-clone the Zephyr repository from the runner repository cache. Note that the `origin` remote URL is reconfigured to that of the GitHub Zephyr repository because the checkout action attempts to delete everything and re-clone otherwise. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit updates the twister workflow to use the new Kubernetes- based zephyr-runner. Note that the repository cache directory path has been changed for the new runner. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit updates the CI workflows to use the latest "cache" action v3, which is based on Node.js 16. Note that Node.js 12-based actions are now deprecated by GitHub and may stop working in the near future. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit updates the CI workflows to use the latest "setup-python" action v4, which is based on Node.js 16. Note that Node.js 12-based actions are now deprecated by GitHub and may stop working in the near future. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit updates the CI workflows to use the latest "upload-artifact" action v3, which is based on Node.js 16. Note that Node.js 12-based actions are now deprecated by GitHub and may stop working in the near future. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit updates the CI workflows to use the latest "checkout" action v3, which is based on Node.js 16. Note that Node.js 12-based actions are now deprecated by GitHub and may stop working in the near future. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit updates the workflow to use the output parameter file (`GITHUB_OUTPUT`) instead of the stdout-based output parameter setting, which is now deprecated by GitHub and will be removed in the near future. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit updates the workflow to use the output parameter file (`GITHUB_OUTPUT`) instead of the stdout-based output parameter setting, which is now deprecated by GitHub and will be removed in the near future. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit updates the workflow to use the output parameter file (`GITHUB_OUTPUT`) instead of the stdout-based output parameter setting, which is now deprecated by GitHub and will be removed in the near future. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit updates the workflow to use the output parameter file (`GITHUB_OUTPUT`) instead of the stdout-based output parameter setting, which is now deprecated by GitHub and will be removed in the near future. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit adds a concurrency group to the workflow in order to ensure that only one instance of the workflow runs for an event-ref combination. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit adds a concurrency group to the workflow in order to ensure that only one instance of the workflow runs for an event-ref combination. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit adds a concurrency group to the workflow in order to ensure that only one instance of the workflow runs for an event-ref combination. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit adds a concurrency group to the workflow in order to ensure that only one instance of the workflow runs for an event-ref combination. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit adds a concurrency group to the workflow in order to ensure that only one instance of the workflow runs for an event-ref combination. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit adds a concurrency group to the workflow in order to ensure that only one instance of the workflow runs for an event-ref combination. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Anas Nashif authored
Update action to use latest release which resolves a warning Node 12 being deprecated. Signed-off-by:
Anas Nashif <anas.nashif@intel.com>
-
Stephanos Ioannidis authored
This commit updates the "Create a release" workflow to use a specific upload-artifact action version, v3, instead of the latest master branch in order to prevent any potential breakages due to the newer commits. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit updates the issue count tracker workflow to use a specific upload-artifact action version, v3, instead of the latest master branch in order to prevent any potential breakages due to the newer commits. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit updates the documentation build workflow to use a specific upload-artifact action version, v3, instead of the latest master branch in order to prevent any potential breakages due to the newer commits. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit updates the compliance check workflow to use a specific upload-artifact action version, v3, instead of the latest master branch in order to prevent any potential breakages due to the newer commits. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit updates the backport workflow to use the ubuntu-20.04 runner image because the ubuntu-18.04 image is deprecated and will become unsupported by December 1, 2022. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit updates the "West Command Tests" workflow to use a specific runner image version (ubuntu-20.04, macos-11, windows-2022) instead of the latest version in order to prevent any potential breakages due to the 'latest' version change by GitHub. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit updates the "Devicetree script tests" workflow to use a specific runner image version (ubuntu-20.04, macos-11, windows-2022) instead of the latest version in order to prevent any potential breakages due to the 'latest' version change by GitHub. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit updates the "Run tests with twister" workflow to use a specific runner image version, ubuntu-20.04, instead of the latest version in order to prevent any potential breakages due to the 'latest' version change by GitHub. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-