Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Create necessary docker containers intended for unit testing #2153
Comments
jeff1evesque
changed the title from
Add unit tests to '.travis.yml'
to
Add 'pytest_session.py' to '.travis.yml'
Oct 4, 2015
jeff1evesque
added
enhancement
build
labels
Oct 4, 2015
jeff1evesque
added this to the 0.2 milestone
Oct 4, 2015
added a commit
that referenced
this issue
Oct 11, 2015
added a commit
that referenced
this issue
Oct 11, 2015
jeff1evesque
referenced this issue
Oct 11, 2015
Closed
#2153: Add 'pytest_session.py' to '.travis.yml' #2169
added a commit
that referenced
this issue
Oct 11, 2015
added a commit
that referenced
this issue
Oct 11, 2015
added a commit
that referenced
this issue
Oct 11, 2015
added a commit
that referenced
this issue
Oct 11, 2015
added a commit
that referenced
this issue
Oct 11, 2015
|
Our Travis build indicates that our flask service is not running. Specifically, corresponding puppet logic required to create our upstart script to start our flask service, has not run. |
added a commit
that referenced
this issue
Oct 20, 2015
added a commit
that referenced
this issue
Oct 20, 2015
added a commit
that referenced
this issue
Oct 21, 2015
added a commit
that referenced
this issue
Oct 21, 2015
added a commit
that referenced
this issue
Oct 21, 2015
added a commit
that referenced
this issue
Oct 21, 2015
|
This issue should be resolved after our vagrant implementation has been replaced with docker (#2087). The reason for this, is because several of the puppet manifests reference |
jeff1evesque
modified the milestones:
1.0,
0.2
Oct 21, 2015
added a commit
that referenced
this issue
Jun 22, 2016
|
This should be resolved immediately, since implementing an automated unit test (per commit) will save time in the long run. The following examples may provide additional insight:
Note: the above example, the author uses ansible to execute commands within the docker container. However, we can easily use |
added a commit
that referenced
this issue
Jun 22, 2016
added a commit
that referenced
this issue
Jun 22, 2016
added a commit
that referenced
this issue
Jun 22, 2016
jeff1evesque
modified the milestones:
0.4,
1.0
Jun 22, 2016
added a commit
that referenced
this issue
Jun 22, 2016
added a commit
that referenced
this issue
Jun 22, 2016
added a commit
that referenced
this issue
Jun 23, 2016
added a commit
that referenced
this issue
Jun 23, 2016
added a commit
that referenced
this issue
Jun 23, 2016
added a commit
that referenced
this issue
Jun 23, 2016
added a commit
that referenced
this issue
Jun 23, 2016
added a commit
that referenced
this issue
Jun 23, 2016
added a commit
that referenced
this issue
Jun 24, 2016
added a commit
that referenced
this issue
Jun 24, 2016
added a commit
that referenced
this issue
Jun 24, 2016
added a commit
that referenced
this issue
Jun 24, 2016
added a commit
that referenced
this issue
Jun 24, 2016
added a commit
that referenced
this issue
Jun 24, 2016
added a commit
that referenced
this issue
Jun 24, 2016
added a commit
that referenced
this issue
Jun 24, 2016
added a commit
that referenced
this issue
Jun 24, 2016
added a commit
that referenced
this issue
Jun 24, 2016
added a commit
that referenced
this issue
Jun 24, 2016
added a commit
that referenced
this issue
Jun 24, 2016
added a commit
that referenced
this issue
Jun 24, 2016
added a commit
that referenced
this issue
Jun 24, 2016
added a commit
that referenced
this issue
Jun 24, 2016
added a commit
that referenced
this issue
Jun 24, 2016
jeff1evesque
added
the
remove
label
Jun 24, 2016
added a commit
that referenced
this issue
Jun 24, 2016
jeff1evesque
removed
the
remove
label
Jun 24, 2016
added a commit
that referenced
this issue
Jun 24, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
|
Necessary attributes during mysql installation is not recognized, and may lead to the larger issue of not having a functional docker container running during our unit testing. Specifically, it seems our hiera attributes is not loading, within |
added a commit
that referenced
this issue
Jul 3, 2016
|
Earlier, implemented hiera attributes from ...
with open("/var/machine-learning/db-trace.txt", "w") as text_file:
text_file.write("host: %s" % host)
text_file.write("provisioner: %s" % provisioner)
text_file.write("provisioner password: %s" % provisioner_password)
text_file.write("database: %s" % db_ml)
...So, we The command "docker run --name database container-database" exited with 0.
0.01s$ cat /var/machine-learning/db-trace.txt
cat: /var/machine-learning/db-trace.txt: No such file or directoryHowever, the file doesn't seem to exist. So, we need to check the following:
|
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
jeff1evesque
added
the
new feature
label
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
added a commit
that referenced
this issue
Jul 3, 2016
|
The |
|
We need to determine the following:
|
|
To simplify this issue, and reduce time, we will debug locally, outside the scope of our Travis CI. This means we will need to install docker locally, and reimplement the docker commands, currently located in our travis.yml. |
jeff1evesque
referenced this issue
Jul 4, 2016
Closed
Link docker containers to allow unit testing #2628
|
This issue has become too long. Therefore, we will comment out the last line within the .travis.yml, since this issue has satisfied the creation of segregated containers. Specifically, it will be continued via #2628. |
jeff1evesque commentedOct 4, 2015
•
Edited 1 time
-
jeff1evesque
Jul 4, 2016
We will create the necessary containers required to replicate our application, so it can be unit tested. Once completed, #2628, will link the containers, and perform the basic unit tests.
Note: this issue has been adjusted from its original intention to build all necessary containers, and perform the corresponding unit testing. Now it has been segregated into two different issues.