-
Notifications
You must be signed in to change notification settings - Fork 881
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
Add ARM32 tests on travis #1019
Conversation
dcad0ef
to
8e7788f
Compare
Codecov Report
@@ Coverage Diff @@
## master #1019 +/- ##
==========================================
- Coverage 91.68% 91.56% -0.13%
==========================================
Files 91 104 +13
Lines 10491 11011 +520
==========================================
+ Hits 9619 10082 +463
- Misses 872 929 +57
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #1019 +/- ##
=========================================
Coverage ? 91.91%
=========================================
Files ? 111
Lines ? 14351
Branches ? 0
=========================================
Hits ? 13191
Misses ? 1160
Partials ? 0
Continue to review full report at Codecov.
|
I do not think we want to run this on PRs at 14 minutes runtime. I would also prefer if this runs PG10 or 9.6 and 10 when moved to cron |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move docker hub from personal to timescale.
This will be converted to only run from pre-release brunch. I am still working on it that is why as of now I run it from all PRs. |
a7f3c81
to
bde8053
Compare
40e494c
to
1d3c2a0
Compare
88a1b28
to
aa0605e
Compare
26cca55
to
2b17ab0
Compare
08f5447
to
4be2719
Compare
.travis.yml
Outdated
- docker exec -u postgres -it docker_arm_emulator cat /build/tsl/test/log/initdb.log /timescaledb/build/test/regression.diffs /timescaledb/build/tsl/test/regression.diffs /timescaledb/build/test/isolation/regression.diffs /timescaledb/build/test/pgtest/regression.diffs && echo $LANG $LC_ALL | ||
script: | ||
# allow 50 mins to run | ||
- travis_wait 50 docker exec -u postgres docker_arm_emulator /bin/bash -c "cd /build && make installcheck IGNORES='multi_transaction_indexing sql_query_results_unoptimized sql_query_results_x_diff chunk_utils bgw_db_scheduler continuous_aggs_insert plan_expand_hypertable-9.6 sql_query_results_unoptimized-9.6 sql_query_results_x_diff-9.6 plan_hashagg-9.6'" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
travis_wait is not tty so docker exec -it
will not work which means one cannot see continuous output in travis from this command. A workaround is described here but this approach would mean tests are marked as completed exactly after the specified wait time passes and not when the testing finishes
24cb1cc
to
1a234b9
Compare
1a234b9
to
6529a4a
Compare
1. %ld interpolates 32bit numeric values on ARM processors and %lld is needed to successfully parse int64 types on arm. 2. Postgres TimestampDifference function expects long* for the referene type of time length but we internally keep int64 for arm and x86 interoperability. The change makes the type cast explicit to suppress a compile time warning.
Currently make installcheck IGNORES=... skips ignored tests. This commit changes IGNORE functionality to mean "run tests but ignore the result if the test fails" which is what ignore refers to in pg_regress framework terminology. The change was necessary to allow running ARM regression tests on travis and account for known failure issues. The commit also adds a make installcheck SKIPS=... argument that replicates the functionality previously refered as IGNORES.
6529a4a
to
b9ef2b7
Compare
No description provided.