You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/07/27 22:38:00 UTC

[jira] [Commented] (GEODE-3301) Cargo Module tests failing in nightly build with Unable to edit XML file

    [ https://issues.apache.org/jira/browse/GEODE-3301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16104032#comment-16104032 ] 

ASF GitHub Bot commented on GEODE-3301:
---------------------------------------

GitHub user DivineEnder opened a pull request:

    https://github.com/apache/geode/pull/662

    GEODE-3301: Installations now cleanup previously left over directories…

    This should hopefully fix Jenkins build issues
    
    Thank you for submitting a contribution to Apache Geode.
    
    In order to streamline the review of the contribution we ask you
    to ensure the following steps have been taken:
    
    ### For all changes:
    - [ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?
    
    - [ ] Has your PR been rebased against the latest commit within the target branch (typically `develop`)?
    
    - [ ] Is your initial contribution a single, squashed commit?
    
    - [ ] Does `gradlew build` run cleanly?
    
    - [ ] Have you written or updated unit tests to verify your changes?
    
    - [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)?
    
    ### Note:
    Please ensure that once the PR is submitted, you check travis-ci for build issues and
    submit an update to your PR as soon as possible. If you need help, please send an
    email to dev@geode.apache.org.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/DivineEnder/geode feature/GEODE-3301

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/geode/pull/662.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #662
    
----
commit 4895d7aebe2bc4923018e4d1cf10ef1261674f04
Author: David Anuta <da...@gmail.com>
Date:   2017-07-27T19:23:15Z

    GEODE-3301: Cargo installs now delete left over directories
    
    This should hopefully fix Jenkins build issues

----


> Cargo Module tests failing in nightly build with Unable to edit XML file
> ------------------------------------------------------------------------
>
>                 Key: GEODE-3301
>                 URL: https://issues.apache.org/jira/browse/GEODE-3301
>             Project: Geode
>          Issue Type: Bug
>          Components: http session
>    Affects Versions: 1.3.0
>            Reporter: Jason Huynh
>            Assignee: David Anuta
>         Attachments: build_905.txt
>
>
> Build #905 is failing with Cargo test failures, similar to the following:
> {noformat}
> org.apache.geode.session.tests.Tomcat6Test > classMethod FAILED
>     java.lang.RuntimeException: Unable to edit XML file
>         at org.apache.geode.session.tests.ContainerInstall.editXMLFile(ContainerInstall.java:454)
>         at org.apache.geode.session.tests.ContainerInstall.editXMLFile(ContainerInstall.java:383)
>         at org.apache.geode.session.tests.TomcatInstall.setupDefaultSettings(TomcatInstall.java:161)
>         at org.apache.geode.session.tests.TomcatInstall.<init>(TomcatInstall.java:144)
>         at org.apache.geode.session.tests.TomcatInstall.<init>(TomcatInstall.java:118)
>         at org.apache.geode.session.tests.Tomcat6Test.setupTomcatInstall(Tomcat6Test.java:32)
>         Caused by:
>         java.io.FileNotFoundException: /tmp/cargo_containers/Tomcat6Test/apache-tomcat-6.0.37/apache-tomcat-6.0.37/conf/context.xml (No such file or directory)
>             at java.io.FileInputStream.open0(Native Method)
>             at java.io.FileInputStream.open(FileInputStream.java:195)
>             at java.io.FileInputStream.<init>(FileInputStream.java:138)
>             at java.io.FileInputStream.<init>(FileInputStream.java:93)
>             at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
>             at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
>             at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:623)
>             at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:148)
>             at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:805)
>             at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
>             at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
>             at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)
>             at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)
>             at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:177)
>             at org.apache.geode.session.tests.ContainerInstall.editXMLFile(ContainerInstall.java:423)
>             ... 5 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)