Tests cleanup #53
Labels
Clear labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
in progress
invalid
question
wontfix
Copied from Github
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Something isn't working
Improvements or additions to documentation
This issue or pull request already exists
New feature or request
Good for newcomers
Extra attention is needed
This doesn't seem right
Further information is requested
This will not be worked on
An issue or PR manually copied from GitHub.
Breaking change that won't be backward compatible
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
Priority
Critical
The priority is critical
Priority
High
The priority is high
Priority
Low
The priority is low
Priority
Medium
The priority is medium
Reviewed
Confirmed
Issue has been confirmed
Reviewed
Duplicate
This issue or pull request already exists
Reviewed
Invalid
Invalid issue
Reviewed
Won't Fix
This issue won't be fixed
Status
Abandoned
Somebody has started to work on this but abandoned work
Status
Blocked
Something is blocking this issue or pull request
Status
Need More Info
Feedback is required to reproduce issue or to continue work
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cerc-io/laconic-sdk#53
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
General test improvements.
I like the look of the changes overall, but the CI job is failing in Gitea. I think we need to get that sorted out before merging.
I suspect the failure is related to the new script not using the correct DOCKER_HOST.
This may be corrected with our new task executor containers (I'll try relaunching once deployed), otherwise you'll need to do something like:
7db69c314btod7ca4730a2The reason for failure earlier was that laconicd PR (cerc-io/laconicd#134) is yet to be merged and the CI in this PR has been updated to use changes from there.
However, even if I temporarily point it to use the PR branch, the sdk tests are still failing (naming tests). Have added some logs to investigate this, but needs more debugging.
The tests do pass locally though; both when laconicd is run on the host machine as well as in docker (as done in the workflow).
We actually redeployed the task executors with ones that automatically set DOCKER_HOST, so that probably corrected part of it.
As to the naming failures, if it works locally, is the idea that it is some sort of timing/performance issue in CI?
I am just a bit concerned in that, that unlike the laconid tests, which we need to get passing in Gitea, these tests actually were passing, although looking at the history they seem to have been pretty flakey.
I didn't worry about them failing in CI on the last PR, because it seemed to be that the failures were just from the laconicd/protobuf version mismatch and would sort themselves out, but since the PR is about cleaning up the tests, I think it is worth some investigation as to why they are failing.
One option (and the same goes for cerc-io/laconicd#134) is that if everything is passing for you locally, to go ahead and merge, but open an issue with all the details of the failures, and we will fix the CI as a separate task/PR.
Sound reasonable?
Created an issue to track this: #54