* [PATCH 0/2] Smoke testing for Git
@ 2010-08-02 20:24 Ævar Arnfjörð Bjarmason
2010-08-02 20:24 ` [PATCH 1/2] tests: Infrastructure for Git smoke testing Ævar Arnfjörð Bjarmason
2010-08-02 20:24 ` [PATCH 2/2] t/README: Document the Smoke testing Ævar Arnfjörð Bjarmason
0 siblings, 2 replies; 14+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2010-08-02 20:24 UTC (permalink / raw)
To: git; +Cc: Junio C Hamano, Ævar Arnfjörð Bjarmason
Here's a non-RFC version of the smoke testing for Git series. It's
like v2 of the RFC aside from a s/sever/server/ typo noted by Junio:
Ævar Arnfjörð Bjarmason (2):
tests: Infrastructure for Git smoke testing
t/README: Document the Smoke testing
t/Makefile | 35 ++++++++++++++++++++++++++++++-
t/README | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
t/harness | 21 +++++++++++++++++++
3 files changed, 121 insertions(+), 1 deletions(-)
create mode 100755 t/harness
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH 1/2] tests: Infrastructure for Git smoke testing
2010-08-02 20:24 [PATCH 0/2] Smoke testing for Git Ævar Arnfjörð Bjarmason
@ 2010-08-02 20:24 ` Ævar Arnfjörð Bjarmason
2010-08-02 22:58 ` Avery Pennarun
2010-08-02 20:24 ` [PATCH 2/2] t/README: Document the Smoke testing Ævar Arnfjörð Bjarmason
1 sibling, 1 reply; 14+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2010-08-02 20:24 UTC (permalink / raw)
To: git; +Cc: Junio C Hamano, Ævar Arnfjörð Bjarmason
Add the capability to send smoke reports from the Git test suite.
Currently we only notice bugs in the test suite when it's run
manually. Bugs in Git that only occur on obscure platforms or setups
that the core developers aren't using can thus go unnoticed.
This series aims to change that. With it anyone that's interested in
avoiding bitrot in Git can volunteer to run a smoke tester. A smoke
tester periodically compiles the latest version of Git, runs the test
suite, and submits a report to a central server indicating how the
test run went.
A smoke tester might run something like this in cron:
#!/bin/sh
cd ~/g/git
git fetch
for branch in maint master next pu; do
git checkout origin/$i &&
make clean all &&
cd t &&
make smoke_report
done
The smoker might want to compile git with non-default flags, include
bisecting functionality or run the tests under valgrind. Doing that is
outside the scope of this patch, this just adds a report submission
mechanism. But including a canonical smoke runner is something we'll
want to include eventually.
What this does now is add smoke and smoke_report targets to t/Makefile
(this example only uses a few tests for demonstration):
$ make clean smoke
rm -f -r 'trash directory'.* test-results
rm -f t????/cvsroot/CVSROOT/?*
rm -f -r valgrind/bin
rm -f .prove
perl ./harness --git-version="1.7.2.1.173.gc9b40" \
--no-verbose \
--archive="test-results/git-smoke.tar.gz" \
t0000-basic.sh t0001-init.sh t0002-gitfile.sh t0003-attributes.sh t0004-unwritable.sh t0005-signals.sh t0006-date.sh
t0000-basic.sh ....... ok
t0001-init.sh ........ ok
t0002-gitfile.sh ..... ok
t0003-attributes.sh .. ok
t0004-unwritable.sh .. ok
t0005-signals.sh ..... ok
t0006-date.sh ........ ok
All tests successful.
Test Summary Report
-------------------
t0000-basic.sh (Wstat: 0 Tests: 46 Failed: 0)
TODO passed: 5
Files=7, Tests=134, 3 wallclock secs ( 0.06 usr 0.05 sys + 0.23 cusr 1.33 csys = 1.67 CPU)
Result: PASS
TAP Archive created at /home/avar/g/git/t/test-results/git-smoke.tar.gz
The smoke target uses TAP::Harness::Archive to aggregate the test
results into a tarball. The tarball contains two things, the output of
every test file that was run, and a metadata file:
Tarball contents:
$ tar xzvf git-smoke.tar.gz
t0004-unwritable.sh
t0001-init.sh
t0002-gitfile.sh
t0005-signals.sh
t0000-basic.sh
t0003-attributes.sh
t0006-date.sh
meta.yml
A test report:
$ cat t0005-signals.sh
ok 1 - sigchain works
# passed all 1 test(s)
1..1
A metadata file:
---
extra_properties:
file_attributes:
-
description: t0000-basic.sh
end_time: 1280437324.61398
start_time: 1280437324.22186
-
description: t0001-init.sh
end_time: 1280437325.12346
start_time: 1280437324.62393
-
description: t0002-gitfile.sh
end_time: 1280437325.29428
start_time: 1280437325.13646
-
description: t0003-attributes.sh
end_time: 1280437325.59678
start_time: 1280437325.30565
-
description: t0004-unwritable.sh
end_time: 1280437325.77376
start_time: 1280437325.61003
-
description: t0005-signals.sh
end_time: 1280437325.85426
start_time: 1280437325.78727
-
description: t0006-date.sh
end_time: 1280437326.2362
start_time: 1280437325.86768
file_order:
- t0000-basic.sh
- t0001-init.sh
- t0002-gitfile.sh
- t0003-attributes.sh
- t0004-unwritable.sh
- t0005-signals.sh
- t0006-date.sh
start_time: 1280437324
stop_time: 1280437326
The "extra_properties" hash is where we'll stick Git-specific info,
like whether Git was compiled with gettext or the fallback regex
engine, and what branch we're compiling. Currently no metadata like
this is included.
The entire tarball is then submitted to a central smokebox at
smoke.git.nix.is. This is done with curl(1) via the "smoke_report"
target:
$ make smoke_report
curl \
-H "Expect: " \
-F project=Git \
-F architecture=x86_64 \
-F platform=Linux \
-F revision="1.7.2.1.173.gc9b40" \
-F report_file=@test-results/git-smoke.tar.gz \
http://smoke.git.nix.is/app/projects/process_add_report/1 \
| grep -v ^Redirecting
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 117k 100 63 100 117k 3 6430 0:00:21 0:00:18 0:00:03 0
Reported #8 added.
Reports are then made available on the smokebox via a web interface:
http://smoke.git.nix.is/app/projects/smoke_reports/1
The smoke reports are also mirrored to a Git repository hosted on
GitHub:
http://github.com/gitsmoke/smoke-reports
The Smolder SQLite database that contains metadata about the reports
is also made available:
http://github.com/gitsmoke/smoke-database
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
---
t/Makefile | 35 ++++++++++++++++++++++++++++++++++-
t/harness | 21 +++++++++++++++++++++
2 files changed, 55 insertions(+), 1 deletions(-)
create mode 100755 t/harness
diff --git a/t/Makefile b/t/Makefile
index 819b936..169097d 100644
--- a/t/Makefile
+++ b/t/Makefile
@@ -49,4 +49,37 @@ full-svn-test:
valgrind:
GIT_TEST_OPTS=--valgrind $(MAKE)
-.PHONY: pre-clean $(T) aggregate-results clean valgrind
+# Smoke testing targets
+-include ../GIT-BUILD-OPTIONS
+-include ../GIT-VERSION-FILE
+uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo unknown')
+uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo unknown')
+
+test-results:
+ mkdir -p test-results
+
+test-results/git-smoke.tar.gz:
+ $(PERL_PATH) ./harness \
+ --archive="test-results/git-smoke.tar.gz" \
+ $(T)
+
+smoke: test-results/git-smoke.tar.gz
+
+SMOKE_UPLOAD_FLAGS =
+ifdef SMOKE_USERNAME
+ SMOKE_UPLOAD_FLAGS += -F username=$(SMOKE_USERNAME) -F password=$(SMOKE_PASSWORD)
+endif
+
+smoke_report: smoke
+ curl \
+ -H "Expect: " \
+ -F project=Git \
+ -F architecture=$(uname_M) \
+ -F platform=$(uname_S) \
+ -F revision="$(GIT_VERSION)" \
+ -F report_file=@test-results/git-smoke.tar.gz \
+ $(SMOKE_UPLOAD_FLAGS) \
+ http://smoke.git.nix.is/app/projects/process_add_report/1 \
+ | grep -v ^Redirecting
+
+.PHONY: pre-clean $(T) aggregate-results clean valgrind smoke smoke_report
diff --git a/t/harness b/t/harness
new file mode 100755
index 0000000..f5c02f4
--- /dev/null
+++ b/t/harness
@@ -0,0 +1,21 @@
+#!/usr/bin/perl
+use strict;
+use warnings;
+use Getopt::Long ();
+use TAP::Harness::Archive;
+
+Getopt::Long::Parser->new(
+ config => [ qw/ pass_through / ],
+)->getoptions(
+ 'jobs:1' => \(my $jobs = $ENV{TEST_JOBS}),
+ 'archive=s' => \my $archive,
+) or die "$0: Couldn't getoptions()";
+
+TAP::Harness::Archive->new({
+ jobs => $jobs,
+ archive => $archive,
+ ($ENV{GIT_TEST_OPTS}
+ ? (test_args => [ split /\s+/, $ENV{GIT_TEST_OPTS} ])
+ : ()),
+ extra_properties => {},
+})->runtests(@ARGV);
--
1.7.1
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH 2/2] t/README: Document the Smoke testing
2010-08-02 20:24 [PATCH 0/2] Smoke testing for Git Ævar Arnfjörð Bjarmason
2010-08-02 20:24 ` [PATCH 1/2] tests: Infrastructure for Git smoke testing Ævar Arnfjörð Bjarmason
@ 2010-08-02 20:24 ` Ævar Arnfjörð Bjarmason
2010-08-02 20:54 ` Sverre Rabbelier
1 sibling, 1 reply; 14+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2010-08-02 20:24 UTC (permalink / raw)
To: git; +Cc: Junio C Hamano, Ævar Arnfjörð Bjarmason
Git now has a smoke testing service at http://smoke.git.nix.is that
anyone can send reports to. Change the t/README file to mention this.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
---
t/README | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 66 insertions(+), 0 deletions(-)
diff --git a/t/README b/t/README
index e957d4f..69af05f 100644
--- a/t/README
+++ b/t/README
@@ -574,3 +574,69 @@ Then, at the top-level:
That'll generate a detailed cover report in the "cover_db_html"
directory, which you can then copy to a webserver, or inspect locally
in a browser.
+
+Smoke testing
+-------------
+
+The Git test suite has support for smoke testing. Smoke testing is
+when you submit the results of a test run to a central server for
+analysis and aggregation.
+
+Running a smoke tester is an easy and valuable way of contributing to
+Git development, particularly if you have access to an uncommon OS on
+obscure hardware.
+
+After building Git you can generate a smoke report like this in the
+"t" directory:
+
+ make clean smoke
+
+You can also pass arguments via the environment. This should make it
+faster:
+
+ GIT_TEST_OPTS='--root=/dev/shm' TEST_JOBS=10 make clean smoke
+
+The "smoke" target will run the Git test suite with Perl's
+"TAP::Harness" module, and package up the results in a .tar.gz archive
+with "TAP::Harness::Archive". The former is included with Perl v5.10.1
+or later, but you'll need to install the latter from the CPAN. See the
+"Test coverage" section above for how you might do that.
+
+Once the "smoke" target finishes you'll see a message like this:
+
+ TAP Archive created at <path to git>/t/test-results/git-smoke.tar.gz
+
+To upload the smoke report you need to have curl(1) installed, then
+do:
+
+ make smoke_report
+
+To upload the report anonymously. Hopefully that'll return something
+like "Reported #7 added.".
+
+If you're going to be uploading reports frequently please request a
+user account by E-Mailing gitsmoke@v.nix.is. Once you have a username
+and password you'll be able to do:
+
+ SMOKE_USERNAME=<username> SMOKE_PASSWORD=<password> make smoke_report
+
+Once the report is uploaded it'll be made available at
+http://smoke.git.nix.is, here's an overview of Recent Smoke Reports
+for Git:
+
+ http://smoke.git.nix.is/app/projects/smoke_reports/1
+
+The reports will also be mirrored to GitHub every few hours:
+
+ http://github.com/gitsmoke/smoke-reports
+
+The Smolder SQLite database is also mirrored and made available for
+download:
+
+ http://github.com/gitsmoke/smoke-database
+
+Note that the database includes hashed (with crypt()) user passwords
+and E-Mail addresses. Don't use a valuable password for the smoke
+service if you have an account, or an E-Mail address you don't want to
+be publicly known. The user accounts are just meant to be convenient
+labels, they're not meant to be secure.
--
1.7.1
^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH 2/2] t/README: Document the Smoke testing
2010-08-02 20:24 ` [PATCH 2/2] t/README: Document the Smoke testing Ævar Arnfjörð Bjarmason
@ 2010-08-02 20:54 ` Sverre Rabbelier
2010-08-02 21:04 ` A Large Angry SCM
0 siblings, 1 reply; 14+ messages in thread
From: Sverre Rabbelier @ 2010-08-02 20:54 UTC (permalink / raw)
To: Ævar Arnfjörð Bjarmason; +Cc: git, Junio C Hamano
Heya,
On Mon, Aug 2, 2010 at 15:24, Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:
> Git now has a smoke testing service at http://smoke.git.nix.is that
> anyone can send reports to. Change the t/README file to mention this.
Can't we run this somewhere a little less "shabby"? I'd hate to
introduce Yet Another Official Git Site (I'm really glad for example
that the Git Wiki is now on kernel.org). Is it not possible to move
this to git-scm.com, kernel.org, or something like that?
--
Cheers,
Sverre Rabbelier
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 2/2] t/README: Document the Smoke testing
2010-08-02 20:54 ` Sverre Rabbelier
@ 2010-08-02 21:04 ` A Large Angry SCM
2010-08-02 22:00 ` Ævar Arnfjörð Bjarmason
0 siblings, 1 reply; 14+ messages in thread
From: A Large Angry SCM @ 2010-08-02 21:04 UTC (permalink / raw)
To: Ævar Arnfjörð Bjarmason
Cc: Sverre Rabbelier, git, Junio C Hamano
On 08/02/2010 04:54 PM, Sverre Rabbelier wrote:
> Heya,
>
> On Mon, Aug 2, 2010 at 15:24, Ævar Arnfjörð Bjarmason<avarab@gmail.com> wrote:
>> Git now has a smoke testing service at http://smoke.git.nix.is that
>> anyone can send reports to. Change the t/README file to mention this.
>
> Can't we run this somewhere a little less "shabby"? I'd hate to
> introduce Yet Another Official Git Site (I'm really glad for example
> that the Git Wiki is now on kernel.org). Is it not possible to move
> this to git-scm.com, kernel.org, or something like that?
>
And what's on the site tells us almost nothing about the tested systems.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 2/2] t/README: Document the Smoke testing
2010-08-02 21:04 ` A Large Angry SCM
@ 2010-08-02 22:00 ` Ævar Arnfjörð Bjarmason
2010-08-02 22:05 ` Sverre Rabbelier
` (3 more replies)
0 siblings, 4 replies; 14+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2010-08-02 22:00 UTC (permalink / raw)
To: gitzilla; +Cc: Sverre Rabbelier, git, Junio C Hamano
On Mon, Aug 2, 2010 at 21:04, A Large Angry SCM <gitzilla@gmail.com> wrote:
> On 08/02/2010 04:54 PM, Sverre Rabbelier wrote:
>>
>> Heya,
>>
>> On Mon, Aug 2, 2010 at 15:24, Ævar Arnfjörð Bjarmason<avarab@gmail.com>
>> wrote:
>>>
>>> Git now has a smoke testing service at http://smoke.git.nix.is that
>>> anyone can send reports to. Change the t/README file to mention this.
>>
>> Can't we run this somewhere a little less "shabby"? I'd hate to
>> introduce Yet Another Official Git Site (I'm really glad for example
>> that the Git Wiki is now on kernel.org). Is it not possible to move
>> this to git-scm.com, kernel.org, or something like that?
Do you not like the domain, that the domain's A record points to a
Linode box, or both?
I don't mind where a smoke server gets hosted, I just want it to be
there. But someone's going to have to host it and maintain it.
Unless someone else wants to do that it's going to have to either be
at a box I control, or someone else will need to give me shell access.
Of course just changing the domain would be trivial, just a matter of
someone setting up an A record somewhere, or delegating a zone to me.
An alternative would be to change how this works, e.g. making
submissions go by E-Mail to a public list, or having smokers push them
to public Git repositories which would be registered somewhere.
But that'd require more development and setup work. The current system
isn't optimal, but it works. It can always me moved somewhere else
later if smoke testing for Git takes off.
> And what's on the site tells us almost nothing about the tested systems.
Can you be more specific? What information do you find lacking at
http://smoke.git.nix.is/app/projects/smoke_reports/1 ?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 2/2] t/README: Document the Smoke testing
2010-08-02 22:00 ` Ævar Arnfjörð Bjarmason
@ 2010-08-02 22:05 ` Sverre Rabbelier
2010-08-02 22:28 ` Ævar Arnfjörð Bjarmason
2010-08-02 22:13 ` Jonathan Nieder
` (2 subsequent siblings)
3 siblings, 1 reply; 14+ messages in thread
From: Sverre Rabbelier @ 2010-08-02 22:05 UTC (permalink / raw)
To: Ævar Arnfjörð Bjarmason,
John 'Warthog9' Hawley
Cc: gitzilla, git, Junio C Hamano
Heya,
[+Warthog9]
On Mon, Aug 2, 2010 at 17:00, Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:
> Do you not like the domain, that the domain's A record points to a
> Linode box, or both?
The former.
> I don't mind where a smoke server gets hosted, I just want it to be
> there. But someone's going to have to host it and maintain it.
Agreed.
> Of course just changing the domain would be trivial, just a matter of
> someone setting up an A record somewhere, or delegating a zone to me.
John, is it possible to have smoke.git.kernel.org (or such a domain)
either point at a server Ævar controls, or to give him a shell account
there? The point is to have http://smoke.git.nix.is/ hosted on a more
"Gitty" domain.
> An alternative would be to change how this works, e.g. making
> submissions go by E-Mail to a public list, or having smokers push them
> to public Git repositories which would be registered somewhere.
I like the idea of having it be a public Git repo since that would
probably make it easier to do maintenance on the repo (e.g., revert
"vandalism"), but there still needs to be a frontend of sorts
somewhere :).
--
Cheers,
Sverre Rabbelier
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 2/2] t/README: Document the Smoke testing
2010-08-02 22:00 ` Ævar Arnfjörð Bjarmason
2010-08-02 22:05 ` Sverre Rabbelier
@ 2010-08-02 22:13 ` Jonathan Nieder
2010-08-02 22:32 ` Ævar Arnfjörð Bjarmason
2010-08-02 22:16 ` A Large Angry SCM
2010-08-02 22:44 ` Junio C Hamano
3 siblings, 1 reply; 14+ messages in thread
From: Jonathan Nieder @ 2010-08-02 22:13 UTC (permalink / raw)
To: Ævar Arnfjörð Bjarmason
Cc: gitzilla, Sverre Rabbelier, git, Junio C Hamano, Thomas Rast
Ævar Arnfjörð Bjarmason wrote:
> On Mon, Aug 2, 2010 at 21:04, A Large Angry SCM <gitzilla@gmail.com> wrote:
>> And what's on the site tells us almost nothing about the tested systems.
>
> Can you be more specific? What information do you find lacking at
> http://smoke.git.nix.is/app/projects/smoke_reports/1 ?
Operating system (i.e., distro). Precise CPU architecture. Number of
CPUs. Available memory. Which tests were skipped and which had expected
failures. Configuration used to build git.
(I understand that requiring all that information could prevent people
from running smoke servers, so I don’t mean to say it all should be
required.)
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 2/2] t/README: Document the Smoke testing
2010-08-02 22:00 ` Ævar Arnfjörð Bjarmason
2010-08-02 22:05 ` Sverre Rabbelier
2010-08-02 22:13 ` Jonathan Nieder
@ 2010-08-02 22:16 ` A Large Angry SCM
2010-08-02 22:44 ` Junio C Hamano
3 siblings, 0 replies; 14+ messages in thread
From: A Large Angry SCM @ 2010-08-02 22:16 UTC (permalink / raw)
To: Ævar Arnfjörð Bjarmason
Cc: Sverre Rabbelier, git, Junio C Hamano
On 08/02/2010 06:00 PM, Ævar Arnfjörð Bjarmason wrote:
> On Mon, Aug 2, 2010 at 21:04, A Large Angry SCM<gitzilla@gmail.com> wrote:
[...]
>> And what's on the site tells us almost nothing about the tested systems.
>
> Can you be more specific? What information do you find lacking at
> http://smoke.git.nix.is/app/projects/smoke_reports/1 ?
The only information available there is that the tested system was some
Linux on an x86_64 and the particular git version tested. My complaint
is that "Linux" is _way_ too generic to be useful when trying to get an
idea of where things are known to work and where they are known not to work.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 2/2] t/README: Document the Smoke testing
2010-08-02 22:05 ` Sverre Rabbelier
@ 2010-08-02 22:28 ` Ævar Arnfjörð Bjarmason
0 siblings, 0 replies; 14+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2010-08-02 22:28 UTC (permalink / raw)
To: Sverre Rabbelier
Cc: John 'Warthog9' Hawley, gitzilla, git, Junio C Hamano
On Mon, Aug 2, 2010 at 22:05, Sverre Rabbelier <srabbelier@gmail.com> wrote:
> On Mon, Aug 2, 2010 at 17:00, Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:
>> Do you not like the domain, that the domain's A record points to a
>> Linode box, or both?
>
> The former.
>
>> I don't mind where a smoke server gets hosted, I just want it to be
>> there. But someone's going to have to host it and maintain it.
>
> Agreed.
>
>> Of course just changing the domain would be trivial, just a matter of
>> someone setting up an A record somewhere, or delegating a zone to me.
>
> John, is it possible to have smoke.git.kernel.org (or such a domain)
> either point at a server Ævar controls, or to give him a shell account
> there? The point is to have http://smoke.git.nix.is/ hosted on a more
> "Gitty" domain.
Note that that may be a bit premature, since Junio hasn't commented on
whether he wants this at all yet.
>> An alternative would be to change how this works, e.g. making
>> submissions go by E-Mail to a public list, or having smokers push them
>> to public Git repositories which would be registered somewhere.
>
> I like the idea of having it be a public Git repo since that would
> probably make it easier to do maintenance on the repo (e.g., revert
> "vandalism"), but there still needs to be a frontend of sorts
> somewhere :).
Note that all the data is already in Git[1] it just isn't used as the
submission mechanism.
1. http://github.com/gitsmoke
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 2/2] t/README: Document the Smoke testing
2010-08-02 22:13 ` Jonathan Nieder
@ 2010-08-02 22:32 ` Ævar Arnfjörð Bjarmason
0 siblings, 0 replies; 14+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2010-08-02 22:32 UTC (permalink / raw)
To: Jonathan Nieder
Cc: gitzilla, Sverre Rabbelier, git, Junio C Hamano, Thomas Rast
On Mon, Aug 2, 2010 at 22:13, Jonathan Nieder <jrnieder@gmail.com> wrote:
> Ævar Arnfjörð Bjarmason wrote:
>> On Mon, Aug 2, 2010 at 21:04, A Large Angry SCM <gitzilla@gmail.com> wrote:
>
>>> And what's on the site tells us almost nothing about the tested systems.
>>
>> Can you be more specific? What information do you find lacking at
>> http://smoke.git.nix.is/app/projects/smoke_reports/1 ?
>
> Operating system (i.e., distro). Precise CPU architecture. Number of
> CPUs. Available memory. Configuration used to build git.
That'd be nice. We could detect that and include it later in
extra_properties in t/harness. It'd need some fancy detection code
though.
> Which tests were skipped and which had expected failures.
That's actually already there.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 2/2] t/README: Document the Smoke testing
2010-08-02 22:00 ` Ævar Arnfjörð Bjarmason
` (2 preceding siblings ...)
2010-08-02 22:16 ` A Large Angry SCM
@ 2010-08-02 22:44 ` Junio C Hamano
2010-08-02 22:47 ` Sverre Rabbelier
3 siblings, 1 reply; 14+ messages in thread
From: Junio C Hamano @ 2010-08-02 22:44 UTC (permalink / raw)
To: Ævar Arnfjörð Bjarmason; +Cc: gitzilla, Sverre Rabbelier, git
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
> On Mon, Aug 2, 2010 at 21:04, A Large Angry SCM <gitzilla@gmail.com> wrote:
>> On 08/02/2010 04:54 PM, Sverre Rabbelier wrote:
>>> Can't we run this somewhere a little less "shabby"?
"shabby" is not a good word to describe a service somebody volunteered to
maintain for the public good. Be civil, please.
>> And what's on the site tells us almost nothing about the tested systems.
>
> Can you be more specific? What information do you find lacking at
> http://smoke.git.nix.is/app/projects/smoke_reports/1 ?
"Platform Linux" does not tell much about the tested systems, no?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 2/2] t/README: Document the Smoke testing
2010-08-02 22:44 ` Junio C Hamano
@ 2010-08-02 22:47 ` Sverre Rabbelier
0 siblings, 0 replies; 14+ messages in thread
From: Sverre Rabbelier @ 2010-08-02 22:47 UTC (permalink / raw)
To: Junio C Hamano; +Cc: Ævar Arnfjörð, gitzilla, git
Heya,
On Mon, Aug 2, 2010 at 17:44, Junio C Hamano <gitster@pobox.com> wrote:
> "shabby" is not a good word to describe a service somebody volunteered to
> maintain for the public good. Be civil, please.
That's why I quoted it, I didn't mean to put Ævar's work down and I
think he understood what I meant, judging from his reply. On that
note, thanks Ævar for reading what I meant, not what I said :).
--
Cheers,
Sverre Rabbelier
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 1/2] tests: Infrastructure for Git smoke testing
2010-08-02 20:24 ` [PATCH 1/2] tests: Infrastructure for Git smoke testing Ævar Arnfjörð Bjarmason
@ 2010-08-02 22:58 ` Avery Pennarun
0 siblings, 0 replies; 14+ messages in thread
From: Avery Pennarun @ 2010-08-02 22:58 UTC (permalink / raw)
To: Ævar Arnfjörð Bjarmason; +Cc: git, Junio C Hamano
On Mon, Aug 2, 2010 at 4:24 PM, Ævar Arnfjörð Bjarmason
<avarab@gmail.com> wrote:
> The smoker might want to compile git with non-default flags, include
> bisecting functionality or run the tests under valgrind. Doing that is
> outside the scope of this patch, this just adds a report submission
> mechanism. But including a canonical smoke runner is something we'll
> want to include eventually.
You might want to play with gitbuilder:
http://github.com/apenwarr/gitbuilder
It can bisect automatically and it looks like it could integrate
pretty nicely with this system. (If you're running a gitbuilder, just
have it submit the smoke test with each build it makes. gitbuilder
will automatically bisect if 'make test' fails, so eventually you'll
submit smoke tests that *don't* fail.)
Have fun,
Avery
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2010-08-02 22:58 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-02 20:24 [PATCH 0/2] Smoke testing for Git Ævar Arnfjörð Bjarmason
2010-08-02 20:24 ` [PATCH 1/2] tests: Infrastructure for Git smoke testing Ævar Arnfjörð Bjarmason
2010-08-02 22:58 ` Avery Pennarun
2010-08-02 20:24 ` [PATCH 2/2] t/README: Document the Smoke testing Ævar Arnfjörð Bjarmason
2010-08-02 20:54 ` Sverre Rabbelier
2010-08-02 21:04 ` A Large Angry SCM
2010-08-02 22:00 ` Ævar Arnfjörð Bjarmason
2010-08-02 22:05 ` Sverre Rabbelier
2010-08-02 22:28 ` Ævar Arnfjörð Bjarmason
2010-08-02 22:13 ` Jonathan Nieder
2010-08-02 22:32 ` Ævar Arnfjörð Bjarmason
2010-08-02 22:16 ` A Large Angry SCM
2010-08-02 22:44 ` Junio C Hamano
2010-08-02 22:47 ` Sverre Rabbelier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).