Giter VIP home page Giter VIP logo

assimilation-official's People

Contributors

alan-r avatar borgified avatar carrieao avatar dependabot[bot] avatar dmuhamedagic avatar dpquigl avatar ejratl avatar h4ck3rm1k3 avatar jgillmanjr avatar psy-q avatar sadsaddle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

assimilation-official's Issues

Create and publish package for nanoprobe

The nanoprobe is "universal", but still there need to be packages to install it with. So, we need at least a single RPM package and a single Debian package. Maybe more if they don't always work out. These need to be published in a a public repo.

Best Practice rule failures (evaluations?) need to generate events and be searchable.

See: https://trello.com/c/XRhZqwWu

  • Events: One event should be generated for each new failure and each new success. Currently these events are ephemeral, but eventually will be persistent.
  • Searchable. A relationship or node should exist for each failure, and maybe for each success. The general idea is that one should be able to easily search for all systems that failed tests, a total count of failures should be available, and it should be possible to collect the list of machines with any failure, or those which fail any given rule.

Fix garbage in C/python log messages in CMA

Here are some sample outputs:

Aug  3 18:35:39 servidor <80><93>þk<8a>^?[23135]: DEBUG: _netio_setsockbufsize.278: trying to set input buffer size to 10485760
Aug  3 18:35:39 servidor <80><93>þk<8a>^?[23135]: DEBUG: _netio_setsockbufsize.278: trying to set output buffer size to 1048576

The process ID (23235) is the parent process for the CMA:

assimil+ 23135 23132  0 18:35 pts/1    00:00:05 python ./cma.py --debug 2 --erasedb --foreground

This is very consistent and happens every time we start the CMA.
There are corresponding log messages from the CMA itself, and they look just fine:

Aug  3 18:35:55 servidor cma INFO: Socket input buffer size:  20971518
Aug  3 18:35:55 servidor cma INFO: Socket output buffer size: 2097150

neoauth is not found

We have a failed build here:
https://travis-ci.org/assimilation/assimilation-official/builds/101161253

It appears to be caused by the fact it can't find the neoauth program.

Neoauth gets installed when you install the py2neo python package. I see it got installed, but I don't know why this command isn't found. Perhaps a PATH problem? On my machine, it's installed under /usr/local/bin. Not sure if that's universal or not...

Here's where this shows up (16 times) in the build output:
CalledProcessError: Command '['neoauth', 'neo4j', 'neo4j', ')(UJZUBbLXRkez&P']' returned non-zero exit status 1

This is the cause of this failure.

I presume that the command isn't found. You does not have to be root for this to work. You just have to know the default password ("neo4j").

If you're not root, then you'll get a different failure in the same module ;-) -- but not this one.

Fedora 23 fails tests

The failures cause crashes in the python/C interface

Sadly, when this kind of thing happens, it's ugly to figure out. Really ugly. Discovered by @dpquigl. The good news (so to speak) is that it happens under Docker as well. This eliminates any kernel involvement. Libraries and new python code are possible causes.

pinger is now included by testify tests - don't need to do it separately in Travis.ci build

So, you don't need to run it in a separate step.

I don't remember why you put the netconfig discovery in the stream. If you're going to run them, I'd discovery commands before the build step. That way if things mess up, we'll have that information available.

From my perspective, you might run the os discovery. It's probably more interesting to know if something goes wrong.

Meson build of nanoprobe gets warnings (errors)

Here's the message:
meson.build:107: WARNING: The variable(s) 'BPINSTALL', 'DISCOVERYINSTALL', 'LICENSE_LONG', 'LICENSE_SHORT', 'MONRULEINSTALL', 'PROJVERS', 'QUERYINSTALL' in the input file 'include/projectcommon.h.in' are not present in the given configuration data.

At least DISCOVERYINSTALL and probably *INSTALL are all full-blown errors. This has to be fixed.

Not sure how to make the build fail because of this?

ctypesgen blocking progress

I've_ forked ctypesgen to here https://github.com/assimilation/ctypesgen, since upstream seems to be abandoned. I tried adding the patches as prescribed by ctypesgen/ctypesgen#61 and ctypesgen/ctypesgen#62 and I'm still hitting the same errors indicated by the issues. @Alan-R can you give it a shot at fixing ctypesgen? (make changes directly to assimilation/ctypesgen)

I've also tried other forks like olsonse/ctypesgen but they don't help either.

travis output showing ctypesgen problem: https://www.travis-ci.org/assimilation/assimilation-official/jobs/490881626#L1640

Make nanoprobe binary a fully bound object (no dynamic loading)

This involves rewriting the cmake libraries.
I'd also like to build our own copy of libsodium - compiled from source. It's easy to compile & test.

The clientlib, serverlib, and libsodium need to be included in the Docker image, so you can't stop building libraries - it's just that you need to fully bind everything for the nanoprobe.

Make AssimEvent objects persistent.

When things break, one wants to answer the question "What changed?". If we make events persistent, then we can answer that question.

We can also (eventually) answer questions about how long it took to resolve an issue, how long servers were down, and related things. This provides the data to make these things possible.

Create publishable CMA docker image

In other words we want a docker image for the CMA that includes:

  • the CMA python code and dependencies
  • the client and server libraries (the exact ones built for the nanoprobe)
  • llbsodium (the exact version we built from source for the nanoprobe)
  • glib
    etc as needed

Note that the CMA will need to communicate with a docker image running Neo4j. There is already a Neo4j package that I'm using for testing. It is necessary for some of the Neo4j files to be accessible from this image (mainly to initialize the Neo4j password).

Best Practice rule failures (evaluations?) need to be searchable.

A relationship or node should exist for each failure, and maybe for each success. The general idea is that one should be able to easily search for all systems that failed tests, a total count of failures should be available, and it should be possible to collect the list of machines with any failure, or those which fail any given rule.

This is a subset of #19 - which has been closed and this item split off.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.