Pull request #595 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7a8414f4863ad20901cc1a653ef4b675841ba4df+759f161ccdd1991ea406a7cb9b3094479a703e86 (2aa367cbff6d5fe349abe451c50a90ae8a01e861) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16446204843913084616.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11914731830358499626.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-595/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-595/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7458835685321833199.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17455072140482061965.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-595/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-595/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15069314551212887453.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6143 in /w/workspace/_app-service-configurable_PR-595 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-595 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/595/head:refs/remotes/origin/PR-595 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 759f161ccdd1991ea406a7cb9b3094479a703e86 into PR head commit 7a8414f4863ad20901cc1a653ef4b675841ba4df Merge succeeded, producing 7a8414f4863ad20901cc1a653ef4b675841ba4df Checking out Revision 7a8414f4863ad20901cc1a653ef4b675841ba4df (PR-595) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-13T21:53:16.432Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-13T21:53:16.499Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-13T21:53:16.515Z] ========================================================= [2023-09-13T21:53:16.515Z] EdgeX Global Pipelines Version Info [2023-09-13T21:53:16.515Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 7a8414f4863ad20901cc1a653ef4b675841ba4df # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 759f161ccdd1991ea406a7cb9b3094479a703e86 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7a8414f4863ad20901cc1a653ef4b675841ba4df # timeout=10 > git rev-list --no-walk 08306e5b1182b837e405b350739cb781dc177e42 # timeout=10 [2023-09-13T21:53:17.223Z] ------------------- [2023-09-13T21:53:17.223Z] stable info: [2023-09-13T21:53:17.223Z] ------------------- [2023-09-13T21:53:17.224Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-13T21:53:17.224Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-13T21:53:17.224Z] Message: update stable to v1.0.254 [2023-09-13T21:53:17.794Z] ------------------- [2023-09-13T21:53:17.794Z] experimental info: [2023-09-13T21:53:17.794Z] ------------------- [2023-09-13T21:53:17.794Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-13T21:53:17.794Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-13T21:53:17.794Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-13T21:53:17.972Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2023-09-13T21:53:17.990Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2023-09-13T21:53:18.009Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-13T21:53:18.029Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-13T21:53:18.049Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-13T21:53:18.069Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-13T21:53:18.087Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-13T21:53:18.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-13T21:53:18.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-13T21:53:18.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-13T21:53:18.155Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-13T21:53:18.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo [2023-09-13T21:53:18.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-13T21:53:18.209Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-13T21:53:18.229Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-13T21:53:18.250Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-13T21:53:18.268Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-13T21:53:18.279Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-13T21:53:18.293Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-13T21:53:18.305Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-13T21:53:18.318Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-13T21:53:18.333Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-13T21:53:18.352Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-13T21:53:18.371Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-13T21:53:18.392Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-13T21:53:18.410Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-13T21:53:18.429Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-13T21:53:18.446Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-595 [Pipeline] echo [2023-09-13T21:53:18.464Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-595 [Pipeline] echo [2023-09-13T21:53:18.474Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-595 [Pipeline] echo [2023-09-13T21:53:18.489Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7a8414f4863ad20901cc1a653ef4b675841ba4df [Pipeline] echo [2023-09-13T21:53:18.500Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7a8414f [Pipeline] echo [2023-09-13T21:53:18.515Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-13T21:53:18.562Z] provisioning config files... [2023-09-13T21:53:18.578Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-595@tmp/config4148457279188033954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-13T21:53:18.890Z] ---> docker-login.sh [2023-09-13T21:53:18.890Z] nexus3.edgexfoundry.org:10001 [2023-09-13T21:53:19.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T21:53:19.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T21:53:19.411Z] Configure a credential helper to remove this warning. See [2023-09-13T21:53:19.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T21:53:19.411Z] [2023-09-13T21:53:19.411Z] Login Succeeded [2023-09-13T21:53:19.411Z] nexus3.edgexfoundry.org:10002 [2023-09-13T21:53:19.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T21:53:19.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T21:53:19.411Z] Configure a credential helper to remove this warning. See [2023-09-13T21:53:19.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T21:53:19.411Z] [2023-09-13T21:53:19.411Z] Login Succeeded [2023-09-13T21:53:19.411Z] nexus3.edgexfoundry.org:10003 [2023-09-13T21:53:19.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T21:53:19.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T21:53:19.670Z] Configure a credential helper to remove this warning. See [2023-09-13T21:53:19.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T21:53:19.670Z] [2023-09-13T21:53:19.670Z] Login Succeeded [2023-09-13T21:53:19.670Z] nexus3.edgexfoundry.org:10004 [2023-09-13T21:53:19.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T21:53:19.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T21:53:19.670Z] Configure a credential helper to remove this warning. See [2023-09-13T21:53:19.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T21:53:19.670Z] [2023-09-13T21:53:19.670Z] Login Succeeded [2023-09-13T21:53:19.670Z] docker.io [2023-09-13T21:53:19.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T21:53:19.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T21:53:19.929Z] Configure a credential helper to remove this warning. See [2023-09-13T21:53:19.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T21:53:19.929Z] [2023-09-13T21:53:19.929Z] Login Succeeded [2023-09-13T21:53:19.929Z] ---> docker-login.sh ends [Pipeline] } [2023-09-13T21:53:19.963Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-13T21:53:20.330Z] + git rev-list -1 --merges 7a8414f4863ad20901cc1a653ef4b675841ba4df~1..7a8414f4863ad20901cc1a653ef4b675841ba4df [Pipeline] echo [2023-09-13T21:53:20.385Z] -----------> git rev-list -1 --merges 7a8414f4863ad20901cc1a653ef4b675841ba4df~1..7a8414f4863ad20901cc1a653ef4b675841ba4df 7a8414f4863ad20901cc1a653ef4b675841ba4df [false] [Pipeline] sh [2023-09-13T21:53:20.672Z] + git log --format=format:%s -1 7a8414f4863ad20901cc1a653ef4b675841ba4df [Pipeline] echo [2023-09-13T21:53:20.688Z] ========================================================= [2023-09-13T21:53:20.688Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-13T21:53:20.688Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-13T21:53:21.025Z] + git log --format=format:%s -1 7a8414f4863ad20901cc1a653ef4b675841ba4df [Pipeline] echo [2023-09-13T21:53:21.036Z] [semverPrep] GIT_COMMIT: 7a8414f4863ad20901cc1a653ef4b675841ba4df, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo [2023-09-13T21:53:21.048Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-13T21:53:21.398Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-13T21:53:21.398Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-13T21:53:21.398Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-13T21:53:21.398Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-13T21:53:21.398Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-13T21:53:21.398Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-13T21:53:21.398Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T21:53:21.754Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-13T21:53:21.754Z] [2023-09-13T21:53:21.754Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T21:53:22.050Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-13T21:53:22.050Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-13T21:53:22.050Z] b85a868b505f: Pulling fs layer [2023-09-13T21:53:22.050Z] e2be974225ed: Pulling fs layer [2023-09-13T21:53:22.050Z] 339a4e72a1f5: Pulling fs layer [2023-09-13T21:53:22.050Z] 988bab9f4d93: Pulling fs layer [2023-09-13T21:53:22.050Z] 1469e6f7b9e6: Pulling fs layer [2023-09-13T21:53:22.050Z] eaf3925da568: Pulling fs layer [2023-09-13T21:53:22.050Z] bab4dde63d76: Pulling fs layer [2023-09-13T21:53:22.050Z] bde34c3a00c8: Pulling fs layer [2023-09-13T21:53:22.050Z] b352a97aabf1: Pulling fs layer [2023-09-13T21:53:22.050Z] 4872d77fe225: Pulling fs layer [2023-09-13T21:53:22.050Z] 5851b861e8e6: Pulling fs layer [2023-09-13T21:53:22.050Z] 1469e6f7b9e6: Waiting [2023-09-13T21:53:22.050Z] 4872d77fe225: Waiting [2023-09-13T21:53:22.050Z] eaf3925da568: Waiting [2023-09-13T21:53:22.050Z] bab4dde63d76: Waiting [2023-09-13T21:53:22.050Z] 5851b861e8e6: Waiting [2023-09-13T21:53:22.050Z] bde34c3a00c8: Waiting [2023-09-13T21:53:22.050Z] b352a97aabf1: Waiting [2023-09-13T21:53:22.050Z] 988bab9f4d93: Waiting [2023-09-13T21:53:22.050Z] e2be974225ed: Download complete [2023-09-13T21:53:22.050Z] 988bab9f4d93: Verifying Checksum [2023-09-13T21:53:22.050Z] 988bab9f4d93: Download complete [2023-09-13T21:53:22.050Z] 1469e6f7b9e6: Verifying Checksum [2023-09-13T21:53:22.050Z] 1469e6f7b9e6: Download complete [2023-09-13T21:53:22.309Z] eaf3925da568: Download complete [2023-09-13T21:53:22.309Z] 339a4e72a1f5: Verifying Checksum [2023-09-13T21:53:22.309Z] 339a4e72a1f5: Download complete [2023-09-13T21:53:22.309Z] bde34c3a00c8: Verifying Checksum [2023-09-13T21:53:22.309Z] bde34c3a00c8: Download complete [2023-09-13T21:53:22.309Z] b352a97aabf1: Verifying Checksum [2023-09-13T21:53:22.309Z] b352a97aabf1: Download complete [2023-09-13T21:53:22.309Z] 4872d77fe225: Verifying Checksum [2023-09-13T21:53:22.309Z] 4872d77fe225: Download complete [2023-09-13T21:53:22.309Z] 5851b861e8e6: Verifying Checksum [2023-09-13T21:53:22.309Z] 5851b861e8e6: Download complete [2023-09-13T21:53:22.309Z] b85a868b505f: Verifying Checksum [2023-09-13T21:53:22.309Z] b85a868b505f: Download complete [2023-09-13T21:53:22.567Z] bab4dde63d76: Verifying Checksum [2023-09-13T21:53:23.503Z] b85a868b505f: Pull complete [2023-09-13T21:53:23.761Z] e2be974225ed: Pull complete [2023-09-13T21:53:24.329Z] 339a4e72a1f5: Pull complete [2023-09-13T21:53:24.329Z] 988bab9f4d93: Pull complete [2023-09-13T21:53:24.589Z] 1469e6f7b9e6: Pull complete [2023-09-13T21:53:24.848Z] eaf3925da568: Pull complete [2023-09-13T21:53:26.779Z] bab4dde63d76: Pull complete [2023-09-13T21:53:26.779Z] bde34c3a00c8: Pull complete [2023-09-13T21:53:26.779Z] b352a97aabf1: Pull complete [2023-09-13T21:53:26.779Z] 4872d77fe225: Pull complete [2023-09-13T21:53:27.039Z] 5851b861e8e6: Pull complete [2023-09-13T21:53:27.039Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-13T21:53:27.039Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-13T21:53:27.039Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-13T21:53:27.148Z] prd-ubuntu20.04-docker-8c-8g-6143 does not seem to be running inside a container [2023-09-13T21:53:27.165Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-595 -v /w/workspace/_app-service-configurable_PR-595:/w/workspace/_app-service-configurable_PR-595:rw,z -v /w/workspace/_app-service-configurable_PR-595@tmp:/w/workspace/_app-service-configurable_PR-595@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-13T21:53:29.694Z] $ docker top 6191f4e3fc80a8f6b609accd557b682ca3a1e2cc3695a96ba399521467407bb5 -eo pid,comm [2023-09-13T21:53:29.774Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-13T21:53:29.774Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-13T21:53:29.809Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-13T21:53:29.809Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-13T21:53:29.928Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-13T21:53:29.913Z] $ docker exec 6191f4e3fc80a8f6b609accd557b682ca3a1e2cc3695a96ba399521467407bb5 ssh-agent [2023-09-13T21:53:30.047Z] SSH_AUTH_SOCK=/tmp/ssh-XFANHpMFXZz6/agent.31 [2023-09-13T21:53:30.047Z] SSH_AGENT_PID=38 [2023-09-13T21:53:30.053Z] Running ssh-add (command line suppressed) [2023-09-13T21:53:30.138Z] Identity added: /w/workspace/_app-service-configurable_PR-595@tmp/private_key_614988734189768475.key (/w/workspace/_app-service-configurable_PR-595@tmp/private_key_614988734189768475.key) [2023-09-13T21:53:30.169Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-13T21:53:30.457Z] + git tag --points-at HEAD [Pipeline] } [2023-09-13T21:53:30.451Z] $ docker exec --env ******** --env ******** 6191f4e3fc80a8f6b609accd557b682ca3a1e2cc3695a96ba399521467407bb5 ssh-agent -k [2023-09-13T21:53:30.546Z] unset SSH_AUTH_SOCK; [2023-09-13T21:53:30.546Z] unset SSH_AGENT_PID; [2023-09-13T21:53:30.546Z] echo Agent pid 38 killed; [2023-09-13T21:53:30.579Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-13T21:53:30.609Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-13T21:53:30.609Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-13T21:53:30.707Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-13T21:53:30.692Z] $ docker exec 6191f4e3fc80a8f6b609accd557b682ca3a1e2cc3695a96ba399521467407bb5 ssh-agent [2023-09-13T21:53:30.823Z] SSH_AUTH_SOCK=/tmp/ssh-jFYNujC28e7p/agent.70 [2023-09-13T21:53:30.823Z] SSH_AGENT_PID=76 [2023-09-13T21:53:30.827Z] Running ssh-add (command line suppressed) [2023-09-13T21:53:30.915Z] Identity added: /w/workspace/_app-service-configurable_PR-595@tmp/private_key_1725559979413429030.key (/w/workspace/_app-service-configurable_PR-595@tmp/private_key_1725559979413429030.key) [2023-09-13T21:53:30.946Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-13T21:53:31.236Z] + git semver init [2023-09-13T21:53:31.496Z] 2023-09-13 21:53:31,394 [run_init] DEBUG init version:0.0.0 force:False [2023-09-13T21:53:31.496Z] 2023-09-13 21:53:31,395 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-595/.semver [2023-09-13T21:53:31.496Z] 2023-09-13 21:53:31,395 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-595/.semver [2023-09-13T21:53:31.496Z] 2023-09-13 21:53:31,396 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-595/.semver'], cwd=/w/workspace/_app-service-configurable_PR-595, universal_newlines=False, shell=None, istream=None) [2023-09-13T21:53:32.433Z] 2023-09-13 21:53:32,168 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-595/.git/info/exclude [2023-09-13T21:53:32.433Z] 2023-09-13 21:53:32,169 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-595/.semver/PR-595 with force:False [2023-09-13T21:53:32.433Z] 2023-09-13 21:53:32,169 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-595/.semver/PR-595 [2023-09-13T21:53:32.433Z] 2023-09-13 21:53:32,173 [execute] INFO git cat-file --batch-check [2023-09-13T21:53:32.433Z] 2023-09-13 21:53:32,174 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-595/.semver, universal_newlines=False, shell=None, istream=) [2023-09-13T21:53:32.433Z] 2023-09-13 21:53:32,181 [execute] INFO git cat-file --batch [2023-09-13T21:53:32.433Z] 2023-09-13 21:53:32,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-595/.semver, universal_newlines=False, shell=None, istream=) [2023-09-13T21:53:32.433Z] 2023-09-13 21:53:32,187 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-595/.semver/PR-595 [2023-09-13T21:53:32.433Z] 0.0.0 [Pipeline] } [2023-09-13T21:53:32.427Z] $ docker exec --env ******** --env ******** 6191f4e3fc80a8f6b609accd557b682ca3a1e2cc3695a96ba399521467407bb5 ssh-agent -k [2023-09-13T21:53:32.540Z] unset SSH_AUTH_SOCK; [2023-09-13T21:53:32.540Z] unset SSH_AGENT_PID; [2023-09-13T21:53:32.540Z] echo Agent pid 76 killed; [2023-09-13T21:53:32.565Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-13T21:53:32.871Z] + git semver [Pipeline] } [2023-09-13T21:53:33.128Z] $ docker stop --time=1 6191f4e3fc80a8f6b609accd557b682ca3a1e2cc3695a96ba399521467407bb5 [2023-09-13T21:53:34.403Z] $ docker rm -f --volumes 6191f4e3fc80a8f6b609accd557b682ca3a1e2cc3695a96ba399521467407bb5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-13T21:53:34.765Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-13T21:53:34.975Z] Stashed 1 file(s) [Pipeline] echo [2023-09-13T21:53:34.978Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-13T21:53:35.102Z] provisioning config files... [2023-09-13T21:53:35.109Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-595@tmp/config9263677184498790721tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-13T21:53:35.403Z] ---> docker-login.sh [2023-09-13T21:53:35.403Z] nexus3.edgexfoundry.org:10001 [2023-09-13T21:53:35.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T21:53:35.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T21:53:35.403Z] Configure a credential helper to remove this warning. See [2023-09-13T21:53:35.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T21:53:35.403Z] [2023-09-13T21:53:35.403Z] Login Succeeded [2023-09-13T21:53:35.403Z] nexus3.edgexfoundry.org:10002 [2023-09-13T21:53:35.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T21:53:35.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T21:53:35.403Z] Configure a credential helper to remove this warning. See [2023-09-13T21:53:35.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T21:53:35.403Z] [2023-09-13T21:53:35.403Z] Login Succeeded [2023-09-13T21:53:35.403Z] nexus3.edgexfoundry.org:10003 [2023-09-13T21:53:35.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T21:53:35.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T21:53:35.663Z] Configure a credential helper to remove this warning. See [2023-09-13T21:53:35.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T21:53:35.663Z] [2023-09-13T21:53:35.663Z] Login Succeeded [2023-09-13T21:53:35.663Z] nexus3.edgexfoundry.org:10004 [2023-09-13T21:53:35.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T21:53:35.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T21:53:35.663Z] Configure a credential helper to remove this warning. See [2023-09-13T21:53:35.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T21:53:35.663Z] [2023-09-13T21:53:35.663Z] Login Succeeded [2023-09-13T21:53:35.663Z] docker.io [2023-09-13T21:53:35.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T21:53:35.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T21:53:35.922Z] Configure a credential helper to remove this warning. See [2023-09-13T21:53:35.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T21:53:35.922Z] [2023-09-13T21:53:35.922Z] Login Succeeded [2023-09-13T21:53:36.181Z] ---> docker-login.sh ends [Pipeline] } [2023-09-13T21:53:36.188Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-13T21:53:36.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-13T21:53:36.257Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-13T21:53:36.264Z] ========================================================= [2023-09-13T21:53:36.264Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-13T21:53:36.264Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T21:53:36.567Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-13T21:53:36.567Z] Sending build context to Docker daemon 3.348MB [2023-09-13T21:53:36.567Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-13T21:53:36.567Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-13T21:53:36.567Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-13T21:53:36.567Z] 7264a8db6415: Pulling fs layer [2023-09-13T21:53:36.567Z] c4d48a809fc2: Pulling fs layer [2023-09-13T21:53:36.567Z] 4f1c88b9dad5: Pulling fs layer [2023-09-13T21:53:36.567Z] ad3a456e5733: Pulling fs layer [2023-09-13T21:53:36.567Z] 9e4f439ed901: Pulling fs layer [2023-09-13T21:53:36.567Z] feaf6a47b606: Pulling fs layer [2023-09-13T21:53:36.567Z] 5e8b037d7d82: Pulling fs layer [2023-09-13T21:53:36.567Z] 8ac70367396e: Pulling fs layer [2023-09-13T21:53:36.567Z] 6db16350a2e2: Pulling fs layer [2023-09-13T21:53:36.567Z] 9250d5d63582: Pulling fs layer [2023-09-13T21:53:36.567Z] 5e8b037d7d82: Waiting [2023-09-13T21:53:36.567Z] 8ac70367396e: Waiting [2023-09-13T21:53:36.567Z] ad3a456e5733: Waiting [2023-09-13T21:53:36.567Z] 6db16350a2e2: Waiting [2023-09-13T21:53:36.567Z] 9e4f439ed901: Waiting [2023-09-13T21:53:36.567Z] feaf6a47b606: Waiting [2023-09-13T21:53:36.567Z] 9250d5d63582: Waiting [2023-09-13T21:53:36.567Z] c4d48a809fc2: Download complete [2023-09-13T21:53:36.567Z] ad3a456e5733: Download complete [2023-09-13T21:53:36.567Z] 9e4f439ed901: Verifying Checksum [2023-09-13T21:53:36.567Z] 9e4f439ed901: Download complete [2023-09-13T21:53:36.827Z] 7264a8db6415: Verifying Checksum [2023-09-13T21:53:36.827Z] 7264a8db6415: Download complete [2023-09-13T21:53:36.827Z] feaf6a47b606: Verifying Checksum [2023-09-13T21:53:36.827Z] feaf6a47b606: Download complete [2023-09-13T21:53:36.827Z] 7264a8db6415: Pull complete [2023-09-13T21:53:36.827Z] 8ac70367396e: Verifying Checksum [2023-09-13T21:53:36.827Z] 8ac70367396e: Download complete [2023-09-13T21:53:37.088Z] c4d48a809fc2: Pull complete [2023-09-13T21:53:37.088Z] 4f1c88b9dad5: Verifying Checksum [2023-09-13T21:53:37.088Z] 4f1c88b9dad5: Download complete [2023-09-13T21:53:37.088Z] 6db16350a2e2: Verifying Checksum [2023-09-13T21:53:37.088Z] 6db16350a2e2: Download complete [2023-09-13T21:53:37.349Z] 5e8b037d7d82: Verifying Checksum [2023-09-13T21:53:37.349Z] 9250d5d63582: Verifying Checksum [2023-09-13T21:53:37.349Z] 9250d5d63582: Download complete [2023-09-13T21:53:40.641Z] 4f1c88b9dad5: Pull complete [2023-09-13T21:53:40.641Z] ad3a456e5733: Pull complete [2023-09-13T21:53:40.916Z] 9e4f439ed901: Pull complete [2023-09-13T21:53:40.916Z] feaf6a47b606: Pull complete [2023-09-13T21:53:43.444Z] 5e8b037d7d82: Pull complete [2023-09-13T21:53:44.009Z] 8ac70367396e: Pull complete [2023-09-13T21:53:44.267Z] 6db16350a2e2: Pull complete [2023-09-13T21:53:45.202Z] 9250d5d63582: Pull complete [2023-09-13T21:53:45.202Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-13T21:53:45.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-13T21:53:45.202Z] ---> fa269f55d9b9 [2023-09-13T21:53:45.202Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-09-13T21:53:50.071Z] Still waiting to schedule task [2023-09-13T21:53:50.072Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-13T21:53:50.480Z] ---> Running in 8687bc077d13 [2023-09-13T21:53:50.481Z] Removing intermediate container 8687bc077d13 [2023-09-13T21:53:50.481Z] ---> 8c67a3b1b583 [2023-09-13T21:53:50.481Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-13T21:53:50.481Z] ---> Running in 17afbeb20353 [2023-09-13T21:53:50.481Z] Removing intermediate container 17afbeb20353 [2023-09-13T21:53:50.481Z] ---> 71bc8893546b [2023-09-13T21:53:50.481Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-13T21:53:50.481Z] ---> Running in 98abcd27bbdd [2023-09-13T21:53:50.481Z] Removing intermediate container 98abcd27bbdd [2023-09-13T21:53:50.481Z] ---> dc5f8c0fb5ae [2023-09-13T21:53:50.481Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-13T21:53:50.481Z] ---> Running in 07b9e028f1a1 [2023-09-13T21:53:50.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-13T21:53:51.006Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-13T21:53:51.266Z] OK: 265 MiB in 56 packages [2023-09-13T21:53:51.526Z] Removing intermediate container 07b9e028f1a1 [2023-09-13T21:53:51.526Z] ---> 6a03e0f4cdd3 [2023-09-13T21:53:51.526Z] Step 7/12 : WORKDIR /app [2023-09-13T21:53:51.526Z] ---> Running in 61bf11af3fbb [2023-09-13T21:53:51.526Z] Removing intermediate container 61bf11af3fbb [2023-09-13T21:53:51.526Z] ---> 7091074995bc [2023-09-13T21:53:51.526Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-13T21:53:51.785Z] ---> 52e4ba1d4a1a [2023-09-13T21:53:51.785Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-13T21:53:51.785Z] ---> Running in e89c7a503c64 [2023-09-13T21:54:30.632Z] Removing intermediate container e89c7a503c64 [2023-09-13T21:54:30.632Z] ---> c8201a926494 [2023-09-13T21:54:30.632Z] Step 10/12 : COPY . . [2023-09-13T21:54:30.891Z] ---> 793b9b487268 [2023-09-13T21:54:30.891Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-13T21:54:30.891Z] ---> Running in 4f130ef84cc7 [2023-09-13T21:54:30.891Z] Removing intermediate container 4f130ef84cc7 [2023-09-13T21:54:30.891Z] ---> 23ed4f07eb69 [2023-09-13T21:54:30.891Z] Step 12/12 : RUN $MAKE [2023-09-13T21:54:30.891Z] ---> Running in b308543223fb [2023-09-13T21:54:31.151Z] noop [2023-09-13T21:54:31.416Z] Removing intermediate container b308543223fb [2023-09-13T21:54:31.416Z] ---> 87c833f3b0eb [2023-09-13T21:54:31.416Z] Successfully built 87c833f3b0eb [2023-09-13T21:54:31.416Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T21:54:31.724Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-13T21:54:31.724Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-13T21:54:31.794Z] prd-ubuntu20.04-docker-8c-8g-6143 does not seem to be running inside a container [2023-09-13T21:54:31.828Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-595 -v /w/workspace/_app-service-configurable_PR-595:/w/workspace/_app-service-configurable_PR-595:rw,z -v /w/workspace/_app-service-configurable_PR-595@tmp:/w/workspace/_app-service-configurable_PR-595@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-13T21:54:32.155Z] $ docker top 406c06493837828c858468b5cf25a713d3914d8a44768b4b229594c353d22eed -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-13T21:54:32.504Z] + go version [2023-09-13T21:54:32.504Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-13T21:54:32.517Z] $ docker stop --time=1 406c06493837828c858468b5cf25a713d3914d8a44768b4b229594c353d22eed [2023-09-13T21:54:33.769Z] $ docker rm -f --volumes 406c06493837828c858468b5cf25a713d3914d8a44768b4b229594c353d22eed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T21:54:34.188Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-13T21:54:34.188Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-13T21:54:34.261Z] prd-ubuntu20.04-docker-8c-8g-6143 does not seem to be running inside a container [2023-09-13T21:54:34.296Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_app-service-configurable_PR-595 -v /w/workspace/_app-service-configurable_PR-595:/w/workspace/_app-service-configurable_PR-595:rw,z -v /w/workspace/_app-service-configurable_PR-595@tmp:/w/workspace/_app-service-configurable_PR-595@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-13T21:54:34.630Z] $ docker top 110318b8232b29654b71453102f1e09b414d50cd1b3c2138d1f52d914550df7a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-13T21:54:34.977Z] + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-595 [Pipeline] fileExists [Pipeline] sh [2023-09-13T21:54:35.276Z] + make test [2023-09-13T21:54:35.276Z] go test -race -coverprofile=coverage.out ./... [2023-09-13T21:54:35.536Z] go: updates to go.mod needed; to update it: [2023-09-13T21:54:35.536Z] go mod tidy [2023-09-13T21:54:35.536Z] make: *** [makefile:53: unittest] Error 1 [Pipeline] } [2023-09-13T21:54:35.546Z] $ docker stop --time=1 110318b8232b29654b71453102f1e09b414d50cd1b3c2138d1f52d914550df7a [2023-09-13T21:54:36.939Z] $ docker rm -f --volumes 110318b8232b29654b71453102f1e09b414d50cd1b3c2138d1f52d914550df7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T21:54:37.411Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-13T21:54:37.411Z] [2023-09-13T21:54:37.411Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T21:54:37.709Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-13T21:54:37.709Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-13T21:54:37.709Z] 5eb5b503b376: Pulling fs layer [2023-09-13T21:54:37.709Z] 5c69ac0246d0: Pulling fs layer [2023-09-13T21:54:37.709Z] ec43610c2a17: Pulling fs layer [2023-09-13T21:54:37.709Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-13T21:54:37.709Z] 33b1e0a273af: Pulling fs layer [2023-09-13T21:54:37.709Z] 5d3b04190fa2: Pulling fs layer [2023-09-13T21:54:37.709Z] 2f39f015ded8: Pulling fs layer [2023-09-13T21:54:37.709Z] 3a2ae6a8a46f: Waiting [2023-09-13T21:54:37.709Z] 33b1e0a273af: Waiting [2023-09-13T21:54:37.709Z] 5d3b04190fa2: Waiting [2023-09-13T21:54:37.709Z] 2f39f015ded8: Waiting [2023-09-13T21:54:37.709Z] 5c69ac0246d0: Download complete [2023-09-13T21:54:37.709Z] 3a2ae6a8a46f: Download complete [2023-09-13T21:54:37.709Z] 33b1e0a273af: Verifying Checksum [2023-09-13T21:54:37.709Z] 33b1e0a273af: Download complete [2023-09-13T21:54:37.709Z] ec43610c2a17: Verifying Checksum [2023-09-13T21:54:37.709Z] 5d3b04190fa2: Verifying Checksum [2023-09-13T21:54:37.709Z] 5d3b04190fa2: Download complete [2023-09-13T21:54:37.968Z] 5eb5b503b376: Verifying Checksum [2023-09-13T21:54:37.968Z] 5eb5b503b376: Download complete [2023-09-13T21:54:38.534Z] 2f39f015ded8: Download complete [2023-09-13T21:54:39.098Z] 5eb5b503b376: Pull complete [2023-09-13T21:54:39.098Z] 5c69ac0246d0: Pull complete [2023-09-13T21:54:39.664Z] ec43610c2a17: Pull complete [2023-09-13T21:54:39.664Z] 3a2ae6a8a46f: Pull complete [2023-09-13T21:54:39.922Z] 33b1e0a273af: Pull complete [2023-09-13T21:54:39.922Z] 5d3b04190fa2: Pull complete [2023-09-13T21:54:44.106Z] 2f39f015ded8: Pull complete [2023-09-13T21:54:44.106Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-13T21:54:44.106Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-13T21:54:44.106Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-13T21:54:44.248Z] prd-ubuntu20.04-docker-8c-8g-6143 does not seem to be running inside a container [2023-09-13T21:54:44.309Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-595 -v /w/workspace/_app-service-configurable_PR-595:/w/workspace/_app-service-configurable_PR-595:rw,z -v /w/workspace/_app-service-configurable_PR-595@tmp:/w/workspace/_app-service-configurable_PR-595@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-13T21:54:47.680Z] $ docker top aa12628f28648155253f9127fd80757a9d58cf9d0fd2ddb5029537e0f001c4fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-13T21:54:48.078Z] ---> job-cost.sh [2023-09-13T21:54:48.078Z] lf-activate-venv: SKIPPING [2023-09-13T21:54:48.078Z] INFO: No Stack... [2023-09-13T21:54:48.337Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-13T21:54:48.904Z] INFO: Archiving Costs [Pipeline] sh [2023-09-13T21:54:49.190Z] + cat /w/workspace/_app-service-configurable_PR-595/archives/cost.csv [2023-09-13T21:54:49.190Z] + cut -d, -f6 [Pipeline] lock [2023-09-13T21:54:49.204Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-595-2-stack-cost] [2023-09-13T21:54:49.210Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-595-2-stack-cost] did not exist. Created. [2023-09-13T21:54:49.210Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-595-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-13T21:54:49.512Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-13T21:54:49.545Z] Stashed 1 file(s) [Pipeline] } [2023-09-13T21:54:49.551Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-595-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-13T21:54:49.558Z] $ docker stop --time=1 aa12628f28648155253f9127fd80757a9d58cf9d0fd2ddb5029537e0f001c4fd [2023-09-13T21:54:50.716Z] $ docker rm -f --volumes aa12628f28648155253f9127fd80757a9d58cf9d0fd2ddb5029537e0f001c4fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-13T21:54:50.812Z] Failed in branch amd64 [2023-09-13T21:55:23.008Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6144 in /w/workspace/_app-service-configurable_PR-595 [Pipeline] { [Pipeline] ws [2023-09-13T21:55:23.021Z] Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout [2023-09-13T21:55:23.060Z] Selected Git installation does not exist. Using Default [2023-09-13T21:55:23.060Z] The recommended git tool is: NONE [2023-09-13T21:55:27.897Z] using credential edgex-jenkins-ssh [2023-09-13T21:55:27.916Z] Cloning the remote Git repository [2023-09-13T21:55:27.959Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2023-09-13T21:55:28.052Z] > git init /w/workspace/app-service-configurable/2 # timeout=10 [2023-09-13T21:55:28.193Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2023-09-13T21:55:28.194Z] > git --version # timeout=10 [2023-09-13T21:55:28.221Z] > git --version # 'git version 2.25.1' [2023-09-13T21:55:28.223Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-13T21:55:28.362Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-13T21:55:29.553Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2023-09-13T21:55:29.577Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-13T21:55:30.331Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2023-09-13T21:55:30.372Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2023-09-13T21:55:30.373Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-13T21:55:30.846Z] Merging remotes/origin/main commit 759f161ccdd1991ea406a7cb9b3094479a703e86 into PR head commit 7a8414f4863ad20901cc1a653ef4b675841ba4df [2023-09-13T21:55:31.098Z] Merge succeeded, producing 7a8414f4863ad20901cc1a653ef4b675841ba4df [2023-09-13T21:55:31.099Z] Checking out Revision 7a8414f4863ad20901cc1a653ef4b675841ba4df (PR-595) [2023-09-13T21:55:31.522Z] Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" [2023-09-13T21:55:30.388Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/595/head:refs/remotes/origin/PR-595 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-13T21:55:30.859Z] > git config core.sparsecheckout # timeout=10 [2023-09-13T21:55:30.928Z] > git checkout -f 7a8414f4863ad20901cc1a653ef4b675841ba4df # timeout=10 [2023-09-13T21:55:31.003Z] > git remote # timeout=10 [2023-09-13T21:55:31.022Z] > git config --get remote.origin.url # timeout=10 [2023-09-13T21:55:31.038Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-13T21:55:31.050Z] > git merge 759f161ccdd1991ea406a7cb9b3094479a703e86 # timeout=10 [2023-09-13T21:55:31.075Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-13T21:55:31.103Z] > git config core.sparsecheckout # timeout=10 [2023-09-13T21:55:31.117Z] > git checkout -f 7a8414f4863ad20901cc1a653ef4b675841ba4df # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-13T21:55:32.492Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-13T21:55:32.492Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-13T21:55:32.492Z] Dload Upload Total Spent Left Speed [2023-09-13T21:55:32.492Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh [2023-09-13T21:55:33.124Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-13T21:55:33.448Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-13T21:55:33.448Z] + sudo tee /etc/docker/daemon.new [2023-09-13T21:55:33.448Z] { [2023-09-13T21:55:33.448Z] "registry-mirrors": [ [2023-09-13T21:55:33.448Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-13T21:55:33.448Z] ], [2023-09-13T21:55:33.448Z] "bip": "10.250.0.254/24", [2023-09-13T21:55:33.448Z] "hosts": [ [2023-09-13T21:55:33.448Z] "tcp://0.0.0.0:5555", [2023-09-13T21:55:33.448Z] "unix:///var/run/docker.sock" [2023-09-13T21:55:33.448Z] ], [2023-09-13T21:55:33.448Z] "mtu": 1458, [2023-09-13T21:55:33.448Z] "selinux-enabled": true, [2023-09-13T21:55:33.448Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-13T21:55:33.448Z] } [Pipeline] sh [2023-09-13T21:55:33.768Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-13T21:55:34.093Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-13T21:55:52.327Z] provisioning config files... [2023-09-13T21:55:52.349Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config498725366488806904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-13T21:55:52.691Z] ---> docker-login.sh [2023-09-13T21:55:52.691Z] nexus3.edgexfoundry.org:10001 [2023-09-13T21:55:52.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T21:55:53.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T21:55:53.228Z] Configure a credential helper to remove this warning. See [2023-09-13T21:55:53.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T21:55:53.228Z] [2023-09-13T21:55:53.228Z] Login Succeeded [2023-09-13T21:55:53.228Z] nexus3.edgexfoundry.org:10002 [2023-09-13T21:55:53.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T21:55:53.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T21:55:53.499Z] Configure a credential helper to remove this warning. See [2023-09-13T21:55:53.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T21:55:53.499Z] [2023-09-13T21:55:53.499Z] Login Succeeded [2023-09-13T21:55:53.499Z] nexus3.edgexfoundry.org:10003 [2023-09-13T21:55:53.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T21:55:54.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T21:55:54.035Z] Configure a credential helper to remove this warning. See [2023-09-13T21:55:54.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T21:55:54.035Z] [2023-09-13T21:55:54.035Z] Login Succeeded [2023-09-13T21:55:54.035Z] nexus3.edgexfoundry.org:10004 [2023-09-13T21:55:54.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T21:55:54.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T21:55:54.303Z] Configure a credential helper to remove this warning. See [2023-09-13T21:55:54.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T21:55:54.303Z] [2023-09-13T21:55:54.303Z] Login Succeeded [2023-09-13T21:55:54.303Z] docker.io [2023-09-13T21:55:54.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T21:55:54.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T21:55:54.836Z] Configure a credential helper to remove this warning. See [2023-09-13T21:55:54.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T21:55:54.836Z] [2023-09-13T21:55:54.836Z] Login Succeeded [2023-09-13T21:55:54.836Z] ---> docker-login.sh ends [Pipeline] } [2023-09-13T21:55:54.849Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-13T21:55:55.079Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-13T21:55:55.096Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-13T21:55:55.108Z] ========================================================= [2023-09-13T21:55:55.108Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-13T21:55:55.108Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T21:55:55.451Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-13T21:55:55.451Z] Sending build context to Docker daemon 179.2kB [2023-09-13T21:55:55.719Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-13T21:55:55.719Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-13T21:55:55.719Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-13T21:55:55.719Z] 9fda8d8052c6: Pulling fs layer [2023-09-13T21:55:55.719Z] 5d54e960e981: Pulling fs layer [2023-09-13T21:55:55.719Z] c4a7e357bf2a: Pulling fs layer [2023-09-13T21:55:55.719Z] f0e02332f6b5: Pulling fs layer [2023-09-13T21:55:55.719Z] 66412af1f25a: Pulling fs layer [2023-09-13T21:55:55.719Z] 1baf3a5c0e64: Pulling fs layer [2023-09-13T21:55:55.719Z] 9a37bb91b891: Pulling fs layer [2023-09-13T21:55:55.719Z] a29adfc67d43: Pulling fs layer [2023-09-13T21:55:55.719Z] d5de9f91c1a4: Pulling fs layer [2023-09-13T21:55:55.719Z] 1baf3a5c0e64: Waiting [2023-09-13T21:55:55.719Z] 9a37bb91b891: Waiting [2023-09-13T21:55:55.719Z] a29adfc67d43: Waiting [2023-09-13T21:55:55.719Z] d5de9f91c1a4: Waiting [2023-09-13T21:55:55.719Z] f0e02332f6b5: Waiting [2023-09-13T21:55:55.719Z] 66412af1f25a: Waiting [2023-09-13T21:55:55.719Z] 5d54e960e981: Download complete [2023-09-13T21:55:55.719Z] f0e02332f6b5: Verifying Checksum [2023-09-13T21:55:55.719Z] f0e02332f6b5: Download complete [2023-09-13T21:55:55.986Z] 66412af1f25a: Verifying Checksum [2023-09-13T21:55:55.986Z] 66412af1f25a: Download complete [2023-09-13T21:55:55.986Z] 9fda8d8052c6: Verifying Checksum [2023-09-13T21:55:55.986Z] 9fda8d8052c6: Download complete [2023-09-13T21:55:56.255Z] 9a37bb91b891: Verifying Checksum [2023-09-13T21:55:56.255Z] 9a37bb91b891: Download complete [2023-09-13T21:55:56.846Z] 9fda8d8052c6: Pull complete [2023-09-13T21:55:56.846Z] a29adfc67d43: Verifying Checksum [2023-09-13T21:55:56.846Z] a29adfc67d43: Download complete [2023-09-13T21:55:57.453Z] 5d54e960e981: Pull complete [2023-09-13T21:55:57.453Z] d5de9f91c1a4: Verifying Checksum [2023-09-13T21:55:57.453Z] d5de9f91c1a4: Download complete [2023-09-13T21:55:57.727Z] c4a7e357bf2a: Verifying Checksum [2023-09-13T21:55:57.727Z] c4a7e357bf2a: Download complete [2023-09-13T21:55:58.694Z] 1baf3a5c0e64: Verifying Checksum [2023-09-13T21:55:58.694Z] 1baf3a5c0e64: Download complete [2023-09-13T21:56:08.905Z] c4a7e357bf2a: Pull complete [2023-09-13T21:56:08.905Z] f0e02332f6b5: Pull complete [2023-09-13T21:56:08.905Z] 66412af1f25a: Pull complete [2023-09-13T21:56:17.148Z] 1baf3a5c0e64: Pull complete [2023-09-13T21:56:17.148Z] 9a37bb91b891: Pull complete [2023-09-13T21:56:18.566Z] a29adfc67d43: Pull complete [2023-09-13T21:56:20.012Z] d5de9f91c1a4: Pull complete [2023-09-13T21:56:20.012Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-13T21:56:20.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-13T21:56:20.012Z] ---> 746ca1b523b5 [2023-09-13T21:56:20.012Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-09-13T21:56:21.964Z] ---> Running in 7e678297b0ee [2023-09-13T21:56:22.233Z] Removing intermediate container 7e678297b0ee [2023-09-13T21:56:22.233Z] ---> 4e6a97722ac5 [2023-09-13T21:56:22.233Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-13T21:56:22.233Z] ---> Running in 49b43a4b9b4a [2023-09-13T21:56:22.500Z] Removing intermediate container 49b43a4b9b4a [2023-09-13T21:56:22.500Z] ---> 89883ed161ec [2023-09-13T21:56:22.500Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-13T21:56:22.500Z] ---> Running in 0a5a232ae2e2 [2023-09-13T21:56:23.082Z] Removing intermediate container 0a5a232ae2e2 [2023-09-13T21:56:23.082Z] ---> aacd7bcf2776 [2023-09-13T21:56:23.082Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-13T21:56:23.082Z] ---> Running in e6d709abfe8f [2023-09-13T21:56:24.044Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-13T21:56:24.627Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-13T21:56:25.586Z] OK: 267 MiB in 56 packages [2023-09-13T21:56:26.173Z] Removing intermediate container e6d709abfe8f [2023-09-13T21:56:26.173Z] ---> 522ff7a91cd7 [2023-09-13T21:56:26.173Z] Step 7/12 : WORKDIR /app [2023-09-13T21:56:26.440Z] ---> Running in e8c5ef7da258 [2023-09-13T21:56:26.707Z] Removing intermediate container e8c5ef7da258 [2023-09-13T21:56:26.707Z] ---> 47da51ced100 [2023-09-13T21:56:26.707Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-13T21:56:28.648Z] ---> 3aae7da22e2f [2023-09-13T21:56:28.648Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-13T21:56:28.648Z] ---> Running in 893a0591fc61 [2023-09-13T21:57:36.518Z] Removing intermediate container 893a0591fc61 [2023-09-13T21:57:36.518Z] ---> 7d05c21fd890 [2023-09-13T21:57:36.518Z] Step 10/12 : COPY . . [2023-09-13T21:57:37.480Z] ---> 9d193a3b6c19 [2023-09-13T21:57:37.480Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-13T21:57:37.480Z] ---> Running in bfb93f1d64d4 [2023-09-13T21:57:37.747Z] Removing intermediate container bfb93f1d64d4 [2023-09-13T21:57:37.747Z] ---> ada62c4e86de [2023-09-13T21:57:37.747Z] Step 12/12 : RUN $MAKE [2023-09-13T21:57:37.747Z] ---> Running in fd7da772da1f [2023-09-13T21:57:38.707Z] noop [2023-09-13T21:57:39.291Z] Removing intermediate container fd7da772da1f [2023-09-13T21:57:39.291Z] ---> 8094ffd67125 [2023-09-13T21:57:39.291Z] Successfully built 8094ffd67125 [2023-09-13T21:57:39.291Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T21:57:39.640Z] + docker inspect -f . ci-base-image-arm64 [2023-09-13T21:57:39.640Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-13T21:57:39.842Z] prd-ubuntu20.04-docker-arm64-4c-16g-6144 does not seem to be running inside a container [2023-09-13T21:57:39.898Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-13T21:57:41.046Z] $ docker top dde3de17d0f6dfde0f76b575369d660a9b63ffccd789af7526710d40c172b340 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-13T21:57:41.875Z] + go version [2023-09-13T21:57:41.875Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-13T21:57:41.891Z] $ docker stop --time=1 dde3de17d0f6dfde0f76b575369d660a9b63ffccd789af7526710d40c172b340 [2023-09-13T21:57:43.495Z] $ docker rm -f --volumes dde3de17d0f6dfde0f76b575369d660a9b63ffccd789af7526710d40c172b340 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T21:57:44.043Z] + docker inspect -f . ci-base-image-arm64 [2023-09-13T21:57:44.043Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-13T21:57:44.220Z] prd-ubuntu20.04-docker-arm64-4c-16g-6144 does not seem to be running inside a container [2023-09-13T21:57:44.280Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-13T21:57:45.453Z] $ docker top ac47e0b8143523090de6e0a235f450a247257c9c745c4dc7c43a952e35fcdcbd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-13T21:57:45.967Z] + git config --global --add safe.directory /w/workspace/app-service-configurable/2 [Pipeline] fileExists [Pipeline] sh [2023-09-13T21:57:46.304Z] + make test [2023-09-13T21:57:46.304Z] go test -race -coverprofile=coverage.out ./... [2023-09-13T21:57:51.650Z] go: updates to go.mod needed; to update it: [2023-09-13T21:57:51.650Z] go mod tidy [2023-09-13T21:57:51.650Z] make: *** [makefile:53: unittest] Error 1 [Pipeline] } [2023-09-13T21:57:51.668Z] $ docker stop --time=1 ac47e0b8143523090de6e0a235f450a247257c9c745c4dc7c43a952e35fcdcbd [2023-09-13T21:57:53.459Z] $ docker rm -f --volumes ac47e0b8143523090de6e0a235f450a247257c9c745c4dc7c43a952e35fcdcbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T21:57:54.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-13T21:57:54.149Z] [2023-09-13T21:57:54.149Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T21:57:54.475Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-13T21:57:54.475Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-13T21:57:54.475Z] 8998bd30e6a1: Pulling fs layer [2023-09-13T21:57:54.475Z] 04944245beec: Pulling fs layer [2023-09-13T21:57:54.475Z] 699f458cf7ca: Pulling fs layer [2023-09-13T21:57:54.475Z] 765212b225bb: Pulling fs layer [2023-09-13T21:57:54.475Z] f23df028b6ca: Pulling fs layer [2023-09-13T21:57:54.475Z] d65c8cfc05b1: Pulling fs layer [2023-09-13T21:57:54.475Z] 2437ff75d9bd: Pulling fs layer [2023-09-13T21:57:54.475Z] f23df028b6ca: Waiting [2023-09-13T21:57:54.475Z] d65c8cfc05b1: Waiting [2023-09-13T21:57:54.475Z] 2437ff75d9bd: Waiting [2023-09-13T21:57:54.475Z] 765212b225bb: Waiting [2023-09-13T21:57:54.746Z] 04944245beec: Verifying Checksum [2023-09-13T21:57:54.746Z] 04944245beec: Download complete [2023-09-13T21:57:54.746Z] 765212b225bb: Verifying Checksum [2023-09-13T21:57:54.746Z] 765212b225bb: Download complete [2023-09-13T21:57:54.746Z] f23df028b6ca: Download complete [2023-09-13T21:57:54.746Z] d65c8cfc05b1: Verifying Checksum [2023-09-13T21:57:54.746Z] d65c8cfc05b1: Download complete [2023-09-13T21:57:54.746Z] 699f458cf7ca: Verifying Checksum [2023-09-13T21:57:54.746Z] 699f458cf7ca: Download complete [2023-09-13T21:57:55.330Z] 8998bd30e6a1: Verifying Checksum [2023-09-13T21:57:55.330Z] 8998bd30e6a1: Download complete [2023-09-13T21:57:57.272Z] 2437ff75d9bd: Verifying Checksum [2023-09-13T21:57:57.272Z] 2437ff75d9bd: Download complete [2023-09-13T21:57:59.220Z] 8998bd30e6a1: Pull complete [2023-09-13T21:57:59.486Z] 04944245beec: Pull complete [2023-09-13T21:58:00.896Z] 699f458cf7ca: Pull complete [2023-09-13T21:58:01.163Z] 765212b225bb: Pull complete [2023-09-13T21:58:01.746Z] f23df028b6ca: Pull complete [2023-09-13T21:58:02.015Z] d65c8cfc05b1: Pull complete [2023-09-13T21:58:17.022Z] 2437ff75d9bd: Pull complete [2023-09-13T21:58:17.022Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-13T21:58:17.022Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-13T21:58:17.022Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-13T21:58:17.207Z] prd-ubuntu20.04-docker-arm64-4c-16g-6144 does not seem to be running inside a container [2023-09-13T21:58:17.264Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-13T21:58:19.558Z] $ docker top 127054a365f7e22877f53f3b5cccd64511f2bc00f1b88eb70d6942f4d2763f0b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-13T21:58:20.063Z] ---> job-cost.sh [2023-09-13T21:58:20.328Z] lf-activate-venv: SKIPPING [2023-09-13T21:58:20.328Z] INFO: No Stack... [2023-09-13T21:58:20.594Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-13T21:58:21.546Z] INFO: Archiving Costs [Pipeline] sh [2023-09-13T21:58:21.862Z] + cat /w/workspace/app-service-configurable/2/archives/cost.csv [2023-09-13T21:58:21.862Z] + cut -d, -f6 [Pipeline] lock [2023-09-13T21:58:22.185Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-595-2-stack-cost] [2023-09-13T21:58:22.191Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-595-2-stack-cost] did not exist. Created. [2023-09-13T21:58:22.191Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-595-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-13T21:58:22.531Z] /w/workspace/app-service-configurable/2@tmp/durable-cebe1b3d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-13T21:58:23.180Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-13T21:58:23.201Z] Warning: overwriting stash ‘stack-cost’ [2023-09-13T21:58:23.561Z] Stashed 1 file(s) [Pipeline] } [2023-09-13T21:58:23.567Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-595-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-13T21:58:23.580Z] $ docker stop --time=1 127054a365f7e22877f53f3b5cccd64511f2bc00f1b88eb70d6942f4d2763f0b [2023-09-13T21:58:25.016Z] $ docker rm -f --volumes 127054a365f7e22877f53f3b5cccd64511f2bc00f1b88eb70d6942f4d2763f0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-13T21:58:25.254Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-13T21:58:25.982Z] + [ -d /w/workspace/_app-service-configurable_PR-595/archives ] [2023-09-13T21:58:25.982Z] + ls -al /w/workspace/_app-service-configurable_PR-595/archives [2023-09-13T21:58:25.982Z] total 16 [2023-09-13T21:58:25.982Z] drwxr-xr-x 3 root root 4096 Sep 13 21:54 . [2023-09-13T21:58:25.982Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 13 21:54 .. [2023-09-13T21:58:25.982Z] drwxr-xr-x 2 root root 4096 Sep 13 21:54 cost [2023-09-13T21:58:25.982Z] -rw-r--r-- 1 root root 96 Sep 13 21:54 cost.csv [2023-09-13T21:58:25.982Z] + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-595/archives [2023-09-13T21:58:25.982Z] + ls -al /w/workspace/_app-service-configurable_PR-595/archives [2023-09-13T21:58:25.982Z] total 16 [2023-09-13T21:58:25.982Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 13 21:54 . [2023-09-13T21:58:25.982Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 13 21:54 .. [2023-09-13T21:58:25.982Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 13 21:54 cost [2023-09-13T21:58:25.982Z] -rw-r--r-- 1 jenkins jenkins 96 Sep 13 21:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-13T21:58:26.273Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-13T21:58:27.140Z] ---> package-listing.sh [2023-09-13T21:58:27.140Z] ++ facter osfamily [2023-09-13T21:58:27.140Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-13T21:58:27.398Z] + OS_FAMILY=debian [2023-09-13T21:58:27.398Z] + workspace=/w/workspace/_app-service-configurable_PR-595 [2023-09-13T21:58:27.398Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-13T21:58:27.398Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-13T21:58:27.398Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-13T21:58:27.398Z] + PACKAGES=/tmp/packages_start.txt [2023-09-13T21:58:27.398Z] + '[' /w/workspace/_app-service-configurable_PR-595 ']' [2023-09-13T21:58:27.398Z] + PACKAGES=/tmp/packages_end.txt [2023-09-13T21:58:27.398Z] + case "${OS_FAMILY}" in [2023-09-13T21:58:27.398Z] + dpkg -l [2023-09-13T21:58:27.398Z] + grep '^ii' [2023-09-13T21:58:27.398Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-13T21:58:27.398Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-13T21:58:27.398Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-13T21:58:27.398Z] + '[' /w/workspace/_app-service-configurable_PR-595 ']' [2023-09-13T21:58:27.398Z] + mkdir -p /w/workspace/_app-service-configurable_PR-595/archives/ [2023-09-13T21:58:27.398Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-595/archives/ [Pipeline] echo [2023-09-13T21:58:27.408Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-595/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-13T21:58:27.684Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T21:58:28.241Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-13T21:58:28.241Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-13T21:58:28.312Z] prd-ubuntu20.04-docker-8c-8g-6143 does not seem to be running inside a container [2023-09-13T21:58:28.305Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-595/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-595 -v /w/workspace/_app-service-configurable_PR-595:/w/workspace/_app-service-configurable_PR-595:rw,z -v /w/workspace/_app-service-configurable_PR-595@tmp:/w/workspace/_app-service-configurable_PR-595@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-13T21:58:28.511Z] $ docker top 5fea5fb7cd151ec190f43508b708c03dcfd20c4ff1e7654fba9cc3407cfe01d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-13T21:58:28.887Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-13T21:58:29.175Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-13T21:58:29.460Z] + ls /var/log/sa-host [2023-09-13T21:58:29.460Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-13T21:58:29.599Z] provisioning config files... [2023-09-13T21:58:29.608Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-595@tmp/config15420003107343074259tmp [Pipeline] { [Pipeline] echo [2023-09-13T21:58:29.620Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-13T21:58:29.905Z] ---> create-netrc.sh [Pipeline] } [2023-09-13T21:58:29.912Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-13T21:58:30.243Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-13T21:58:30.252Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-13T21:58:30.537Z] ---> sudo-logs.sh [2023-09-13T21:58:30.537Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-13T21:58:30.560Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-13T21:58:30.843Z] ---> job-cost.sh [2023-09-13T21:58:30.843Z] lf-activate-venv: SKIPPING [2023-09-13T21:58:30.843Z] DEBUG: total: 0.2199999988079071 [2023-09-13T21:58:30.843Z] INFO: Retrieving Stack Cost... [2023-09-13T21:58:31.103Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-13T21:58:31.673Z] INFO: Archiving Costs [Pipeline] echo [2023-09-13T21:58:31.685Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-13T21:58:31.969Z] ---> logs-deploy.sh [2023-09-13T21:58:31.969Z] lf-activate-venv: SKIPPING [2023-09-13T21:58:31.969Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-595/2 [2023-09-13T21:58:31.969Z] INFO: archiving workspace using pattern(s): [2023-09-13T21:58:32.906Z] Archives upload complete. [2023-09-13T21:58:32.906Z] INFO: archiving logs to Nexus