Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rt-tests for openSUSE:Factory checked in at 2021-07-01 07:05:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rt-tests (Old) and /work/SRC/openSUSE:Factory/.rt-tests.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rt-tests" Thu Jul 1 07:05:42 2021 rev:5 rq:903214 version:2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/rt-tests/rt-tests.changes 2021-06-26 21:25:43.079363501 +0200 +++ /work/SRC/openSUSE:Factory/.rt-tests.new.2625/rt-tests.changes 2021-07-01 07:05:59.951306130 +0200 @@ -1,0 +2,7 @@ +Wed Jun 30 07:06:07 UTC 2021 - Daniel Wagner <daniel.wagner@suse.com> + +- Update to upstream version 2.1 + * Avoid pagefault at startup which made the first cycle + in cyclictest measure a huge latency spike. + +------------------------------------------------------------------- Old: ---- rt-tests-2.0.tar.gz New: ---- rt-tests-2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rt-tests.spec ++++++ --- /var/tmp/diff_new_pack.lDYXY4/_old 2021-07-01 07:06:00.323303224 +0200 +++ /var/tmp/diff_new_pack.lDYXY4/_new 2021-07-01 07:06:00.327303194 +0200 @@ -17,7 +17,7 @@ Name: rt-tests -Version: 2.0 +Version: 2.1 Release: 0 Summary: Realtime Kernel Testsuite License: GPL-2.0-only ++++++ rt-tests-2.0.tar.gz -> rt-tests-2.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/Makefile new/rt-tests-2.1/Makefile --- old/rt-tests-2.0/Makefile 2021-06-17 15:02:58.000000000 +0200 +++ new/rt-tests-2.1/Makefile 2021-06-30 05:09:41.000000000 +0200 @@ -1,4 +1,4 @@ -VERSION = 1.10 +VERSION = 2.1 CC = $(CROSS_COMPILE)gcc AR = $(CROSS_COMPILE)ar diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/src/cyclictest/cyclictest.c new/rt-tests-2.1/src/cyclictest/cyclictest.c --- old/rt-tests-2.0/src/cyclictest/cyclictest.c 2021-06-17 15:02:58.000000000 +0200 +++ new/rt-tests-2.1/src/cyclictest/cyclictest.c 2021-06-30 05:09:41.000000000 +0200 @@ -615,7 +615,6 @@ setitimer(ITIMER_REAL, &itimer, NULL); } - rt_test_start(); stat->threadstarted++; while (!shutdown) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/src/include/rt-utils.h new/rt-tests-2.1/src/include/rt-utils.h --- old/rt-tests-2.0/src/include/rt-utils.h 2021-06-17 15:02:58.000000000 +0200 +++ new/rt-tests-2.1/src/include/rt-utils.h 2021-06-30 05:09:41.000000000 +0200 @@ -82,8 +82,6 @@ void rt_init(int argc, char *argv[]); -void rt_test_start(void); - void rt_write_json(const char *filename, int return_code, void (*cb)(FILE *, void *), void *data); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/src/lib/rt-utils.c new/rt-tests-2.1/src/lib/rt-utils.c --- old/rt-tests-2.0/src/lib/rt-utils.c 2021-06-17 15:02:58.000000000 +0200 +++ new/rt-tests-2.1/src/lib/rt-utils.c 2021-06-30 05:09:41.000000000 +0200 @@ -490,6 +490,19 @@ close_tracemark_fd(); } +static void get_timestamp(char *tsbuf) +{ + struct timeval tv; + struct tm *tm; + time_t t; + + gettimeofday(&tv, NULL); + t = tv.tv_sec; + tm = localtime(&t); + /* RFC 2822-compliant date format */ + strftime(tsbuf, MAX_TS_SIZE, "%a, %d %b %Y %T %z", tm); +} + void rt_init(int argc, char *argv[]) { int offset = 0; @@ -514,23 +527,7 @@ offset += len + 1; } -} -static void get_timestamp(char *tsbuf) -{ - struct timeval tv; - struct tm *tm; - time_t t; - - gettimeofday(&tv, NULL); - t = tv.tv_sec; - tm = localtime(&t); - /* RFC 2822-compliant date format */ - strftime(tsbuf, MAX_TS_SIZE, "%a, %d %b %Y %T %z", tm); -} - -void rt_test_start(void) -{ get_timestamp(ts_start); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/src/oslat/oslat.c new/rt-tests-2.1/src/oslat/oslat.c --- old/rt-tests-2.0/src/oslat/oslat.c 2021-06-17 15:02:58.000000000 +0200 +++ new/rt-tests-2.1/src/oslat/oslat.c 2021-06-30 05:09:41.000000000 +0200 @@ -854,7 +854,6 @@ printf("Test starts...\n"); /* Reset n_threads to always run on all the cores */ g.n_threads = g.n_threads_total; - rt_test_start(); run_expt(threads, g.runtime); if (!g.quiet) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/src/pi_tests/pi_stress.c new/rt-tests-2.1/src/pi_tests/pi_stress.c --- old/rt-tests-2.0/src/pi_tests/pi_stress.c 2021-06-17 15:02:58.000000000 +0200 +++ new/rt-tests-2.1/src/pi_tests/pi_stress.c 2021-06-30 05:09:41.000000000 +0200 @@ -304,7 +304,6 @@ } /* report */ banner(); - rt_test_start(); start = time(NULL); /* turn loose the threads */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/src/pmqtest/pmqtest.c new/rt-tests-2.1/src/pmqtest/pmqtest.c --- old/rt-tests-2.0/src/pmqtest/pmqtest.c 2021-06-17 15:02:58.000000000 +0200 +++ new/rt-tests-2.1/src/pmqtest/pmqtest.c 2021-06-30 05:09:41.000000000 +0200 @@ -582,7 +582,6 @@ sigemptyset(&sigset); pthread_sigmask(SIG_SETMASK, &sigset, NULL); - rt_test_start(); do { int newsamples = 0, newtimeoutcount = 0; int minsamples = INT_MAX; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/src/ptsematest/ptsematest.c new/rt-tests-2.1/src/ptsematest/ptsematest.c --- old/rt-tests-2.0/src/ptsematest/ptsematest.c 2021-06-17 15:02:58.000000000 +0200 +++ new/rt-tests-2.1/src/ptsematest/ptsematest.c 2021-06-30 05:09:41.000000000 +0200 @@ -468,7 +468,6 @@ maindelay.tv_sec = 0; maindelay.tv_nsec = 50000000; /* 50 ms */ - rt_test_start(); while (!shutdown) { for (i = 0; i < num_threads; i++) shutdown |= receiver[i].shutdown | sender[i].shutdown; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/src/rt-migrate-test/rt-migrate-test.c new/rt-tests-2.1/src/rt-migrate-test/rt-migrate-test.c --- old/rt-tests-2.0/src/rt-migrate-test/rt-migrate-test.c 2021-06-17 15:02:58.000000000 +0200 +++ new/rt-tests-2.1/src/rt-migrate-test/rt-migrate-test.c 2021-06-30 05:09:41.000000000 +0200 @@ -621,7 +621,6 @@ setup_ftrace_marker(); - rt_test_start(); for (loop=0; loop < nr_runs; loop++) { unsigned long long end; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/src/sched_deadline/cyclicdeadline.c new/rt-tests-2.1/src/sched_deadline/cyclicdeadline.c --- old/rt-tests-2.0/src/sched_deadline/cyclicdeadline.c 2021-06-17 15:02:58.000000000 +0200 +++ new/rt-tests-2.1/src/sched_deadline/cyclicdeadline.c 2021-06-30 05:09:41.000000000 +0200 @@ -1213,7 +1213,6 @@ if (duration) alarm(duration); - rt_test_start(); loop(sched_data, nr_threads); for (i = 0; i < nr_threads; i++) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/src/signaltest/signaltest.c new/rt-tests-2.1/src/signaltest/signaltest.c --- old/rt-tests-2.0/src/signaltest/signaltest.c 2021-06-17 15:02:58.000000000 +0200 +++ new/rt-tests-2.1/src/signaltest/signaltest.c 2021-06-30 05:09:41.000000000 +0200 @@ -500,7 +500,6 @@ strerror(status)); } - rt_test_start(); while (!shutdown) { int allstarted = 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/src/sigwaittest/sigwaittest.c new/rt-tests-2.1/src/sigwaittest/sigwaittest.c --- old/rt-tests-2.0/src/sigwaittest/sigwaittest.c 2021-06-17 15:02:58.000000000 +0200 +++ new/rt-tests-2.1/src/sigwaittest/sigwaittest.c 2021-06-30 05:09:41.000000000 +0200 @@ -652,7 +652,6 @@ &sender[i]); } - rt_test_start(); while (!mustshutdown) { for (i = 0; i < num_threads; i++) mustshutdown |= receiver[i].shutdown | diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/src/ssdd/ssdd.c new/rt-tests-2.1/src/ssdd/ssdd.c --- old/rt-tests-2.0/src/ssdd/ssdd.c 2021-06-17 15:02:58.000000000 +0200 +++ new/rt-tests-2.1/src/ssdd/ssdd.c 2021-06-30 05:09:41.000000000 +0200 @@ -357,7 +357,6 @@ forktests(i); } - rt_test_start(); for (i = 0; i < nforks; i++) { status = do_wait(&wait_pid, &ret_sig); if (status != STATE_EXITED) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/src/svsematest/svsematest.c new/rt-tests-2.1/src/svsematest/svsematest.c --- old/rt-tests-2.0/src/svsematest/svsematest.c 2021-06-17 15:02:58.000000000 +0200 +++ new/rt-tests-2.1/src/svsematest/svsematest.c 2021-06-30 05:09:41.000000000 +0200 @@ -724,7 +724,6 @@ &sender[i]); } - rt_test_start(); while (!mustshutdown) { for (i = 0; i < num_threads; i++) mustshutdown |= receiver[i].shutdown |