Skip to content

Commit e25d443

Browse files
committed
Try fix /dev/shm and weird error on timeout-minutes
1 parent a4b0bd9 commit e25d443

6 files changed

+35
-10
lines changed

.github/actions/post-steps/action.yml

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ runs:
66
- name: Setup tmate session #TEMPORARY!
77
if: ${{ failure() }}
88
uses: mxschmitt/action-tmate@v3
9-
timeout-minutes: 60
109
with:
1110
limit-access-to-actor: true
1211
- uses: actions/[email protected]

.github/workflows/jobs-java.yml

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ jobs:
66
labels: 4-core-ubuntu
77
container:
88
image: zjay437/rocksdb:0.6
9+
options: --shm-size=2gb
910
steps:
1011
- uses: actions/[email protected]
1112
- uses: "./.github/actions/pre-steps"
@@ -22,6 +23,7 @@ jobs:
2223
labels: 4-core-ubuntu
2324
container:
2425
image: evolvedbinary/rocksjava:centos6_x64-be
26+
options: --shm-size=2gb
2527
steps:
2628
- uses: actions/checkout@v3 # see https://github.com/actions/checkout/issues/1474
2729
- uses: "./.github/actions/pre-steps"

.github/workflows/jobs-linux-no-test-run.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ jobs:
66
labels: 16-core-ubuntu
77
container:
88
image: zjay437/rocksdb:0.6
9+
options: --shm-size=2gb
910
steps:
1011
- uses: actions/[email protected]
1112
- run: make V=1 -j32 LIB_MODE=shared release
@@ -30,6 +31,7 @@ jobs:
3031
labels: 8-core-ubuntu
3132
container:
3233
image: zjay437/rocksdb:0.6
34+
options: --shm-size=2gb
3335
steps:
3436
- uses: actions/[email protected]
3537
- run: USE_RTTI=1 DEBUG_LEVEL=0 make V=1 -j16 static_lib tools db_bench
@@ -43,6 +45,7 @@ jobs:
4345
labels: 4-core-ubuntu
4446
container:
4547
image: zjay437/rocksdb:0.6
48+
options: --shm-size=2gb
4649
steps:
4750
- uses: actions/[email protected]
4851
- uses: "./.github/actions/pre-steps"
@@ -54,6 +57,7 @@ jobs:
5457
labels: 4-core-ubuntu
5558
container:
5659
image: zjay437/rocksdb:0.6
60+
options: --shm-size=2gb
5761
steps:
5862
- uses: actions/[email protected]
5963
- uses: "./.github/actions/pre-steps"
@@ -67,6 +71,7 @@ jobs:
6771
labels: 8-core-ubuntu
6872
container:
6973
image: zjay437/rocksdb:0.6
74+
options: --shm-size=2gb
7075
steps:
7176
- uses: actions/[email protected]
7277
- run: CC=clang CXX=clang++ USE_CLANG=1 PORTABLE=1 make V=1 -j16 all
@@ -76,6 +81,7 @@ jobs:
7681
labels: 16-core-ubuntu
7782
container:
7883
image: zjay437/rocksdb:0.6
84+
options: --shm-size=2gb
7985
steps:
8086
- uses: actions/[email protected]
8187
- uses: "./.github/actions/pre-steps"
@@ -86,6 +92,7 @@ jobs:
8692
labels: 16-core-ubuntu
8793
container:
8894
image: zjay437/rocksdb:0.6
95+
options: --shm-size=2gb
8996
steps:
9097
- uses: actions/[email protected]
9198
- uses: "./.github/actions/pre-steps"
@@ -96,6 +103,7 @@ jobs:
96103
labels: 16-core-ubuntu
97104
container:
98105
image: zjay437/rocksdb:0.6
106+
options: --shm-size=2gb
99107
steps:
100108
- uses: actions/[email protected]
101109
- uses: "./.github/actions/pre-steps"
@@ -106,9 +114,9 @@ jobs:
106114
labels: 16-core-ubuntu
107115
container:
108116
image: zjay437/rocksdb:0.6
117+
options: --shm-size=2gb
109118
steps:
110119
- uses: actions/[email protected]
111120
- uses: "./.github/actions/pre-steps"
112121
- run: LIB_MODE=static CC=gcc-11 CXX=g++-11 V=1 make -j32 all microbench
113122
- uses: "./.github/actions/post-steps"
114-

.github/workflows/jobs-linux-other-checks.yml

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ jobs:
66
labels: 16-core-ubuntu
77
container:
88
image: zjay437/rocksdb:0.6
9+
options: --shm-size=2gb
910
steps:
1011
- uses: actions/[email protected]
1112
- uses: "./.github/actions/pre-steps"
@@ -22,6 +23,7 @@ jobs:
2223
labels: 4-core-ubuntu
2324
container:
2425
image: gcc:latest
26+
options: --shm-size=2gb
2527
env:
2628
EXTRA_CXXFLAGS: "-mno-avx512f"
2729
steps:
@@ -36,6 +38,7 @@ jobs:
3638
labels: 4-core-ubuntu
3739
container:
3840
image: zjay437/rocksdb:0.6
41+
options: --shm-size=2gb
3942
steps:
4043
- uses: actions/[email protected]
4144
- uses: "./.github/actions/pre-steps"

.github/workflows/jobs-linux-run-tests-san.yml

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ jobs:
66
labels: 32-core-ubuntu
77
container:
88
image: zjay437/rocksdb:0.6
9+
options: --shm-size=2gb
910
steps:
1011
- uses: actions/[email protected]
1112
- uses: "./.github/actions/pre-steps"
@@ -21,6 +22,7 @@ jobs:
2122
labels: 16-core-ubuntu
2223
container:
2324
image: zjay437/rocksdb:0.6
25+
options: --shm-size=2gb
2426
steps:
2527
- uses: actions/[email protected]
2628
- uses: "./.github/actions/pre-steps"
@@ -31,6 +33,7 @@ jobs:
3133
labels: 32-core-ubuntu
3234
container:
3335
image: zjay437/rocksdb:0.6
36+
options: --shm-size=2gb
3437
steps:
3538
- uses: actions/[email protected]
3639
- uses: "./.github/actions/pre-steps"
@@ -41,6 +44,7 @@ jobs:
4144
labels: 16-core-ubuntu
4245
container:
4346
image: zjay437/rocksdb:0.6
47+
options: --shm-size=2gb
4448
steps:
4549
- uses: actions/[email protected]
4650
- uses: "./.github/actions/pre-steps"

.github/workflows/jobs-linux-run-tests.yml

+17-8
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,22 @@ name: facebook/rocksdb/jobs-linux-run-tests
22
on: [push, pull_request]
33
jobs:
44
build-linux:
5-
runs-on:
5+
runs-on:
66
labels: 16-core-ubuntu
77
container:
88
image: zjay437/rocksdb:0.6
9+
options: --shm-size=2gb
910
steps:
1011
- uses: actions/[email protected]
1112
- uses: "./.github/actions/pre-steps"
1213
- run: make V=1 J=32 -j32 check
1314
- uses: "./.github/actions/post-steps"
1415
build-linux-cmake-mingw:
15-
runs-on:
16+
runs-on:
1617
labels: 4-core-ubuntu
1718
container:
1819
image: zjay437/rocksdb:0.6
20+
options: --shm-size=2gb
1921
steps:
2022
- uses: actions/[email protected]
2123
- uses: "./.github/actions/pre-steps"
@@ -29,10 +31,11 @@ jobs:
2931
mkdir build && cd build && cmake -DJNI=1 -DWITH_GFLAGS=OFF .. -DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc -DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ -DCMAKE_SYSTEM_NAME=Windows && make -j4 rocksdb rocksdbjni
3032
- uses: "./.github/actions/post-steps"
3133
build-linux-cmake-with-folly:
32-
runs-on:
34+
runs-on:
3335
labels: 16-core-ubuntu
3436
container:
3537
image: zjay437/rocksdb:0.6
38+
options: --shm-size=2gb
3639
steps:
3740
- uses: actions/[email protected]
3841
- uses: "./.github/actions/pre-steps"
@@ -41,21 +44,23 @@ jobs:
4144
- run: "(mkdir build && cd build && cmake -DUSE_FOLLY=1 -DWITH_GFLAGS=1 -DROCKSDB_BUILD_SHARED=0 .. && make V=1 -j20 && ctest -j20)"
4245
- uses: "./.github/actions/post-steps"
4346
build-linux-cmake-with-folly-lite-no-test:
44-
runs-on:
47+
runs-on:
4548
labels: 16-core-ubuntu
4649
container:
4750
image: zjay437/rocksdb:0.6
51+
options: --shm-size=2gb
4852
steps:
4953
- uses: actions/[email protected]
5054
- uses: "./.github/actions/pre-steps"
5155
- uses: "./.github/actions/setup-folly"
5256
- run: "(mkdir build && cd build && cmake -DUSE_FOLLY_LITE=1 -DWITH_GFLAGS=1 .. && make V=1 -j20)"
5357
- uses: "./.github/actions/post-steps"
5458
build-linux-gcc-7-with-folly:
55-
runs-on:
59+
runs-on:
5660
labels: 16-core-ubuntu
5761
container:
5862
image: zjay437/rocksdb:0.6
63+
options: --shm-size=2gb
5964
steps:
6065
- uses: actions/[email protected]
6166
- uses: "./.github/actions/pre-steps"
@@ -64,21 +69,23 @@ jobs:
6469
- run: USE_FOLLY=1 LIB_MODE=static CC=gcc-7 CXX=g++-7 V=1 make -j32 check
6570
- uses: "./.github/actions/post-steps"
6671
build-linux-gcc-7-with-folly-lite-no-test:
67-
runs-on:
72+
runs-on:
6873
labels: 16-core-ubuntu
6974
container:
7075
image: zjay437/rocksdb:0.6
76+
options: --shm-size=2gb
7177
steps:
7278
- uses: actions/[email protected]
7379
- uses: "./.github/actions/pre-steps"
7480
- uses: "./.github/actions/setup-folly"
7581
- run: USE_FOLLY_LITE=1 CC=gcc-7 CXX=g++-7 V=1 make -j32 all
7682
- uses: "./.github/actions/post-steps"
7783
build-linux-cmake-with-folly-coroutines:
78-
runs-on:
84+
runs-on:
7985
labels: 16-core-ubuntu
8086
container:
8187
image: zjay437/rocksdb:0.6
88+
options: --shm-size=2gb
8289
env:
8390
CC: gcc-10
8491
CXX: g++-10
@@ -90,10 +97,11 @@ jobs:
9097
- run: "(mkdir build && cd build && cmake -DUSE_COROUTINES=1 -DWITH_GFLAGS=1 -DROCKSDB_BUILD_SHARED=0 .. && make V=1 -j20 && ctest -j20)"
9198
- uses: "./.github/actions/post-steps"
9299
build-linux-cmake-with-benchmark:
93-
runs-on:
100+
runs-on:
94101
labels: 16-core-ubuntu
95102
container:
96103
image: zjay437/rocksdb:0.6
104+
options: --shm-size=2gb
97105
steps:
98106
- uses: actions/[email protected]
99107
- uses: "./.github/actions/pre-steps"
@@ -104,6 +112,7 @@ jobs:
104112
labels: 16-core-ubuntu
105113
container:
106114
image: zjay437/rocksdb:0.6
115+
options: --shm-size=2gb
107116
steps:
108117
- uses: actions/[email protected]
109118
- uses: "./.github/actions/pre-steps"

0 commit comments

Comments
 (0)