Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-72924

'logStreamNames' failed to satisfy constraint: Member must have length less than or equal to 100

XMLWordPrintable

      I see this error from time on console output.

      My environment is :

      Jenkins controller on docker in AWS ECS/EC2

      Jenkins workers are docker containers running as ECS tasks

       

      com.amazonaws.services.logs.model.InvalidParameterException: 1 validation error detected: Value '[vmol-develop-apps@agent1, vmol-develop-apps@agent10, vmol-develop-apps@agent100, vmol-develop-apps@agent101, vmol-develop-apps@agent102, vmol-develop-apps@agent103, vmol-develop-apps@agent104, vmol-develop-apps@agent105, vmol-develop-apps@agent106, vmol-develop-apps@agent107, vmol-develop-apps@agent108, vmol-develop-apps@agent109, vmol-develop-apps@agent11, vmol-develop-apps@agent110, vmol-develop-apps@agent111, vmol-develop-apps@agent112, vmol-develop-apps@agent113, vmol-develop-apps@agent114, vmol-develop-apps@agent115, vmol-develop-apps@agent116, vmol-develop-apps@agent117, vmol-develop-apps@agent118, vmol-develop-apps@agent119, vmol-develop-apps@agent12, vmol-develop-apps@agent120, vmol-develop-apps@agent121, vmol-develop-apps@agent122, vmol-develop-apps@agent123, vmol-develop-apps@agent124, vmol-develop-apps@agent125, vmol-develop-apps@agent126, vmol-develop-apps@agent127, vmol-develop-apps@agent128, vmol-develop-apps@agent129, vmol-develop-apps@agent13, vmol-develop-apps@agent130, vmol-develop-apps@agent131, vmol-develop-apps@agent132, vmol-develop-apps@agent133, vmol-develop-apps@agent134, vmol-develop-apps@agent135, vmol-develop-apps@agent136, vmol-develop-apps@agent137, vmol-develop-apps@agent138, vmol-develop-apps@agent139, vmol-develop-apps@agent14, vmol-develop-apps@agent140, vmol-develop-apps@agent141, vmol-develop-apps@agent142, vmol-develop-apps@agent143, vmol-develop-apps@agent144, vmol-develop-apps@agent145, vmol-develop-apps@agent146, vmol-develop-apps@agent147, vmol-develop-apps@agent148, vmol-develop-apps@agent149, vmol-develop-apps@agent15, vmol-develop-apps@agent150, vmol-develop-apps@agent151, vmol-develop-apps@agent152, vmol-develop-apps@agent153, vmol-develop-apps@agent154, vmol-develop-apps@agent155, vmol-develop-apps@agent156, vmol-develop-apps@agent157, vmol-develop-apps@agent158, vmol-develop-apps@agent159, vmol-develop-apps@agent16, vmol-develop-apps@agent160, vmol-develop-apps@agent161, vmol-develop-apps@agent162, vmol-develop-apps@agent163, vmol-develop-apps@agent164, vmol-develop ...' at 'logStreamNames' failed to satisfy constraint: Member must have length less than or equal to 100 (Service: AWSLogs; Status Code: 400; Error Code: InvalidParameterException; Request ID: cb59caac-3fd0-4e2b-ba14-7d6d63fa3b29; Proxy: null)
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(AmazonHttpClient.java:1879)
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleServiceErrorResponse(AmazonHttpClient.java:1418)
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1387)
      

      Operating System (including version, and whether it’s 32/64 bit) of all systems involved (your client’s, the Jenkins server’s, all agent nodes'),

      uname -a Linux ip-10-0-3-57.ap-southeast-2.compute.internal 4.14.336-257.562.amzn2.x86_64 #1 SMP Sat Feb 24 09:50:35 UTC 2024 x86_64 GNU/Linux

      All relevant JRE JDK vendors and versions and the parameters set

      JDK : lts-jdk11
      
      ENV JAVA_OPTS='-Djenkins.install.runSetupWizard=false \
      	-Djava.net.preferIPv4Stack=true \
      	-Dorg.apache.commons.jelly.tags.fmt.timeZone=TZ=Australia/Melbourne \
      	-Duser.timezone=Australia/Melbourne \
      	-Dhudson.model.ParametersAction.safeParameters=sqs_body,sqs_message_id'
      

      Jenkins and plugin versions

      Jenkins: 2.440.1
      OS: Linux - 4.14.336-257.562.amzn2.x86_64
      Java: 11.0.22 - Eclipse Adoptium (OpenJDK 64-Bit Server VM)
      ---
      amazon-ecs:1.49
      antisamy-markup-formatter:162.v0e6ec0fcfcf6
      apache-httpcomponents-client-4-api:4.5.14-208.v438351942757
      authentication-tokens:1.53.v1c90fd9191a_b_
      aws-credentials:218.v1b_e9466ec5da_
      aws-global-configuration:130.v35b_7b_96f53c3
      aws-java-sdk:1.12.633-430.vf9a_e567a_244f
      aws-java-sdk-cloudformation:1.12.633-430.vf9a_e567a_244f
      aws-java-sdk-codebuild:1.12.633-430.vf9a_e567a_244f
      aws-java-sdk-ec2:1.12.633-430.vf9a_e567a_244f
      aws-java-sdk-ecr:1.12.633-430.vf9a_e567a_244f
      aws-java-sdk-ecs:1.12.633-430.vf9a_e567a_244f
      aws-java-sdk-efs:1.12.633-430.vf9a_e567a_244f
      aws-java-sdk-elasticbeanstalk:1.12.633-430.vf9a_e567a_244f
      aws-java-sdk-iam:1.12.633-430.vf9a_e567a_244f
      aws-java-sdk-kinesis:1.12.633-430.vf9a_e567a_244f
      aws-java-sdk-logs:1.12.633-430.vf9a_e567a_244f
      aws-java-sdk-minimal:1.12.633-430.vf9a_e567a_244f
      aws-java-sdk-secretsmanager:1.12.633-430.vf9a_e567a_244f
      aws-java-sdk-sns:1.12.633-430.vf9a_e567a_244f
      aws-java-sdk-sqs:1.12.633-430.vf9a_e567a_244f
      aws-java-sdk-ssm:1.12.633-430.vf9a_e567a_244f
      aws-secrets-manager-credentials-provider:1.214.va_0a_d8268d068
      aws-secrets-manager-secret-source:1.72.v61781b_35c542
      aws-sqs-trigger:1.2
      bitbucket-oauth:0.13
      blueocean:1.27.11
      blueocean-bitbucket-pipeline:1.27.11
      blueocean-commons:1.27.11
      blueocean-config:1.27.11
      blueocean-core-js:1.27.11
      blueocean-dashboard:1.27.11
      blueocean-display-url:2.4.2
      blueocean-events:1.27.11
      blueocean-git-pipeline:1.27.11
      blueocean-github-pipeline:1.27.11
      blueocean-i18n:1.27.11
      blueocean-jwt:1.27.11
      blueocean-personalization:1.27.11
      blueocean-pipeline-api-impl:1.27.11
      blueocean-pipeline-editor:1.27.11
      blueocean-pipeline-scm-api:1.27.11
      blueocean-rest:1.27.11
      blueocean-rest-impl:1.27.11
      blueocean-web:1.27.11
      bootstrap5-api:5.3.3-1
      bouncycastle-api:2.30.1.77-225.v26ea_c9455fd9
      branch-api:2.1152.v6f101e97dd77
      caffeine-api:3.1.8-133.v17b_1ff2e0599
      checks-api:2.0.2
      cloudbees-bitbucket-branch-source:877.vb_b_d5243f6794
      cloudbees-folder:6.901.vb_4c7a_da_75da_3
      command-launcher:107.v773860566e2e
      commons-lang3-api:3.13.0-62.v7d18e55f51e2
      commons-text-api:1.11.0-95.v22a_d30ee5d36
      configuration-as-code:1775.v810dc950b_514
      credentials:1337.v60b_d7b_c7b_c9f
      credentials-binding:657.v2b_19db_7d6e6d
      display-url-api:2.200.vb_9327d658781
      durable-task:550.v0930093c4b_a_6
      echarts-api:5.5.0-1
      envinject:2.908.v66a_774b_31d93
      envinject-api:1.199.v3ce31253ed13
      favorite:2.208.v91d65b_7792a_c
      folder-properties:1.2.1
      font-awesome-api:6.5.1-3
      git:5.2.1
      git-client:4.6.0
      github:1.38.0
      github-api:1.318-461.v7a_c09c9fa_d63
      github-branch-source:1772.va_69eda_d018d4
      gson-api:2.10.1-15.v0d99f670e0a_7
      handy-uri-templates-2-api:2.1.8-30.v7e777411b_148
      htmlpublisher:1.33
      instance-identity:185.v303dc7c645f9
      ionicons-api:56.v1b_1c8c49374e
      jackson2-api:2.16.1-373.ve709c6871598
      jakarta-activation-api:2.1.3-1
      jakarta-mail-api:2.1.3-1
      javax-activation-api:1.2.0-6
      javax-mail-api:1.6.2-9
      jaxb:2.3.9-1
      jdk-tool:73.vddf737284550
      jenkins-design-language:1.27.11
      jjwt-api:0.11.5-77.v646c772fddb_0
      job-dsl:1.87
      joda-time-api:2.12.7-29.v5a_b_e3a_82269a_
      jquery3-api:3.7.1-2
      json-api:20240205-27.va_007549e895c
      json-path-api:2.8.0-5.v07cb_a_1ca_738c
      junit:1259.v65ffcef24a_88
      mailer:470.vc91f60c5d8e2
      matrix-auth:3.2.2
      matrix-project:822.824.v14451b_c0fd42
      mina-sshd-api-common:2.12.0-90.v9f7fb_9fa_3d3b_
      mina-sshd-api-core:2.12.0-90.v9f7fb_9fa_3d3b_
      okhttp-api:4.11.0-172.vda_da_1feeb_c6e
      pipeline-build-step:540.vb_e8849e1a_b_d8
      pipeline-cloudwatch-logs:0.2
      pipeline-graph-analysis:216.vfd8b_ece330ca_
      pipeline-groovy-lib:704.vc58b_8890a_384
      pipeline-input-step:491.vb_07d21da_1a_fb_
      pipeline-milestone-step:111.v449306f708b_7
      pipeline-model-api:2.2175.v76a_fff0a_2618
      pipeline-model-definition:2.2175.v76a_fff0a_2618
      pipeline-model-extensions:2.2175.v76a_fff0a_2618
      pipeline-rest-api:2.34
      pipeline-stage-step:305.ve96d0205c1c6
      pipeline-stage-tags-metadata:2.2175.v76a_fff0a_2618
      pipeline-stage-view:2.34
      plain-credentials:179.vc5cb_98f6db_38
      plugin-util-api:4.1.0
      prism-api:1.29.0-13
      pubsub-light:1.18
      scm-api:683.vb_16722fb_b_80b_
      scm-filter-branch-pr:148.v0b_5f06e8b_c84
      scmskip:45.vfdec6fb_05267
      script-security:1326.vdb_c154de8669
      snakeyaml-api:2.2-111.vc6598e30cc65
      sse-gateway:1.26
      ssh-credentials:322.v124df57ed808
      sshd:3.312.v1c601b_c83b_0e
      structs:337.v1b_04ea_4df7c8
      token-macro:400.v35420b_922dcb_
      trilead-api:2.141.v284120fd0c46
      variant:60.v7290fc0eb_b_cd
      workflow-api:1291.v51fd2a_625da_7
      workflow-basic-steps:1049.v257a_e6b_30fb_d
      workflow-cps:3883.vb_3ff2a_e3eea_f
      workflow-durable-task-step:1331.vc8c2fed35334
      workflow-job:1400.v7fd111b_ec82f
      workflow-multibranch:773.vc4fe1378f1d5
      workflow-scm-step:415.v434365564324
      workflow-step-api:657.v03b_e8115821b_
      workflow-support:865.v43e78cc44e0d
      

      Whether you’re running Jenkins directly or in a container like Tomcat (which one, in which version?)
      direct

      Whether Jenkins is accessed through a reverse proxy (if so, how is it configured?)
      no

      How you installed Jenkins, and how you’re launching any involved agents

      • The Jenkins controller and slaves are docker images, FROM jenkins/jenkins:lts-jdk11
      • agents are launched as AWS ECS Tasks by the amazon-ecs plugin
      • the docker containers log to STDOUT and the AWS Log drivers sends the logs to Cloudwatch

      Your web browser (+ version). Make sure the issue occurs on supported web browsers.
      Chrome (Linux) Version 121.0.6167.139 (Official Build) (64-bit)

        1. Screenshot from 2024-03-31 14-44-36.png
          Screenshot from 2024-03-31 14-44-36.png
          26 kB
        2. Screenshot from 2024-03-29 21-46-19.png
          Screenshot from 2024-03-29 21-46-19.png
          34 kB
        3. screenshot.png
          screenshot.png
          18 kB
        4. run-jenkins.sh
          0.9 kB
        5. plugins.txt
          2 kB
        6. pipeline-cloudwatch-logs.tgz
          46 kB
        7. mwaite-plugins.txt
          2 kB

            jglick Jesse Glick
            chandana_desilva_id_au Chandana
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: