Bacula-users

Re: [Bacula-users] git status - for regression testing

2015-10-01 09:50:11
Subject: Re: [Bacula-users] git status - for regression testing
From: Kern Sibbald <kern AT sibbald DOT com>
To: Dan Langille <dan AT langille DOT org>, bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 1 Oct 2015 09:47:52 -0400
Hello Dan,

The tests will not work for your nodes that are reporting a difference in commits.  This difference is probably because at one point in the past I rewrote the git history slightly to remove some unwanted commits.

There are two ways to correct the problem on those nodes:

1. Rewind the repo and repull it with the following commands:

   cd <repo>
   git checkout Branch-xxx
   git reset --hard 1ef84681d13d0c35
   git pull

This should work on any branch ...

2. Delete the repo and reclone it.

 I have tested #1, but my Internet connection is via satellite and is so terribly slow that I cannot lookup the exact command for cloning the database.

Best regards,
Kern
  

On 15-10-01 05:28 AM, Dan Langille wrote:
I am running regression testing on both Bacula 7 and Bacula 5. Both are still in heavy use so regression testing is still important.

My Bacula 7 tree seems ok, and all nodes report:

$ git status
On branch Branch-7.2
Your branch is up-to-date with 'origin/Branch-7.2'.
nothing to commit, working directory clean


My 5.x source trees are not consistent.  Most nodes report:

$ git status
On branch Branch-5.2
Your branch is ahead of 'origin/Branch-5.2' by 1354 commits.
  (use "git push" to publish your local commits)
nothing to commit, working directory clean


A few nodes report

$ git status
On branch Branch-5.2
Your branch is up-to-date with 'origin/Branch-5.2'.
nothing to commit, working directory clean

Should I change something to ensure consistency across regression tests?

—
Dan Langille
http://langille.org/







------------------------------------------------------------------------------


_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>