Closed northwestwitch closed 2 months ago
Attention: Patch coverage is 66.66667%
with 7 lines
in your changes missing coverage. Please review.
Project coverage is 84.78%. Comparing base (
44aaa30
) to head (02d0357
). Report is 2 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
scout/log/log.py | 61.11% | 7 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The code of this PR looks quite straightforward to me, but when I try starting the app as a service on stage it starts but then the container fails immediately without printing any code or message that could be of help in the debugging. I'll try to run it as a service locally.. Perhaps I'll understand!
The code of this PR looks quite straightforward to me, but when I try starting the app as a service on stage it starts but then the container fails immediately without printing any code or message that could be of help in the debugging. I'll try to run it as a service locally.. Perhaps I'll understand!
Ah that's annoying: when pulling the branch from docker hub it complains that the image is not built for architecture "arm64", of course!
From the log this morning it looked like it had trouble with the log email. Have you tried locally with email on?
From the log this morning it looked like it had trouble with the log email. Have you tried locally with email on?
How did you check that log, for me it was just "failed with error"
Ah, I can even reproduce locally. Thanks, that was super helpful!
That was definitely it! Now that's I've reintroduced the code to send the emails it works as expected!
It even writes to file in the /tmp/tmp_scout_users_activity.log file! 🥳
Thanks @dnil !!
From the log this morning it looked like it had trouble with the log email. Have you tried locally with email on?
How did you check that log, for me it was just "failed with error"
It was printing errors all along in /tmp/tmp_scout_users_activity.log. I just figured it out! 😆
Thank journalctl
and the service going down repeatedly... :)
This seems to work as intended now. Marking it as ready for review!
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
This PR adds a functionality or fixes a bug.
Testing on cg-vm1 server (Clinical Genomics Stockholm)
**Prepare for testing** 1. Make sure the PR is pushed and available on [Docker Hub](https://hub.docker.com/repository/docker/clinicalgenomics/scout-server-stage) 1. Fist book your testing time using the Pax software available at [https://pax.scilifelab.se/](https://pax.scilifelab.se). The resource you are going to call dibs on is `scout-stage` and the server is `cg-vm1`. 1. `sshTesting on hasta server (Clinical Genomics Stockholm)
**Prepare for testing** 1. `sshHow to test:
/tmp/tmp_scout_users_activity.log
Expected outcome: The functionality should be working Take a screenshot and attach or copy/paste the output.
Review: