[
https://issues.apache.org/jira/browse/YETUS-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14997990#comment-14997990
]
Allen Wittenauer commented on YETUS-123:
----------------------------------------
-00:
This ended up not being the rewrite that I had planned. That should probably
still happen, but putting a band-aid over the Docker support wasn't really
*that* horrific. Some notes on what changes:
* added a PATCH_SYSTEM var so that we know which system actually grabbed the
patch. use this when dealing with docker+local file situation so that the
docker mode knows it needs to handle it special
* the personality code was completely fubar'ed in wild and exciting ways, even
in non-docker mode. basically, if a personality wasn't defined, then we
*completely skipped* loading in plug-ins. woops. As a result, there's quite a
bit of re-arranging going on and dockermode now handles that a little
differently.
* i moved the Dockerfile-startsub to Dockerfile so that we could potentially
push it onto Dockerhub via their automated build system in the future
* added a new /testptch/extras dir as the final stage of the docker bootstrap
to store random things. it's also world writable.
* Some basic checks to see if the docker command actually exists and is
executable. Also added \-\-dockercmd so people could point to their favorite
docker command
* while testing, I stumbled upon the fact that we are _precheck'ing
everything, not just the tests we care about. There are still some other,
related issues here, but this one is pretty horrific if your docker image
doesn't have java in it...
> Docker mode failing to enable plugins
> -------------------------------------
>
> Key: YETUS-123
> URL: https://issues.apache.org/jira/browse/YETUS-123
> Project: Yetus
> Issue Type: Bug
> Components: Test Patch
> Affects Versions: 0.1.0
> Reporter: Sean Busbey
> Assignee: Allen Wittenauer
> Priority: Critical
> Attachments: YETUS-123.00.patch
>
>
> I've made three goes at running in docker mode and all fail in a way that
> suggests the set of plugins isn't making it over to the docker invocation.
> since hadoop is working, I guess there's something that presumes a
> personality will be used?
> builds:
> *
> [13|https://builds.apache.org/view/PreCommit%20Builds/job/PreCommit-YETUS-Build/13]
> *
> [14|https://builds.apache.org/view/PreCommit%20Builds/job/PreCommit-YETUS-Build/14]
> *
> [28|https://builds.apache.org/view/PreCommit%20Builds/job/PreCommit-YETUS-Build/28]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)