@@ -129,10 +129,10 @@ jobs:
129
129
- name : Build
130
130
run : |
131
131
cd ${GITHUB_WORKSPACE}/build
132
- ninja search_family_test
132
+ # ninja search_family_test
133
133
df -h
134
134
echo "-----------------------------"
135
- ninja src/all
135
+ ninja multi_test
136
136
137
137
- name : PostFail
138
138
if : failure()
@@ -145,60 +145,61 @@ jobs:
145
145
cd ${GITHUB_WORKSPACE}/build
146
146
echo Run ctest -V -L DFLY
147
147
148
- GLOG_alsologtostderr=1 GLOG_vmodule=rdb_load=1,rdb_save=1,snapshot=1,op_manager=1,op_manager_test=1 \
149
- FLAGS_fiber_safety_margin=4096 FLAGS_list_experimental_v2=true timeout 20m ctest -V -L DFLY -E allocation_tracker_test
150
-
151
- # Run allocation tracker test separately without alsologtostderr because it generates a TON of logs.
152
- FLAGS_fiber_safety_margin=4096 timeout 5m ./allocation_tracker_test
153
-
154
- timeout 5m ./dragonfly_test
155
- timeout 5m ./json_family_test --jsonpathv2=false
156
- timeout 5m ./tiered_storage_test --vmodule=db_slice=2 --logtostderr
157
-
158
-
159
- - name : C++ Unit Tests - Epoll
160
- run : |
161
- cd ${GITHUB_WORKSPACE}/build
162
-
163
- # Create a rule that automatically prints stacktrace upon segfault
164
- cat > ./init.gdb <<EOF
165
- catch signal SIGSEGV
166
- command
167
- bt
168
- end
169
- EOF
170
-
171
- gdb -ix ./init.gdb --batch -ex r --args ./dragonfly_test --force_epoll
172
- FLAGS_fiber_safety_margin=4096 FLAGS_force_epoll=true GLOG_vmodule=rdb_load=1,rdb_save=1,snapshot=1 timeout 20m ctest -V -L DFLY -E allocation_tracker_test
173
-
174
- FLAGS_fiber_safety_margin=4096 FLAGS_force_epoll=true timeout 5m ./allocation_tracker_test
175
-
176
- - name : C++ Unit Tests - IoUring with cluster mode
177
- run : |
178
- FLAGS_fiber_safety_margin=4096 FLAGS_cluster_mode=emulated timeout 20m ctest -V -L DFLY
179
-
180
- - name : C++ Unit Tests - IoUring with cluster mode and FLAGS_lock_on_hashtags
181
- run : |
182
- FLAGS_fiber_safety_margin=4096 FLAGS_cluster_mode=emulated FLAGS_lock_on_hashtags=true timeout 20m ctest -V -L DFLY
183
-
148
+ #GLOG_alsologtostderr=1 GLOG_vmodule=rdb_load=1,rdb_save=1,snapshot=1,op_manager=1,op_manager_test=1 \
149
+ #FLAGS_fiber_safety_margin=4096 FLAGS_list_experimental_v2=true timeout 20m ctest -V -L DFLY -E allocation_tracker_test
150
+
151
+ ## Run allocation tracker test separately without alsologtostderr because it generates a TON of logs.
152
+ #FLAGS_fiber_safety_margin=4096 timeout 5m ./allocation_tracker_test
153
+
154
+ #timeout 5m ./dragonfly_test
155
+ #timeout 5m ./json_family_test --jsonpathv2=false
156
+ #timeout 5m ./tiered_storage_test --vmodule=db_slice=2 --logtostderr
157
+ ./multi_test
158
+
159
+
160
+ # - name: C++ Unit Tests - Epoll
161
+ # run: |
162
+ # cd ${GITHUB_WORKSPACE}/build
163
+ #
164
+ # # Create a rule that automatically prints stacktrace upon segfault
165
+ # cat > ./init.gdb <<EOF
166
+ # catch signal SIGSEGV
167
+ # command
168
+ # bt
169
+ # end
170
+ # EOF
171
+ #
172
+ # gdb -ix ./init.gdb --batch -ex r --args ./dragonfly_test --force_epoll
173
+ # FLAGS_fiber_safety_margin=4096 FLAGS_force_epoll=true GLOG_vmodule=rdb_load=1,rdb_save=1,snapshot=1 timeout 20m ctest -V -L DFLY -E allocation_tracker_test
174
+ #
175
+ # FLAGS_fiber_safety_margin=4096 FLAGS_force_epoll=true timeout 5m ./allocation_tracker_test
176
+ #
177
+ # - name: C++ Unit Tests - IoUring with cluster mode
178
+ # run: |
179
+ # FLAGS_fiber_safety_margin=4096 FLAGS_cluster_mode=emulated timeout 20m ctest -V -L DFLY
180
+ #
181
+ # - name: C++ Unit Tests - IoUring with cluster mode and FLAGS_lock_on_hashtags
182
+ # run: |
183
+ # FLAGS_fiber_safety_margin=4096 FLAGS_cluster_mode=emulated FLAGS_lock_on_hashtags=true timeout 20m ctest -V -L DFLY
184
+ #
184
185
- name : Upload unit logs on failure
185
186
if : failure()
186
187
uses : actions/upload-artifact@v4
187
188
with :
188
189
name : unit_logs
189
190
path : /tmp/*INFO*
190
191
191
- - name : Run regression tests
192
- if : matrix.container == 'ubuntu-dev:20'
193
- uses : ./.github/actions/regression-tests
194
- with :
195
- dfly-executable : dragonfly
196
- run-only-on-ubuntu-latest : true
197
- build-folder-name : build
198
- # Non-release build will not run tests marked as slow or opt_only
199
- # "not empty" string is needed for release build because pytest command can not get empty string for filter
200
- filter : ${{ matrix.build-type == 'Release' && 'not empty' || '(not slow) and (not opt_only)' }}
201
-
192
+ # - name: Run regression tests
193
+ # if: matrix.container == 'ubuntu-dev:20'
194
+ # uses: ./.github/actions/regression-tests
195
+ # with:
196
+ # dfly-executable: dragonfly
197
+ # run-only-on-ubuntu-latest: true
198
+ # build-folder-name: build
199
+ # # Non-release build will not run tests marked as slow or opt_only
200
+ # # "not empty" string is needed for release build because pytest command can not get empty string for filter
201
+ # filter: ${{ matrix.build-type == 'Release' && 'not empty' || '(not slow) and (not opt_only)' }}
202
+ #
202
203
- name : Upload regression logs on failure
203
204
if : failure()
204
205
uses : actions/upload-artifact@v4
0 commit comments