From 4ee962f709c5f5d65a3cfd5e454c3a384a0abfb8 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Mon, 15 Apr 2024 20:54:36 -0500 Subject: [PATCH] Debug CI failure on Github Signed-off-by: Quincey Koziol --- test/ttsafe_acreate.c | 2 -- test/ttsafe_atomic.c | 2 -- test/ttsafe_attr_vlen.c | 2 -- test/ttsafe_dcreate.c | 2 -- test/ttsafe_develop.c | 2 -- test/ttsafe_error.c | 2 -- test/ttsafe_rec_rw_lock.c | 8 -------- test/ttsafe_thread_id.c | 2 -- test/ttsafe_thread_pool.c | 2 -- 9 files changed, 24 deletions(-) diff --git a/test/ttsafe_acreate.c b/test/ttsafe_acreate.c index 3e38ab0e06c..b3a83e5690c 100644 --- a/test/ttsafe_acreate.c +++ b/test/ttsafe_acreate.c @@ -64,7 +64,6 @@ tts_acreate(void) herr_t status; ttsafe_name_data_t *attrib_data; - fprintf(stderr, "%s: Entering\n", __func__); /* * Create an HDF5 file using H5F_ACC_TRUNC access, default file @@ -137,7 +136,6 @@ tts_acreate(void) CHECK(status, FAIL, "H5Dclose"); status = H5Fclose(file); CHECK(status, FAIL, "H5Fclose"); - fprintf(stderr, "%s: Leaving\n", __func__); } /* end tts_acreate() */ H5TS_THREAD_RETURN_TYPE diff --git a/test/ttsafe_atomic.c b/test/ttsafe_atomic.c index 2a936d1824d..71046be44af 100644 --- a/test/ttsafe_atomic.c +++ b/test/ttsafe_atomic.c @@ -68,7 +68,6 @@ tts_atomics(void) { H5TS_pool_t *pool = NULL; herr_t result; - fprintf(stderr, "%s: Entering\n", __func__); /* Initialize the counter */ H5TS_atomic_init_int(&counter_g, 0); @@ -175,7 +174,6 @@ tts_atomics(void) /* Destroy the atomic counter */ H5TS_atomic_destroy_int(&counter_g); - fprintf(stderr, "%s: Leaving\n", __func__); } /* end tts_atomics() */ #endif /* H5_HAVE_THREADS */ diff --git a/test/ttsafe_attr_vlen.c b/test/ttsafe_attr_vlen.c index 510b4d5313a..913ad0011a9 100644 --- a/test/ttsafe_attr_vlen.c +++ b/test/ttsafe_attr_vlen.c @@ -62,7 +62,6 @@ tts_attr_vlen(void) const char *string_attr = "2.0"; /* The attribute data */ int ret; /* Return value */ int i; /* Local index variable */ - fprintf(stderr, "%s: Entering\n", __func__); /* Create the HDF5 test file */ fid = H5Fcreate(FILENAME, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); @@ -115,7 +114,6 @@ tts_attr_vlen(void) if (H5TS_thread_join(threads[i], NULL) < 0) TestErrPrintf("thread %d failed to join", i); - fprintf(stderr, "%s: Leaving\n", __func__); } /* end tts_attr_vlen() */ /* Start execution for each thread */ diff --git a/test/ttsafe_dcreate.c b/test/ttsafe_dcreate.c index f011777b93c..fb66aeaf313 100644 --- a/test/ttsafe_dcreate.c +++ b/test/ttsafe_dcreate.c @@ -58,7 +58,6 @@ tts_dcreate(void) { /* thread definitions */ H5TS_thread_t threads[NUM_THREAD]; - fprintf(stderr, "%s: Entering\n", __func__); /* HDF5 data definitions */ hid_t file = H5I_INVALID_HID; @@ -116,7 +115,6 @@ tts_dcreate(void) /* close remaining resources */ status = H5Fclose(file); CHECK(status, FAIL, "H5Fclose"); - fprintf(stderr, "%s: Leaving\n", __func__); } /* end tts_dcreate() */ H5TS_THREAD_RETURN_TYPE diff --git a/test/ttsafe_develop.c b/test/ttsafe_develop.c index c7b1c8a30fc..3fe4efd8f2a 100644 --- a/test/ttsafe_develop.c +++ b/test/ttsafe_develop.c @@ -106,7 +106,6 @@ tts_develop_api(void) tts_develop_api_udata_t udata; unsigned api_count_1 = 0, api_count_2 = 0; herr_t result; - fprintf(stderr, "%s: Entering\n", __func__); /* Check that API count increases with each API call */ result = H5TSmutex_get_attempt_count(&api_count_1); @@ -161,7 +160,6 @@ tts_develop_api(void) CHECK_I(result, "H5TSmutex_release"); VERIFY(lock_count, 2, "H5TSmutex_release"); - fprintf(stderr, "%s: Leaving\n", __func__); } /* end tts_develop_api() */ #endif /*H5_HAVE_THREADSAFE*/ diff --git a/test/ttsafe_error.c b/test/ttsafe_error.c index d131a32ae17..95062eaa8d1 100644 --- a/test/ttsafe_error.c +++ b/test/ttsafe_error.c @@ -64,7 +64,6 @@ tts_error(void) H5TS_thread_t threads[NUM_THREAD]; int value, i; herr_t status; - fprintf(stderr, "%s: Entering\n", __func__); /* Must initialize these at runtime */ expected_g[0].maj_num = H5E_DATASET; @@ -156,7 +155,6 @@ tts_error(void) status = H5TS_mutex_destroy(&error_mutex_g); CHECK_I(status, "H5TS_mutex_destroy"); - fprintf(stderr, "%s: Leaving\n", __func__); } /* end tts_error() */ static H5TS_THREAD_RETURN_TYPE diff --git a/test/ttsafe_rec_rw_lock.c b/test/ttsafe_rec_rw_lock.c index 62009bccaab..f7230af3d9d 100644 --- a/test/ttsafe_rec_rw_lock.c +++ b/test/ttsafe_rec_rw_lock.c @@ -270,7 +270,6 @@ tts_rec_rw_lock_smoke_check_1(void) H5TS_rw_lock_stats_t stats; #endif H5TS_rw_lock_t rec_rw_lock; - fprintf(stderr, "%s: Entering\n", __func__); /* 1) Initialize an instance of the recursive R/W lock. */ result = H5TS__rw_lock_init(&rec_rw_lock); @@ -511,7 +510,6 @@ tts_rec_rw_lock_smoke_check_1(void) /* 25) Shut down the recursive R/W lock. */ result = H5TS__rw_lock_destroy(&rec_rw_lock); CHECK_I(result, "H5TS__rw_lock_destroy"); - fprintf(stderr, "%s: Leaving\n", __func__); } /* end tts_rec_rw_lock_smoke_check_1() */ /* @@ -565,7 +563,6 @@ tts_rec_rw_lock_smoke_check_2(void) H5TS_rw_lock_stats_t expected; #endif H5TS_rw_lock_t rec_rw_lock; - fprintf(stderr, "%s: Entering\n", __func__); #if H5TS_ENABLE_REC_RW_LOCK_STATS /* Reset expected stats fields to zero -- we will construct the expected @@ -719,7 +716,6 @@ tts_rec_rw_lock_smoke_check_2(void) /* discard the udata if it exists */ if (udata) free(udata); - fprintf(stderr, "%s: Leaving\n", __func__); } /* end tts_rec_rw_lock_smoke_check_2() */ /* @@ -773,7 +769,6 @@ tts_rec_rw_lock_smoke_check_3(void) H5TS_rw_lock_stats_t expected; #endif H5TS_rw_lock_t rec_rw_lock; - fprintf(stderr, "%s: Entering\n", __func__); #if H5TS_ENABLE_REC_RW_LOCK_STATS /* Reset expected stats fields to zero -- we will construct the expected @@ -926,7 +921,6 @@ tts_rec_rw_lock_smoke_check_3(void) /* discard the udata if it exists */ if (udata) free(udata); - fprintf(stderr, "%s: Leaving\n", __func__); } /* end tts_rec_rw_lock_smoke_check_3() */ /* @@ -981,7 +975,6 @@ tts_rec_rw_lock_smoke_check_4(void) H5TS_rw_lock_stats_t expected; #endif H5TS_rw_lock_t rec_rw_lock; - fprintf(stderr, "%s: Entering\n", __func__); #if H5TS_ENABLE_REC_RW_LOCK_STATS /* Reset expected stats fields to zero -- we will construct the expected @@ -1138,7 +1131,6 @@ tts_rec_rw_lock_smoke_check_4(void) /* discard the udata if it exists */ if (udata) free(udata); - fprintf(stderr, "%s: Leaving\n", __func__); } /* end tts_rec_rw_lock_smoke_check_4() */ #endif /* H5_HAVE_WIN_THREADS */ diff --git a/test/ttsafe_thread_id.c b/test/ttsafe_thread_id.c index c083b3a524b..70673e674cc 100644 --- a/test/ttsafe_thread_id.c +++ b/test/ttsafe_thread_id.c @@ -99,7 +99,6 @@ tts_thread_id(void) uint64_t tid; int i; herr_t result; - fprintf(stderr, "%s: Entering\n", __func__); result = H5TS_mutex_init(&used_lock, H5TS_MUTEX_TYPE_PLAIN); CHECK_I(result, "H5TS_mutex_lock"); @@ -134,7 +133,6 @@ tts_thread_id(void) result = H5TS__barrier_destroy(&barrier); CHECK_I(result, "H5TS__barrier_destroy"); - fprintf(stderr, "%s: Leaving\n", __func__); } /* end tts_thread_id() */ #endif /*H5_HAVE_THREADSAFE*/ diff --git a/test/ttsafe_thread_pool.c b/test/ttsafe_thread_pool.c index 42b3c1828ce..9dd28360e50 100644 --- a/test/ttsafe_thread_pool.c +++ b/test/ttsafe_thread_pool.c @@ -96,7 +96,6 @@ tts_thread_pool(void) { H5TS_pool_t *pool = NULL; herr_t result; - fprintf(stderr, "%s: Entering\n", __func__); /* Initialize the counter */ result = H5TS_mutex_init(&counter_g.mutex, H5TS_MUTEX_TYPE_PLAIN); @@ -206,7 +205,6 @@ tts_thread_pool(void) result = H5TS_mutex_destroy(&counter_g.mutex); CHECK_I(result, "H5TS_mutex_destroy"); - fprintf(stderr, "%s: Leaving\n", __func__); } /* end tts_thread_pool() */ #endif /*H5_HAVE_THREADS*/