Igor Sirotin
61322b8dab
fix_: catching gotestsum exit code
2024-06-21 12:10:44 +01:00
Igor Sirotin
a049f0b688
fix_: include coverage from all packages ( #5390 )
2024-06-20 21:35:35 +01:00
Igor Sirotin
d00df557c7
fix_: final coverage reports merging ( #5384 )
2024-06-19 17:57:44 +01:00
Igor Sirotin
d2f4cae18f
fix: merge coverage reports from each test rerun ( #5360 )
...
* fix_: fix test coverage when rerunning tests
* fix_: make lint-fix
* chore_: change test coverage report artifact name
* chore_: added codeclimate.json to artifacts
* chore_: bring in gocovmerge util
---------
Co-authored-by: Siddarth Kumar <siddarthkay@gmail.com>
2024-06-19 11:40:52 +01:00
Patryk Osmaczko
e9882e88d3
chore(ci)_: archive logs in case of test failure
2024-06-17 17:17:54 +02:00
Anton Danchenko
74e9ce93bf
test(wallet)_: status-go integration tests ( #5302 )
2024-06-11 13:36:20 +02:00
Siddarth Kumar
8e53f62331
chore_: set $GIT_COMMIT for codeclimate ( #5315 )
...
When Jenkins creates a build, it can sometimes run the build on a detached HEAD, causing the commit SHA to be different from the SHA of your branch. This will cause issues when reporting test coverage to Code Climate.
Setting `GIT_COMMIT` fixes code climate upload errors.
ref -> https://docs.codeclimate.com/docs/jenkins#jenkins-ci-builds
Closes #5294
2024-06-10 07:30:10 +05:30
Patryk Osmaczko
c2f5bdb907
chore(scripts)_: extend tests timeout to 35mins
2024-06-07 23:46:20 +02:00
Igor Sirotin
a01ffdbe8e
fix: proper usage of CreateAccount RootDataDir ( #5284 )
...
* fix_: introduce CreateAccount.RootDataDir
* fix_: deprecate and remove ShhextConfig.BackupDisabledDataDir
2024-06-05 14:03:34 +01:00
Igor Sirotin
12dfe285d7
chore_: archive test coverage result as artifact ( #5280 )
2024-06-03 17:31:27 +01:00
Patryk Osmaczko
568e07d2eb
chore(scripts)_: add HEAD logging to run_unit_tests.sh
...
To check if #4993 is really resolved.
2024-05-22 19:44:25 +02:00
Jakub Sokołowski
9ad8829ce0
fix(ci)_: lock Go at 1.20 and Alpine at 3.18
...
Otherwise builds fail with:
```
sqlite3.c:37493:42: error: 'pread64' undeclared here (not in a function); did you mean 'pread'?
37493 | { "pread64", (sqlite3_syscall_ptr)pread64, 0 },
| ^~~~~~~
| pread
sqlite3.c:37511:42: error: 'pwrite64' undeclared here (not in a function); did you mean 'pwrite'?
37511 | { "pwrite64", (sqlite3_syscall_ptr)pwrite64, 0 },
| ^~~~~~~~
| pwrite
sqlite3.c: In function 'seekAndRead':
sqlite3.c:37497:49: error: unknown type name 'off64_t'; did you mean 'off_t'?
37497 | #define osPread64 ((ssize_t(*)(int,void*,size_t,off64_t))aSyscall[10].pCurrent)
| ^~~~~~~
```
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-20 08:25:49 +02:00
Jakub Sokołowski
c7397e18dd
chore(all)_: remove obsolete eth.staging fleet
...
And leftovers of `eth.test` fleet which no longer exists.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-17 20:21:00 +02:00
Anton Iakimov
92ef58d420
chore_: drop wakuv2 fleets, use waku fleets
...
See https://github.com/status-im/infra-nim-waku/issues/91 for details.
Mostly done automatically. Some parts manually.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-17 18:53:40 +02:00
Igor Sirotin
0dde5a3b17
chore_: enable nightly codeclimate reports ( #5127 )
...
* chore_: enable nightly codeclimate reports
* fix_: report codeclimate before exiting
2024-05-08 21:57:50 +01:00
Jakub Sokołowski
a97f1bb681
chore(ci)_: simplify Jenkinsfile for tests, fix params ( #5136 )
...
Because most of those functions just obscure what's happening.
Also formatting.
Also, it appears Jenkins sets `params` on first run, but not `env`
variables from those `params`.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-08 21:04:15 +02:00
Igor Sirotin
068ae3b67c
chore_: setup ci codeclimate coverage reports ( #5101 )
...
* chore_: nix derivation with cc-test-reporter
2024-05-08 09:25:01 +01:00
Anton Iakimov
c57c8aabc4
ci: fix build
2024-04-11 10:59:37 +02:00
Patryk Osmaczko
853afccfae
revert_: "ci: temporarily disable migration check"
...
This reverts commit d4c0500200e2decd85668a02dbf6c12d92678322.
2024-04-10 16:40:57 +02:00
Patryk Osmaczko
448758e64a
ci_: temporarily disable migration check
...
Temporary, to cherry-pick migration from release branch.
2024-04-10 14:27:14 +02:00
Andrea Maria Piana
fc846211b7
fix_: make sure tag version works if no args are passed
2024-04-10 12:18:30 +01:00
Andrea Maria Piana
a9228df085
fix_: ignore description in commit check
2024-04-10 12:04:55 +01:00
Andrea Maria Piana
8c7a6aa54d
chore_: Add tag-version command
2024-04-10 11:43:13 +01:00
Alexis Pentori
f9df853e4a
nix: Updating Nix Shell and Makefile to use nix-shell
...
Signed-off-by: Alexis Pentori <alexis@status.im>
2024-04-09 12:49:06 +03:00
Patryk Osmaczko
c98acf76f9
fix: prevent migration check on nightly tests
...
mitigates: #4993
2024-03-28 14:41:18 +01:00
Patryk Osmaczko
30fe620ff0
chore: extend tests timeout
...
Due to an increased volume of tests, numerous test jobs have been timing
out. The timeout has been extended by 10 minutes.
2024-03-26 17:47:11 +01:00
Jakub Sokołowski
141cfadb93
feat(ci): add release tag parameter for docker builds
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-22 12:20:52 +01:00
Ibrahem Khalil
8c0e24dc26
Add favicons to external link previews ( #4788 )
2024-03-12 22:47:51 +02:00
Andrea Maria Piana
c7533a7dab
Extend migration check
2024-03-06 23:37:06 +00:00
Patryk Osmaczko
86ae80b108
fix: respect exit code from package run
...
Fixes the issue where the job succeeds even when there are always
failing tests.
2024-03-06 18:05:40 +01:00
Patryk Osmaczko
abfaa3cf8d
chore: run nightly tests in parallel
2024-02-29 18:23:20 +01:00
Patryk Osmaczko
a068b64d5e
chore: run nightly tests one by one
...
fixes : #4585
fixes : #4586
2024-02-28 22:00:26 +01:00
Anton Iakimov
c3240b296c
ci: cleanup more build artifacts
...
Should be cleaning artifacts for more than 1+1 build for each branch.
2024-02-28 15:47:23 +01:00
Patryk Osmaczko
fdd979096c
chore: add capability to rerun failed tests
...
- Use `gotestsum` to generate junit test reports and re-run failed tests.
- Archive re-run reports in `${package_dir}/report_rerun_fails.txt`.
2024-02-27 11:00:29 +01:00
Jakub Sokołowski
e6db622cdb
chore(ci): upgrade from nix 2.14 to 2.19
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-02-13 19:46:43 +01:00
Patryk Osmaczko
e29332a374
chore: set extended timeout only for `protocol` package
...
It mitigates #4585 until the root cause is fixed.
2024-01-26 12:27:57 +01:00
Jakub Sokołowski
e53f31ff1f
ci: update Jenins CI xcode label to use 15.1
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-01-11 16:32:56 +01:00
Anton Iakimov
d2379aa129
ci: publish tests-nightly log/xml for debug ( #4384 )
2023-11-30 12:09:16 +01:00
Jakub Sokołowski
568371e836
chore(ci): update Nix Jenkins label to 2.14 version
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-29 15:15:51 +01:00
Anton Iakimov
1f076b9ff3
ci: set tests-nightly timeout to 5 hours
2023-11-27 12:42:09 +01:00
Anton Iakimov
2d251e9a08
ci: increase nightly runs and add more info to test stats ( #4378 )
2023-11-24 17:42:44 +01:00
Anton Iakimov
e67bee6e7b
fix: nightly test runs timeout ( #4358 )
...
Need to multiply 30m by test runs to make sure it fill be enough.
2023-11-22 17:48:04 +01:00
Anton Iakimov
c62957f621
feat: publish test_stats report ( #4349 )
...
Let's publish test_stats as a Jenkins report instead of printing to the
build log.
2023-11-22 11:37:05 +01:00
Anton Iakimov
d1a9ad599c
feat: detect flaky tests
...
This reverts commit f12803ec95
.
2023-11-21 17:03:37 +01:00
Anton Iakimov
f12803ec95
Revert "feat: detect flaky tests"
...
There are signs that test runs became unstable.
Might be related to this commit.
This reverts commit 9f168eacea
.
2023-11-21 16:34:43 +01:00
Anton Iakimov
9f168eacea
feat: detect flaky tests
2023-11-20 15:08:51 +01:00
Patryk Osmaczko
f7042e4b9e
refactor: extract layers in StatusMessage
...
Extracted:
- TransportLayer
- EncryptionLayer
- ApplicationLayer
2023-11-08 21:46:22 +01:00
Jakub Sokołowski
5aa9eb913d
fix: drop unnecessary wrappers, fix shebangs
...
Also make the hook installation run by default.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-07 18:02:06 +01:00
Ivan Belyakov
cb3a88f93a
fix(build): avoid removing untracked git changes by `make clean`
...
Use `make deep-clean` for deep cleaning
2023-11-03 07:37:48 +01:00
Jakub Sokołowski
494c6707ba
ci: parametrize DB port for unit tests
...
Otherwise we can't run tests in parallel on the same host. Also the
container name has to be different depending on executor.
Resolves errors like:
```
docker: Error response from daemon: Conflict.
The container name "/status-go-test-db" is already in use by container "123...".
You have to remove (or rename) that container to be able to reuse that name.
```
Resolves: https://github.com/status-im/status-go/issues/4040
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-09-18 19:54:21 +02:00