* Virtualenv tests still nort running...
@ 2016-03-29 11:31 Willem Jan Withagen
2016-03-29 12:28 ` Loic Dachary
0 siblings, 1 reply; 11+ messages in thread
From: Willem Jan Withagen @ 2016-03-29 11:31 UTC (permalink / raw)
To: Ceph Development
Hi,
I have rebased to the most recent HEAD before building verything again.
But the testrun still is unable to get the virtualenv correct.
Suggestions on how to diagnose this?
===========
cp -f ./fetch_config ./sample.fetch_config
cd ./ceph-detect-init ; ../tools/setup-virtualenv.sh ; test -d
wheelhouse && export NO_INDEX=--no-index ; virtualenv/bin/pip install
$NO_INDEX --use-wheel --find-links=file://$(pwd)/wheelhouse -e .
/bin/sh: ../tools/setup-virtualenv.sh: not found
/bin/sh: virtualenv/bin/pip: not found
Makefile:32259: recipe for target 'ceph-detect-init/virtualenv' failed
===========
path for setup-virtual
./src/tools/setup-virtualenv.sh
===========
cat ./src/tools/setup-virtualenv.sh
rm -fr virtualenv
virtualenv virtualenv
. virtualenv/bin/activate
# older versions of pip will not install wrap_console scripts
# when using wheel packages
pip --log virtualenv/log.txt install --upgrade 'pip >= 6.1'
if test -d wheelhouse ; then
export NO_INDEX=--no-index
fi
pip --log virtualenv/log.txt install $NO_INDEX --use-wheel
--find-links=file://$(pwd)/wheelhouse --upgrade di
stribute
pip --log virtualenv/log.txt install $NO_INDEX --use-wheel
--find-links=file://$(pwd)/wheelhouse 'tox >=1.9'
if test -f requirements.txt ; then
pip --log virtualenv/log.txt install $NO_INDEX --use-wheel
--find-links=file://$(pwd)/wheelhouse -r requi
rements.txt
fi
===========
Perhaps here the virtualenv paths need to be converted into SHELLVARs as
well?
--WjW
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: Virtualenv tests still nort running...
2016-03-29 11:31 Virtualenv tests still nort running Willem Jan Withagen
@ 2016-03-29 12:28 ` Loic Dachary
2016-03-29 15:12 ` Willem Jan Withagen
0 siblings, 1 reply; 11+ messages in thread
From: Loic Dachary @ 2016-03-29 12:28 UTC (permalink / raw)
To: Willem Jan Withagen, Ceph Development
Hi Willem,
This has undergone various fixes all of them wrong in a context or another. The last of them is (hopefully ;-) https://github.com/ceph/ceph/pull/8320
Cheers
On 29/03/2016 13:31, Willem Jan Withagen wrote:
>
> Hi,
>
> I have rebased to the most recent HEAD before building verything again.
> But the testrun still is unable to get the virtualenv correct.
>
> Suggestions on how to diagnose this?
>
> ===========
> cp -f ./fetch_config ./sample.fetch_config
> cd ./ceph-detect-init ; ../tools/setup-virtualenv.sh ; test -d wheelhouse && export NO_INDEX=--no-index ; virtualenv/bin/pip install $NO_INDEX --use-wheel --find-links=file://$(pwd)/wheelhouse -e .
> /bin/sh: ../tools/setup-virtualenv.sh: not found
> /bin/sh: virtualenv/bin/pip: not found
> Makefile:32259: recipe for target 'ceph-detect-init/virtualenv' failed
> ===========
>
> path for setup-virtual
> ./src/tools/setup-virtualenv.sh
>
> ===========
> cat ./src/tools/setup-virtualenv.sh
> rm -fr virtualenv
> virtualenv virtualenv
> . virtualenv/bin/activate
> # older versions of pip will not install wrap_console scripts
> # when using wheel packages
> pip --log virtualenv/log.txt install --upgrade 'pip >= 6.1'
> if test -d wheelhouse ; then
> export NO_INDEX=--no-index
> fi
> pip --log virtualenv/log.txt install $NO_INDEX --use-wheel --find-links=file://$(pwd)/wheelhouse --upgrade di
> stribute
> pip --log virtualenv/log.txt install $NO_INDEX --use-wheel --find-links=file://$(pwd)/wheelhouse 'tox >=1.9'
> if test -f requirements.txt ; then
> pip --log virtualenv/log.txt install $NO_INDEX --use-wheel --find-links=file://$(pwd)/wheelhouse -r requi
> rements.txt
> fi
> ===========
> Perhaps here the virtualenv paths need to be converted into SHELLVARs as well?
>
> --WjW
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
Loïc Dachary, Artisan Logiciel Libre
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Virtualenv tests still nort running...
2016-03-29 12:28 ` Loic Dachary
@ 2016-03-29 15:12 ` Willem Jan Withagen
2016-03-30 9:25 ` Willem Jan Withagen
0 siblings, 1 reply; 11+ messages in thread
From: Willem Jan Withagen @ 2016-03-29 15:12 UTC (permalink / raw)
To: Loic Dachary, Ceph Development
On 29-3-2016 14:28, Loic Dachary wrote:
> Hi Willem,
>
> This has undergone various fixes all of them wrong in a context or
> another. The last of them is (hopefully ;-)
> https://github.com/ceph/ceph/pull/8320
Hi Loic,
I watched the discussion carefully, and was under the assemption that
everything was already merged. But I'll take your pull and see what happens.
--WjW
> Cheers
>
> On 29/03/2016 13:31, Willem Jan Withagen wrote:
>>
>> Hi,
>>
>> I have rebased to the most recent HEAD before building verything
>> again. But the testrun still is unable to get the virtualenv
>> correct.
>>
>> Suggestions on how to diagnose this?
>>
>> =========== cp -f ./fetch_config ./sample.fetch_config cd
>> ./ceph-detect-init ; ../tools/setup-virtualenv.sh ; test -d
>> wheelhouse && export NO_INDEX=--no-index ; virtualenv/bin/pip
>> install $NO_INDEX --use-wheel --find-links=file://$(pwd)/wheelhouse
>> -e . /bin/sh: ../tools/setup-virtualenv.sh: not found /bin/sh:
>> virtualenv/bin/pip: not found Makefile:32259: recipe for target
>> 'ceph-detect-init/virtualenv' failed ===========
>>
>> path for setup-virtual ./src/tools/setup-virtualenv.sh
>>
>> =========== cat ./src/tools/setup-virtualenv.sh rm -fr virtualenv
>> virtualenv virtualenv . virtualenv/bin/activate # older versions of
>> pip will not install wrap_console scripts # when using wheel
>> packages pip --log virtualenv/log.txt install --upgrade 'pip >=
>> 6.1' if test -d wheelhouse ; then export NO_INDEX=--no-index fi pip
>> --log virtualenv/log.txt install $NO_INDEX --use-wheel
>> --find-links=file://$(pwd)/wheelhouse --upgrade di stribute pip
>> --log virtualenv/log.txt install $NO_INDEX --use-wheel
>> --find-links=file://$(pwd)/wheelhouse 'tox >=1.9' if test -f
>> requirements.txt ; then pip --log virtualenv/log.txt install
>> $NO_INDEX --use-wheel --find-links=file://$(pwd)/wheelhouse -r
>> requi rements.txt fi =========== Perhaps here the virtualenv paths
>> need to be converted into SHELLVARs as well?
>>
>> --WjW -- To unsubscribe from this list: send the line "unsubscribe
>> ceph-devel" in the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Virtualenv tests still nort running...
2016-03-29 15:12 ` Willem Jan Withagen
@ 2016-03-30 9:25 ` Willem Jan Withagen
2016-03-30 10:10 ` Loic Dachary
0 siblings, 1 reply; 11+ messages in thread
From: Willem Jan Withagen @ 2016-03-30 9:25 UTC (permalink / raw)
To: Loic Dachary, Ceph Development
On 29-3-2016 17:12, Willem Jan Withagen wrote:
> On 29-3-2016 14:28, Loic Dachary wrote:
>> Hi Willem,
>>
>> This has undergone various fixes all of them wrong in a context or
>> another. The last of them is (hopefully ;-)
>> https://github.com/ceph/ceph/pull/8320
>
> Hi Loic,
>
> I watched the discussion carefully, and was under the assemption that
> everything was already merged. But I'll take your pull and see what happens.
Hi Loic,
I saw that #8320 was merged and rebased. So running/compiling to see
what brings.
There might be one change that you'd care to take along in this as well,
which I have to keep my tests running ATM.
Otherwise I'll just keep it in my patchset to the time to come.
--WjW
: ${CEPH_DETECT_INIT_VIRTUALENV:=ceph-detect-init-virtualenv}
case `uname` in
FreeBSD)
echo FreeBSD init system has not been integrated.
exit 0
;;
*)
# run from the ceph-detect-init directory or from its parent
test -d ceph-detect-init && cd ceph-detect-init
source ${CEPH_DETECT_INIT_VIRTUALENV}/bin/activate
tox > ${CEPH_DETECT_INIT_VIRTUALENV}/tox.out 2>&1
status=$?
grep -v InterpreterNotFound < ${CEPH_DETECT_INIT_VIRTUALENV}/tox.out
exit $status
;;
esac
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: Virtualenv tests still nort running...
2016-03-30 9:25 ` Willem Jan Withagen
@ 2016-03-30 10:10 ` Loic Dachary
2016-03-30 20:39 ` Willem Jan Withagen
0 siblings, 1 reply; 11+ messages in thread
From: Loic Dachary @ 2016-03-30 10:10 UTC (permalink / raw)
To: Willem Jan Withagen, Ceph Development
Hi Willem,
Would you mind proposing a pull request with that change ? It looks good to me.
Cheers
On 30/03/2016 11:25, Willem Jan Withagen wrote:
> On 29-3-2016 17:12, Willem Jan Withagen wrote:
>> On 29-3-2016 14:28, Loic Dachary wrote:
>>> Hi Willem,
>>>
>>> This has undergone various fixes all of them wrong in a context or
>>> another. The last of them is (hopefully ;-)
>>> https://github.com/ceph/ceph/pull/8320
>>
>> Hi Loic,
>>
>> I watched the discussion carefully, and was under the assemption that
>> everything was already merged. But I'll take your pull and see what happens.
>
> Hi Loic,
>
> I saw that #8320 was merged and rebased. So running/compiling to see
> what brings.
>
> There might be one change that you'd care to take along in this as well,
> which I have to keep my tests running ATM.
> Otherwise I'll just keep it in my patchset to the time to come.
>
> --WjW
>
> : ${CEPH_DETECT_INIT_VIRTUALENV:=ceph-detect-init-virtualenv}
>
> case `uname` in
> FreeBSD)
> echo FreeBSD init system has not been integrated.
> exit 0
> ;;
> *)
> # run from the ceph-detect-init directory or from its parent
> test -d ceph-detect-init && cd ceph-detect-init
> source ${CEPH_DETECT_INIT_VIRTUALENV}/bin/activate
> tox > ${CEPH_DETECT_INIT_VIRTUALENV}/tox.out 2>&1
> status=$?
> grep -v InterpreterNotFound < ${CEPH_DETECT_INIT_VIRTUALENV}/tox.out
> exit $status
> ;;
> esac
>
>
--
Loïc Dachary, Artisan Logiciel Libre
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: Virtualenv tests still nort running...
2016-03-30 10:10 ` Loic Dachary
@ 2016-03-30 20:39 ` Willem Jan Withagen
2016-03-31 9:31 ` Loic Dachary
0 siblings, 1 reply; 11+ messages in thread
From: Willem Jan Withagen @ 2016-03-30 20:39 UTC (permalink / raw)
To: Loic Dachary, Ceph Development
On 30-3-2016 12:10, Loic Dachary wrote:
> Hi Willem,
>
> Would you mind proposing a pull request with that change ? It looks good to me.
>
Loic,
It does run from make.
But just running it on the commandline, does not really deliver....
[/usr/srcs/Ceph/work/ceph/src] wjw@freetest.digiware.nl>
ceph-disk/run-tox.sh
ceph-disk/run-tox.sh: line 21: ceph-disk-virtualenv/bin/activate: No
such file or directory
ceph-disk/run-tox.sh: line 22: ceph-disk-virtualenv/tox.out: No such
file or directory
ceph-disk/run-tox.sh: line 24: ceph-disk-virtualenv/tox.out: No such
file or directory
But perhaps the testscripts are not intended to run separate on the
commandline?
--WjW
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Virtualenv tests still nort running...
2016-03-30 20:39 ` Willem Jan Withagen
@ 2016-03-31 9:31 ` Loic Dachary
2016-03-31 10:04 ` Willem Jan Withagen
0 siblings, 1 reply; 11+ messages in thread
From: Loic Dachary @ 2016-03-31 9:31 UTC (permalink / raw)
To: Willem Jan Withagen, Ceph Development
On 30/03/2016 22:39, Willem Jan Withagen wrote:
> On 30-3-2016 12:10, Loic Dachary wrote:
>> Hi Willem,
>>
>> Would you mind proposing a pull request with that change ? It looks good to me.
>>
>
> Loic,
>
> It does run from make.
>
> But just running it on the commandline, does not really deliver....
>
> [/usr/srcs/Ceph/work/ceph/src] wjw@freetest.digiware.nl>
> ceph-disk/run-tox.sh
> ceph-disk/run-tox.sh: line 21: ceph-disk-virtualenv/bin/activate: No
> such file or directory
> ceph-disk/run-tox.sh: line 22: ceph-disk-virtualenv/tox.out: No such
> file or directory
> ceph-disk/run-tox.sh: line 24: ceph-disk-virtualenv/tox.out: No such
> file or directory
>
> But perhaps the testscripts are not intended to run separate on the
> commandline?
They are. There still is something wrong...
>
> --WjW
>
>
--
Loïc Dachary, Artisan Logiciel Libre
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Virtualenv tests still nort running...
2016-03-31 9:31 ` Loic Dachary
@ 2016-03-31 10:04 ` Willem Jan Withagen
2016-03-31 10:14 ` Loic Dachary
0 siblings, 1 reply; 11+ messages in thread
From: Willem Jan Withagen @ 2016-03-31 10:04 UTC (permalink / raw)
To: Loic Dachary, Ceph Development
On 31-3-2016 11:31, Loic Dachary wrote:
>
>
> On 30/03/2016 22:39, Willem Jan Withagen wrote:
>> On 30-3-2016 12:10, Loic Dachary wrote:
>>> Hi Willem,
>>>
>>> Would you mind proposing a pull request with that change ? It looks good to me.
>>>
>>
>> Loic,
>>
>> It does run from make.
>>
>> But just running it on the commandline, does not really deliver....
>>
>> [/usr/srcs/Ceph/work/ceph/src] wjw@freetest.digiware.nl>
>> ceph-disk/run-tox.sh
>> ceph-disk/run-tox.sh: line 21: ceph-disk-virtualenv/bin/activate: No
>> such file or directory
>> ceph-disk/run-tox.sh: line 22: ceph-disk-virtualenv/tox.out: No such
>> file or directory
>> ceph-disk/run-tox.sh: line 24: ceph-disk-virtualenv/tox.out: No such
>> file or directory
>>
>> But perhaps the testscripts are not intended to run separate on the
>> commandline?
>
> They are. There still is something wrong...
Anything I can do?
--WjW
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Virtualenv tests still nort running...
2016-03-31 10:04 ` Willem Jan Withagen
@ 2016-03-31 10:14 ` Loic Dachary
[not found] ` <56FCFD69.10307@digiware.nl>
0 siblings, 1 reply; 11+ messages in thread
From: Loic Dachary @ 2016-03-31 10:14 UTC (permalink / raw)
To: Willem Jan Withagen, Ceph Development
On 31/03/2016 12:04, Willem Jan Withagen wrote:
> On 31-3-2016 11:31, Loic Dachary wrote:
>>
>>
>> On 30/03/2016 22:39, Willem Jan Withagen wrote:
>>> On 30-3-2016 12:10, Loic Dachary wrote:
>>>> Hi Willem,
>>>>
>>>> Would you mind proposing a pull request with that change ? It looks good to me.
>>>>
>>>
>>> Loic,
>>>
>>> It does run from make.
>>>
>>> But just running it on the commandline, does not really deliver....
>>>
>>> [/usr/srcs/Ceph/work/ceph/src] wjw@freetest.digiware.nl>
>>> ceph-disk/run-tox.sh
>>> ceph-disk/run-tox.sh: line 21: ceph-disk-virtualenv/bin/activate: No
>>> such file or directory
>>> ceph-disk/run-tox.sh: line 22: ceph-disk-virtualenv/tox.out: No such
>>> file or directory
>>> ceph-disk/run-tox.sh: line 24: ceph-disk-virtualenv/tox.out: No such
>>> file or directory
>>>
>>> But perhaps the testscripts are not intended to run separate on the
>>> commandline?
>>
>> They are. There still is something wrong...
>
> Anything I can do?
modified src/ceph-disk/run-tox.sh
@@ -16,7 +16,7 @@
#
# run from the ceph-disk directory or from its parent
-: ${CEPH_DISK_VIRTUALENV:=ceph-disk-virtualenv}
+: ${CEPH_DISK_VIRTUALENV:=/tmp/ceph-disk-virtualenv}
test -d ceph-disk && cd ceph-disk
source ${CEPH_DISK_VIRTUALENV}/bin/activate
tox > ${CEPH_DISK_VIRTUALENV}/tox.out 2>&1
Does it work with the above patch ? The default location of the virtualenv was changed but this default was not updated.
Cheers
--
Loïc Dachary, Artisan Logiciel Libre
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2016-03-31 11:47 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-29 11:31 Virtualenv tests still nort running Willem Jan Withagen
2016-03-29 12:28 ` Loic Dachary
2016-03-29 15:12 ` Willem Jan Withagen
2016-03-30 9:25 ` Willem Jan Withagen
2016-03-30 10:10 ` Loic Dachary
2016-03-30 20:39 ` Willem Jan Withagen
2016-03-31 9:31 ` Loic Dachary
2016-03-31 10:04 ` Willem Jan Withagen
2016-03-31 10:14 ` Loic Dachary
[not found] ` <56FCFD69.10307@digiware.nl>
2016-03-31 11:14 ` Loic Dachary
2016-03-31 11:47 ` Willem Jan Withagen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.