Re: [Assimilation] Recent pushes to Mercurial...

2013-11-08 Thread Fwiffo
I ran a set of builds right after you said you had made changes and I was 
waiting for my twitter notification to pop up but it never did. Just now I 
realized that the way I scripted it was to send notification on build failure 
so the fact that I got no notice is surely a good sign! I'm eager to verify the 
status of the builds (and to fix my script logic). 

-- JC

 On Nov 8, 2013, at 5:00 AM, Alan Robertson al...@unix.sh wrote:
 
 Hi,
 
 As was noted earlier on the list, the code didn't pass tests.  Yesterday
 I got it to pass tests (didn't install something correctly), and late
 last night, I fixed some bugs that kept it from running correctly.
 
 Next week after I'm home, I'll work a bit more in earnest to ensure that
 it is a bit better tested.
 
 The current unit tests are nice, but they are only unit tests.
 
 Anyone who wants to volunteer to look at higher level system testing -
 please send an email to the list.
 
Thanks!
 
-- Alan Robertson
al...@unix.sh
 ___
 Assimilation mailing list - Discovery-Driven Monitoring
 Assimilation@lists.community.tummy.com
 http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
 http://assimmon.org/
___
Assimilation mailing list - Discovery-Driven Monitoring
Assimilation@lists.community.tummy.com
http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
http://assimmon.org/


Re: [Assimilation] Problem when calling cpack

2013-11-02 Thread Fwiffo
Sure that is no problem. Each gist is saved in a git repository so we can pull 
up past commits where builds were successful and github even gives us a 
permalink to each revision. 

Have fun at LISA both if you. I'll catch up when you get back. 

-- JC

 On Nov 2, 2013, at 5:41 PM, Alan Robertson al...@unix.sh wrote:
 
 Hi Pamela,
 
 I'd be delighted to have you take over the documentation :-D.  Really 
 delighted.
 
 We'll talk at LISA.
 
 Hi JC:
 Can you keep two pointers - one to the last build, and one to the last 
 successful build for each platform?
 
 
 
 On 11/02/2013 11:12 AM, Pamela Lynn Howell wrote:
 I would definitely vote for troubleshooting section.
 
 On Nov 2, 2013 1:07 PM, Fwiffo borgif...@gmail.com wrote:
 I'd be ok with either way. The script I wrote to copy the output and make 
 it available in a GitHub gist can be run in any Jenkins instance (it isn't 
 anything fancy) I   just have to put better comments on it so 
 others can use it too. 
 
 The advantage of using the links is that it'll be somewhat up to date 
 (close to latest build). But the disadvantage is that it doesn't guarantee 
 a successful build so broken builds would get linked too. 
 
 Maybe error messages would be just as valuable but I think that would 
 belong in a diff section perhaps troubleshooting. 
 
 What do you think? Make new section on troubleshooting? I could provide a 
 bunch of errors because I encounter them all the time. Would be useful for 
 folks to look up issues like forgetting the ctypesgen dependency like we 
 just had. 
 
 -- JC
 
 On Nov 2, 2013, at 4:34 AM, Alan Robertson al...@unix.sh wrote:
 
 Everything on the web site is produced from the source tree in Mercurial.
 
 Most of the base documents are from the docfiles directory - which you 
 can find here online:
 http://hg.linux-ha.org/assimilation/file/tip/docfiles
 
 There are two possibilities that come to mind:
 - include some of our build output in these files
 - put a link to your latest build output live online in one of these 
 files
 
 What say ye?
 
 Of course, I can't do much while traveling, but at least my laptop, brain 
 and phone (auxiliary brain) all seem to be working.
 
 
 On 11/01/2013 09:26 PM, Fwiffo wrote:
 Oh you mean as it to the Linux ha website. Ya sure but I dunno how :)
 
 -- JC
 
 On Nov 1, 2013, at 2:30 PM, Pamela Lynn Howell pamelahow...@gmail.com 
 wrote:
 
 Hey JC,
 I'm looking at the docs, do you think sample build log would be useful 
 to add? Cuz I do.
 
 ---pam
 
 On Nov 1, 2013 4:39 PM, Alan Robertson al...@unix.sh wrote:
 There are a number of places we can host this.
 
 I'm sure we can host them at the Linux-HA site - like the source and 
 the current web site.  Or we can host them somewhere else on our own 
 (lots of options).
 
 Have you tried to digitally sign any yet?
 
 We need to establish a project signing key to use so people can know 
 that the packages we put out are from us (not tampered with).
 
 
 On 11/01/2013 12:33 PM, Fwiffo wrote:
 I've gotta find a place to upload them to then automate that too
 
 -- JC
 
 On Nov 1, 2013, at 10:11 AM, Alan Robertson al...@unix.sh wrote:
 
 Where can he find the package you built?
 
 On 11/01/2013 10:04 AM, Fwiffo wrote:
 Hi Peter
 
 Sorry for the lack of explanation earlier. I linked you the output 
 logs of the whole building process. You can see what commands were 
 issued cuz those lines are prepended with a + sign. You can also see 
 the result of running those commands and the versions of each 
 package and use those as a guide. 
 
 -- JC
 
 On Nov 1, 2013, at 4:37 AM, Peter Sørensen mas...@sdu.dk wrote:
 
 Thanks but what can I achieve with that ?
 
  
 
 Best regards
 
  
 
 Peter
 
 Fra: John Carpenter [mailto:borgif...@gmail.com] 
 Sendt: 1. november 2013 11:37
 Til: Peter Sørensen
 Cc: soren.han...@ril.com; assimilation@lists.community.tummy.com
 Emne: Re: [Assimilation] Problem wneh calling cpack
 
  
 
 this might be useful: http://www.spathiwa.com/jenkins/builds.html
 
 i even have your version (12.04)
 
  
 
  
 
 On Fri, Nov 1, 2013 at 2:37 AM, Peter Sørensen mas...@sdu.dk 
 wrote:
 
 Thanks - I overlooked this in the docs :-)
 
 Best regards
 
 Peter Sørensen
 
 -Oprindelig meddelelse-
 Fra: soren.han...@ril.com [mailto:soren.han...@ril.com]
 Sendt: 1. november 2013 10:30
 Til: Peter Sørensen; assimilation@lists.community.tummy.com
 Emne: Re: [Assimilation] Problem wneh calling cpack
 
 
 You need to have ctypesgen installed.
 
 Soren Hansen
 Assistant VP, Chief Architect, Cloud
 Reliance Jio Infocomm, Ltd.
 Mobile: +45 28287542
 Skype: sorenhansen1234
 Email: soren.han...@ril.com
 
 On 01-11-2013 10:16, Peter Sørensen wrote:
  Hi,
 
  I've been away from this project the past year but would like to
  restart the process. So I grabbed a new source with:
 
  hg clone 'http://hg.linux-ha.org/%7Cexperimental/assimilation/'
 
  mkdir assimilation-bin
  cd assimilation-bin
  cmake ../assimilation

Re: [Assimilation] Problem wneh calling cpack

2013-11-01 Thread Fwiffo
Hi Peter

Sorry for the lack of explanation earlier. I linked you the output logs of the 
whole building process. You can see what commands were issued cuz those lines 
are prepended with a + sign. You can also see the result of running those 
commands and the versions of each package and use those as a guide. 

-- JC

 On Nov 1, 2013, at 4:37 AM, Peter Sørensen mas...@sdu.dk wrote:
 
 Thanks but what can I achieve with that ?
  
 Best regards
  
 Peter
 Fra: John Carpenter [mailto:borgif...@gmail.com] 
 Sendt: 1. november 2013 11:37
 Til: Peter Sørensen
 Cc: soren.han...@ril.com; assimilation@lists.community.tummy.com
 Emne: Re: [Assimilation] Problem wneh calling cpack
  
 this might be useful: http://www.spathiwa.com/jenkins/builds.html
 i even have your version (12.04)
  
  
 
 On Fri, Nov 1, 2013 at 2:37 AM, Peter Sørensen mas...@sdu.dk wrote:
 Thanks - I overlooked this in the docs :-)
 
 Best regards
 
 Peter Sørensen
 
 -Oprindelig meddelelse-
 Fra: soren.han...@ril.com [mailto:soren.han...@ril.com]
 Sendt: 1. november 2013 10:30
 Til: Peter Sørensen; assimilation@lists.community.tummy.com
 Emne: Re: [Assimilation] Problem wneh calling cpack
 
 You need to have ctypesgen installed.
 
 Soren Hansen
 Assistant VP, Chief Architect, Cloud
 Reliance Jio Infocomm, Ltd.
 Mobile: +45 28287542
 Skype: sorenhansen1234
 Email: soren.han...@ril.com
 
 On 01-11-2013 10:16, Peter Sørensen wrote:
  Hi,
 
  I've been away from this project the past year but would like to
  restart the process. So I grabbed a new source with:
 
  hg clone 'http://hg.linux-ha.org/%7Cexperimental/assimilation/'
 
  mkdir assimilation-bin
  cd assimilation-bin
  cmake ../assimilation
 
  BUT when i vall cpack I get:
 
  CPack: Create package using DEB
  CPack: Install projects
  CPack: - Run preinstall target for: assimilation
  CPack: - Install project: assimilation
  CPack: -   Install component: cma-component
  CMake Error at /home/maspsr/assimilation-bin/cma/cmake_install.cmake:60 
  (FILE):
file INSTALL cannot find
/home/maspsr/assimilation/cma/AssimCtypes.py-install.
  Call Stack (most recent call first):
/home/maspsr/assimilation-bin/cmake_install.cmake:66 (INCLUDE)
 
 
  CPack Error: Error when generating package: assimilation
 
 
  What am I missing ? I'm on Ubuntu 12.04
 
  Best regards
 
  Peter Sorensen/Univ Of Southern Denmark/email: mas...@sdu.dk
 Confidentiality Warning: This message and any attachments are intended only 
 for the use of the intended recipient(s).
 are confidential and may be privileged. If you are not the intended 
 recipient. you are hereby notified that any review. re-transmission. 
 conversion to hard copy. copying. circulation or other use of this message 
 and any attachments is strictly prohibited. If you are not the intended 
 recipient. please notify the sender immediately by return email.
 and delete this message and any attachments from your system.
 
 Virus Warning: Although the company has taken reasonable precautions to 
 ensure no viruses are present in this email.
 The company cannot accept responsibility for any loss or damage arising from 
 the use of this email or attachment.
 
 ___
 Assimilation mailing list - Discovery-Driven Monitoring
 Assimilation@lists.community.tummy.com
 http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
 http://assimmon.org/
  
___
Assimilation mailing list - Discovery-Driven Monitoring
Assimilation@lists.community.tummy.com
http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
http://assimmon.org/


Re: [Assimilation] new test error

2013-08-07 Thread Fwiffo
Yea I run cpack. If I remember right this step generates this .deb files. I do 
this for all iterations. 

-- JC

On Aug 7, 2013, at 7:35 AM, Alan Robertson al...@unix.sh wrote:

 Hi John,
 
 Great work!  Congratulations!
 
 Are you building packages (cpack) for them all?
 
 You might look at the script I put in source control called checkandput - 
 it does a variety of checks as part of my just-before-pushing-upstream build. 
  I suppose I should have a target called pylint to do that part for example...
 
 I also build with clang rather than gcc - not for production purposes, but 
 because of the extra verification it provides.
 
 In the fullness of time ;-) we should have a good set of verification steps 
 that we can trigger as part of a build...
 
 
 
 On 08/06/2013 10:46 PM, John Carpenter wrote:
 Hi Alan,
 
 Another big breakthrough on the CI front for me. I just learned how to use a 
 plugin in Jenkins to allow me to control VMs to revert to a clean snapshot 
 prior to every build. So in essence, every time a build is called, we will 
 be doing it on an essentially stock install of the OS. The drawback is 
 that since every build is pretty much a build from scratch, all the ubuntu 
 packages and their dependencies need to be pulled in for each Ubuntu 
 version... I have mitigated this issue by putting a ubuntu package proxy 
 (apt-cacher) so every worker now gets their packages through the proxy at 
 LAN speeds the next time around.
 
 One more piece of good news. I've also figured out how to have one main 
 assimmon project spawn off a bunch of builds on diff OS versions. I have it 
 working on 3 Ubuntu versions thus far, will expand out to more Ubuntu 
 versions before venturing to other Linux flavors.
 
 -- JC
 
 
 On Tue, Aug 6, 2013 at 2:19 AM, Fwiffo borgif...@gmail.com wrote:
 Yup it fixed it sorry didn't get back to you earlier. 
 
 -- JC
 
 On Aug 4, 2013, at 7:47 PM, Alan Robertson al...@unix.sh wrote:
 
 Please let me know if that fixed it.
 
 
 On 08/04/2013 03:18 AM, Fwiffo wrote:
 Yes! Thank you. 
 
 -- JC
 
 On Aug 2, 2013, at 2:17 PM, Alan Robertson al...@unix.sh wrote:
 
 Hi,
 
 I accidentally overwrote a fix I'd put in earlier...
 
 Here's the evidence ;-)
 http://hg.linux-ha.org/assimilation/rev/2059689b15cf
 
 
  1.7 -nodezero = self.db.get_node(0)
  1.8 +nodezero = self.db.node(0)
 
 
 1.7 was the corrected version.  I overwrote it with 1.8 by mistake.  Not 
 quite sure how...
 
 
 On 07/28/2013 03:47 AM, Fwiffo wrote:
 Hmm I searched past emails for but didn't find matches. Ill check and 
 double check every step again. It's weird cuz we had everything working 
 and it should continue to work since we didn't change anything in our 
 end. 
 
 -- JC
 
 On Jul 27, 2013, at 9:34 PM, Alan Robertson al...@unix.sh wrote:
 
 That should have been fixed.  You complained about it before, and I 
 put in a fix...
 
 
 
 On 7/27/2013 3:31 PM, John Carpenter wrote:
 Hi Alan,
 
 approx 19 days ago, testify 
 tests ran fine but sometime after that, something changed that made 
 it fail like this:
 
 ingresuser@mycon:/tmp/workspace/assimmon/assimilation/cma$ testify 
 tests
 .error: tests.cma_test 
 TestCMABasic.test_several_startups
 Traceback (most recent call last):
   File ./tests/cma_test.py, line 418, in test_several_startups
 CMAdb.initglobal(io, True)
   File ./cmadb.py, line 138, in initglobal
 CMAdb.cdb = CMAdb()
   File ./cmadb.py, line 111, in __init__
 nodezero = self.db.node(0)
 AttributeError: 'GraphDatabaseService' object has no attribute 'node'
 
 E
 FAILED.  46 tests / 15 cases: 45 passed, 1 failed.
 (Total test time 0.87s)
 
 
 more details here: 
 https://travis-ci.org/borgified/assimmon-ci-test/builds/9560428
 
 i havent changed any of the steps i used to build and test (so i 
 really expected it to work because it was tested successful before) 
 so that narrows it down to a couple other places:
 travis's servers (maybe they upgraded neo4j?)
 assimmon code changed?
 something else?
 
 i did another check by running build/test completely independent of 
 travis (on my own vm) with latest version of neo4j and still get same 
 error about GraphDatabaseService object has no attribute node
 
 dunno much about graph databases :(
 other hints or places i should look to explore more?
 
 -- JC
 
 
 -- 
 Alan Robertson al...@unix.sh - @OSSAlanR
 
 Openness is the foundation and preservative of friendship...  Let me 
 claim from you at all times your undisguised opinions. - William 
 Wilberforce
 
 
 -- 
 Alan Robertson al...@unix.sh - @OSSAlanR
 
 Openness is the foundation and preservative of friendship...  Let me 
 claim from you at all times your undisguised opinions. - William 
 Wilberforce
 
 
 -- 
 Alan Robertson al...@unix.sh - @OSSAlanR
 
 Openness is the foundation and preservative of friendship

Re: [Assimilation] new test error

2013-08-06 Thread Fwiffo
Yup it fixed it sorry didn't get back to you earlier. 

-- JC

On Aug 4, 2013, at 7:47 PM, Alan Robertson al...@unix.sh wrote:

 Please let me know if that fixed it.
 
 
 On 08/04/2013 03:18 AM, Fwiffo wrote:
 Yes! Thank you. 
 
 -- JC
 
 On Aug 2, 2013, at 2:17 PM, Alan Robertson al...@unix.sh wrote:
 
 Hi,
 
 I accidentally overwrote a fix I'd put in earlier...
 
 Here's the evidence ;-)
 http://hg.linux-ha.org/assimilation/rev/2059689b15cf
 
 
  1.7 -nodezero = self.db.get_node(0)
  1.8 +nodezero = self.db.node(0)
 
 
 1.7 was the corrected version.  I overwrote it with 1.8 by mistake.  Not 
 quite sure how...
 
 
 On 07/28/2013 03:47 AM, Fwiffo wrote:
 Hmm I searched past emails for but didn't find matches. Ill check and 
 double check every step again. It's weird cuz we had everything working 
 and it should continue to work since we didn't change anything in our end. 
 
 -- JC
 
 On Jul 27, 2013, at 9:34 PM, Alan Robertson al...@unix.sh wrote:
 
 That should have been fixed.  You complained about it before, and I put 
 in a fix...
 
 
 
 On 7/27/2013 3:31 PM, John Carpenter wrote:
 Hi Alan,
 
 approx 19 days ago, testify tests ran fine but sometime after that, 
 something changed that made it fail like this:
 
 ingresuser@mycon:/tmp/workspace/assimmon/assimilation/cma$ testify tests
 .error:  
 tests.cma_test TestCMABasic.test_several_startups
 Traceback (most recent call last):
   File ./tests/cma_test.py, line 418, in test_several_startups
 CMAdb.initglobal(io, True)
   File ./cmadb.py, line 138, in initglobal
 CMAdb.cdb = CMAdb()
   File ./cmadb.py, line 111, in __init__
 nodezero = self.db.node(0)
 AttributeError: 'GraphDatabaseService' object 
 has no attribute 'node'
 
 E
 FAILED.  46 tests / 15 cases: 45 passed, 1 failed.  (Total test time 
 0.87s)
 
 
 more details here: 
 https://travis-ci.org/borgified/assimmon-ci-test/builds/9560428
 
 i havent changed any of the steps i used to build and test (so i really 
 expected it to work because it was tested successful before) so that 
 narrows it down to a couple other places:
 travis's servers (maybe they upgraded neo4j?)
 assimmon code changed?
 something else?
 
 i did another check by running build/test completely independent of 
 travis (on my own vm) with latest version of neo4j and still get same 
 error about GraphDatabaseService object has no attribute node
 
 dunno much about graph databases :(
 other hints or places i should look to explore more?
 
 -- JC
 
 
 -- 
 Alan Robertson al...@unix.sh - @OSSAlanR
 
 Openness is the foundation and preservative of friendship...  Let me claim 
 from you at all times your undisguised opinions. - William Wilberforce
 
 
 -- 
 Alan Robertson al...@unix.sh - @OSSAlanR
 
 Openness is the foundation and preservative of friendship...  Let me claim 
 from you at all times your undisguised opinions. - William Wilberforce
___
Assimilation mailing list - Discovery-Driven Monitoring
Assimilation@lists.community.tummy.com
http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
http://assimmon.org/


Re: [Assimilation] Name Change? Assimilation Management Project?

2013-07-01 Thread Fwiffo
I like assimilation project too although with 3 words you can make more 
acronyms like amp map pam etc

-- JC

On Jul 1, 2013, at 1:25 PM, Alan Robertson al...@unix.sh wrote:

 On 07/01/2013 02:15 PM, Brad Knowles wrote:
 IMO, I'm not sure that I'd be inclined to switch from using the word 
 monitoring to using the word management, although I would support that 
 if you chose to go that direction.
 
 Personally, I think I might be inclined to either include both terms, or to 
 shorten the name and eliminate the potential for future confusion.  But 
 that's just my personal opinion.
 
 Shorten the name?  You mean just call it the Assimilation Project?
 
 -- 
Alan Robertson al...@unix.sh - @OSSAlanR
 
 Openness is the foundation and preservative of friendship...  Let me claim 
 from you at all times your undisguised opinions. - William Wilberforce
 ___
 Assimilation mailing list - Discovery-Driven Monitoring
 Assimilation@lists.community.tummy.com
 http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
 http://assimmon.org/
___
Assimilation mailing list - Discovery-Driven Monitoring
Assimilation@lists.community.tummy.com
http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
http://assimmon.org/