Pull request #415 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from b273217849eef95694da4a6c84554d876faa3260+630649d9e86e1599e588b2207988e7000b3d75e7 (b59dcf14ff5d15e41abfe16cad89a01be3080e59) 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-ssh8554450153972265416.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh7117244872603200278.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-415/workspace@libs/edgex-global-pipelines # timeout=10 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-415/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6073646675205760785.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-415/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9892026410370097951.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh15503050899173568231.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-415/workspace@libs/lf-pipelines # timeout=10 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-415/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13932817656566453177.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-34198’ Running on prd-ubuntu20.04-docker-8c-8g-34200 in /w/workspace/_app-service-configurable_PR-415 [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-415 # 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 Merging remotes/origin/main commit 630649d9e86e1599e588b2207988e7000b3d75e7 into PR head commit b273217849eef95694da4a6c84554d876faa3260 Merge succeeded, producing b273217849eef95694da4a6c84554d876faa3260 Checking out Revision b273217849eef95694da4a6c84554d876faa3260 (PR-415) > 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/415/head:refs/remotes/origin/PR-415 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b273217849eef95694da4a6c84554d876faa3260 # 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 630649d9e86e1599e588b2207988e7000b3d75e7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b273217849eef95694da4a6c84554d876faa3260 # timeout=10 Commit message: "build: Update to latest SDK" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:00:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:00:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:00:31 ========================================================= 23:00:31 EdgeX Global Pipelines Version Info 23:00:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:00:31 ------------------- 23:00:31 stable info: 23:00:31 ------------------- 23:00:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:00:31 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 23:00:31 Message: update stable to v1.0.227 23:00:32 ------------------- 23:00:32 experimental info: 23:00:32 ------------------- 23:00:32 Commited By: **** collab-it+edgex@linuxfoundation.org 23:00:32 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 23:00:32 Message: update experimental to v1.0.227 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:00:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 23:00:32 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 23:00:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:00:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:00:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:00:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-415 [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-415 [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-415 [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b273217849eef95694da4a6c84554d876faa3260 [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b273217 [Pipeline] echo 23:00:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:00:34 provisioning config files... 23:00:34 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-415@tmp/config3853136946986445211tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:00:34 ---> docker-login.sh 23:00:34 nexus3.edgexfoundry.org:10001 23:00:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:34 Configure a credential helper to remove this warning. See 23:00:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:34 23:00:34 Login Succeeded 23:00:34 nexus3.edgexfoundry.org:10002 23:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:35 Configure a credential helper to remove this warning. See 23:00:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:35 23:00:35 Login Succeeded 23:00:35 nexus3.edgexfoundry.org:10003 23:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:35 Configure a credential helper to remove this warning. See 23:00:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:35 23:00:35 Login Succeeded 23:00:35 nexus3.edgexfoundry.org:10004 23:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:35 Configure a credential helper to remove this warning. See 23:00:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:35 23:00:35 Login Succeeded 23:00:35 docker.io 23:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:35 Configure a credential helper to remove this warning. See 23:00:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:35 23:00:35 Login Succeeded 23:00:35 ---> docker-login.sh ends [Pipeline] } 23:00:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:00:36 + git rev-list -1 --merges b273217849eef95694da4a6c84554d876faa3260~1..b273217849eef95694da4a6c84554d876faa3260 [Pipeline] echo 23:00:36 -----------> git rev-list -1 --merges b273217849eef95694da4a6c84554d876faa3260~1..b273217849eef95694da4a6c84554d876faa3260 b273217849eef95694da4a6c84554d876faa3260 [false] [Pipeline] sh 23:00:36 + git log --format=format:%s -1 b273217849eef95694da4a6c84554d876faa3260 [Pipeline] echo 23:00:37 ========================================================= 23:00:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:00:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:00:37 + git log --format=format:%s -1 b273217849eef95694da4a6c84554d876faa3260 [Pipeline] echo 23:00:37 [semverPrep] GIT_COMMIT: b273217849eef95694da4a6c84554d876faa3260, Commit Message: build: Update to latest SDK [Pipeline] echo 23:00:37 [semverPrep] This is not a build commit. [Pipeline] sh 23:00:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:00:37 + grep -v github /etc/ssh/ssh_known_hosts 23:00:37 + [ -e /tmp/ssh_known_hosts ] 23:00:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:00:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:00:37 + sudo tee -a /etc/ssh/ssh_known_hosts 23:00:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 23:00:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:00:38 23:00:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:00:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:00:38 latest: Pulling from edgex-devops/py-git-semver 23:00:38 1fe172e4850f: Pulling fs layer 23:00:38 caf521ccaac6: Pulling fs layer 23:00:38 3ead6fa29328: Pulling fs layer 23:00:38 5c2a1cbceb83: Pulling fs layer 23:00:38 a8d5f1318db7: Pulling fs layer 23:00:38 c427282e49a2: Pulling fs layer 23:00:38 1827001aaf11: Pulling fs layer 23:00:38 0714d37db230: Pulling fs layer 23:00:38 ac28cf19c067: Pulling fs layer 23:00:38 ca983d60f3e2: Pulling fs layer 23:00:38 9f894cec8388: Pulling fs layer 23:00:38 5c2a1cbceb83: Waiting 23:00:38 a8d5f1318db7: Waiting 23:00:38 1827001aaf11: Waiting 23:00:38 0714d37db230: Waiting 23:00:38 ca983d60f3e2: Waiting 23:00:38 ac28cf19c067: Waiting 23:00:38 c427282e49a2: Waiting 23:00:38 9f894cec8388: Waiting 23:00:38 caf521ccaac6: Download complete 23:00:38 5c2a1cbceb83: Verifying Checksum 23:00:38 5c2a1cbceb83: Download complete 23:00:38 a8d5f1318db7: Download complete 23:00:38 3ead6fa29328: Verifying Checksum 23:00:38 3ead6fa29328: Download complete 23:00:38 c427282e49a2: Verifying Checksum 23:00:38 c427282e49a2: Download complete 23:00:38 0714d37db230: Verifying Checksum 23:00:38 0714d37db230: Download complete 23:00:38 ac28cf19c067: Verifying Checksum 23:00:38 ac28cf19c067: Download complete 23:00:38 ca983d60f3e2: Verifying Checksum 23:00:38 ca983d60f3e2: Download complete 23:00:38 9f894cec8388: Verifying Checksum 23:00:38 9f894cec8388: Download complete 23:00:38 1fe172e4850f: Verifying Checksum 23:00:38 1fe172e4850f: Download complete 23:00:39 1827001aaf11: Verifying Checksum 23:00:39 1827001aaf11: Download complete 23:00:40 1fe172e4850f: Pull complete 23:00:40 caf521ccaac6: Pull complete 23:00:41 3ead6fa29328: Pull complete 23:00:41 5c2a1cbceb83: Pull complete 23:00:41 a8d5f1318db7: Pull complete 23:00:41 c427282e49a2: Pull complete 23:00:43 1827001aaf11: Pull complete 23:00:43 0714d37db230: Pull complete 23:00:44 ac28cf19c067: Pull complete 23:00:44 ca983d60f3e2: Pull complete 23:00:44 9f894cec8388: Pull complete 23:00:44 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 23:00:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:00:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 23:00:44 prd-ubuntu20.04-docker-8c-8g-34200 does not seem to be running inside a container 23:00:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-415 -v /w/workspace/_app-service-configurable_PR-415:/w/workspace/_app-service-configurable_PR-415:rw,z -v /w/workspace/_app-service-configurable_PR-415@tmp:/w/workspace/_app-service-configurable_PR-415@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 23:00:46 $ docker top 3e88d6050140295a420699b7c618257b4a7cc19bf63fc14e5204db4a88fa6eb3 -eo pid,comm 23:00:46 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). 23:00:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:00:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:00:46 [ssh-agent] Looking for ssh-agent implementation... 23:00:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:00:46 $ docker exec 3e88d6050140295a420699b7c618257b4a7cc19bf63fc14e5204db4a88fa6eb3 ssh-agent 23:00:46 SSH_AUTH_SOCK=/tmp/ssh-alBJw3JedpFt/agent.33 23:00:46 SSH_AGENT_PID=39 23:00:46 Running ssh-add (command line suppressed) 23:00:46 Identity added: /w/workspace/_app-service-configurable_PR-415@tmp/private_key_6826516412647180413.key (/w/workspace/_app-service-configurable_PR-415@tmp/private_key_6826516412647180413.key) 23:00:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:00:47 + git tag --points-at HEAD [Pipeline] } 23:00:47 $ docker exec --env ******** --env ******** 3e88d6050140295a420699b7c618257b4a7cc19bf63fc14e5204db4a88fa6eb3 ssh-agent -k 23:00:47 unset SSH_AUTH_SOCK; 23:00:47 unset SSH_AGENT_PID; 23:00:47 echo Agent pid 39 killed; 23:00:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:00:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:00:47 [ssh-agent] Looking for ssh-agent implementation... 23:00:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:00:47 $ docker exec 3e88d6050140295a420699b7c618257b4a7cc19bf63fc14e5204db4a88fa6eb3 ssh-agent 23:00:47 SSH_AUTH_SOCK=/tmp/ssh-gYMU9hHdZ8bj/agent.74 23:00:47 SSH_AGENT_PID=81 23:00:47 Running ssh-add (command line suppressed) 23:00:47 Identity added: /w/workspace/_app-service-configurable_PR-415@tmp/private_key_7721831995821118641.key (/w/workspace/_app-service-configurable_PR-415@tmp/private_key_7721831995821118641.key) 23:00:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:00:48 + git semver init 23:00:48 2022-04-28 23:00:48,257 [run_init] DEBUG init version:0.0.0 force:False 23:00:48 2022-04-28 23:00:48,258 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-415/.semver 23:00:48 2022-04-28 23:00:48,258 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-415/.semver 23:00:48 2022-04-28 23:00:48,258 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-415/.semver'], cwd=/w/workspace/_app-service-configurable_PR-415, universal_newlines=False, shell=None, istream=None) 23:00:49 2022-04-28 23:00:49,056 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-415/.git/info/exclude 23:00:49 2022-04-28 23:00:49,057 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-415/.semver/PR-415 with force:False 23:00:49 2022-04-28 23:00:49,057 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-415/.semver/PR-415 23:00:49 2022-04-28 23:00:49,061 [execute] INFO git cat-file --batch-check 23:00:49 2022-04-28 23:00:49,062 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-415/.semver, universal_newlines=False, shell=None, istream=) 23:00:49 2022-04-28 23:00:49,068 [execute] INFO git cat-file --batch 23:00:49 2022-04-28 23:00:49,068 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-415/.semver, universal_newlines=False, shell=None, istream=) 23:00:49 2022-04-28 23:00:49,072 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-415/.semver/PR-415 23:00:49 0.0.0 [Pipeline] } 23:00:49 $ docker exec --env ******** --env ******** 3e88d6050140295a420699b7c618257b4a7cc19bf63fc14e5204db4a88fa6eb3 ssh-agent -k 23:00:49 unset SSH_AUTH_SOCK; 23:00:49 unset SSH_AGENT_PID; 23:00:49 echo Agent pid 81 killed; 23:00:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:00:49 + git semver [Pipeline] } 23:00:50 $ docker stop --time=1 3e88d6050140295a420699b7c618257b4a7cc19bf63fc14e5204db4a88fa6eb3 23:00:51 $ docker rm -f 3e88d6050140295a420699b7c618257b4a7cc19bf63fc14e5204db4a88fa6eb3 [Pipeline] // withDockerContainer [Pipeline] sh 23:00:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:00:52 Stashed 1 file(s) [Pipeline] echo 23:00:52 [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 23:00:52 provisioning config files... 23:00:52 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-415@tmp/config6490113210101001929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:00:53 ---> docker-login.sh 23:00:53 nexus3.edgexfoundry.org:10001 23:00:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:53 Configure a credential helper to remove this warning. See 23:00:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:53 23:00:53 Login Succeeded 23:00:53 nexus3.edgexfoundry.org:10002 23:00:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:53 Configure a credential helper to remove this warning. See 23:00:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:53 23:00:53 Login Succeeded 23:00:53 nexus3.edgexfoundry.org:10003 23:00:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:53 Configure a credential helper to remove this warning. See 23:00:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:53 23:00:53 Login Succeeded 23:00:53 nexus3.edgexfoundry.org:10004 23:00:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:53 Configure a credential helper to remove this warning. See 23:00:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:53 23:00:53 Login Succeeded 23:00:53 docker.io 23:00:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:54 Configure a credential helper to remove this warning. See 23:00:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:54 23:00:54 Login Succeeded 23:00:54 ---> docker-login.sh ends [Pipeline] } 23:00:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:00:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:00:54 ========================================================= 23:00:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 23:00:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:00:54 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 23:00:54 Sending build context to Docker daemon 3.054MB 23:00:54 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 23:00:54 Step 2/13 : FROM ${BASE} AS builder 23:00:54 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 23:00:54 59bf1c3509f3: Pulling fs layer 23:00:54 666ba61612fd: Pulling fs layer 23:00:54 8ed8ca486205: Pulling fs layer 23:00:54 4fe6c5a15a65: Pulling fs layer 23:00:54 22a0e8bec74d: Pulling fs layer 23:00:54 ca2b28591e48: Pulling fs layer 23:00:54 a51346096db8: Pulling fs layer 23:00:54 daebc70d1ce1: Pulling fs layer 23:00:54 0e18a0eac166: Pulling fs layer 23:00:54 4fe6c5a15a65: Waiting 23:00:54 ca2b28591e48: Waiting 23:00:54 a51346096db8: Waiting 23:00:54 daebc70d1ce1: Waiting 23:00:54 0e18a0eac166: Waiting 23:00:54 22a0e8bec74d: Waiting 23:00:54 8ed8ca486205: Download complete 23:00:54 666ba61612fd: Download complete 23:00:54 22a0e8bec74d: Verifying Checksum 23:00:54 22a0e8bec74d: Download complete 23:00:54 ca2b28591e48: Download complete 23:00:54 59bf1c3509f3: Verifying Checksum 23:00:54 a51346096db8: Verifying Checksum 23:00:54 a51346096db8: Download complete 23:00:54 daebc70d1ce1: Verifying Checksum 23:00:54 daebc70d1ce1: Download complete 23:00:54 59bf1c3509f3: Pull complete 23:00:55 666ba61612fd: Pull complete 23:00:55 8ed8ca486205: Pull complete 23:00:55 0e18a0eac166: Verifying Checksum 23:00:55 0e18a0eac166: Download complete 23:00:55 4fe6c5a15a65: Verifying Checksum 23:00:55 4fe6c5a15a65: Download complete 23:00:59 4fe6c5a15a65: Pull complete 23:00:59 22a0e8bec74d: Pull complete 23:00:59 ca2b28591e48: Pull complete 23:00:59 a51346096db8: Pull complete 23:00:59 daebc70d1ce1: Pull complete 23:01:02 0e18a0eac166: Pull complete 23:01:02 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 23:01:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 23:01:02 ---> f018257e8ee9 23:01:02 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 23:01:03 ---> Running in dd3e18906811 23:01:03 Removing intermediate container dd3e18906811 23:01:03 ---> fe6995f2759f 23:01:03 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 23:01:04 ---> Running in 3fe5d416f99d 23:01:04 Removing intermediate container 3fe5d416f99d 23:01:04 ---> c7d2ed039f0d 23:01:04 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 23:01:04 ---> Running in 00a53f83cda9 23:01:04 Removing intermediate container 00a53f83cda9 23:01:04 ---> 539b50755ef2 23:01:04 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:01:04 ---> Running in ff0d37cb7855 23:01:04 Removing intermediate container ff0d37cb7855 23:01:04 ---> 92550c5bf29a 23:01:04 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:01:04 ---> Running in 3e2c743286c6 23:01:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:01:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:01:06 OK: 221 MiB in 52 packages 23:01:06 Removing intermediate container 3e2c743286c6 23:01:06 ---> 2c2570f8c831 23:01:06 Step 8/13 : WORKDIR /app 23:01:06 ---> Running in c9205722f971 23:01:06 Removing intermediate container c9205722f971 23:01:06 ---> 07fddac9b5c9 23:01:06 Step 9/13 : COPY go.mod vendor* ./ 23:01:06 ---> 3f811cb2300d 23:01:06 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:01:06 ---> Running in bdc834acc3cf 23:01:07 Still waiting to schedule task 23:01:07 ‘prd-ubuntu20.04-docker-arm64-4c-16g-34199’ is offline 23:01:21 Removing intermediate container bdc834acc3cf 23:01:21 ---> 5624707bdaeb 23:01:21 Step 11/13 : COPY . . 23:01:21 ---> a35f5dbd2fb3 23:01:21 Step 12/13 : ARG MAKE="make build" 23:01:21 ---> Running in 72561d9a2b9a 23:01:21 Removing intermediate container 72561d9a2b9a 23:01:21 ---> 0d517b55cfcd 23:01:21 Step 13/13 : RUN $MAKE 23:01:21 ---> Running in bb3fc7c6bd29 23:01:22 noop 23:01:22 Removing intermediate container bb3fc7c6bd29 23:01:22 ---> 0421d27b6bc3 23:01:22 Successfully built 0421d27b6bc3 23:01:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:01:22 + docker inspect -f . ci-base-image-x86_64 23:01:22 . [Pipeline] withDockerContainer 23:01:22 prd-ubuntu20.04-docker-8c-8g-34200 does not seem to be running inside a container 23:01:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-415 -v /w/workspace/_app-service-configurable_PR-415:/w/workspace/_app-service-configurable_PR-415:rw,z -v /w/workspace/_app-service-configurable_PR-415@tmp:/w/workspace/_app-service-configurable_PR-415@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-x86_64 cat 23:01:23 $ docker top 5882065ccc40f3444bbc95aa7a35471761bd899466bea992a2f278f94ebf2da1 -eo pid,comm [Pipeline] { [Pipeline] sh 23:01:23 + go version 23:01:23 go version go1.17.6 linux/amd64 [Pipeline] } 23:01:23 $ docker stop --time=1 5882065ccc40f3444bbc95aa7a35471761bd899466bea992a2f278f94ebf2da1 23:01:25 $ docker rm -f 5882065ccc40f3444bbc95aa7a35471761bd899466bea992a2f278f94ebf2da1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:01:25 + docker inspect -f . ci-base-image-x86_64 23:01:25 . [Pipeline] withDockerContainer 23:01:25 prd-ubuntu20.04-docker-8c-8g-34200 does not seem to be running inside a container 23:01:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-415 -v /w/workspace/_app-service-configurable_PR-415:/w/workspace/_app-service-configurable_PR-415:rw,z -v /w/workspace/_app-service-configurable_PR-415@tmp:/w/workspace/_app-service-configurable_PR-415@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-x86_64 cat 23:01:26 $ docker top ac645b3fd8836f31a72337ca104b14410a13b570f6d7e7501c1b78e8ebce2b2b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:01:26 + make test 23:01:26 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 23:01:36 ? github.com/edgexfoundry/app-service-configurable [no test files] 23:01:36 CGO_ENABLED=1 go vet ./... 23:01:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:01:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:01:41 ./bin/test-attribution-txt.sh [Pipeline] echo 23:01:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:01:41 $ docker stop --time=1 ac645b3fd8836f31a72337ca104b14410a13b570f6d7e7501c1b78e8ebce2b2b 23:01:43 $ docker rm -f ac645b3fd8836f31a72337ca104b14410a13b570f6d7e7501c1b78e8ebce2b2b [Pipeline] // withDockerContainer [Pipeline] sh 23:01:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:01:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:01:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:01:44 + ls -al . 23:01:44 total 164 23:01:44 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 23:01 . 23:01:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 23:00 .. 23:01:44 -rw-rw-r-- 1 jenkins jenkins 119 Apr 28 23:00 .dockerignore 23:01:44 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 23:00 .git 23:01:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 23:00 .github 23:01:44 -rw-rw-r-- 1 jenkins jenkins 104 Apr 28 23:00 .gitignore 23:01:44 drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 23:00 .semver 23:01:44 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 28 23:00 Attribution.txt 23:01:44 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 28 23:00 CHANGELOG.md 23:01:44 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 28 23:00 Dockerfile 23:01:44 -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 23:00 GOVERNANCE.md 23:01:44 -rw-rw-r-- 1 jenkins jenkins 688 Apr 28 23:00 Jenkinsfile 23:01:44 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 28 23:00 LICENSE 23:01:44 -rw-rw-r-- 1 jenkins jenkins 618 Apr 28 23:00 OWNERS.md 23:01:44 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 28 23:00 README.md 23:01:44 -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 23:00 VERSION 23:01:44 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 23:00 bin 23:01:44 -rw-r--r-- 1 jenkins jenkins 10 Apr 28 23:01 coverage.out 23:01:44 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 28 23:00 go.mod 23:01:44 -rw-rw-r-- 1 jenkins jenkins 34650 Apr 28 23:00 go.sum 23:01:44 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 28 23:00 main.go 23:01:44 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 28 23:00 makefile 23:01:44 drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 23:00 res 23:01:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 23:00 snap [Pipeline] isUnix [Pipeline] sh 23:01:45 + docker build -t app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=b273217849eef95694da4a6c84554d876faa3260 --label arch=amd64 --label version=0.0.0 . 23:01:45 Sending build context to Docker daemon 3.055MB 23:01:45 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 23:01:45 Step 2/27 : FROM ${BASE} AS builder 23:01:45 ---> 0421d27b6bc3 23:01:45 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 23:01:45 ---> Running in cc7691995e60 23:01:45 Removing intermediate container cc7691995e60 23:01:45 ---> 4663cb276377 23:01:45 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 23:01:45 ---> Running in 93c46401e070 23:01:45 Removing intermediate container 93c46401e070 23:01:45 ---> 5c9002138fb8 23:01:45 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 23:01:45 ---> Running in 80479790b4f4 23:01:45 Removing intermediate container 80479790b4f4 23:01:45 ---> 33157850004a 23:01:45 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:01:45 ---> Running in 3ddfd18177bf 23:01:46 Removing intermediate container 3ddfd18177bf 23:01:46 ---> e8890dce3dc3 23:01:46 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:01:46 ---> Running in b72386eeb0d2 23:01:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:01:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:01:47 OK: 221 MiB in 52 packages 23:01:48 Removing intermediate container b72386eeb0d2 23:01:48 ---> f2c1d93eb38b 23:01:48 Step 8/27 : WORKDIR /app 23:01:48 ---> Running in 616f2a54cd97 23:01:48 Removing intermediate container 616f2a54cd97 23:01:48 ---> dede851497e5 23:01:48 Step 9/27 : COPY go.mod vendor* ./ 23:01:48 ---> fbb88b9afb40 23:01:48 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:01:48 ---> Running in d2ec8ef1a27a 23:01:49 Removing intermediate container d2ec8ef1a27a 23:01:49 ---> e0b3001b3d9a 23:01:49 Step 11/27 : COPY . . 23:01:49 ---> 8a7a1cc61954 23:01:49 Step 12/27 : ARG MAKE="make build" 23:01:49 ---> Running in 9c1540229a9a 23:01:49 Removing intermediate container 9c1540229a9a 23:01:49 ---> f4599ea34321 23:01:49 Step 13/27 : RUN $MAKE 23:01:49 ---> Running in b6c716bf4c16 23:01:49 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 23:02:11 Removing intermediate container b6c716bf4c16 23:02:11 ---> 35518fc04cb5 23:02:11 Step 14/27 : FROM alpine:3.14 23:02:11 3.14: Pulling from library/alpine 23:02:11 8663204ce13b: Pulling fs layer 23:02:11 8663204ce13b: Verifying Checksum 23:02:11 8663204ce13b: Download complete 23:02:11 8663204ce13b: Pull complete 23:02:11 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:02:11 Status: Downloaded newer image for alpine:3.14 23:02:11 ---> e04c818066af 23:02:11 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 23:02:11 ---> Running in 4b5393f78645 23:02:11 Removing intermediate container 4b5393f78645 23:02:11 ---> fe0cc9111e01 23:02:11 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 23:02:11 ---> Running in ba9e9a8f22b1 23:02:11 Removing intermediate container ba9e9a8f22b1 23:02:11 ---> 5976a5888f35 23:02:11 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 23:02:11 ---> Running in 5f2909866fb1 23:02:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:02:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:02:11 (1/7) Installing ca-certificates (20211220-r0) 23:02:11 (2/7) Installing dumb-init (1.2.5-r1) 23:02:11 (3/7) Installing libgcc (10.3.1_git20210424-r2) 23:02:11 (4/7) Installing libsodium (1.0.18-r0) 23:02:11 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 23:02:11 (6/7) Installing libzmq (4.3.4-r0) 23:02:11 (7/7) Installing zeromq (4.3.4-r0) 23:02:11 Executing busybox-1.33.1-r7.trigger 23:02:11 Executing ca-certificates-20211220-r0.trigger 23:02:11 OK: 9 MiB in 21 packages 23:02:12 Removing intermediate container 5f2909866fb1 23:02:12 ---> 0d46360c77a1 23:02:12 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:02:12 ---> bd1c50ca2f81 23:02:12 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 23:02:12 ---> cbfc99a15352 23:02:12 Step 20/27 : COPY --from=builder /app/res/ /res/ 23:02:12 ---> 4a221e529ddf 23:02:12 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 23:02:13 ---> f2d5c38a9d49 23:02:13 Step 22/27 : EXPOSE 48095 23:02:13 ---> Running in 5350252255d9 23:02:13 Removing intermediate container 5350252255d9 23:02:13 ---> 5147f0551b14 23:02:13 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 23:02:13 ---> Running in 789eb7b04624 23:02:13 Removing intermediate container 789eb7b04624 23:02:13 ---> 5379b1927155 23:02:13 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:02:13 ---> Running in 7a7dc41c3d25 23:02:13 Removing intermediate container 7a7dc41c3d25 23:02:13 ---> 709023b0005a 23:02:13 Step 25/27 : LABEL arch=amd64 23:02:13 ---> Running in 1263c04c19f2 23:02:13 Removing intermediate container 1263c04c19f2 23:02:13 ---> 2c64bb47160e 23:02:13 Step 26/27 : LABEL git_sha=b273217849eef95694da4a6c84554d876faa3260 23:02:13 ---> Running in 016f76fa7100 23:02:13 Removing intermediate container 016f76fa7100 23:02:13 ---> 5bcc4f708450 23:02:13 Step 27/27 : LABEL version=0.0.0 23:02:13 ---> Running in 925db257e325 23:02:13 Removing intermediate container 925db257e325 23:02:13 ---> ff5cba6611a7 23:02:13 [Warning] One or more build-args [ARCH] were not consumed 23:02:13 Successfully built ff5cba6611a7 23:02:13 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:02:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:02:14 23:02:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:02:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:02:15 latest: Pulling from edgex-lftools-log-publisher 23:02:15 5eb5b503b376: Pulling fs layer 23:02:15 5c69ac0246d0: Pulling fs layer 23:02:15 ec43610c2a17: Pulling fs layer 23:02:15 3a2ae6a8a46f: Pulling fs layer 23:02:15 33b1e0a273af: Pulling fs layer 23:02:15 5d3b04190fa2: Pulling fs layer 23:02:15 2f39f015ded8: Pulling fs layer 23:02:15 33b1e0a273af: Waiting 23:02:15 3a2ae6a8a46f: Waiting 23:02:15 5c69ac0246d0: Verifying Checksum 23:02:15 5c69ac0246d0: Download complete 23:02:15 3a2ae6a8a46f: Download complete 23:02:15 33b1e0a273af: Download complete 23:02:15 ec43610c2a17: Verifying Checksum 23:02:15 ec43610c2a17: Download complete 23:02:15 5d3b04190fa2: Verifying Checksum 23:02:15 5d3b04190fa2: Download complete 23:02:15 5eb5b503b376: Verifying Checksum 23:02:15 5eb5b503b376: Download complete 23:02:16 5eb5b503b376: Pull complete 23:02:16 5c69ac0246d0: Pull complete 23:02:17 ec43610c2a17: Pull complete 23:02:17 3a2ae6a8a46f: Pull complete 23:02:17 33b1e0a273af: Pull complete 23:02:17 5d3b04190fa2: Pull complete 23:02:22 2f39f015ded8: Pull complete 23:02:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:02:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:02:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:02:22 prd-ubuntu20.04-docker-8c-8g-34200 does not seem to be running inside a container 23:02:22 $ 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-415 -v /w/workspace/_app-service-configurable_PR-415:/w/workspace/_app-service-configurable_PR-415:rw,z -v /w/workspace/_app-service-configurable_PR-415@tmp:/w/workspace/_app-service-configurable_PR-415@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:latest cat 23:02:24 $ docker top 57ed08bb835dbb4a2b432cf202c3eabe7a329dc5ea73e5d4c46d84061b0ed6ec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:02:25 ---> job-cost.sh 23:02:25 lf-activate-venv: SKIPPING 23:02:25 INFO: No Stack... 23:02:25 INFO: Retrieving Pricing Info for: v3-standard-8 23:02:26 INFO: Archiving Costs [Pipeline] sh 23:02:27 + cat /w/workspace/_app-service-configurable_PR-415/archives/cost.csv 23:02:27 + cut -d, -f6 [Pipeline] lock 23:02:27 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-415-1-stack-cost] 23:02:27 Resource [jenkins-edgexfoundry-app-service-configurable-PR-415-1-stack-cost] did not exist. Created. 23:02:27 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-415-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:02:27 + echo total: 0.2199999988079071 [Pipeline] stash 23:02:27 Stashed 1 file(s) [Pipeline] } 23:02:27 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-415-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:02:27 $ docker stop --time=1 57ed08bb835dbb4a2b432cf202c3eabe7a329dc5ea73e5d4c46d84061b0ed6ec 23:02:28 $ docker rm -f 57ed08bb835dbb4a2b432cf202c3eabe7a329dc5ea73e5d4c46d84061b0ed6ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:02:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-34201 in /w/workspace/_app-service-configurable_PR-415 [Pipeline] { [Pipeline] ws 23:02:49 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 23:02:49 Selected Git installation does not exist. Using Default 23:02:49 The recommended git tool is: NONE 23:02:56 using credential edgex-jenkins-ssh 23:02:56 Cloning the remote Git repository 23:02:56 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 23:02:56 > git init /w/workspace/app-service-configurable/1 # timeout=10 23:02:56 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 23:02:56 > git --version # timeout=10 23:02:56 > git --version # 'git version 2.25.1' 23:02:56 using GIT_SSH to set credentials SSH Credentials for GitHub 23:02:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:02:57 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 23:02:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:02:57 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 23:02:57 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 23:02:57 using GIT_SSH to set credentials SSH Credentials for GitHub 23:02:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/415/head:refs/remotes/origin/PR-415 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:02:58 Merging remotes/origin/main commit 630649d9e86e1599e588b2207988e7000b3d75e7 into PR head commit b273217849eef95694da4a6c84554d876faa3260 23:02:58 Merge succeeded, producing b273217849eef95694da4a6c84554d876faa3260 23:02:58 Checking out Revision b273217849eef95694da4a6c84554d876faa3260 (PR-415) 23:02:58 > git config core.sparsecheckout # timeout=10 23:02:58 > git checkout -f b273217849eef95694da4a6c84554d876faa3260 # timeout=10 23:02:58 > git remote # timeout=10 23:02:58 > git config --get remote.origin.url # timeout=10 23:02:58 using GIT_SSH to set credentials SSH Credentials for GitHub 23:02:58 > git merge 630649d9e86e1599e588b2207988e7000b3d75e7 # timeout=10 23:02:58 > git rev-parse HEAD^{commit} # timeout=10 23:02:58 > git config core.sparsecheckout # timeout=10 23:02:58 > git checkout -f b273217849eef95694da4a6c84554d876faa3260 # timeout=10 23:03:02 Commit message: "build: Update to latest SDK" 23:03:02 > git --version # timeout=10 23:03:02 > git --version # 'git version 2.25.1' 23:03:02 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:03:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:03:04 % Total % Received % Xferd Average Speed Time Time Time Current 23:03:04 Dload Upload Total Spent Left Speed 23:03:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 97073 0 --:--:-- --:--:-- --:--:-- 97073 [Pipeline] sh 23:03:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:03:05 + sudo tee /etc/docker/daemon.new 23:03:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:03:05 { 23:03:05 "registry-mirrors": [ 23:03:05 "https://nexus3.edgexfoundry.org:10001" 23:03:05 ], 23:03:05 "bip": "10.250.0.254/24", 23:03:05 "hosts": [ 23:03:05 "tcp://0.0.0.0:5555", 23:03:05 "unix:///var/run/docker.sock" 23:03:05 ], 23:03:05 "mtu": 1458, 23:03:05 "selinux-enabled": true, 23:03:05 "seccomp-profile": "/etc/docker/seccomp.json" 23:03:05 } [Pipeline] sh 23:03:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:03:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:03:24 provisioning config files... 23:03:24 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config4278944101655476353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:03:24 ---> docker-login.sh 23:03:24 nexus3.edgexfoundry.org:10001 23:03:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:25 Configure a credential helper to remove this warning. See 23:03:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:25 23:03:25 Login Succeeded 23:03:25 nexus3.edgexfoundry.org:10002 23:03:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:26 Configure a credential helper to remove this warning. See 23:03:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:26 23:03:26 Login Succeeded 23:03:26 nexus3.edgexfoundry.org:10003 23:03:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:26 Configure a credential helper to remove this warning. See 23:03:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:26 23:03:26 Login Succeeded 23:03:26 nexus3.edgexfoundry.org:10004 23:03:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:27 Configure a credential helper to remove this warning. See 23:03:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:27 23:03:27 Login Succeeded 23:03:27 docker.io 23:03:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:28 Configure a credential helper to remove this warning. See 23:03:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:28 23:03:28 Login Succeeded 23:03:28 ---> docker-login.sh ends [Pipeline] } 23:03:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:03:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:03:28 ========================================================= 23:03:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 23:03:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:03:29 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 23:03:29 Sending build context to Docker daemon 207.4kB 23:03:29 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 23:03:29 Step 2/13 : FROM ${BASE} AS builder 23:03:29 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:03:29 9b3977197b4f: Pulling fs layer 23:03:29 1a89e8eeedd5: Pulling fs layer 23:03:29 94645a83ff95: Pulling fs layer 23:03:29 3f3a8bcf1eab: Pulling fs layer 23:03:29 0c92f367c5e7: Pulling fs layer 23:03:29 3096ccb668a1: Pulling fs layer 23:03:29 e8cf19c19ddd: Pulling fs layer 23:03:29 a4caa8a26152: Pulling fs layer 23:03:29 0c92f367c5e7: Waiting 23:03:29 3096ccb668a1: Waiting 23:03:29 e8cf19c19ddd: Waiting 23:03:29 a4caa8a26152: Waiting 23:03:29 3f3a8bcf1eab: Waiting 23:03:29 94645a83ff95: Download complete 23:03:29 1a89e8eeedd5: Download complete 23:03:29 0c92f367c5e7: Verifying Checksum 23:03:29 0c92f367c5e7: Download complete 23:03:29 3096ccb668a1: Verifying Checksum 23:03:29 3096ccb668a1: Download complete 23:03:29 9b3977197b4f: Verifying Checksum 23:03:29 9b3977197b4f: Download complete 23:03:29 e8cf19c19ddd: Verifying Checksum 23:03:29 e8cf19c19ddd: Download complete 23:03:30 9b3977197b4f: Pull complete 23:03:30 1a89e8eeedd5: Pull complete 23:03:31 94645a83ff95: Pull complete 23:03:31 a4caa8a26152: Verifying Checksum 23:03:31 a4caa8a26152: Download complete 23:03:32 3f3a8bcf1eab: Verifying Checksum 23:03:32 3f3a8bcf1eab: Download complete 23:03:44 3f3a8bcf1eab: Pull complete 23:03:44 0c92f367c5e7: Pull complete 23:03:44 3096ccb668a1: Pull complete 23:03:44 e8cf19c19ddd: Pull complete 23:03:51 a4caa8a26152: Pull complete 23:03:51 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 23:03:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 23:03:51 ---> 725f1c02e7f9 23:03:51 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 23:03:51 ---> Running in e1bc83191531 23:03:51 Removing intermediate container e1bc83191531 23:03:51 ---> 47f9061f2ca5 23:03:51 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 23:03:51 ---> Running in e2dd8f4562ec 23:03:52 Removing intermediate container e2dd8f4562ec 23:03:52 ---> cddd664b975b 23:03:52 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 23:03:52 ---> Running in 55bf849894bc 23:03:52 Removing intermediate container 55bf849894bc 23:03:52 ---> 185dded55e89 23:03:52 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:03:52 ---> Running in 60dafce349a3 23:03:54 Removing intermediate container 60dafce349a3 23:03:54 ---> f066e9a0190e 23:03:54 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:03:54 ---> Running in ed68502072b2 23:03:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:03:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:03:57 OK: 220 MiB in 52 packages 23:03:57 Removing intermediate container ed68502072b2 23:03:57 ---> d8cd68876859 23:03:57 Step 8/13 : WORKDIR /app 23:03:58 ---> Running in 2c6ffc09d2c9 23:03:58 Removing intermediate container 2c6ffc09d2c9 23:03:58 ---> 78445cf6db08 23:03:58 Step 9/13 : COPY go.mod vendor* ./ 23:03:58 ---> b32bb1fea618 23:03:58 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:03:58 ---> Running in 9312fe3e7b38 23:04:45 Removing intermediate container 9312fe3e7b38 23:04:45 ---> 2f7cd6ee5ee9 23:04:45 Step 11/13 : COPY . . 23:04:45 ---> 659b4917aada 23:04:45 Step 12/13 : ARG MAKE="make build" 23:04:45 ---> Running in efd70f309654 23:04:45 Removing intermediate container efd70f309654 23:04:45 ---> 311905e0ff71 23:04:45 Step 13/13 : RUN $MAKE 23:04:45 ---> Running in e0567133c917 23:04:45 noop 23:04:45 Removing intermediate container e0567133c917 23:04:45 ---> 58fa2584ae38 23:04:45 Successfully built 58fa2584ae38 23:04:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:04:46 + docker inspect -f . ci-base-image-arm64 23:04:46 . [Pipeline] withDockerContainer 23:04:46 prd-ubuntu20.04-docker-arm64-4c-16g-34201 does not seem to be running inside a container 23:04:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@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 23:04:47 $ docker top 62e937fc08420f37b6e4246889c79fb6c7f5bd4f3b9e454dd29bc453da4df0f7 -eo pid,comm [Pipeline] { [Pipeline] sh 23:04:48 + go version 23:04:48 go version go1.17.6 linux/arm64 [Pipeline] } 23:04:48 $ docker stop --time=1 62e937fc08420f37b6e4246889c79fb6c7f5bd4f3b9e454dd29bc453da4df0f7 23:04:50 $ docker rm -f 62e937fc08420f37b6e4246889c79fb6c7f5bd4f3b9e454dd29bc453da4df0f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:04:51 + docker inspect -f . ci-base-image-arm64 23:04:51 . [Pipeline] withDockerContainer 23:04:51 prd-ubuntu20.04-docker-arm64-4c-16g-34201 does not seem to be running inside a container 23:04:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@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 23:04:52 $ docker top d5a18ac6921239cc77a14c0faf44bc0c2ff4a520c76dfe600b0ec0aa83e6489f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:04:53 + make test 23:04:53 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 23:06:15 ? github.com/edgexfoundry/app-service-configurable [no test files] 23:06:15 CGO_ENABLED=1 go vet ./... 23:06:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:06:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:06:34 ./bin/test-attribution-txt.sh [Pipeline] echo 23:06:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:06:36 $ docker stop --time=1 d5a18ac6921239cc77a14c0faf44bc0c2ff4a520c76dfe600b0ec0aa83e6489f 23:06:38 $ docker rm -f d5a18ac6921239cc77a14c0faf44bc0c2ff4a520c76dfe600b0ec0aa83e6489f [Pipeline] // withDockerContainer [Pipeline] sh 23:06:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:06:39 Warning: overwriting stash ‘coverage-report’ 23:06:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:06:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:06:41 + ls -al . 23:06:41 total 160 23:06:41 drwxrwxr-x 7 jenkins jenkins 4096 Apr 28 23:06 . 23:06:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 23:02 .. 23:06:41 -rw-rw-r-- 1 jenkins jenkins 119 Apr 28 23:02 .dockerignore 23:06:41 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 23:03 .git 23:06:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 23:02 .github 23:06:41 -rw-rw-r-- 1 jenkins jenkins 104 Apr 28 23:02 .gitignore 23:06:41 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 28 23:02 Attribution.txt 23:06:41 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 28 23:02 CHANGELOG.md 23:06:41 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 28 23:02 Dockerfile 23:06:41 -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 23:02 GOVERNANCE.md 23:06:41 -rw-rw-r-- 1 jenkins jenkins 688 Apr 28 23:02 Jenkinsfile 23:06:41 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 28 23:02 LICENSE 23:06:41 -rw-rw-r-- 1 jenkins jenkins 618 Apr 28 23:02 OWNERS.md 23:06:41 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 28 23:02 README.md 23:06:41 -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 23:00 VERSION 23:06:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 23:02 bin 23:06:41 -rw-r--r-- 1 jenkins jenkins 10 Apr 28 23:04 coverage.out 23:06:41 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 28 23:02 go.mod 23:06:41 -rw-rw-r-- 1 jenkins jenkins 34650 Apr 28 23:02 go.sum 23:06:41 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 28 23:02 main.go 23:06:41 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 28 23:02 makefile 23:06:41 drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 23:02 res 23:06:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 23:02 snap [Pipeline] isUnix [Pipeline] sh 23:06:41 + docker build -t app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b273217849eef95694da4a6c84554d876faa3260 --label arch=arm64 --label version=0.0.0 . 23:06:41 Sending build context to Docker daemon 208.4kB 23:06:41 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 23:06:41 Step 2/27 : FROM ${BASE} AS builder 23:06:41 ---> 58fa2584ae38 23:06:41 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 23:06:41 ---> Running in a0282e1f468f 23:06:42 Removing intermediate container a0282e1f468f 23:06:42 ---> 50cfb754e487 23:06:42 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 23:06:42 ---> Running in c021c0f78aa2 23:06:42 Removing intermediate container c021c0f78aa2 23:06:42 ---> 448f22bce1fa 23:06:42 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 23:06:42 ---> Running in 9cf18b16d07a 23:06:42 Removing intermediate container 9cf18b16d07a 23:06:42 ---> 2840dfdb4811 23:06:42 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:06:43 ---> Running in 932c42c50e57 23:06:44 Removing intermediate container 932c42c50e57 23:06:44 ---> 8fc01e4e39f5 23:06:44 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:06:44 ---> Running in 86eeb007b3ff 23:06:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:06:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:06:47 OK: 220 MiB in 52 packages 23:06:48 Removing intermediate container 86eeb007b3ff 23:06:48 ---> c9a5a2f03007 23:06:48 Step 8/27 : WORKDIR /app 23:06:48 ---> Running in dbd199106895 23:06:48 Removing intermediate container dbd199106895 23:06:48 ---> c5cc1825dcde 23:06:48 Step 9/27 : COPY go.mod vendor* ./ 23:06:49 ---> 6d5ed863560d 23:06:49 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:06:49 ---> Running in e4dd9d37941b 23:06:51 Removing intermediate container e4dd9d37941b 23:06:51 ---> 3cef2a9ae407 23:06:51 Step 11/27 : COPY . . 23:06:51 ---> e4a80087c62c 23:06:51 Step 12/27 : ARG MAKE="make build" 23:06:51 ---> Running in 8580fd2fa8c2 23:06:52 Removing intermediate container 8580fd2fa8c2 23:06:52 ---> 8b52449ab06a 23:06:52 Step 13/27 : RUN $MAKE 23:06:52 ---> Running in 8c11833350ad 23:06:53 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 23:08:59 Removing intermediate container 8c11833350ad 23:08:59 ---> a642cd20cbf2 23:08:59 Step 14/27 : FROM alpine:3.14 23:08:59 3.14: Pulling from library/alpine 23:08:59 455c02918c45: Pulling fs layer 23:08:59 455c02918c45: Verifying Checksum 23:08:59 455c02918c45: Download complete 23:08:59 455c02918c45: Pull complete 23:08:59 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:08:59 Status: Downloaded newer image for alpine:3.14 23:08:59 ---> ac73e934f311 23:08:59 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 23:08:59 ---> Running in 4d8eb775fc44 23:08:59 Removing intermediate container 4d8eb775fc44 23:08:59 ---> 8d8ebf35f58b 23:08:59 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 23:08:59 ---> Running in 549e7b9bb18d 23:08:59 Removing intermediate container 549e7b9bb18d 23:08:59 ---> c2975c82951e 23:08:59 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 23:08:59 ---> Running in 7016d6178707 23:08:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:08:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:08:59 (1/7) Installing ca-certificates (20211220-r0) 23:08:59 (2/7) Installing dumb-init (1.2.5-r1) 23:08:59 (3/7) Installing libgcc (10.3.1_git20210424-r2) 23:08:59 (4/7) Installing libsodium (1.0.18-r0) 23:08:59 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 23:08:59 (6/7) Installing libzmq (4.3.4-r0) 23:08:59 (7/7) Installing zeromq (4.3.4-r0) 23:08:59 Executing busybox-1.33.1-r7.trigger 23:08:59 Executing ca-certificates-20211220-r0.trigger 23:08:59 OK: 9 MiB in 21 packages 23:08:59 Removing intermediate container 7016d6178707 23:08:59 ---> 6afac9b87098 23:08:59 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:08:59 ---> 8a5802812e21 23:08:59 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 23:08:59 ---> b41b7a5c4cda 23:08:59 Step 20/27 : COPY --from=builder /app/res/ /res/ 23:08:59 ---> 3237693bc065 23:08:59 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 23:08:59 ---> 3a7d7e4a8a2e 23:08:59 Step 22/27 : EXPOSE 48095 23:08:59 ---> Running in 6f52a215c0d5 23:08:59 Removing intermediate container 6f52a215c0d5 23:08:59 ---> 11f1b6f7cc4e 23:08:59 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 23:08:59 ---> Running in 63c05abdf0d0 23:08:59 Removing intermediate container 63c05abdf0d0 23:08:59 ---> 36eb6c00e7bd 23:08:59 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:08:59 ---> Running in ab227daf12ec 23:08:59 Removing intermediate container ab227daf12ec 23:08:59 ---> 4d735fe4d21b 23:08:59 Step 25/27 : LABEL arch=arm64 23:08:59 ---> Running in 481a708b4a52 23:08:59 Removing intermediate container 481a708b4a52 23:08:59 ---> 69470571e198 23:08:59 Step 26/27 : LABEL git_sha=b273217849eef95694da4a6c84554d876faa3260 23:08:59 ---> Running in 61908fa17f58 23:08:59 Removing intermediate container 61908fa17f58 23:08:59 ---> 44565883ab75 23:08:59 Step 27/27 : LABEL version=0.0.0 23:08:59 ---> Running in 073093b15e69 23:08:59 Removing intermediate container 073093b15e69 23:08:59 ---> 1669b2e65877 23:08:59 [Warning] One or more build-args [ARCH] were not consumed 23:08:59 Successfully built 1669b2e65877 23:08:59 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:09:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:09:00 23:09:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:09:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:09:01 arm64: Pulling from edgex-lftools-log-publisher 23:09:01 8998bd30e6a1: Pulling fs layer 23:09:01 04944245beec: Pulling fs layer 23:09:01 699f458cf7ca: Pulling fs layer 23:09:01 765212b225bb: Pulling fs layer 23:09:01 f23df028b6ca: Pulling fs layer 23:09:01 d65c8cfc05b1: Pulling fs layer 23:09:01 2437ff75d9bd: Pulling fs layer 23:09:01 f23df028b6ca: Waiting 23:09:01 765212b225bb: Waiting 23:09:01 d65c8cfc05b1: Waiting 23:09:01 2437ff75d9bd: Waiting 23:09:01 04944245beec: Verifying Checksum 23:09:01 04944245beec: Download complete 23:09:01 765212b225bb: Verifying Checksum 23:09:01 765212b225bb: Download complete 23:09:01 f23df028b6ca: Download complete 23:09:01 d65c8cfc05b1: Verifying Checksum 23:09:01 d65c8cfc05b1: Download complete 23:09:01 699f458cf7ca: Verifying Checksum 23:09:01 699f458cf7ca: Download complete 23:09:01 8998bd30e6a1: Verifying Checksum 23:09:01 8998bd30e6a1: Download complete 23:09:04 2437ff75d9bd: Verifying Checksum 23:09:04 2437ff75d9bd: Download complete 23:09:06 8998bd30e6a1: Pull complete 23:09:06 04944245beec: Pull complete 23:09:08 699f458cf7ca: Pull complete 23:09:08 765212b225bb: Pull complete 23:09:09 f23df028b6ca: Pull complete 23:09:09 d65c8cfc05b1: Pull complete 23:09:24 2437ff75d9bd: Pull complete 23:09:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:09:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:09:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:09:24 prd-ubuntu20.04-docker-arm64-4c-16g-34201 does not seem to be running inside a container 23:09:24 $ 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/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@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 23:09:27 $ docker top ac76e3ee1fa72e9456b7f36869632bb8644630f629b32d3cc8efce18f6a0abde -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:09:28 ---> job-cost.sh 23:09:28 lf-activate-venv: SKIPPING 23:09:28 INFO: No Stack... 23:09:28 INFO: Retrieving Pricing Info for: v3-standard-4 23:09:29 INFO: Archiving Costs [Pipeline] sh 23:09:30 + cut+ -d, -f6 23:09:30 cat /w/workspace/app-service-configurable/1/archives/cost.csv [Pipeline] lock 23:09:30 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-415-1-stack-cost] 23:09:30 Resource [jenkins-edgexfoundry-app-service-configurable-PR-415-1-stack-cost] did not exist. Created. 23:09:30 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-415-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:09:31 /w/workspace/app-service-configurable/1@tmp/durable-bc95174e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:09:31 + echo total: 0.10999999940395355 [Pipeline] stash 23:09:31 Warning: overwriting stash ‘stack-cost’ 23:09:31 Stashed 1 file(s) [Pipeline] } 23:09:31 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-415-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:09:32 $ docker stop --time=1 ac76e3ee1fa72e9456b7f36869632bb8644630f629b32d3cc8efce18f6a0abde 23:09:33 $ docker rm -f ac76e3ee1fa72e9456b7f36869632bb8644630f629b32d3cc8efce18f6a0abde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:09:34 provisioning config files... 23:09:34 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-415@tmp/config8024871700638886312tmp [Pipeline] { [Pipeline] sh 23:09:34 + set +x 23:09:34 + curl -s https://codecov.io/bash 23:09:34 + bash -s -- 23:09:34 23:09:34 _____ _ 23:09:34 / ____| | | 23:09:34 | | ___ __| | ___ ___ _____ __ 23:09:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:09:34 | |___| (_) | (_| | __/ (_| (_) \ V / 23:09:34 \_____\___/ \__,_|\___|\___\___/ \_/ 23:09:34 Bash-1.0.6 23:09:34 23:09:34 23:09:34 ==> git version 2.25.1 found 23:09:34 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:09:34 Release-Date: 2020-01-08 23:09:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:09:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:09:34 ==> Jenkins CI detected. 23:09:34 current dir:  /w/workspace/_app-service-configurable_PR-415 23:09:34 project root: . 23:09:34 --> token set from env 23:09:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:09:34 ==> Running gcov in . (disable via -X gcov) 23:09:34 ==> Python coveragepy not found 23:09:34 ==> Searching for coverage reports in: 23:09:34 + . 23:09:34 -> Found 1 reports 23:09:34 ==> Detecting git/mercurial file structure 23:09:34 ==> Reading reports 23:09:34 + ./coverage.out bytes=10 23:09:34 ==> Appending adjustments 23:09:34 https://docs.codecov.io/docs/fixing-reports 23:09:35 + Found adjustments 23:09:35 ==> Gzipping contents 23:09:35 4.0K /tmp/codecov.Zif3Ra.gz 23:09:35 ==> Uploading reports 23:09:35 url: https://codecov.io 23:09:35 query: branch=PR-415&commit=b273217849eef95694da4a6c84554d876faa3260&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-415%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=415&job=&cmd_args= 23:09:35 -> Pinging Codecov 23:09:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-415&commit=b273217849eef95694da4a6c84554d876faa3260&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-415%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=415&job=&cmd_args= 23:09:35 -> Uploading to 23:09:35 https://storage.googleapis.com/codecov/v4/raw/2022-04-28/A97CA9966030D2A3747ED39772930CCE/b273217849eef95694da4a6c84554d876faa3260/0e953b0e-ad21-451b-ae5b-9432c195f8d3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220428T230935Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=820298e3fb01ce3893520e36c6e89859b09e43848a78bd4ceb4c8585e6b41991 23:09:35 % Total % Received % Xferd Average Speed Time Time Time Current 23:09:35 Dload Upload Total Spent Left Speed 23:09:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 592 0 0 100 592 0 2678 --:--:-- --:--:-- --:--:-- 2666 100 592 0 0 100 592 0 2519 --:--:-- --:--:-- --:--:-- 2508 23:09:35 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/b273217849eef95694da4a6c84554d876faa3260 [Pipeline] } 23:09:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:09:37 + [ -d /w/workspace/_app-service-configurable_PR-415/archives ] 23:09:37 + ls -al /w/workspace/_app-service-configurable_PR-415/archives 23:09:37 total 16 23:09:37 drwxr-xr-x 3 root root 4096 Apr 28 23:02 . 23:09:37 drwxrwxr-x 9 jenkins jenkins 4096 Apr 28 23:02 .. 23:09:37 drwxr-xr-x 2 root root 4096 Apr 28 23:02 cost 23:09:37 -rw-r--r-- 1 root root 95 Apr 28 23:02 cost.csv 23:09:37 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-415/archives 23:09:37 + ls -al /w/workspace/_app-service-configurable_PR-415/archives 23:09:37 total 16 23:09:37 drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 23:02 . 23:09:37 drwxrwxr-x 9 jenkins jenkins 4096 Apr 28 23:02 .. 23:09:37 drwxr-xr-x 2 jenkins jenkins 4096 Apr 28 23:02 cost 23:09:37 -rw-r--r-- 1 jenkins jenkins 95 Apr 28 23:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:09:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:09:38 ---> package-listing.sh 23:09:38 ++ facter osfamily 23:09:38 ++ tr '[:upper:]' '[:lower:]' 23:09:39 + OS_FAMILY=debian 23:09:39 + workspace=/w/workspace/_app-service-configurable_PR-415 23:09:39 + START_PACKAGES=/tmp/packages_start.txt 23:09:39 + END_PACKAGES=/tmp/packages_end.txt 23:09:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:09:39 + PACKAGES=/tmp/packages_start.txt 23:09:39 + '[' /w/workspace/_app-service-configurable_PR-415 ']' 23:09:39 + PACKAGES=/tmp/packages_end.txt 23:09:39 + case "${OS_FAMILY}" in 23:09:39 + dpkg -l 23:09:39 + grep '^ii' 23:09:39 + '[' -f /tmp/packages_start.txt ']' 23:09:39 + '[' -f /tmp/packages_end.txt ']' 23:09:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:09:39 + '[' /w/workspace/_app-service-configurable_PR-415 ']' 23:09:39 + mkdir -p /w/workspace/_app-service-configurable_PR-415/archives/ 23:09:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-415/archives/ [Pipeline] echo 23:09:39 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-415/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:09:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:09:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:09:40 . [Pipeline] withDockerContainer 23:09:40 prd-ubuntu20.04-docker-8c-8g-34200 does not seem to be running inside a container 23:09:40 $ 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-415/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-415 -v /w/workspace/_app-service-configurable_PR-415:/w/workspace/_app-service-configurable_PR-415:rw,z -v /w/workspace/_app-service-configurable_PR-415@tmp:/w/workspace/_app-service-configurable_PR-415@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 23:09:40 $ docker top 6db19dc8fe7af1f3ced1eb254689ad5150c361161c5d5a8f673e378f1e429f5e -eo pid,comm [Pipeline] { [Pipeline] sh 23:09:40 + touch /tmp/pre-build-complete [Pipeline] sh 23:09:41 + mkdir -p /var/log/sysstat [Pipeline] sh 23:09:41 + ls /var/log/sa-host 23:09:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:09:41 provisioning config files... 23:09:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-415@tmp/config3620847092099342160tmp [Pipeline] { [Pipeline] echo 23:09:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:09:42 ---> create-netrc.sh [Pipeline] } 23:09:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:09:42 ---> python-tools-install.sh [Pipeline] echo 23:09:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:09:42 ---> sudo-logs.sh 23:09:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:09:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:09:43 ---> job-cost.sh 23:09:43 lf-activate-venv: SKIPPING 23:09:43 DEBUG: total: 0.2199999988079071 23:09:43 INFO: Retrieving Stack Cost... 23:09:43 INFO: Retrieving Pricing Info for: v3-standard-8 23:09:44 INFO: Archiving Costs [Pipeline] echo 23:09:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:09:44 ---> logs-deploy.sh 23:09:44 lf-activate-venv: SKIPPING 23:09:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-415/1 23:09:44 INFO: archiving workspace using pattern(s): 23:09:45 Archives upload complete. 23:09:45 INFO: archiving logs to Nexus