Skip to content

Travis Precise and gradle issues - please help! #289

Closed

Description

@mbernier

Issue Summary

As soon as Hacktoberfest started, we started getting failures from Travis. Are you familiar with this issue and able to help? There's some SendGrid Hacktoberfest swag in it for you :)

We are getting this issue:

This job ran on our Precise environment, which is in the process of being decommissioned. Please read about the status of the rollout on the blog, and take note that you can explicitly stay on Precise by specifying dist: precise in your .travis.yml.

and

The command "./gradlew check" exited with 134.

From travis.

Steps to Reproduce

  1. See every PR on this repo right now :(

Activity

  1. aaomidi commented on Oct 20, 2017

    @aaomidi

    This issue depends on your use case, do you definitely need oraclejdk7? If not can it just be replaced with openjdk7?

  2. LulaV14 commented on Oct 21, 2017

    @LulaV14

    I'm not sure that the problem is with the oraclejdk7...because there are three build jobs using openjdk7, oraclejdk7 and oraclejdk8 and all are failing in most of the builds.

    I'm no expert in Travis but doing a little research I found that in most projects the problem was the permissions for the gradle file. I'm sure you did gave permissions because it wasn't failing.. maybe some PR change broke that?

    What I would try is adding this:

    before_install:
     - chmod +x gradlew
    

    to the .travis.yml file to check if that fixes the problem.

  3. InfiniteCoder commented on Oct 23, 2017

    @InfiniteCoder
    Contributor

    I can't locate the code that is pointed to in the errors of the log, as pointed by the travis beacon on readme page. It's pointing to build 451. Errors point to some import lines in Attachments.java, but those code lines do not exist in repository.

    The only error that Attachments.java shows for me is that package name does not match the directory structure.

  4. LulaV14 commented on Oct 24, 2017

    @LulaV14

    I see that @andy-trimble did some changes in the .travis.yml file and now all builds are passing 😊
    So that was the problem? Everything's working now?

  5. removed
    difficulty: hard
    difficulty: medium
    difficulty: very hard
    on Oct 27, 2017
  6. andy-trimble commented on Oct 28, 2017

    @andy-trimble
    Contributor

    This looks to be related to travis-ci/travis-ci#5227.

  7. mbernier commented on Oct 29, 2017

    @mbernier
    ContributorAuthor

    #366 + @andy-trimble got the build running again!

  8. mbernier commented on Oct 30, 2017

    @mbernier
    ContributorAuthor

    @andy-trimble I am curious if you think that running the entire build inside a docker container would solve the issue we talked about? https://docs.travis-ci.com/user/docker/

  9. andy-trimble commented on Oct 30, 2017

    @andy-trimble
    Contributor

    I believe it would fix several things. We could also start up Prism as a container and avoid all the downloading, scripting, and sleeping. @mbernier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions