Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-3153

connection to RHEC sometimes fails when running updateBaseImages

XMLWordPrintable

    • False
    • None
    • False

      10:04:08 10:04:08  # Checking /mnt/hudson_workspace/workspace/DS_CI/sync-to-downstream_3.x/sources/devspaces-operator/Dockerfile ...
      10:04:08 10:04:08  + rhel8/go-toolset:???
      10:04:08 10:04:08  - rhel8/go-toolset:1.17.10-4
      10:04:08 10:04:08  /mnt/hudson_workspace/workspace/DS_CI/sync-to-downstream_3.x/updateBaseImages.sh: line 148: ((: 10#api: value too great for base (error token is "10#api")
      10:04:08 10:04:08  /mnt/hudson_workspace/workspace/DS_CI/sync-to-downstream_3.x/updateBaseImages.sh: line 152: ((: 10#api: value too great for base (error token is "10#api")
      10:04:08 10:04:08  /mnt/hudson_workspace/workspace/DS_CI/sync-to-downstream_3.x/updateBaseImages.sh: line 271: [[: ???: syntax error: operand expected (error token is "???")
      10:04:08 10:04:08  /mnt/hudson_workspace/workspace/DS_CI/sync-to-downstream_3.x/updateBaseImages.sh: line 271: [[: ???: syntax error: operand expected (error token is "???")
      10:04:08 10:04:08  # No change applied for rhel8/go-toolset:1.17.10-4 -> ???
      10:04:09 10:04:09  + ubi8-minimal:???
      10:04:09 10:04:09  - ubi8-minimal:8.6-854
      10:04:09 10:04:09  /mnt/hudson_workspace/workspace/DS_CI/sync-to-downstream_3.x/updateBaseImages.sh: line 148: ((: 10#api: value too great for base (error token is "10#api")
      10:04:09 10:04:09  /mnt/hudson_workspace/workspace/DS_CI/sync-to-downstream_3.x/updateBaseImages.sh: line 152: ((: 10#api: value too great for base (error token is "10#api")
      10:04:09 10:04:09  /mnt/hudson_workspace/workspace/DS_CI/sync-to-downstream_3.x/updateBaseImages.sh: line 271: [[: ???: syntax error: operand expected (error token is "???")
      10:04:09 10:04:09  /mnt/hudson_workspace/workspace/DS_CI/sync-to-downstream_3.x/updateBaseImages.sh: line 271: [[: ???: syntax error: operand expected (error token is "???")
      10:04:09 10:04:09  # No change applied for ubi8-minimal:8.6-854 -> ???
      

      But if I re-run using -v flag

      0:15:39 10:15:39  + /mnt/hudson_workspace/workspace/DS_CI/sync-to-downstream_3.x/updateBaseImages.sh -v --sources-branch devspaces-3-rhel-8 --scripts-branch devspaces-3-rhel-8
      10:15:39 10:15:39  
      10:15:39 10:15:39  # Checking /mnt/hudson_workspace/workspace/DS_CI/sync-to-downstream_3.x/sources/devspaces-operator/Dockerfile ...
      10:15:40 10:15:40  [DEBUG] URL=#
      10:15:40 10:15:40  [DEBUG] URL=https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/rhel8/go-toolset
      10:15:40 10:15:40  [DEBUG] Downloading https://raw.githubusercontent.com/redhat-developer/devspaces/devspaces-3-rhel-8/product/getLatestImageTags.sh ...
      10:15:42 10:15:42  [DEBUG] LATE_TAGver=1.17.10; LATE_TAGrev=4; LATE_TAGrevbase=4; LATE_TAGrevsuf=4
      10:15:42 10:15:42  + rhel8/go-toolset:1.17.10-4
      10:15:42 10:15:42  [DEBUG] URL=FROM
      10:15:42 10:15:42  [DEBUG] URL=rhel8/go-toolset:1.17.10-4
      10:15:42 10:15:42  [DEBUG] 
      10:15:42 10:15:42  #CURR_TAGver=1.17.10; CURR_TAGrev=4; CURR_TAGrevbase=4; CURR_TAGrevsuf=4
      10:15:42 10:15:42  #LATE_TAGver=1.17.10; LATE_TAGrev=4; LATE_TAGrevbase=4; LATE_TAGrevsuf=4
      10:15:42 10:15:42  [DEBUG] URL=as
      10:15:42 10:15:42  [DEBUG] URL=builder
      10:15:42 10:15:42  [DEBUG] URL=--
      10:15:42 10:15:42  [DEBUG] URL=#
      10:15:42 10:15:42  [DEBUG] URL=https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/ubi8-minimal
      10:15:44 10:15:44  [DEBUG] LATE_TAGver=8.6; LATE_TAGrev=854; LATE_TAGrevbase=854; LATE_TAGrevsuf=854
      10:15:44 10:15:44  + ubi8-minimal:8.6-854
      10:15:44 10:15:44  [DEBUG] URL=FROM
      10:15:44 10:15:44  [DEBUG] URL=ubi8-minimal:8.6-854
      10:15:44 10:15:44  [DEBUG] 
      10:15:44 10:15:44  #CURR_TAGver=8.6; CURR_TAGrev=854; CURR_TAGrevbase=854; CURR_TAGrevsuf=854
      10:15:44 10:15:44  #LATE_TAGver=8.6; LATE_TAGrev=854; LATE_TAGrevbase=854; LATE_TAGrevsuf=854
      10:15:54 10:15:54  
      10:15:54 10:15:54  [base] No Dockerfiles changed - no new base images found.
      

      So... this could be a problem with RHEC authentication on some nodes (cpt-ppc-006 vs x86_64-rhel8-3640) ?

      I also can't reproduce the error running locally, which makes me think it's about registry auth.

            nickboldt Nick Boldt
            nickboldt Nick Boldt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: