Pull request #34 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from facaa9d06eedfa6bdf6961645e51d472bbdd5fcf+836c30204e0fb2e2a70ac35e45feaed0f2fb0741 (e9b05dfe76a63116bce43840fbff98946a6e52f8) 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-ssh4232075497904339680.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh11056214821295996496.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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/device-gpio/branches/PR-34/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/device-gpio/branches/PR-34/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12876353719854162863.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/device-gpio/branches/PR-34/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6634440068897915270.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh16307151859184106427.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/device-gpio/branches/PR-34/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/device-gpio/branches/PR-34/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10082677164299078606.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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:device-gpio] ========================================================= [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: device-gpio-settings PROJECT: device-gpio 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: device-gpio 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-63194’ Running on prd-ubuntu20.04-docker-8c-8g-63199 in /w/workspace/edgexfoundry_device-gpio_PR-34 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_PR-34 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.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/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 836c30204e0fb2e2a70ac35e45feaed0f2fb0741 into PR head commit facaa9d06eedfa6bdf6961645e51d472bbdd5fcf Merge succeeded, producing facaa9d06eedfa6bdf6961645e51d472bbdd5fcf Checking out Revision facaa9d06eedfa6bdf6961645e51d472bbdd5fcf (PR-34) > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.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/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/34/head:refs/remotes/origin/PR-34 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f facaa9d06eedfa6bdf6961645e51d472bbdd5fcf # 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 836c30204e0fb2e2a70ac35e45feaed0f2fb0741 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f facaa9d06eedfa6bdf6961645e51d472bbdd5fcf # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-11T21:26:45.688Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-11T21:26:45.870Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-11T21:26:45.975Z] ========================================================= [2022-05-11T21:26:45.975Z] EdgeX Global Pipelines Version Info [2022-05-11T21:26:45.975Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-11T21:26:46.777Z] ------------------- [2022-05-11T21:26:46.777Z] stable info: [2022-05-11T21:26:46.777Z] ------------------- [2022-05-11T21:26:46.777Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-11T21:26:46.777Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-11T21:26:46.777Z] Message: update stable to v1.0.230 [2022-05-11T21:26:47.352Z] ------------------- [2022-05-11T21:26:47.352Z] experimental info: [2022-05-11T21:26:47.352Z] ------------------- [2022-05-11T21:26:47.352Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-11T21:26:47.352Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-11T21:26:47.352Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-11T21:26:47.599Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-05-11T21:26:47.638Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-05-11T21:26:47.678Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-11T21:26:47.715Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-11T21:26:47.755Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-11T21:26:47.794Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-11T21:26:47.831Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-11T21:26:47.879Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-11T21:26:47.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-11T21:26:47.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-11T21:26:48.004Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-11T21:26:48.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-05-11T21:26:48.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-11T21:26:48.138Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-11T21:26:48.180Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-11T21:26:48.219Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-11T21:26:48.260Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-11T21:26:48.297Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-11T21:26:48.342Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-11T21:26:48.381Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-11T21:26:48.418Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-11T21:26:48.465Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-11T21:26:48.505Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-11T21:26:48.548Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-11T21:26:48.590Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-11T21:26:48.630Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-11T21:26:48.670Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-34 [Pipeline] echo [2022-05-11T21:26:48.715Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-34 [Pipeline] echo [2022-05-11T21:26:48.755Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-34 [Pipeline] echo [2022-05-11T21:26:48.797Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = facaa9d06eedfa6bdf6961645e51d472bbdd5fcf [Pipeline] echo [2022-05-11T21:26:48.838Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = facaa9d [Pipeline] echo [2022-05-11T21:26:48.878Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T21:26:48.992Z] provisioning config files... [2022-05-11T21:26:49.009Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-34@tmp/config2914768606179847344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T21:26:49.455Z] ---> docker-login.sh [2022-05-11T21:26:49.456Z] nexus3.edgexfoundry.org:10001 [2022-05-11T21:26:49.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:26:49.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:26:49.719Z] Configure a credential helper to remove this warning. See [2022-05-11T21:26:49.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:26:49.719Z] [2022-05-11T21:26:49.719Z] Login Succeeded [2022-05-11T21:26:49.719Z] nexus3.edgexfoundry.org:10002 [2022-05-11T21:26:49.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:26:49.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:26:49.980Z] Configure a credential helper to remove this warning. See [2022-05-11T21:26:49.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:26:49.980Z] [2022-05-11T21:26:49.980Z] Login Succeeded [2022-05-11T21:26:49.980Z] nexus3.edgexfoundry.org:10003 [2022-05-11T21:26:49.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:26:49.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:26:49.980Z] Configure a credential helper to remove this warning. See [2022-05-11T21:26:49.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:26:49.980Z] [2022-05-11T21:26:49.980Z] Login Succeeded [2022-05-11T21:26:49.980Z] nexus3.edgexfoundry.org:10004 [2022-05-11T21:26:50.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:26:50.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:26:50.245Z] Configure a credential helper to remove this warning. See [2022-05-11T21:26:50.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:26:50.245Z] [2022-05-11T21:26:50.245Z] Login Succeeded [2022-05-11T21:26:50.245Z] docker.io [2022-05-11T21:26:50.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:26:50.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:26:50.511Z] Configure a credential helper to remove this warning. See [2022-05-11T21:26:50.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:26:50.511Z] [2022-05-11T21:26:50.511Z] Login Succeeded [2022-05-11T21:26:50.774Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T21:26:50.799Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-11T21:26:51.413Z] + git rev-list -1 --merges facaa9d06eedfa6bdf6961645e51d472bbdd5fcf~1..facaa9d06eedfa6bdf6961645e51d472bbdd5fcf [Pipeline] echo [2022-05-11T21:26:51.464Z] -----------> git rev-list -1 --merges facaa9d06eedfa6bdf6961645e51d472bbdd5fcf~1..facaa9d06eedfa6bdf6961645e51d472bbdd5fcf facaa9d06eedfa6bdf6961645e51d472bbdd5fcf [false] [Pipeline] sh [2022-05-11T21:26:51.778Z] + git log --format=format:%s -1 facaa9d06eedfa6bdf6961645e51d472bbdd5fcf [Pipeline] echo [2022-05-11T21:26:51.815Z] ========================================================= [2022-05-11T21:26:51.815Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-11T21:26:51.815Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T21:26:52.256Z] + git log --format=format:%s -1 facaa9d06eedfa6bdf6961645e51d472bbdd5fcf [Pipeline] echo [2022-05-11T21:26:52.291Z] [semverPrep] GIT_COMMIT: facaa9d06eedfa6bdf6961645e51d472bbdd5fcf, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-05-11T21:26:52.324Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-11T21:26:52.736Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T21:26:52.736Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-11T21:26:52.736Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-11T21:26:52.736Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-11T21:26:52.736Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-11T21:26:52.736Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-11T21:26:52.736Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T21:26:53.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T21:26:53.123Z] [2022-05-11T21:26:53.123Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T21:26:53.473Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T21:26:53.473Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-11T21:26:53.473Z] 1fe172e4850f: Pulling fs layer [2022-05-11T21:26:53.473Z] caf521ccaac6: Pulling fs layer [2022-05-11T21:26:53.473Z] 3ead6fa29328: Pulling fs layer [2022-05-11T21:26:53.473Z] 5c2a1cbceb83: Pulling fs layer [2022-05-11T21:26:53.473Z] a8d5f1318db7: Pulling fs layer [2022-05-11T21:26:53.473Z] c427282e49a2: Pulling fs layer [2022-05-11T21:26:53.473Z] 1827001aaf11: Pulling fs layer [2022-05-11T21:26:53.473Z] 0714d37db230: Pulling fs layer [2022-05-11T21:26:53.473Z] ac28cf19c067: Pulling fs layer [2022-05-11T21:26:53.473Z] ca983d60f3e2: Pulling fs layer [2022-05-11T21:26:53.473Z] 9f894cec8388: Pulling fs layer [2022-05-11T21:26:53.473Z] 0714d37db230: Waiting [2022-05-11T21:26:53.473Z] c427282e49a2: Waiting [2022-05-11T21:26:53.473Z] ac28cf19c067: Waiting [2022-05-11T21:26:53.473Z] 1827001aaf11: Waiting [2022-05-11T21:26:53.473Z] ca983d60f3e2: Waiting [2022-05-11T21:26:53.473Z] 5c2a1cbceb83: Waiting [2022-05-11T21:26:53.473Z] a8d5f1318db7: Waiting [2022-05-11T21:26:53.473Z] caf521ccaac6: Download complete [2022-05-11T21:26:53.473Z] 5c2a1cbceb83: Verifying Checksum [2022-05-11T21:26:53.473Z] 5c2a1cbceb83: Download complete [2022-05-11T21:26:53.733Z] 3ead6fa29328: Verifying Checksum [2022-05-11T21:26:53.733Z] 3ead6fa29328: Download complete [2022-05-11T21:26:53.734Z] a8d5f1318db7: Verifying Checksum [2022-05-11T21:26:53.734Z] a8d5f1318db7: Download complete [2022-05-11T21:26:53.734Z] c427282e49a2: Verifying Checksum [2022-05-11T21:26:53.734Z] c427282e49a2: Download complete [2022-05-11T21:26:53.734Z] 0714d37db230: Download complete [2022-05-11T21:26:53.734Z] ac28cf19c067: Verifying Checksum [2022-05-11T21:26:53.734Z] ac28cf19c067: Download complete [2022-05-11T21:26:53.734Z] ca983d60f3e2: Verifying Checksum [2022-05-11T21:26:53.734Z] ca983d60f3e2: Download complete [2022-05-11T21:26:53.734Z] 9f894cec8388: Verifying Checksum [2022-05-11T21:26:53.734Z] 9f894cec8388: Download complete [2022-05-11T21:26:53.734Z] 1fe172e4850f: Download complete [2022-05-11T21:26:53.993Z] 1827001aaf11: Verifying Checksum [2022-05-11T21:26:53.993Z] 1827001aaf11: Download complete [2022-05-11T21:26:55.378Z] 1fe172e4850f: Pull complete [2022-05-11T21:26:55.378Z] caf521ccaac6: Pull complete [2022-05-11T21:26:55.951Z] 3ead6fa29328: Pull complete [2022-05-11T21:26:55.951Z] 5c2a1cbceb83: Pull complete [2022-05-11T21:26:56.213Z] a8d5f1318db7: Pull complete [2022-05-11T21:26:56.473Z] c427282e49a2: Pull complete [2022-05-11T21:26:58.389Z] 1827001aaf11: Pull complete [2022-05-11T21:26:58.389Z] 0714d37db230: Pull complete [2022-05-11T21:26:58.659Z] ac28cf19c067: Pull complete [2022-05-11T21:26:58.659Z] ca983d60f3e2: Pull complete [2022-05-11T21:26:58.659Z] 9f894cec8388: Pull complete [2022-05-11T21:26:58.659Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-11T21:26:58.659Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T21:26:58.659Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-11T21:26:58.766Z] prd-ubuntu20.04-docker-8c-8g-63199 does not seem to be running inside a container [2022-05-11T21:26:58.803Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-34 -v /w/workspace/edgexfoundry_device-gpio_PR-34:/w/workspace/edgexfoundry_device-gpio_PR-34:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-34@tmp:/w/workspace/edgexfoundry_device-gpio_PR-34@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-11T21:27:00.142Z] $ docker top 9771b42546c83f5a175715e88c51bd0633a7a375619c817a50c694aad8cd9a38 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-11T21:27:00.361Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T21:27:00.362Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T21:27:00.488Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T21:27:00.485Z] $ docker exec 9771b42546c83f5a175715e88c51bd0633a7a375619c817a50c694aad8cd9a38 ssh-agent [2022-05-11T21:27:00.646Z] SSH_AUTH_SOCK=/tmp/ssh-POlqWaUfdA4F/agent.33 [2022-05-11T21:27:00.646Z] SSH_AGENT_PID=39 [2022-05-11T21:27:00.655Z] Running ssh-add (command line suppressed) [2022-05-11T21:27:00.782Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-34@tmp/private_key_7347788182713173087.key (/w/workspace/edgexfoundry_device-gpio_PR-34@tmp/private_key_7347788182713173087.key) [2022-05-11T21:27:00.805Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T21:27:01.142Z] + git tag --points-at HEAD [Pipeline] } [2022-05-11T21:27:01.173Z] $ docker exec --env ******** --env ******** 9771b42546c83f5a175715e88c51bd0633a7a375619c817a50c694aad8cd9a38 ssh-agent -k [2022-05-11T21:27:01.280Z] unset SSH_AUTH_SOCK; [2022-05-11T21:27:01.280Z] unset SSH_AGENT_PID; [2022-05-11T21:27:01.280Z] echo Agent pid 39 killed; [2022-05-11T21:27:01.297Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-11T21:27:01.394Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T21:27:01.394Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T21:27:01.516Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T21:27:01.514Z] $ docker exec 9771b42546c83f5a175715e88c51bd0633a7a375619c817a50c694aad8cd9a38 ssh-agent [2022-05-11T21:27:01.640Z] SSH_AUTH_SOCK=/tmp/ssh-M5UNLAjTMzrj/agent.74 [2022-05-11T21:27:01.640Z] SSH_AGENT_PID=80 [2022-05-11T21:27:01.646Z] Running ssh-add (command line suppressed) [2022-05-11T21:27:01.771Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-34@tmp/private_key_596776733102174374.key (/w/workspace/edgexfoundry_device-gpio_PR-34@tmp/private_key_596776733102174374.key) [2022-05-11T21:27:01.795Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T21:27:02.129Z] + git semver init [2022-05-11T21:27:02.390Z] 2022-05-11 21:27:02,339 [run_init] DEBUG init version:0.0.0 force:False [2022-05-11T21:27:02.390Z] 2022-05-11 21:27:02,340 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-34/.semver [2022-05-11T21:27:02.390Z] 2022-05-11 21:27:02,341 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-34/.semver [2022-05-11T21:27:02.390Z] 2022-05-11 21:27:02,341 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-34/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-34, universal_newlines=False, shell=None, istream=None) [2022-05-11T21:27:03.333Z] 2022-05-11 21:27:03,250 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-34/.git/info/exclude [2022-05-11T21:27:03.333Z] 2022-05-11 21:27:03,251 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-34/.semver/PR-34 with force:False [2022-05-11T21:27:03.333Z] 2022-05-11 21:27:03,251 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-34/.semver/PR-34 [2022-05-11T21:27:03.333Z] 2022-05-11 21:27:03,254 [execute] INFO git cat-file --batch-check [2022-05-11T21:27:03.333Z] 2022-05-11 21:27:03,254 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-34/.semver, universal_newlines=False, shell=None, istream=) [2022-05-11T21:27:03.333Z] 2022-05-11 21:27:03,260 [execute] INFO git cat-file --batch [2022-05-11T21:27:03.333Z] 2022-05-11 21:27:03,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-34/.semver, universal_newlines=False, shell=None, istream=) [2022-05-11T21:27:03.333Z] 2022-05-11 21:27:03,267 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-34/.semver/PR-34 [2022-05-11T21:27:03.333Z] 0.0.0 [Pipeline] } [2022-05-11T21:27:03.351Z] $ docker exec --env ******** --env ******** 9771b42546c83f5a175715e88c51bd0633a7a375619c817a50c694aad8cd9a38 ssh-agent -k [2022-05-11T21:27:03.463Z] unset SSH_AUTH_SOCK; [2022-05-11T21:27:03.463Z] unset SSH_AGENT_PID; [2022-05-11T21:27:03.464Z] echo Agent pid 80 killed; [2022-05-11T21:27:03.479Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T21:27:03.904Z] + git semver [Pipeline] } [2022-05-11T21:27:04.188Z] $ docker stop --time=1 9771b42546c83f5a175715e88c51bd0633a7a375619c817a50c694aad8cd9a38 [2022-05-11T21:27:05.516Z] $ docker rm -f 9771b42546c83f5a175715e88c51bd0633a7a375619c817a50c694aad8cd9a38 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T21:27:05.927Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-11T21:27:06.220Z] Stashed 1 file(s) [Pipeline] echo [2022-05-11T21:27:06.236Z] [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 [2022-05-11T21:27:06.806Z] provisioning config files... [2022-05-11T21:27:06.820Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-34@tmp/config6532633049520990876tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T21:27:07.171Z] ---> docker-login.sh [2022-05-11T21:27:07.171Z] nexus3.edgexfoundry.org:10001 [2022-05-11T21:27:07.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:27:07.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:27:07.171Z] Configure a credential helper to remove this warning. See [2022-05-11T21:27:07.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:27:07.171Z] [2022-05-11T21:27:07.171Z] Login Succeeded [2022-05-11T21:27:07.171Z] nexus3.edgexfoundry.org:10002 [2022-05-11T21:27:07.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:27:07.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:27:07.432Z] Configure a credential helper to remove this warning. See [2022-05-11T21:27:07.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:27:07.432Z] [2022-05-11T21:27:07.432Z] Login Succeeded [2022-05-11T21:27:07.432Z] nexus3.edgexfoundry.org:10003 [2022-05-11T21:27:07.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:27:07.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:27:07.432Z] Configure a credential helper to remove this warning. See [2022-05-11T21:27:07.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:27:07.432Z] [2022-05-11T21:27:07.432Z] Login Succeeded [2022-05-11T21:27:07.432Z] nexus3.edgexfoundry.org:10004 [2022-05-11T21:27:07.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:27:07.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:27:07.694Z] Configure a credential helper to remove this warning. See [2022-05-11T21:27:07.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:27:07.694Z] [2022-05-11T21:27:07.694Z] Login Succeeded [2022-05-11T21:27:07.694Z] docker.io [2022-05-11T21:27:07.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:27:07.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:27:07.957Z] Configure a credential helper to remove this warning. See [2022-05-11T21:27:07.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:27:07.957Z] [2022-05-11T21:27:07.957Z] Login Succeeded [2022-05-11T21:27:07.957Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T21:27:07.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-11T21:27:08.191Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T21:27:08.220Z] ========================================================= [2022-05-11T21:27:08.220Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-11T21:27:08.220Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-11T21:27:08.629Z] + 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 . [2022-05-11T21:27:08.629Z] Sending build context to Docker daemon 15.66MB [2022-05-11T21:27:08.629Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T21:27:08.629Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-11T21:27:08.629Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-11T21:27:08.629Z] 59bf1c3509f3: Pulling fs layer [2022-05-11T21:27:08.629Z] 666ba61612fd: Pulling fs layer [2022-05-11T21:27:08.629Z] 8ed8ca486205: Pulling fs layer [2022-05-11T21:27:08.629Z] 4fe6c5a15a65: Pulling fs layer [2022-05-11T21:27:08.629Z] 22a0e8bec74d: Pulling fs layer [2022-05-11T21:27:08.629Z] ca2b28591e48: Pulling fs layer [2022-05-11T21:27:08.629Z] a51346096db8: Pulling fs layer [2022-05-11T21:27:08.629Z] daebc70d1ce1: Pulling fs layer [2022-05-11T21:27:08.629Z] 4fe6c5a15a65: Waiting [2022-05-11T21:27:08.629Z] 22a0e8bec74d: Waiting [2022-05-11T21:27:08.629Z] ca2b28591e48: Waiting [2022-05-11T21:27:08.629Z] a51346096db8: Waiting [2022-05-11T21:27:08.629Z] 0e18a0eac166: Pulling fs layer [2022-05-11T21:27:08.629Z] 0e18a0eac166: Waiting [2022-05-11T21:27:08.629Z] daebc70d1ce1: Waiting [2022-05-11T21:27:08.892Z] 8ed8ca486205: Verifying Checksum [2022-05-11T21:27:08.892Z] 8ed8ca486205: Download complete [2022-05-11T21:27:08.892Z] 666ba61612fd: Verifying Checksum [2022-05-11T21:27:08.892Z] 666ba61612fd: Download complete [2022-05-11T21:27:08.892Z] 22a0e8bec74d: Verifying Checksum [2022-05-11T21:27:08.892Z] 22a0e8bec74d: Download complete [2022-05-11T21:27:08.892Z] ca2b28591e48: Download complete [2022-05-11T21:27:08.892Z] 59bf1c3509f3: Download complete [2022-05-11T21:27:08.892Z] a51346096db8: Verifying Checksum [2022-05-11T21:27:08.892Z] a51346096db8: Download complete [2022-05-11T21:27:08.892Z] daebc70d1ce1: Verifying Checksum [2022-05-11T21:27:08.892Z] daebc70d1ce1: Download complete [2022-05-11T21:27:08.892Z] 59bf1c3509f3: Pull complete [2022-05-11T21:27:09.155Z] 666ba61612fd: Pull complete [2022-05-11T21:27:09.155Z] 8ed8ca486205: Pull complete [2022-05-11T21:27:09.418Z] 0e18a0eac166: Verifying Checksum [2022-05-11T21:27:09.418Z] 0e18a0eac166: Download complete [2022-05-11T21:27:09.679Z] 4fe6c5a15a65: Verifying Checksum [2022-05-11T21:27:09.679Z] 4fe6c5a15a65: Download complete [2022-05-11T21:27:13.881Z] 4fe6c5a15a65: Pull complete [2022-05-11T21:27:13.881Z] 22a0e8bec74d: Pull complete [2022-05-11T21:27:13.881Z] ca2b28591e48: Pull complete [2022-05-11T21:27:13.881Z] a51346096db8: Pull complete [2022-05-11T21:27:14.142Z] daebc70d1ce1: Pull complete [2022-05-11T21:27:16.687Z] 0e18a0eac166: Pull complete [2022-05-11T21:27:16.687Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-11T21:27:16.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-11T21:27:16.687Z] ---> f018257e8ee9 [2022-05-11T21:27:16.687Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T21:27:18.076Z] ---> Running in 26756b6ccdfb [2022-05-11T21:27:18.076Z] Removing intermediate container 26756b6ccdfb [2022-05-11T21:27:18.076Z] ---> f8aa12ead647 [2022-05-11T21:27:18.076Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T21:27:18.076Z] ---> Running in 03272c1e9ed3 [2022-05-11T21:27:18.076Z] Removing intermediate container 03272c1e9ed3 [2022-05-11T21:27:18.076Z] ---> d74afffd2b54 [2022-05-11T21:27:18.076Z] Step 5/11 : WORKDIR /device-gpio [2022-05-11T21:27:18.076Z] ---> Running in 2298004c5486 [2022-05-11T21:27:18.336Z] Removing intermediate container 2298004c5486 [2022-05-11T21:27:18.336Z] ---> cd4d6feb9705 [2022-05-11T21:27:18.336Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T21:27:18.336Z] ---> Running in b7d1353e16fc [2022-05-11T21:27:18.906Z] Removing intermediate container b7d1353e16fc [2022-05-11T21:27:18.906Z] ---> b739f75ba525 [2022-05-11T21:27:18.906Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T21:27:18.906Z] ---> Running in 1dd6baba6f84 [2022-05-11T21:27:19.172Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-11T21:27:20.118Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-11T21:27:20.695Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-11T21:27:20.957Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-11T21:27:20.957Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-11T21:27:21.530Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-11T21:27:21.530Z] Executing busybox-1.34.1-r3.trigger [2022-05-11T21:27:21.530Z] OK: 224 MiB in 56 packages [2022-05-11T21:27:21.641Z] Still waiting to schedule task [2022-05-11T21:27:21.641Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-63195’ [2022-05-11T21:27:22.105Z] Removing intermediate container 1dd6baba6f84 [2022-05-11T21:27:22.105Z] ---> cae8fb85bab6 [2022-05-11T21:27:22.105Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-11T21:27:22.105Z] ---> 58b186c35596 [2022-05-11T21:27:22.105Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T21:27:22.105Z] ---> Running in 4be272b1668d [2022-05-11T21:27:48.681Z] Removing intermediate container 4be272b1668d [2022-05-11T21:27:48.681Z] ---> d46b1e87c7e2 [2022-05-11T21:27:48.681Z] Step 10/11 : COPY . . [2022-05-11T21:27:48.681Z] ---> 6628dff58ef9 [2022-05-11T21:27:48.681Z] Step 11/11 : RUN ${MAKE} [2022-05-11T21:27:48.681Z] ---> Running in 59dccff2c2ba [2022-05-11T21:27:48.681Z] Removing intermediate container 59dccff2c2ba [2022-05-11T21:27:48.681Z] ---> 94018d00333e [2022-05-11T21:27:48.681Z] [Warning] One or more build-args [MAKE] were not consumed [2022-05-11T21:27:48.681Z] Successfully built 94018d00333e [2022-05-11T21:27:48.681Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T21:27:49.011Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-11T21:27:49.011Z] . [Pipeline] withDockerContainer [2022-05-11T21:27:49.108Z] prd-ubuntu20.04-docker-8c-8g-63199 does not seem to be running inside a container [2022-05-11T21:27:49.197Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-34 -v /w/workspace/edgexfoundry_device-gpio_PR-34:/w/workspace/edgexfoundry_device-gpio_PR-34:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-34@tmp:/w/workspace/edgexfoundry_device-gpio_PR-34@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 ******** ci-base-image-x86_64 cat [2022-05-11T21:27:49.616Z] $ docker top ba4224ae530f1aef636e17f97ff7cdfe4cff07dde15fe47226c7afe3b820286a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T21:27:50.066Z] + go version [2022-05-11T21:27:50.066Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-11T21:27:50.103Z] $ docker stop --time=1 ba4224ae530f1aef636e17f97ff7cdfe4cff07dde15fe47226c7afe3b820286a [2022-05-11T21:27:51.433Z] $ docker rm -f ba4224ae530f1aef636e17f97ff7cdfe4cff07dde15fe47226c7afe3b820286a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T21:27:52.057Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-11T21:27:52.057Z] . [Pipeline] withDockerContainer [2022-05-11T21:27:52.157Z] prd-ubuntu20.04-docker-8c-8g-63199 does not seem to be running inside a container [2022-05-11T21:27:52.200Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-34 -v /w/workspace/edgexfoundry_device-gpio_PR-34:/w/workspace/edgexfoundry_device-gpio_PR-34:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-34@tmp:/w/workspace/edgexfoundry_device-gpio_PR-34@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 ******** ci-base-image-x86_64 cat [2022-05-11T21:27:52.608Z] $ docker top 81d863e579c6a85d09071dac2a38e8d18bdb97e96afda97e1b17128e28c15dff -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-11T21:27:53.062Z] + make test [2022-05-11T21:27:53.062Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-11T21:27:53.320Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-05-11T21:27:59.897Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http [2022-05-11T21:27:59.897Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.1.0/internal/controller/http/common.go:27:39: not enough arguments in call to "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".NewPingResponse [2022-05-11T21:27:59.897Z] have () [2022-05-11T21:27:59.897Z] want (string) [2022-05-11T21:27:59.897Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.1.0/internal/controller/http/common.go:34:45: not enough arguments in call to "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".NewVersionSdkResponse [2022-05-11T21:27:59.897Z] have (string, string) [2022-05-11T21:27:59.897Z] want (string, string, string) [2022-05-11T21:27:59.897Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.1.0/internal/controller/http/common.go:41:41: not enough arguments in call to "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".NewConfigResponse [2022-05-11T21:27:59.897Z] have (*"github.com/edgexfoundry/device-sdk-go/v2/internal/config".ConfigurationStruct) [2022-05-11T21:27:59.897Z] want (interface {}, string) [2022-05-11T21:27:59.897Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.1.0/internal/controller/http/common.go:59:42: not enough arguments in call to "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".NewMetricsResponse [2022-05-11T21:27:59.897Z] have ("github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".Metrics) [2022-05-11T21:27:59.897Z] want ("github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".Metrics, string) [2022-05-11T21:27:59.897Z] make: *** [Makefile:36: unittest] Error 2 [Pipeline] } [2022-05-11T21:27:59.950Z] $ docker stop --time=1 81d863e579c6a85d09071dac2a38e8d18bdb97e96afda97e1b17128e28c15dff [2022-05-11T21:28:01.514Z] $ docker rm -f 81d863e579c6a85d09071dac2a38e8d18bdb97e96afda97e1b17128e28c15dff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T21:28:02.612Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T21:28:02.613Z] [2022-05-11T21:28:02.613Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T21:28:02.956Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T21:28:02.956Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-11T21:28:02.956Z] 5eb5b503b376: Pulling fs layer [2022-05-11T21:28:02.956Z] 5c69ac0246d0: Pulling fs layer [2022-05-11T21:28:02.956Z] ec43610c2a17: Pulling fs layer [2022-05-11T21:28:02.956Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-11T21:28:02.956Z] 33b1e0a273af: Pulling fs layer [2022-05-11T21:28:02.956Z] 5d3b04190fa2: Pulling fs layer [2022-05-11T21:28:02.956Z] 2f39f015ded8: Pulling fs layer [2022-05-11T21:28:02.956Z] 3a2ae6a8a46f: Waiting [2022-05-11T21:28:02.956Z] 33b1e0a273af: Waiting [2022-05-11T21:28:02.956Z] 5d3b04190fa2: Waiting [2022-05-11T21:28:02.956Z] 2f39f015ded8: Waiting [2022-05-11T21:28:02.956Z] 5c69ac0246d0: Download complete [2022-05-11T21:28:02.956Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-11T21:28:02.956Z] 3a2ae6a8a46f: Download complete [2022-05-11T21:28:03.216Z] ec43610c2a17: Verifying Checksum [2022-05-11T21:28:03.216Z] ec43610c2a17: Download complete [2022-05-11T21:28:03.216Z] 33b1e0a273af: Verifying Checksum [2022-05-11T21:28:03.216Z] 33b1e0a273af: Download complete [2022-05-11T21:28:03.216Z] 5d3b04190fa2: Verifying Checksum [2022-05-11T21:28:03.216Z] 5eb5b503b376: Verifying Checksum [2022-05-11T21:28:03.216Z] 5eb5b503b376: Download complete [2022-05-11T21:28:03.786Z] 2f39f015ded8: Download complete [2022-05-11T21:28:04.727Z] 5eb5b503b376: Pull complete [2022-05-11T21:28:04.727Z] 5c69ac0246d0: Pull complete [2022-05-11T21:28:05.295Z] ec43610c2a17: Pull complete [2022-05-11T21:28:05.556Z] 3a2ae6a8a46f: Pull complete [2022-05-11T21:28:05.815Z] 33b1e0a273af: Pull complete [2022-05-11T21:28:05.815Z] 5d3b04190fa2: Pull complete [2022-05-11T21:28:11.089Z] 2f39f015ded8: Pull complete [2022-05-11T21:28:11.089Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-11T21:28:11.089Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T21:28:11.089Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-11T21:28:11.184Z] prd-ubuntu20.04-docker-8c-8g-63199 does not seem to be running inside a container [2022-05-11T21:28:11.229Z] $ 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/edgexfoundry_device-gpio_PR-34 -v /w/workspace/edgexfoundry_device-gpio_PR-34:/w/workspace/edgexfoundry_device-gpio_PR-34:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-34@tmp:/w/workspace/edgexfoundry_device-gpio_PR-34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-11T21:28:12.809Z] $ docker top 940e4cfe32c97f47e3f59a3ee3481ab4a1844d7bd91cbb8b1a5e05e9737fc41d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T21:28:13.265Z] ---> job-cost.sh [2022-05-11T21:28:13.265Z] lf-activate-venv: SKIPPING [2022-05-11T21:28:13.265Z] INFO: No Stack... [2022-05-11T21:28:13.837Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-11T21:28:14.098Z] INFO: Archiving Costs [Pipeline] sh [2022-05-11T21:28:14.421Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-34/archives/cost.csv [2022-05-11T21:28:14.421Z] + cut -d, -f6 [Pipeline] lock [2022-05-11T21:28:14.457Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-34-1-stack-cost] [2022-05-11T21:28:14.461Z] Resource [jenkins-edgexfoundry-device-gpio-PR-34-1-stack-cost] did not exist. Created. [2022-05-11T21:28:14.461Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-34-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-11T21:28:14.856Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-11T21:28:14.918Z] Stashed 1 file(s) [Pipeline] } [2022-05-11T21:28:14.932Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-34-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-11T21:28:15.014Z] $ docker stop --time=1 940e4cfe32c97f47e3f59a3ee3481ab4a1844d7bd91cbb8b1a5e05e9737fc41d [2022-05-11T21:28:16.226Z] $ docker rm -f 940e4cfe32c97f47e3f59a3ee3481ab4a1844d7bd91cbb8b1a5e05e9737fc41d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-11T21:28:16.605Z] Failed in branch amd64 [2022-05-11T21:30:25.288Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-63206 in /w/workspace/edgexfoundry_device-gpio_PR-34 [Pipeline] { [Pipeline] ws [2022-05-11T21:30:25.329Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2022-05-11T21:30:25.769Z] The recommended git tool is: git [2022-05-11T21:30:33.996Z] using credential edgex-jenkins-ssh [2022-05-11T21:30:34.014Z] Cloning the remote Git repository [2022-05-11T21:30:34.083Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-05-11T21:30:34.175Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2022-05-11T21:30:34.388Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-05-11T21:30:34.389Z] > git --version # timeout=10 [2022-05-11T21:30:34.453Z] > git --version # 'git version 2.25.1' [2022-05-11T21:30:34.455Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-11T21:30:34.608Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-11T21:30:36.269Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-05-11T21:30:36.300Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-11T21:30:36.338Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-05-11T21:30:36.380Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-05-11T21:30:36.381Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-11T21:30:36.398Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/34/head:refs/remotes/origin/PR-34 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-11T21:30:37.135Z] Merging remotes/origin/main commit 836c30204e0fb2e2a70ac35e45feaed0f2fb0741 into PR head commit facaa9d06eedfa6bdf6961645e51d472bbdd5fcf [2022-05-11T21:30:37.392Z] Merge succeeded, producing facaa9d06eedfa6bdf6961645e51d472bbdd5fcf [2022-05-11T21:30:37.392Z] Checking out Revision facaa9d06eedfa6bdf6961645e51d472bbdd5fcf (PR-34) [2022-05-11T21:30:37.160Z] > git config core.sparsecheckout # timeout=10 [2022-05-11T21:30:37.182Z] > git checkout -f facaa9d06eedfa6bdf6961645e51d472bbdd5fcf # timeout=10 [2022-05-11T21:30:37.289Z] > git remote # timeout=10 [2022-05-11T21:30:37.310Z] > git config --get remote.origin.url # timeout=10 [2022-05-11T21:30:37.326Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-11T21:30:37.348Z] > git merge 836c30204e0fb2e2a70ac35e45feaed0f2fb0741 # timeout=10 [2022-05-11T21:30:37.379Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-11T21:30:37.405Z] > git config core.sparsecheckout # timeout=10 [2022-05-11T21:30:37.419Z] > git checkout -f facaa9d06eedfa6bdf6961645e51d472bbdd5fcf # timeout=10 [2022-05-11T21:30:41.805Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-05-11T21:30:41.880Z] > git --version # timeout=10 [2022-05-11T21:30:41.894Z] > git --version # 'git version 2.25.1' [2022-05-11T21:30:41.916Z] fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T21:30:43.093Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-11T21:30:43.094Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-11T21:30:43.094Z] Dload Upload Total Spent Left Speed [2022-05-11T21:30:43.094Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 177k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh [2022-05-11T21:30:43.648Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-11T21:30:44.022Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-11T21:30:44.022Z] + sudo tee /etc/docker/daemon.new [2022-05-11T21:30:44.022Z] { [2022-05-11T21:30:44.022Z] "registry-mirrors": [ [2022-05-11T21:30:44.022Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-11T21:30:44.022Z] ], [2022-05-11T21:30:44.022Z] "bip": "10.250.0.254/24", [2022-05-11T21:30:44.022Z] "hosts": [ [2022-05-11T21:30:44.022Z] "tcp://0.0.0.0:5555", [2022-05-11T21:30:44.022Z] "unix:///var/run/docker.sock" [2022-05-11T21:30:44.022Z] ], [2022-05-11T21:30:44.022Z] "mtu": 1458, [2022-05-11T21:30:44.022Z] "selinux-enabled": true, [2022-05-11T21:30:44.022Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-11T21:30:44.022Z] } [Pipeline] sh [2022-05-11T21:30:44.409Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-11T21:30:44.808Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T21:31:03.236Z] provisioning config files... [2022-05-11T21:31:03.266Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config4803920366005887454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T21:31:03.906Z] ---> docker-login.sh [2022-05-11T21:31:03.906Z] nexus3.edgexfoundry.org:10001 [2022-05-11T21:31:04.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:31:04.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:31:04.783Z] Configure a credential helper to remove this warning. See [2022-05-11T21:31:04.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:31:04.783Z] [2022-05-11T21:31:04.783Z] Login Succeeded [2022-05-11T21:31:04.783Z] nexus3.edgexfoundry.org:10002 [2022-05-11T21:31:05.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:31:05.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:31:05.382Z] Configure a credential helper to remove this warning. See [2022-05-11T21:31:05.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:31:05.382Z] [2022-05-11T21:31:05.382Z] Login Succeeded [2022-05-11T21:31:05.382Z] nexus3.edgexfoundry.org:10003 [2022-05-11T21:31:05.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:31:05.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:31:05.940Z] Configure a credential helper to remove this warning. See [2022-05-11T21:31:05.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:31:05.940Z] [2022-05-11T21:31:05.940Z] Login Succeeded [2022-05-11T21:31:05.940Z] nexus3.edgexfoundry.org:10004 [2022-05-11T21:31:06.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:31:06.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:31:06.491Z] Configure a credential helper to remove this warning. See [2022-05-11T21:31:06.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:31:06.491Z] [2022-05-11T21:31:06.491Z] Login Succeeded [2022-05-11T21:31:06.491Z] docker.io [2022-05-11T21:31:06.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:31:07.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:31:07.372Z] Configure a credential helper to remove this warning. See [2022-05-11T21:31:07.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:31:07.372Z] [2022-05-11T21:31:07.372Z] Login Succeeded [2022-05-11T21:31:07.372Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T21:31:07.402Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-11T21:31:07.872Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T21:31:07.909Z] ========================================================= [2022-05-11T21:31:07.909Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-11T21:31:07.909Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-11T21:31:08.377Z] + 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 . [2022-05-11T21:31:08.988Z] Sending build context to Docker daemon 7.904MB [2022-05-11T21:31:08.988Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T21:31:08.988Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-11T21:31:08.988Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-11T21:31:08.988Z] 9b3977197b4f: Pulling fs layer [2022-05-11T21:31:08.988Z] 1a89e8eeedd5: Pulling fs layer [2022-05-11T21:31:08.988Z] 94645a83ff95: Pulling fs layer [2022-05-11T21:31:08.988Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-11T21:31:08.988Z] 0c92f367c5e7: Pulling fs layer [2022-05-11T21:31:08.988Z] 3096ccb668a1: Pulling fs layer [2022-05-11T21:31:08.988Z] e8cf19c19ddd: Pulling fs layer [2022-05-11T21:31:08.988Z] a4caa8a26152: Pulling fs layer [2022-05-11T21:31:08.988Z] 3f3a8bcf1eab: Waiting [2022-05-11T21:31:08.988Z] 0c92f367c5e7: Waiting [2022-05-11T21:31:08.988Z] 3096ccb668a1: Waiting [2022-05-11T21:31:08.988Z] e8cf19c19ddd: Waiting [2022-05-11T21:31:08.988Z] a4caa8a26152: Waiting [2022-05-11T21:31:08.988Z] 94645a83ff95: Verifying Checksum [2022-05-11T21:31:08.988Z] 94645a83ff95: Download complete [2022-05-11T21:31:09.270Z] 1a89e8eeedd5: Verifying Checksum [2022-05-11T21:31:09.270Z] 1a89e8eeedd5: Download complete [2022-05-11T21:31:09.270Z] 0c92f367c5e7: Verifying Checksum [2022-05-11T21:31:09.270Z] 0c92f367c5e7: Download complete [2022-05-11T21:31:09.270Z] 3096ccb668a1: Verifying Checksum [2022-05-11T21:31:09.270Z] 3096ccb668a1: Download complete [2022-05-11T21:31:09.270Z] 9b3977197b4f: Verifying Checksum [2022-05-11T21:31:09.270Z] e8cf19c19ddd: Verifying Checksum [2022-05-11T21:31:09.270Z] e8cf19c19ddd: Download complete [2022-05-11T21:31:09.881Z] 9b3977197b4f: Pull complete [2022-05-11T21:31:10.888Z] 1a89e8eeedd5: Pull complete [2022-05-11T21:31:11.165Z] 94645a83ff95: Pull complete [2022-05-11T21:31:11.444Z] a4caa8a26152: Verifying Checksum [2022-05-11T21:31:11.444Z] a4caa8a26152: Download complete [2022-05-11T21:31:12.045Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-11T21:31:12.045Z] 3f3a8bcf1eab: Download complete [2022-05-11T21:31:24.477Z] 3f3a8bcf1eab: Pull complete [2022-05-11T21:31:24.477Z] 0c92f367c5e7: Pull complete [2022-05-11T21:31:24.477Z] 3096ccb668a1: Pull complete [2022-05-11T21:31:24.477Z] e8cf19c19ddd: Pull complete [2022-05-11T21:31:31.232Z] a4caa8a26152: Pull complete [2022-05-11T21:31:31.232Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-11T21:31:31.232Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-11T21:31:31.232Z] ---> 725f1c02e7f9 [2022-05-11T21:31:31.232Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T21:31:32.229Z] ---> Running in b1fa99e8361d [2022-05-11T21:31:32.506Z] Removing intermediate container b1fa99e8361d [2022-05-11T21:31:32.506Z] ---> a781f1c36491 [2022-05-11T21:31:32.506Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T21:31:32.506Z] ---> Running in 17be356e53ab [2022-05-11T21:31:33.109Z] Removing intermediate container 17be356e53ab [2022-05-11T21:31:33.109Z] ---> 381179e23f40 [2022-05-11T21:31:33.109Z] Step 5/11 : WORKDIR /device-gpio [2022-05-11T21:31:33.109Z] ---> Running in 30f86d02167e [2022-05-11T21:31:33.386Z] Removing intermediate container 30f86d02167e [2022-05-11T21:31:33.386Z] ---> a26a90314343 [2022-05-11T21:31:33.386Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T21:31:33.386Z] ---> Running in 20fe47671625 [2022-05-11T21:31:36.806Z] Removing intermediate container 20fe47671625 [2022-05-11T21:31:36.806Z] ---> fb86436e59ba [2022-05-11T21:31:36.806Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T21:31:37.087Z] ---> Running in ffe283e8ae92 [2022-05-11T21:31:38.072Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-11T21:31:39.058Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-11T21:31:40.047Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-11T21:31:40.047Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-11T21:31:40.047Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-11T21:31:40.327Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-11T21:31:40.327Z] Executing busybox-1.34.1-r3.trigger [2022-05-11T21:31:40.601Z] OK: 224 MiB in 56 packages [2022-05-11T21:31:41.588Z] Removing intermediate container ffe283e8ae92 [2022-05-11T21:31:41.588Z] ---> a87c2086b618 [2022-05-11T21:31:41.588Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-11T21:31:42.190Z] ---> 767892dd9bdc [2022-05-11T21:31:42.190Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T21:31:42.190Z] ---> Running in 5918e57d5949 [2022-05-11T21:33:19.090Z] Removing intermediate container 5918e57d5949 [2022-05-11T21:33:19.090Z] ---> 7d7ef005cf4f [2022-05-11T21:33:19.090Z] Step 10/11 : COPY . . [2022-05-11T21:33:19.090Z] ---> 3d7bd542dc91 [2022-05-11T21:33:19.090Z] Step 11/11 : RUN ${MAKE} [2022-05-11T21:33:19.090Z] ---> Running in 84a2102c6967 [2022-05-11T21:33:19.090Z] Removing intermediate container 84a2102c6967 [2022-05-11T21:33:19.090Z] ---> d82a71df5292 [2022-05-11T21:33:19.090Z] [Warning] One or more build-args [MAKE] were not consumed [2022-05-11T21:33:19.090Z] Successfully built d82a71df5292 [2022-05-11T21:33:19.090Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T21:33:19.466Z] + docker inspect -f . ci-base-image-arm64 [2022-05-11T21:33:19.466Z] . [Pipeline] withDockerContainer [2022-05-11T21:33:19.739Z] prd-ubuntu20.04-docker-arm64-4c-16g-63206 does not seem to be running inside a container [2022-05-11T21:33:19.834Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/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 ******** ci-base-image-arm64 cat [2022-05-11T21:33:21.272Z] $ docker top 20297546ae3b57b2ce538a6497052cec0a722950d80b18cb0da688e951ec49bf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T21:33:22.262Z] + go version [2022-05-11T21:33:22.263Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-11T21:33:22.303Z] $ docker stop --time=1 20297546ae3b57b2ce538a6497052cec0a722950d80b18cb0da688e951ec49bf [2022-05-11T21:33:24.036Z] $ docker rm -f 20297546ae3b57b2ce538a6497052cec0a722950d80b18cb0da688e951ec49bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T21:33:24.925Z] + docker inspect -f . ci-base-image-arm64 [2022-05-11T21:33:24.925Z] . [Pipeline] withDockerContainer [2022-05-11T21:33:25.206Z] prd-ubuntu20.04-docker-arm64-4c-16g-63206 does not seem to be running inside a container [2022-05-11T21:33:25.299Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/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 ******** ci-base-image-arm64 cat [2022-05-11T21:33:26.709Z] $ docker top 073c18fcf4811055e57be83d02fe1a460344f7400184c0812c176ccfcc405259 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-11T21:33:27.824Z] + make test [2022-05-11T21:33:27.824Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-11T21:33:29.294Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-05-11T21:34:26.071Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http [2022-05-11T21:34:26.071Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.1.0/internal/controller/http/common.go:27:39: not enough arguments in call to "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".NewPingResponse [2022-05-11T21:34:26.071Z] have () [2022-05-11T21:34:26.071Z] want (string) [2022-05-11T21:34:26.071Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.1.0/internal/controller/http/common.go:34:45: not enough arguments in call to "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".NewVersionSdkResponse [2022-05-11T21:34:26.071Z] have (string, string) [2022-05-11T21:34:26.071Z] want (string, string, string) [2022-05-11T21:34:26.071Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.1.0/internal/controller/http/common.go:41:41: not enough arguments in call to "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".NewConfigResponse [2022-05-11T21:34:26.071Z] have (*"github.com/edgexfoundry/device-sdk-go/v2/internal/config".ConfigurationStruct) [2022-05-11T21:34:26.071Z] want (interface {}, string) [2022-05-11T21:34:26.071Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.1.0/internal/controller/http/common.go:59:42: not enough arguments in call to "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".NewMetricsResponse [2022-05-11T21:34:26.071Z] have ("github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".Metrics) [2022-05-11T21:34:26.071Z] want ("github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".Metrics, string) [2022-05-11T21:34:28.111Z] make: *** [Makefile:36: unittest] Error 2 [Pipeline] } [2022-05-11T21:34:28.164Z] $ docker stop --time=1 073c18fcf4811055e57be83d02fe1a460344f7400184c0812c176ccfcc405259 [2022-05-11T21:34:30.210Z] $ docker rm -f 073c18fcf4811055e57be83d02fe1a460344f7400184c0812c176ccfcc405259 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T21:34:31.654Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T21:34:31.937Z] [2022-05-11T21:34:31.937Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-11T21:34:32.340Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T21:34:32.621Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-11T21:34:32.621Z] 8998bd30e6a1: Pulling fs layer [2022-05-11T21:34:32.621Z] 04944245beec: Pulling fs layer [2022-05-11T21:34:32.621Z] 699f458cf7ca: Pulling fs layer [2022-05-11T21:34:32.622Z] 765212b225bb: Pulling fs layer [2022-05-11T21:34:32.622Z] f23df028b6ca: Pulling fs layer [2022-05-11T21:34:32.622Z] d65c8cfc05b1: Pulling fs layer [2022-05-11T21:34:32.622Z] 2437ff75d9bd: Pulling fs layer [2022-05-11T21:34:32.622Z] 765212b225bb: Waiting [2022-05-11T21:34:32.622Z] f23df028b6ca: Waiting [2022-05-11T21:34:32.622Z] d65c8cfc05b1: Waiting [2022-05-11T21:34:32.622Z] 2437ff75d9bd: Waiting [2022-05-11T21:34:32.622Z] 04944245beec: Verifying Checksum [2022-05-11T21:34:32.622Z] 04944245beec: Download complete [2022-05-11T21:34:32.622Z] 765212b225bb: Download complete [2022-05-11T21:34:32.901Z] f23df028b6ca: Verifying Checksum [2022-05-11T21:34:32.901Z] f23df028b6ca: Download complete [2022-05-11T21:34:32.901Z] d65c8cfc05b1: Verifying Checksum [2022-05-11T21:34:32.901Z] d65c8cfc05b1: Download complete [2022-05-11T21:34:32.901Z] 699f458cf7ca: Verifying Checksum [2022-05-11T21:34:32.901Z] 699f458cf7ca: Download complete [2022-05-11T21:34:33.511Z] 8998bd30e6a1: Verifying Checksum [2022-05-11T21:34:33.511Z] 8998bd30e6a1: Download complete [2022-05-11T21:34:36.178Z] 2437ff75d9bd: Download complete [2022-05-11T21:34:38.829Z] 8998bd30e6a1: Pull complete [2022-05-11T21:34:39.104Z] 04944245beec: Pull complete [2022-05-11T21:34:40.561Z] 699f458cf7ca: Pull complete [2022-05-11T21:34:41.164Z] 765212b225bb: Pull complete [2022-05-11T21:34:42.156Z] f23df028b6ca: Pull complete [2022-05-11T21:34:42.156Z] d65c8cfc05b1: Pull complete [2022-05-11T21:35:00.543Z] 2437ff75d9bd: Pull complete [2022-05-11T21:35:00.543Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-11T21:35:00.543Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T21:35:00.543Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-11T21:35:00.878Z] prd-ubuntu20.04-docker-arm64-4c-16g-63206 does not seem to be running inside a container [2022-05-11T21:35:00.997Z] $ 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/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-11T21:35:04.397Z] $ docker top 2b94a99028d9b916b0d64be6d4816f891020473665466f813310b44d6819ac2c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T21:35:05.519Z] ---> job-cost.sh [2022-05-11T21:35:05.799Z] lf-activate-venv: SKIPPING [2022-05-11T21:35:05.799Z] INFO: No Stack... [2022-05-11T21:35:06.077Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-11T21:35:07.069Z] INFO: Archiving Costs [Pipeline] sh [2022-05-11T21:35:07.775Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2022-05-11T21:35:07.775Z] + cut -d, -f6 [Pipeline] lock [2022-05-11T21:35:07.899Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-34-1-stack-cost] [2022-05-11T21:35:07.904Z] Resource [jenkins-edgexfoundry-device-gpio-PR-34-1-stack-cost] did not exist. Created. [2022-05-11T21:35:07.904Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-34-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-11T21:35:08.676Z] /w/workspace/device-gpio/1@tmp/durable-7ebadfea/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-11T21:35:09.418Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-11T21:35:09.457Z] Warning: overwriting stash ‘stack-cost’ [2022-05-11T21:35:10.165Z] Stashed 1 file(s) [Pipeline] } [2022-05-11T21:35:10.178Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-34-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-11T21:35:10.249Z] $ docker stop --time=1 2b94a99028d9b916b0d64be6d4816f891020473665466f813310b44d6819ac2c [2022-05-11T21:35:11.851Z] $ docker rm -f 2b94a99028d9b916b0d64be6d4816f891020473665466f813310b44d6819ac2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-11T21:35:12.599Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-05-11T21:35:14.474Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-34/archives ] [2022-05-11T21:35:14.474Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-34/archives [2022-05-11T21:35:14.474Z] total 16 [2022-05-11T21:35:14.474Z] drwxr-xr-x 3 root root 4096 May 11 21:28 . [2022-05-11T21:35:14.474Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 21:28 .. [2022-05-11T21:35:14.474Z] drwxr-xr-x 2 root root 4096 May 11 21:28 cost [2022-05-11T21:35:14.474Z] -rw-r--r-- 1 root root 81 May 11 21:28 cost.csv [2022-05-11T21:35:14.474Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-34/archives [2022-05-11T21:35:14.474Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-34/archives [2022-05-11T21:35:14.474Z] total 16 [2022-05-11T21:35:14.474Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 21:28 . [2022-05-11T21:35:14.474Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 21:28 .. [2022-05-11T21:35:14.474Z] drwxr-xr-x 2 jenkins jenkins 4096 May 11 21:28 cost [2022-05-11T21:35:14.474Z] -rw-r--r-- 1 jenkins jenkins 81 May 11 21:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-11T21:35:14.842Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T21:35:15.738Z] ---> package-listing.sh [2022-05-11T21:35:15.738Z] ++ facter osfamily [2022-05-11T21:35:15.738Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-11T21:35:15.998Z] + OS_FAMILY=debian [2022-05-11T21:35:15.998Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-34 [2022-05-11T21:35:15.998Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-11T21:35:15.998Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-11T21:35:15.998Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-11T21:35:15.998Z] + PACKAGES=/tmp/packages_start.txt [2022-05-11T21:35:15.998Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-34 ']' [2022-05-11T21:35:15.998Z] + PACKAGES=/tmp/packages_end.txt [2022-05-11T21:35:15.998Z] + case "${OS_FAMILY}" in [2022-05-11T21:35:15.998Z] + dpkg -l [2022-05-11T21:35:15.998Z] + grep '^ii' [2022-05-11T21:35:15.998Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-11T21:35:15.998Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-11T21:35:15.998Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-11T21:35:15.998Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-34 ']' [2022-05-11T21:35:15.998Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-34/archives/ [2022-05-11T21:35:15.998Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-34/archives/ [Pipeline] echo [2022-05-11T21:35:16.031Z] 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/edgexfoundry_device-gpio_PR-34/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-11T21:35:16.324Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-11T21:35:16.907Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T21:35:16.907Z] . [Pipeline] withDockerContainer [2022-05-11T21:35:16.998Z] prd-ubuntu20.04-docker-8c-8g-63199 does not seem to be running inside a container [2022-05-11T21:35:17.046Z] $ 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/edgexfoundry_device-gpio_PR-34/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-34 -v /w/workspace/edgexfoundry_device-gpio_PR-34:/w/workspace/edgexfoundry_device-gpio_PR-34:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-34@tmp:/w/workspace/edgexfoundry_device-gpio_PR-34@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-11T21:35:17.302Z] $ docker top 83b534586095accde2f44b4709204c9432f5b33dc7cabd5906362acf64d62d84 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T21:35:17.804Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-11T21:35:18.114Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-11T21:35:18.423Z] + ls /var/log/sa-host [2022-05-11T21:35:18.423Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T21:35:18.578Z] provisioning config files... [2022-05-11T21:35:18.587Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-34@tmp/config7815220252885934521tmp [Pipeline] { [Pipeline] echo [2022-05-11T21:35:18.638Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T21:35:18.963Z] ---> create-netrc.sh [Pipeline] } [2022-05-11T21:35:18.986Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-11T21:35:19.381Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-11T21:35:19.419Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T21:35:19.735Z] ---> sudo-logs.sh [2022-05-11T21:35:19.736Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-11T21:35:19.821Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T21:35:20.140Z] ---> job-cost.sh [2022-05-11T21:35:20.140Z] lf-activate-venv: SKIPPING [2022-05-11T21:35:20.140Z] DEBUG: total: 0.2199999988079071 [2022-05-11T21:35:20.140Z] INFO: Retrieving Stack Cost... [2022-05-11T21:35:20.711Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-11T21:35:20.972Z] INFO: Archiving Costs [Pipeline] echo [2022-05-11T21:35:21.011Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T21:35:21.331Z] ---> logs-deploy.sh [2022-05-11T21:35:21.331Z] lf-activate-venv: SKIPPING [2022-05-11T21:35:21.331Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-34/1 [2022-05-11T21:35:21.331Z] INFO: archiving workspace using pattern(s): [2022-05-11T21:35:22.274Z] Archives upload complete. [2022-05-11T21:35:22.274Z] INFO: archiving logs to Nexus