Skip to content

DB2 in Test Container fails in Concourse but works in Docker #2019

Closed

Description

@Quantas

Challenge/Bug

We are attempting to run our integration tests in separate docker containers to test DbUnit against different database systems. I have created separate Docker images that contain JDK/Maven/DB of choice and this works great for MySQL/PostgreSQL/SQL Server. I am having an issue with the DB2 docker image. I am able to run this image outside of concourse in "standard" Docker with no issues, however, when running inside Concourse I get very strange database issues:

com.ibm.db2.jcc.am.SqlInvalidAuthorizationSpecException: [jcc][t4][2010][11246][4.16.53] Connection authorization failure occurred.  Reason: Local security service non-retryable error. ERRORCODE=-4214, SQLSTATE=28000

Like I mentioned, this only happens with the DB2 docker image running INSIDE Concourse, the same image can be used outside of concourse, provided you install git, do a clone and then execute Maven.

Dockerfile: https://sourceforge.net/p/dbunit/code.git/ci/concourse-ci-testing/tree/ci/docker/db2/Dockerfile
build.yml: https://sourceforge.net/p/dbunit/code.git/ci/concourse-ci-testing/tree/build.yml

  • Concourse version: 3.8.0
  • Deployment type (BOSH/Docker/binary): Docker and/or Binary (both exhibit the issue)
  • Infrastructure/IaaS: In-House Ubuntu 16.04 VM
  • Browser (if applicable): N/A
  • Did this used to work? Nope

Activity

  1. added a commit that references this issue on Apr 11, 2018
  2. stale commented on Jul 31, 2019

    @stale

    Beep boop! This issue has been idle for long enough that it's time to check in and see if it's still important.

    If it is, what is blocking it? Would anyone be interested in submitting a PR or continuing the discussion to help move things forward?

    If no activity is observed within the next week, this issue will be exterminated closed, in accordance with our stale issue process.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions