Uploaded image for project: 'rancher'
  1. rancher
  2. RANCHER-256

s3 not found issues while karate tests run for mod data export

    XMLWordPrintable

Details

    • Kitfox: sprint 141, Kitfox: sprint 142
    • 2
    • Kitfox
    • TBD

    Description

      Module mod data export fails according API karate tests running while try to export some files for tests:

      Logs from temporary testing environment of previous executions for that module have several messages :

      2022-03-17T13:31:52,526 ERROR [vert.x-eventloop-thread-1] ExportManagerImpl Export is failed, cause: S3 bucket name is not found in System Properties
      

      Currently running locally for snapshot environment all tests are passed successfully:

      mvn clean test -Dtest=ModDataExportApiTest -pl mod-data-export  -DargLine="-Dkarate.env=snapshot"
      

      Mod data-export uses MinIO remote storage or Amazon S3 as storage for generated files.
      The storage is selected by specifying the url of S3-compatible storage by using ENV variable `AWS_URL`. In addition,
      the following ENV variables can be specified: `AWS_REGION`, `AWS_BUCKET`, `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`.

      Attachments

        1. fail.PNG
          fail.PNG
          20 kB
        2. fails.PNG
          fails.PNG
          79 kB
        3. success_local.PNG
          success_local.PNG
          73 kB
        4. success_run.PNG
          success_run.PNG
          42 kB

        Issue Links

          Activity

            People

              Vitaly_Demchenko@epam.com Vitaly Demchenko
              Harbuz Aliaksei Harbuz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: