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

test_: unskip test initialize logging #6229

Merged
merged 8 commits into from
Dec 19, 2024

Conversation

igor-sirotin
Copy link
Collaborator

@igor-sirotin igor-sirotin commented Dec 18, 2024

  1. Added load_statusgo_data that copies requested data from status-backend container to a temporary host path.
  2. Unskipped TestInitializeLogging and updated it to use load_statusgo_data
  3. status-go will no automatically create DataDir and LogsDir (if they don't exist) during InitializeApplication.
  4. Switched to milliseconds precision for project_name, otherwise it failed when 2 backends are started within 1 second.

@status-im-auto
Copy link
Member

status-im-auto commented Dec 18, 2024

Jenkins Builds

Click to see older builds (48)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 3f2e2e3 #1 2024-12-18 23:28:07 ~4 min macos 📦zip
✔️ 3f2e2e3 #1 2024-12-18 23:28:11 ~4 min linux 📦zip
✔️ 3f2e2e3 #1 2024-12-18 23:28:17 ~4 min ios 📦zip
✔️ 3f2e2e3 #1 2024-12-18 23:28:30 ~4 min windows 📦zip
✔️ 3f2e2e3 #1 2024-12-18 23:28:37 ~5 min android 📦aar
✖️ 3f2e2e3 #1 2024-12-18 23:28:37 ~5 min tests-rpc 📄log
✔️ 3f2e2e3 #1 2024-12-18 23:31:35 ~8 min macos 📦zip
✔️ 3f2e2e3 #1 2024-12-18 23:54:26 ~30 min tests 📄log
✔️ 2a42301 #2 2024-12-18 23:39:49 ~2 min windows 📦zip
✔️ 2a42301 #2 2024-12-18 23:41:14 ~4 min linux 📦zip
✔️ 2a42301 #2 2024-12-18 23:41:17 ~4 min macos 📦zip
✔️ 2a42301 #2 2024-12-18 23:41:27 ~4 min ios 📦zip
✔️ 2a42301 #2 2024-12-18 23:41:45 ~5 min android 📦aar
✖️ 2a42301 #2 2024-12-18 23:41:54 ~5 min tests-rpc 📄log
✔️ 2a42301 #2 2024-12-18 23:45:07 ~8 min macos 📦zip
✔️ 2a42301 #2 2024-12-19 00:25:33 ~30 min tests 📄log
✔️ d5bcaf6 #3 2024-12-19 00:04:31 ~3 min windows 📦zip
✔️ d5bcaf6 #3 2024-12-19 00:05:50 ~4 min linux 📦zip
✔️ d5bcaf6 #3 2024-12-19 00:05:52 ~4 min ios 📦zip
✔️ d5bcaf6 #3 2024-12-19 00:05:53 ~4 min macos 📦zip
✖️ d5bcaf6 #3 2024-12-19 00:06:06 ~4 min tests-rpc 📄log
✔️ d5bcaf6 #3 2024-12-19 00:07:02 ~5 min android 📦aar
✔️ d5bcaf6 #3 2024-12-19 00:08:58 ~7 min macos 📦zip
✔️ d5bcaf6 #3 2024-12-19 00:54:10 ~28 min tests 📄log
✔️ dfeecfc #4 2024-12-19 11:20:20 ~2 min windows 📦zip
✔️ dfeecfc #4 2024-12-19 11:21:49 ~4 min macos 📦zip
✖️ dfeecfc #4 2024-12-19 11:21:50 ~4 min tests-rpc 📄log
✔️ dfeecfc #4 2024-12-19 11:21:59 ~4 min ios 📦zip
✔️ dfeecfc #4 2024-12-19 11:22:25 ~5 min android 📦aar
✔️ dfeecfc #4 2024-12-19 11:23:03 ~5 min linux 📦zip
✔️ dfeecfc #4 2024-12-19 11:26:40 ~9 min macos 📦zip
✔️ dfeecfc #4 2024-12-19 11:46:47 ~29 min tests 📄log
✔️ b862e51 #5 2024-12-19 12:21:21 ~3 min windows 📦zip
✔️ b862e51 #5 2024-12-19 12:22:40 ~4 min macos 📦zip
✔️ b862e51 #5 2024-12-19 12:22:46 ~4 min linux 📦zip
✔️ b862e51 #5 2024-12-19 12:22:50 ~4 min ios 📦zip
✔️ b862e51 #5 2024-12-19 12:24:27 ~6 min android 📦aar
✔️ b862e51 #5 2024-12-19 12:25:15 ~7 min tests-rpc 📄log
✔️ b862e51 #5 2024-12-19 12:26:14 ~8 min macos 📦zip
✔️ b862e51 #5 2024-12-19 12:47:35 ~29 min tests 📄log
✔️ e00505f #6 2024-12-19 12:24:42 ~3 min windows 📦zip
✔️ e00505f #6 2024-12-19 12:27:15 ~4 min macos 📦zip
✔️ e00505f #6 2024-12-19 12:27:27 ~4 min linux 📦zip
✔️ e00505f #6 2024-12-19 12:27:41 ~4 min ios 📦zip
✖️ e00505f #6 2024-12-19 12:29:57 ~4 min tests-rpc 📄log
✔️ e00505f #6 2024-12-19 12:30:17 ~5 min android 📦aar
✔️ e00505f #6 2024-12-19 12:34:15 ~7 min macos 📦zip
✔️ e00505f #6 2024-12-19 13:17:19 ~29 min tests 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ d1b7978 #7 2024-12-19 12:59:51 ~3 min windows 📦zip
✔️ d1b7978 #7 2024-12-19 13:01:05 ~4 min macos 📦zip
✔️ d1b7978 #7 2024-12-19 13:01:13 ~4 min ios 📦zip
✖️ d1b7978 #7 2024-12-19 13:01:15 ~4 min tests-rpc 📄log
✔️ d1b7978 #7 2024-12-19 13:01:16 ~4 min linux 📦zip
✔️ d1b7978 #7 2024-12-19 13:02:13 ~5 min android 📦aar
✔️ d1b7978 #7 2024-12-19 13:05:33 ~8 min macos 📦zip
✔️ d1b7978 #7 2024-12-19 13:46:19 ~28 min tests 📄log
✔️ 5582113 #8 2024-12-19 13:34:03 ~2 min windows 📦zip
✔️ 5582113 #8 2024-12-19 13:35:26 ~4 min macos 📦zip
✔️ 5582113 #8 2024-12-19 13:35:43 ~4 min ios 📦zip
✔️ 5582113 #8 2024-12-19 13:36:24 ~5 min macos 📦zip
✔️ 5582113 #8 2024-12-19 13:36:25 ~5 min linux 📦zip
✔️ 5582113 #8 2024-12-19 13:36:34 ~5 min android 📦aar
✔️ 5582113 #8 2024-12-19 13:37:20 ~6 min tests-rpc 📄log
✔️ 5582113 #8 2024-12-19 14:14:29 ~27 min tests 📄log

@igor-sirotin
Copy link
Collaborator Author

igor-sirotin commented Dec 18, 2024

@fbarbu15 ~~Can you please check, why there's no python linter check? 🤔 ~~

Oh it's wrong target branch, how was I reviewing 🤦 . Fixed here:

@igor-sirotin igor-sirotin requested a review from a team as a code owner December 19, 2024 00:01
Copy link

codecov bot commented Dec 19, 2024

Codecov Report

Attention: Patch coverage is 42.85714% with 4 lines in your changes missing coverage. Please review.

Project coverage is 61.43%. Comparing base (b803918) to head (5582113).
Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
mobile/status.go 42.85% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #6229      +/-   ##
===========================================
+ Coverage    61.40%   61.43%   +0.02%     
===========================================
  Files          834      834              
  Lines       109919   109925       +6     
===========================================
+ Hits         67495    67528      +33     
+ Misses       34528    34500      -28     
- Partials      7896     7897       +1     
Flag Coverage Δ
functional 20.76% <42.85%> (+0.05%) ⬆️
unit 60.03% <0.00%> (+0.07%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
mobile/status.go 9.89% <42.85%> (+0.34%) ⬆️

... and 28 files with indirect coverage changes

tests-functional/clients/status_backend.py Outdated Show resolved Hide resolved
@igor-sirotin igor-sirotin force-pushed the test/unskip-TestInitializeLogging branch from dfeecfc to b862e51 Compare December 19, 2024 12:17
@igor-sirotin igor-sirotin force-pushed the test/unskip-TestInitializeLogging branch from b862e51 to e00505f Compare December 19, 2024 12:21
@igor-sirotin igor-sirotin force-pushed the test/unskip-TestInitializeLogging branch from d1b7978 to 5582113 Compare December 19, 2024 13:30
@igor-sirotin igor-sirotin merged commit 0cf556b into develop Dec 19, 2024
18 of 19 checks passed
@igor-sirotin igor-sirotin deleted the test/unskip-TestInitializeLogging branch December 19, 2024 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

6 participants