Testing on windows
John Meinel
john at arbash-meinel.com
Tue Apr 7 13:44:58 UTC 2015
I should note that I'm still seeing an awful lot of failures, but I haven't
had time to dig into it right now. I'll try to get back into it later. It
might just be something wrong with how I have things set up.
John
=:->
On Tue, Apr 7, 2015 at 5:30 PM, Gabriel Samfira <
gsamfira at cloudbasesolutions.com> wrote:
> Thanks for testing and pointing this out :).
>
> Cheers,
> Gabriel
> ------------------------------
> *From:* John Meinel [john at arbash-meinel.com]
> *Sent:* Tuesday, April 07, 2015 4:11 PM
>
> *To:* Gabriel Samfira
> *Cc:* juju-dev at lists.ubuntu.com
> *Subject:* Re: Testing on windows
>
> Yep. dumpbin is happy, and moving libeay.dll out of the way and it
> still seems to work. So it seems you've fixed the dependencies. Thanks for
> that.
>
> John
> =:->
>
>
> On Tue, Apr 7, 2015 at 4:40 PM, Gabriel Samfira <
> gsamfira at cloudbasesolutions.com> wrote:
>
>> It appears that the binary version of OpenSSL only had stubs for static
>> linking. I had to compile openSSL as well. On my system, mongo was picking
>> up the openssl library from tortoiseHG.
>>
>> The binary in the wiki has been updated. Please give it one last try. You
>> should see output identical to:
>>
>> PS C:\bin> .\mongod.exe --version
>> db version v2.6.3
>> 2015-04-07T15:35:03.872-0700 git version:
>> 255f67a66f9603c59380b2a389e386910bbb52cb
>> 2015-04-07T15:35:03.872-0700 OpenSSL version: *OpenSSL 1.0.1m 19 Mar
>> 2015*
>>
>> For future reference if anyone tries to statically compile mongod on
>> windows:
>>
>> scons --ssl --release --64 --static --extrapath=C:\Build-OpenSSL-VC-64
>> --extralib=Advapi32.lib,User32.lib,Ole32.lib,Oleaut32.lib,Gdi32.lib
>>
>>
>> Cheers,
>> Gabriel
>> ------------------------------
>> *From:* John Meinel [john at arbash-meinel.com]
>> *Sent:* Tuesday, April 07, 2015 11:09 AM
>>
>> *To:* Gabriel Samfira
>> *Cc:* juju-dev at lists.ubuntu.com
>> *Subject:* Re: Testing on windows
>>
>> So the file I downloaded from you last week had:
>>
>> C:\dev\bin>.\mongod.exe --version
>> db version v2.6.3
>> 2015-04-07T12:07:20.956+0400 git version:
>> 255f67a66f9603c59380b2a389e386910bbb52cb
>> 2015-04-07T12:07:20.957+0400 OpenSSL version: OpenSSL 1.0.2a 19 Mar 2015
>>
>> And dumpbin says it needs the dll:
>> C:\dev\bin>"\Program Files (x86)\Microsoft Visual Studio
>> 12.0\VC\bin\dumpbin.exe" mongod.exe /dependents
>> Microsoft (R) COFF/PE Dumper Version 12.00.31101.0
>> Copyright (C) Microsoft Corporation. All rights reserved.
>>
>>
>> Dump of file mongod.exe
>>
>> File Type: EXECUTABLE IMAGE
>>
>> Image has the following dependencies:
>>
>> WS2_32.dll
>> KERNEL32.dll
>> ADVAPI32.dll
>> PSAPI.DLL
>> dbghelp.dll
>> WINMM.dll
>> LIBEAY32.dll
>> SSLEAY32.dll
>>
>> Summary
>>
>> 441000 .data
>> B1000 .pdata
>> 457000 .rdata
>> 12000 .reloc
>> C70000 .text
>> 1000 .tls
>>
>> I just downloaded the mongo-static.zip again and extracted the .exe. It
>> says the same thing.
>> The link I'm following is on this page:
>> http://wiki.cloudbase.it/juju-testing
>> and links to this file: http://wiki.cloudbase.it/_media/mongo-static.zip
>>
>> John
>> =:->
>>
>>
>>
>> On Fri, Apr 3, 2015 at 1:03 PM, Gabriel Samfira <
>> gsamfira at cloudbasesolutions.com> wrote:
>>
>>> I updated the wiki. The Start-BitsTransfer step downloaded the old
>>> archive.
>>>
>>> The mongo-static.zip contains a statically built mongo with ssl enabled.
>>> I installed a system from scratch and after following the steps on the
>>> wiki, and got to mongo the result was:
>>>
>>> PS C:\Users\Administrator> .\mongod.exe --version
>>> db version v2.6.3
>>> 2015-04-03T11:56:04.678-0700 git version:
>>> 255f67a66f9603c59380b2a389e386910bbb52cb
>>> 2015-04-03T11:56:04.678-0700 OpenSSL version: OpenSSL 0.9.8r 8 Feb 2011
>>>
>>> If its not too much trouble, can you give it another shot? (if you have
>>> a snapshot of a vanilla windows install and time of course)
>>>
>>> Cheers,
>>> Gabriel
>>> ------------------------------
>>> *From:* John Meinel [john at arbash-meinel.com]
>>> *Sent:* Wednesday, April 01, 2015 9:55 PM
>>>
>>> *To:* Gabriel Samfira
>>> *Cc:* juju-dev at lists.ubuntu.com
>>> *Subject:* Re: Testing on windows
>>>
>>> The one I have says it was "Date Modified" 2015-03-22 and is
>>> 18,136KB in size. (mongo-static.zip is 6,934 KB).
>>>
>>> John
>>> =:->
>>>
>>> On Wed, Apr 1, 2015 at 10:54 PM, John Meinel <john at arbash-meinel.com>
>>> wrote:
>>>
>>>> I did get it from the wiki, and the link said "static", however, it did
>>>> still complain that I didn't have OpenSSL. Perhaps a build step was missed
>>>> on the latest one and it wasn't noticed because the OpenSSL library was on
>>>> the machine you were testing on?
>>>>
>>>> John
>>>> =:->
>>>>
>>>>
>>>> On Wed, Apr 1, 2015 at 8:49 PM, Gabriel Samfira <
>>>> gsamfira at cloudbasesolutions.com> wrote:
>>>>
>>>>> Hi John,
>>>>>
>>>>> OpenSSL was needed for mongo, but I have since recompiled mongo
>>>>> statically. So if you got the binary from the wiki, OpenSSL should no
>>>>> longer be needed as a mandatory dependency.
>>>>>
>>>>> I will not be able to try and reproduce the error today, but I will
>>>>> have a look at that particular test tomorrow.
>>>>>
>>>>> Cheers,
>>>>> Gabriel
>>>>> ------------------------------
>>>>> *From:* John Meinel [john at arbash-meinel.com]
>>>>> *Sent:* Wednesday, April 01, 2015 1:46 PM
>>>>> *To:* Gabriel Samfira
>>>>> *Cc:* juju-dev at lists.ubuntu.com
>>>>> *Subject:* Re: Testing on windows
>>>>>
>>>>> ...
>>>>>
>>>>>> I did end up getting some tests running (though I did get a "charm
>>>>>> not found" failure). It did end up getting killed with "test ran to long"
>>>>>> after 10 min.
>>>>>>
>>>>>
>>>>> For those following along it was cmd/juju
>>>>> DeploySuite.TestUpgradeCharmDir
>>>>> <https://bugs.launchpad.net/juju-core/+bug/1439112> that failed.
>>>>>
>>>>> John
>>>>> =:->
>>>>>
>>>>>
>>>>>>
>>>>>> So it seems the doc is slightly incomplete, but mostly there.
>>>>>>
>>>>>> John
>>>>>> =:->
>>>>>>
>>>>>> On Thu, Mar 19, 2015 at 5:40 AM, Gabriel Samfira <
>>>>>> gsamfira at cloudbasesolutions.com> wrote:
>>>>>>
>>>>>>> Hello folks,
>>>>>>>
>>>>>>> It has come to my attention that there may be some confusion in
>>>>>>> regards
>>>>>>> to some Windows testing. There have been a couple of branches that
>>>>>>> have
>>>>>>> merged which break windows tests in juju-core.
>>>>>>>
>>>>>>> I would like to remind everyone that there is a guide available at:
>>>>>>>
>>>>>>> http://wiki.cloudbase.it/juju-testing
>>>>>>>
>>>>>>> that will help you set up a testing environment on Windows. Also, if
>>>>>>> there are any questions regarding Windows weirdness, please feel
>>>>>>> free to
>>>>>>> contact me on irc (gsamfira) or bogdanteleaga. We will be more then
>>>>>>> happy to help you navigate any Windows issues you might have.
>>>>>>>
>>>>>>>
>>>>>>> Kind regards,
>>>>>>> Gabriel
>>>>>>> --
>>>>>>> Juju-dev mailing list
>>>>>>> Juju-dev at lists.ubuntu.com
>>>>>>> Modify settings or unsubscribe at:
>>>>>>> https://lists.ubuntu.com/mailman/listinfo/juju-dev
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20150407/b2a97e3d/attachment-0001.html>
More information about the Juju-dev
mailing list