Commit Graph

45 Commits

Author SHA1 Message Date
Jakub Sokołowski 14caa9e6bd ci: use virtualenv to avoid race conditions
Desktop QA tests also use Pytest packages and their versions are
different, so we can't install them globally, it needs to be done per
build using `WORKSPACE_TMP` as destination.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-04-15 17:45:04 +03:00
Anastasiya Semenkevich 90bad4b225 chore: rerun failures enabled 2024-03-01 12:51:51 +03:00
Anastasiya Semenkevich 35bc7e055c ci: remove redundant env var 2024-02-26 13:52:20 +03:00
Anastasiya Semenkevich aae48022ad Revert "ci: test these changes with the nix build"
This reverts commit 801831949e50977f28ea5a0a533ffbf820df745c.
2024-02-20 12:48:33 +03:00
Anastasiya Semenkevich 2f03adce32 ci: test these changes with the nix build 2024-02-20 12:48:33 +03:00
Jakub Sokołowski 626658d1c9
ci: add Discord notifiction on failure
Depends on: https://github.com/status-im/status-jenkins-lib/pull/83

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-02-14 16:16:21 +01:00
Valentina Novgorodtceva 88b2172758 chore: categories and environment section added to allure report 2024-02-13 18:29:25 +07:00
Anton Iakimov 7fbcbde117
ci: remove debug 2023-12-25 13:07:09 +01:00
Anton Iakimov 41e634fa85 ci: set TEST_SCOPE_FLAG conditionally on JOB_NAME 2023-12-22 20:39:02 +03:00
Anastasiya Semenkevich 863deed451 ci: run critical tests by default 2023-12-18 16:22:27 +03:00
Anastasiya Semenkevich 663396a10b chore: introduce flaky mark
A “flaky” test is a test that usually pass but sometimes it fails.
If a flaky test pass it will be reported normally as test succeed. If the test fails, instead of being reported as failure it will be reported as a xfail.
2023-12-15 16:07:13 +03:00
Anastasiya Semiankevich e55fce53e2 chore: move the TEST MODE back off for now and add some more fixes 2023-12-13 17:20:30 +03:00
Anastasiya Semenkevich 9d35ad5492 chore: test test mode 2023-12-13 17:20:30 +03:00
Jakub Sokołowski eb63cde0a0
chore(ci): remove obsolete desktop-e2e-old CI label
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-06 15:03:15 +01:00
Anastasiya cdcab2b600
chore: change Squish version and disable flaky tests (#359)
* chore: use newer squish

* chore: test tests with squish 7.2.1
2023-12-01 22:04:11 +03:00
Jakub Sokołowski 4471113123
feat(ci): add LOG_LEVEL parameter for Jenkins jobs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:57:36 +01:00
Jakub Sokołowski 6081389bec
feat(ci): archive AUT logs generated by tests
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:49 +01:00
Jakub Sokołowski c5b5ac3c0a
fix(all): rename APP_DIR to AUT_PATH to reflect purpose
The name APP_DIR suggests the path is a directory, but it's not.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:47 +01:00
Anastasiya 5691004e55
chore: stabilise test (#333)
* chore: fix testnet toggle test and total balace wallet test

* chore: increase timeout for syncing test

* chore: disable test mode and remove keycard hide steps
2023-11-22 13:42:26 +03:00
Anastasiya 3923e9d7f0
chore: update jenkins config (#326) 2023-11-20 23:43:09 +03:00
Anastasiya 0609eff86f
chore: add env variable (#310) 2023-11-16 12:05:39 +03:00
Vladimir Druzhinin a1f405164e
chore: Dependence on Jenkins Job name removed in TestRail configs (#287)
#276

Co-authored-by: vlado@status.im <Vladimir Druzhinin>
2023-11-15 11:42:02 +03:00
Jakub Sokołowski 1ab9c878e9
ci: don't run on agents with desktop-e2e-old label (#298)
A temporary attempt to debug apparent delays possibly caused by running
both old and new e2e tests on the same host.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-13 12:29:47 +03:00
Jakub Sokołowski 4e306fed06
ci: don't call startsWith on a null
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-10 14:57:46 +01:00
Jakub Sokołowski fcc423849b
ci: fix filename parsing, add sane fallback (#296)
Depends on:
https://github.com/status-im/status-jenkins-lib/pull/79

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-10 16:00:52 +03:00
Jakub Sokołowski a014e3d797
ci: improve build names and descriptions
Currently the logic is a bit messy and results are not great.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-08 14:52:44 +01:00
Jakub Sokołowski c9ca683324
ci: default to using nightly build for QA PR builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-07 14:30:03 +01:00
Vladimir Druzhinin 0f475fcea8
chore: add reporting of nightly results to test rail (#228)
* chore: Rerun failed test added

* chore: Create Test Run in TestRail if it not exists

#227
2023-11-02 17:08:22 +01:00
Jakub Sokołowski 159cf60934
ci: handle nightly build naming better
Nightly builds just don't provide enough info in the path itself.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-27 16:45:30 +02:00
Jakub Sokołowski 796ee41d76
ci: set short build name and better description (#217)
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-26 14:18:33 +03:00
Jakub Sokołowski f10860ad0b
ci: fix missing bracket for timeout
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-24 18:50:59 +02:00
Jakub Sokołowski 502f370f27
ci: bump number of builds to keep
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-24 18:34:55 +02:00
Jakub Sokołowski 8bf6ac50e2
ci: add timeouts per each stage
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-24 18:34:54 +02:00
Jakub Sokołowski ce2e30763b
ci: update GitHub check status at job start too
This way we'll see in GitHub PRs that the new job is in progress.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-24 16:35:57 +02:00
Jakub Sokołowski 6ef0ccabb0
ci: add GitHub check status update for desktop repo
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-24 14:08:38 +02:00
Jakub Sokołowski 3ad2f3ff92
ci: update build name to be more descriptive
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-24 14:08:37 +02:00
Jakub Sokołowski 57e934fad5
ci: replace BUILD_URL with BUILD_SOURCE parameter
This parameter can take both URL or a path to Jenkins job.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-24 13:59:24 +02:00
Jakub Sokołowski 17d91b5224
ci: refactor Jenkinsfile for clarity
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-24 13:59:23 +02:00
Jakub Sokołowski 7369d97838
config: use filenames that end in .py
They are Python files, changing their file extension is a bad idea.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-24 13:59:22 +02:00
Vladimir Druzhinin 9610b98796
Improving jenkinsfile (#175) 2023-10-13 16:37:06 +02:00
Vladimir Druzhinin 5e702204da
Jenkinsfiles were merged (#164)
#163
2023-10-13 13:22:50 +02:00
Vladimir Druzhinin bbd3fbcb4d
Ci/144 jenkins file (#158)
* Jenkins file for nightly regression added

* Downloading build by URL added

#144
2023-10-10 10:30:56 +02:00
Vladimir Druzhinin 6373d44e83
Fix/143 image comparison (#150)
* Attach squish server config to test report

* Fix image comparison on CI 

#143

* Fix failed image comparison

#143

* List branches added

#144
2023-10-09 11:38:48 +02:00
Vladimir Druzhinin 34c731faff
Ci/74 jenkins file (#142)
* OS native dialog replaced on Qt dialog

* Starting fluxbox added to make File Dialog visible
2023-10-06 10:33:42 +02:00
Vladimir Druzhinin 4588cf1af3
Ci/74 jenkins file (#118)
* Set up Jenkins file

#74

* Fix Allure trend

* Display resolution changed on CI

* TestRail integration

* Fix test on create community

* Fix wallet tests

* Fix field description in jenkinsfile

* Test name and test scope parameters were split in Jenkinsfile

* Clean up moved in post stage

* Environment variables set up changed in JenkinsFile

* Fix test ID

* Fix warnings in JenkinsFile

* Copy artifacts directory changed

* Fix of two space indentations in Jenkinsfile

* Extra environment variable removed

* Move tests wallet in one folder

---------

Co-authored-by: Valentina Novgorodtceva <valentina@status.im>
2023-09-28 14:44:13 +02:00