Boost logo

Boost Testing :

Subject: [Boost-testing] New Windows Runner - reset hard error
From: Tom Kent (lists_at_[hidden])
Date: 2014-05-28 21:15:38


I'm trying to setup a new regression test runner on a windows (virtual) machine.

It appears the regression.py script is having a problem with
git submodule foreach
 ""git reset --quiet --hard; git clean -fxd""
Entering 'libs/accumulators'
error: unknown option `hard;'

I'm running git:
D:\local\teeks99-06\a>git --version
git version 1.9.0.msysgit.0

I run:
C:\> d:
D:\> cd /local/teeks99-06/a
D:\local\teeks99-06\a>python run.py
--runner=teeks99-06a-win2008-64on64 --toolsets=msvc-8.0
--bjam-options="-j2 address-model=64" --comment=..\info.html

# Running regressions in D:\local\teeks99-06\a...
# Creating regression scripts at D:\local\teeks99-06\a\tools_regression_src...
# Downloading regression scripts from https://raw.github.com/boostorg/boost/deve
lop/tools/regression/src...
# Getting Boost.Build v2...
# Executing GIT command: D:\local\teeks99-06\a\tools_bb> git remote "set-branche
s" "--add" "origin" "develop"
# Executing GIT command: D:\local\teeks99-06\a\tools_bb> git pull "--recurse-sub
modules"
Already up-to-date.
# Executing GIT command: D:\local\teeks99-06\a\tools_bb> git submodule "update"
"--init"
# Executing GIT command: D:\local\teeks99-06\a\tools_bb> git checkout "develop"
Already on 'develop'
Your branch is up-to-date with 'origin/develop'.
# Getting regression tools and utilities...
# Executing GIT command: D:\local\teeks99-06\a\boost_root> git remote "set-branc
hes" "--add" "origin" "develop"
# Executing GIT command: D:\local\teeks99-06\a\boost_root> git pull "--recurse-s
ubmodules"
Fetching submodule libs/accumulators
Fetching submodule libs/algorithm
Fetching submodule libs/align
Fetching submodule libs/any
Fetching submodule libs/array
Fetching submodule libs/asio
Fetching submodule libs/assert
Fetching submodule libs/assign
<snip a lot!>
Fetching submodule tools/inspect
Fetching submodule tools/litre
Fetching submodule tools/quickbook
Already up-to-date.
# Executing GIT command: D:\local\teeks99-06\a\boost_root> git submodule "update
" "--init"
# Executing GIT command: D:\local\teeks99-06\a\boost_root> git checkout "develop
"
Already on 'develop'
Your branch is up-to-date with 'origin/develop'.
# Executing GIT command: D:\local\teeks99-06\a\boost_root> git submodule foreach
 ""git reset --quiet --hard; git clean -fxd""
Entering 'libs/accumulators'
error: unknown option `hard;'
usage: git reset [--mixed | --soft | --hard | --merge | --keep] [-q] [<commit>]
   or: git reset [-q] <tree-ish> [--] <paths>...
   or: git reset --patch [<tree-ish>] [--] [<paths>...]

    -q, --quiet be quiet, only report errors
    --mixed reset HEAD and index
    --soft reset only HEAD
    --hard reset HEAD, index and working tree
    --merge reset HEAD, index and working tree
    --keep reset HEAD but keep local changes
    -p, --patch select hunks interactively

Stopping at 'libs/accumulators'; script returned non-zero status.
Traceback (most recent call last):
  File "run.py", line 83, in <module>
    runner(root)
  File "D:\local\teeks99-06\a\tools_regression_src\regression.py", line 264, in
__init__
    self.main()
  File "D:\local\teeks99-06\a\tools_regression_src\regression.py", line 650, in
main
    getattr(self,action_m)()
  File "D:\local\teeks99-06\a\tools_regression_src\regression.py", line 604, in
command_regression
    self.command_cleanup()
  File "D:\local\teeks99-06\a\tools_regression_src\regression.py", line 274, in
command_cleanup
    self.git_source_checkout(True)
  File "D:\local\teeks99-06\a\tools_regression_src\regression.py", line 939, in
git_source_checkout
    self.git_checkout(git_info['boost'], self.git_branch(), clean)
  File "D:\local\teeks99-06\a\tools_regression_src\regression.py", line 917, in
git_checkout
    self.git_command( 'submodule foreach', '"git reset --quiet --hard; git clean
 -fxd"')
  File "D:\local\teeks99-06\a\tools_regression_src\regression.py", line 899, in
git_command
    raise Exception( 'GIT command "%s" failed with code %d' % (git_cli, rc) )
Exception: GIT command "git submodule foreach ""git reset --quiet --hard; git cl
ean -fxd""" failed with code 1

Any ideas what might be going wrong?
Thanks,
Tom


Boost-testing list run by mbergal at meta-comm.com