Pull request #62 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 MonicaisHer for edgexfoundry/device-gpio Obtained Jenkinsfile from 88cf924b988971970494309713504e7cefba2046+f866d0e3c83b2da4ac448cff2cc7b6a39f977461 (08a08953482369b871a581d882b0f83ef7fd6772) 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-ssh431941460322697093.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh4393352298860231185.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-62/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-62/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9573613996686213462.key Verifying host key using known hosts file > 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-62/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4235354011345653779.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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 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-ssh8021684246256026100.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-62/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-62/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3147389274199322775.key Verifying host key using known hosts file > 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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project: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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8038 in /w/workspace/edgexfoundry_device-gpio_PR-62 [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-62 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/62/head:refs/remotes/origin/PR-62 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f866d0e3c83b2da4ac448cff2cc7b6a39f977461 into PR head commit 88cf924b988971970494309713504e7cefba2046 Merge succeeded, producing 88cf924b988971970494309713504e7cefba2046 Checking out Revision 88cf924b988971970494309713504e7cefba2046 (PR-62) > git config core.sparsecheckout # timeout=10 > git checkout -f 88cf924b988971970494309713504e7cefba2046 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge f866d0e3c83b2da4ac448cff2cc7b6a39f977461 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 88cf924b988971970494309713504e7cefba2046 # timeout=10 Commit message: "feat(snap): add config interface with unique identifier" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-17T07:19:30.831Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-17T07:19:31.046Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-17T07:19:31.337Z] ========================================================= [2022-10-17T07:19:31.337Z] EdgeX Global Pipelines Version Info [2022-10-17T07:19:31.337Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-17T07:19:32.185Z] ------------------- [2022-10-17T07:19:32.185Z] stable info: [2022-10-17T07:19:32.185Z] ------------------- [2022-10-17T07:19:32.185Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-17T07:19:32.185Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-17T07:19:32.185Z] Message: update stable to v1.0.239 [2022-10-17T07:19:32.754Z] ------------------- [2022-10-17T07:19:32.754Z] experimental info: [2022-10-17T07:19:32.754Z] ------------------- [2022-10-17T07:19:32.754Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-17T07:19:32.754Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-17T07:19:32.754Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-17T07:19:33.050Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-10-17T07:19:33.091Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-10-17T07:19:33.132Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-17T07:19:33.165Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-17T07:19:33.204Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-17T07:19:33.245Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-17T07:19:33.280Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-17T07:19:33.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-17T07:19:33.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-17T07:19:33.392Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-17T07:19:33.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-17T07:19:33.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-10-17T07:19:33.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-17T07:19:33.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-17T07:19:33.590Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-17T07:19:33.631Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-17T07:19:33.672Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T07:19:33.711Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T07:19:33.751Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-17T07:19:33.789Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-17T07:19:33.826Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-17T07:19:33.866Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-17T07:19:33.905Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-17T07:19:33.946Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-17T07:19:33.984Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-17T07:19:34.026Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-17T07:19:34.067Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-17T07:19:34.107Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-62 [Pipeline] echo [2022-10-17T07:19:34.149Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-62 [Pipeline] echo [2022-10-17T07:19:34.191Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-62 [Pipeline] echo [2022-10-17T07:19:34.231Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 88cf924b988971970494309713504e7cefba2046 [Pipeline] echo [2022-10-17T07:19:34.277Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 88cf924 [Pipeline] echo [2022-10-17T07:19:34.322Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T07:19:34.438Z] provisioning config files... [2022-10-17T07:19:34.457Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-62@tmp/config4177070204162021514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T07:19:34.804Z] ---> docker-login.sh [2022-10-17T07:19:34.804Z] nexus3.edgexfoundry.org:10001 [2022-10-17T07:19:35.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T07:19:35.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T07:19:35.065Z] Configure a credential helper to remove this warning. See [2022-10-17T07:19:35.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T07:19:35.065Z] [2022-10-17T07:19:35.065Z] Login Succeeded [2022-10-17T07:19:35.065Z] nexus3.edgexfoundry.org:10002 [2022-10-17T07:19:35.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T07:19:35.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T07:19:35.325Z] Configure a credential helper to remove this warning. See [2022-10-17T07:19:35.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T07:19:35.325Z] [2022-10-17T07:19:35.325Z] Login Succeeded [2022-10-17T07:19:35.325Z] nexus3.edgexfoundry.org:10003 [2022-10-17T07:19:35.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T07:19:35.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T07:19:35.325Z] Configure a credential helper to remove this warning. See [2022-10-17T07:19:35.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T07:19:35.325Z] [2022-10-17T07:19:35.325Z] Login Succeeded [2022-10-17T07:19:35.325Z] nexus3.edgexfoundry.org:10004 [2022-10-17T07:19:35.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T07:19:35.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T07:19:35.586Z] Configure a credential helper to remove this warning. See [2022-10-17T07:19:35.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T07:19:35.586Z] [2022-10-17T07:19:35.586Z] Login Succeeded [2022-10-17T07:19:35.586Z] docker.io [2022-10-17T07:19:35.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T07:19:35.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T07:19:35.847Z] Configure a credential helper to remove this warning. See [2022-10-17T07:19:35.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T07:19:35.847Z] [2022-10-17T07:19:35.847Z] Login Succeeded [2022-10-17T07:19:35.847Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T07:19:35.879Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-17T07:19:36.503Z] + git rev-list -1 --merges 88cf924b988971970494309713504e7cefba2046~1..88cf924b988971970494309713504e7cefba2046 [Pipeline] echo [2022-10-17T07:19:36.554Z] -----------> git rev-list -1 --merges 88cf924b988971970494309713504e7cefba2046~1..88cf924b988971970494309713504e7cefba2046 88cf924b988971970494309713504e7cefba2046 [false] [Pipeline] sh [2022-10-17T07:19:36.866Z] + git log --format=format:%s -1 88cf924b988971970494309713504e7cefba2046 [Pipeline] echo [2022-10-17T07:19:36.897Z] ========================================================= [2022-10-17T07:19:36.897Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-17T07:19:36.897Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T07:19:37.347Z] + git log --format=format:%s -1 88cf924b988971970494309713504e7cefba2046 [Pipeline] echo [2022-10-17T07:19:37.381Z] [semverPrep] GIT_COMMIT: 88cf924b988971970494309713504e7cefba2046, Commit Message: feat(snap): add config interface with unique identifier [Pipeline] echo [2022-10-17T07:19:37.412Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-17T07:19:37.799Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-17T07:19:37.799Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-17T07:19:37.799Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-17T07:19:37.799Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-17T07:19:37.799Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-17T07:19:37.799Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-17T07:19:37.799Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T07:19:38.276Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T07:19:38.276Z] [2022-10-17T07:19:38.276Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T07:19:38.653Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T07:19:38.653Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-17T07:19:38.653Z] b85a868b505f: Pulling fs layer [2022-10-17T07:19:38.653Z] e2be974225ed: Pulling fs layer [2022-10-17T07:19:38.653Z] 339a4e72a1f5: Pulling fs layer [2022-10-17T07:19:38.653Z] 988bab9f4d93: Pulling fs layer [2022-10-17T07:19:38.653Z] 1469e6f7b9e6: Pulling fs layer [2022-10-17T07:19:38.653Z] eaf3925da568: Pulling fs layer [2022-10-17T07:19:38.653Z] bab4dde63d76: Pulling fs layer [2022-10-17T07:19:38.653Z] bde34c3a00c8: Pulling fs layer [2022-10-17T07:19:38.653Z] b352a97aabf1: Pulling fs layer [2022-10-17T07:19:38.653Z] 4872d77fe225: Pulling fs layer [2022-10-17T07:19:38.653Z] 5851b861e8e6: Pulling fs layer [2022-10-17T07:19:38.653Z] 988bab9f4d93: Waiting [2022-10-17T07:19:38.653Z] 1469e6f7b9e6: Waiting [2022-10-17T07:19:38.653Z] eaf3925da568: Waiting [2022-10-17T07:19:38.653Z] bab4dde63d76: Waiting [2022-10-17T07:19:38.653Z] bde34c3a00c8: Waiting [2022-10-17T07:19:38.653Z] b352a97aabf1: Waiting [2022-10-17T07:19:38.653Z] 4872d77fe225: Waiting [2022-10-17T07:19:38.653Z] 5851b861e8e6: Waiting [2022-10-17T07:19:38.653Z] e2be974225ed: Verifying Checksum [2022-10-17T07:19:38.653Z] e2be974225ed: Download complete [2022-10-17T07:19:38.653Z] 988bab9f4d93: Verifying Checksum [2022-10-17T07:19:38.653Z] 988bab9f4d93: Download complete [2022-10-17T07:19:38.914Z] 1469e6f7b9e6: Verifying Checksum [2022-10-17T07:19:38.914Z] 1469e6f7b9e6: Download complete [2022-10-17T07:19:38.914Z] eaf3925da568: Verifying Checksum [2022-10-17T07:19:38.914Z] eaf3925da568: Download complete [2022-10-17T07:19:38.914Z] 339a4e72a1f5: Verifying Checksum [2022-10-17T07:19:38.914Z] 339a4e72a1f5: Download complete [2022-10-17T07:19:38.914Z] bde34c3a00c8: Download complete [2022-10-17T07:19:38.914Z] b352a97aabf1: Verifying Checksum [2022-10-17T07:19:38.914Z] b352a97aabf1: Download complete [2022-10-17T07:19:38.914Z] 4872d77fe225: Verifying Checksum [2022-10-17T07:19:38.914Z] 4872d77fe225: Download complete [2022-10-17T07:19:38.914Z] 5851b861e8e6: Verifying Checksum [2022-10-17T07:19:38.914Z] 5851b861e8e6: Download complete [2022-10-17T07:19:39.177Z] b85a868b505f: Verifying Checksum [2022-10-17T07:19:39.177Z] b85a868b505f: Download complete [2022-10-17T07:19:39.437Z] bab4dde63d76: Download complete [2022-10-17T07:19:40.427Z] b85a868b505f: Pull complete [2022-10-17T07:19:40.427Z] e2be974225ed: Pull complete [2022-10-17T07:19:41.001Z] 339a4e72a1f5: Pull complete [2022-10-17T07:19:41.001Z] 988bab9f4d93: Pull complete [2022-10-17T07:19:41.261Z] 1469e6f7b9e6: Pull complete [2022-10-17T07:19:41.261Z] eaf3925da568: Pull complete [2022-10-17T07:19:43.164Z] bab4dde63d76: Pull complete [2022-10-17T07:19:43.164Z] bde34c3a00c8: Pull complete [2022-10-17T07:19:43.164Z] b352a97aabf1: Pull complete [2022-10-17T07:19:43.164Z] 4872d77fe225: Pull complete [2022-10-17T07:19:43.424Z] 5851b861e8e6: Pull complete [2022-10-17T07:19:43.424Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-17T07:19:43.424Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T07:19:43.424Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T07:19:43.649Z] prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container [2022-10-17T07:19:43.683Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-62 -v /w/workspace/edgexfoundry_device-gpio_PR-62:/w/workspace/edgexfoundry_device-gpio_PR-62:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-62@tmp:/w/workspace/edgexfoundry_device-gpio_PR-62@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:0.1.4 cat [2022-10-17T07:19:44.840Z] $ docker top b379488173b1cdaab3ded93b04283fcea68ef97214532fde488267414ae8b288 -eo pid,comm [2022-10-17T07:19:44.890Z] 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). [2022-10-17T07:19:44.890Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-17T07:19:45.030Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T07:19:45.030Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T07:19:45.152Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T07:19:45.158Z] $ docker exec b379488173b1cdaab3ded93b04283fcea68ef97214532fde488267414ae8b288 ssh-agent [2022-10-17T07:19:45.273Z] SSH_AUTH_SOCK=/tmp/ssh-1Ji8R4TbUF60/agent.31 [2022-10-17T07:19:45.273Z] SSH_AGENT_PID=37 [2022-10-17T07:19:45.279Z] Running ssh-add (command line suppressed) [2022-10-17T07:19:45.390Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-62@tmp/private_key_701569845798635767.key (/w/workspace/edgexfoundry_device-gpio_PR-62@tmp/private_key_701569845798635767.key) [2022-10-17T07:19:45.401Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T07:19:45.734Z] + git tag --points-at HEAD [Pipeline] } [2022-10-17T07:19:45.763Z] $ docker exec --env ******** --env ******** b379488173b1cdaab3ded93b04283fcea68ef97214532fde488267414ae8b288 ssh-agent -k [2022-10-17T07:19:45.871Z] unset SSH_AUTH_SOCK; [2022-10-17T07:19:45.871Z] unset SSH_AGENT_PID; [2022-10-17T07:19:45.872Z] echo Agent pid 37 killed; [2022-10-17T07:19:45.883Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-17T07:19:45.970Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T07:19:45.970Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T07:19:46.079Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T07:19:46.085Z] $ docker exec b379488173b1cdaab3ded93b04283fcea68ef97214532fde488267414ae8b288 ssh-agent [2022-10-17T07:19:46.200Z] SSH_AUTH_SOCK=/tmp/ssh-AzLqVSTpZbod/agent.69 [2022-10-17T07:19:46.200Z] SSH_AGENT_PID=75 [2022-10-17T07:19:46.205Z] Running ssh-add (command line suppressed) [2022-10-17T07:19:46.310Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-62@tmp/private_key_14684399209784094494.key (/w/workspace/edgexfoundry_device-gpio_PR-62@tmp/private_key_14684399209784094494.key) [2022-10-17T07:19:46.320Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T07:19:46.646Z] + git semver init [2022-10-17T07:19:46.905Z] 2022-10-17 07:19:46,844 [run_init] DEBUG init version:0.0.0 force:False [2022-10-17T07:19:46.905Z] 2022-10-17 07:19:46,845 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-62/.semver [2022-10-17T07:19:46.905Z] 2022-10-17 07:19:46,845 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-62/.semver [2022-10-17T07:19:46.905Z] 2022-10-17 07:19:46,846 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-62/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-62, universal_newlines=False, shell=None, istream=None) [2022-10-17T07:19:47.846Z] 2022-10-17 07:19:47,840 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-62/.git/info/exclude [2022-10-17T07:19:47.846Z] 2022-10-17 07:19:47,840 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-62/.semver/PR-62 with force:False [2022-10-17T07:19:47.846Z] 2022-10-17 07:19:47,841 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-62/.semver/PR-62 [2022-10-17T07:19:47.846Z] 2022-10-17 07:19:47,845 [execute] INFO git cat-file --batch-check [2022-10-17T07:19:47.846Z] 2022-10-17 07:19:47,845 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-62/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T07:19:48.105Z] 2022-10-17 07:19:47,852 [execute] INFO git cat-file --batch [2022-10-17T07:19:48.105Z] 2022-10-17 07:19:47,853 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-62/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T07:19:48.105Z] 2022-10-17 07:19:47,857 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-62/.semver/PR-62 [2022-10-17T07:19:48.105Z] 0.0.0 [Pipeline] } [2022-10-17T07:19:48.133Z] $ docker exec --env ******** --env ******** b379488173b1cdaab3ded93b04283fcea68ef97214532fde488267414ae8b288 ssh-agent -k [2022-10-17T07:19:48.223Z] unset SSH_AUTH_SOCK; [2022-10-17T07:19:48.226Z] unset SSH_AGENT_PID; [2022-10-17T07:19:48.227Z] echo Agent pid 75 killed; [2022-10-17T07:19:48.229Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-17T07:19:48.648Z] + git semver [Pipeline] } [2022-10-17T07:19:48.936Z] $ docker stop --time=1 b379488173b1cdaab3ded93b04283fcea68ef97214532fde488267414ae8b288 [2022-10-17T07:19:50.250Z] $ docker rm -f b379488173b1cdaab3ded93b04283fcea68ef97214532fde488267414ae8b288 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T07:19:50.657Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-17T07:19:50.898Z] Stashed 1 file(s) [Pipeline] echo [2022-10-17T07:19:50.920Z] [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-10-17T07:19:51.522Z] provisioning config files... [2022-10-17T07:19:51.532Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-62@tmp/config5512038050605855663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T07:19:51.877Z] ---> docker-login.sh [2022-10-17T07:19:51.877Z] nexus3.edgexfoundry.org:10001 [2022-10-17T07:19:51.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T07:19:51.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T07:19:51.877Z] Configure a credential helper to remove this warning. See [2022-10-17T07:19:51.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T07:19:51.877Z] [2022-10-17T07:19:51.877Z] Login Succeeded [2022-10-17T07:19:51.877Z] nexus3.edgexfoundry.org:10002 [2022-10-17T07:19:51.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T07:19:51.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T07:19:51.877Z] Configure a credential helper to remove this warning. See [2022-10-17T07:19:51.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T07:19:51.877Z] [2022-10-17T07:19:51.877Z] Login Succeeded [2022-10-17T07:19:51.877Z] nexus3.edgexfoundry.org:10003 [2022-10-17T07:19:52.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T07:19:52.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T07:19:52.140Z] Configure a credential helper to remove this warning. See [2022-10-17T07:19:52.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T07:19:52.140Z] [2022-10-17T07:19:52.140Z] Login Succeeded [2022-10-17T07:19:52.140Z] nexus3.edgexfoundry.org:10004 [2022-10-17T07:19:52.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T07:19:52.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T07:19:52.140Z] Configure a credential helper to remove this warning. See [2022-10-17T07:19:52.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T07:19:52.140Z] [2022-10-17T07:19:52.140Z] Login Succeeded [2022-10-17T07:19:52.140Z] docker.io [2022-10-17T07:19:52.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T07:19:52.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T07:19:52.659Z] Configure a credential helper to remove this warning. See [2022-10-17T07:19:52.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T07:19:52.659Z] [2022-10-17T07:19:52.659Z] Login Succeeded [2022-10-17T07:19:52.659Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T07:19:52.688Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-17T07:19:52.857Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T07:19:52.890Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T07:19:52.919Z] ========================================================= [2022-10-17T07:19:52.919Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-17T07:19:52.919Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T07:19:53.377Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-17T07:19:53.377Z] Sending build context to Docker daemon 15.87MB [2022-10-17T07:19:53.377Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T07:19:53.377Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-17T07:19:53.377Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-17T07:19:53.377Z] 213ec9aee27d: Pulling fs layer [2022-10-17T07:19:53.377Z] 4583459ba037: Pulling fs layer [2022-10-17T07:19:53.377Z] 93c1e223e6f2: Pulling fs layer [2022-10-17T07:19:53.377Z] 53926ce57604: Pulling fs layer [2022-10-17T07:19:53.377Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-17T07:19:53.377Z] 30f14e443154: Pulling fs layer [2022-10-17T07:19:53.377Z] 801331c1e519: Pulling fs layer [2022-10-17T07:19:53.377Z] 99cc6dd402b0: Pulling fs layer [2022-10-17T07:19:53.377Z] 7d9ed39f4882: Pulling fs layer [2022-10-17T07:19:53.377Z] 53926ce57604: Waiting [2022-10-17T07:19:53.377Z] 21b2b0c7a3f4: Waiting [2022-10-17T07:19:53.377Z] 30f14e443154: Waiting [2022-10-17T07:19:53.377Z] 801331c1e519: Waiting [2022-10-17T07:19:53.377Z] 99cc6dd402b0: Waiting [2022-10-17T07:19:53.377Z] 7d9ed39f4882: Waiting [2022-10-17T07:19:53.377Z] 93c1e223e6f2: Verifying Checksum [2022-10-17T07:19:53.377Z] 93c1e223e6f2: Download complete [2022-10-17T07:19:53.377Z] 4583459ba037: Download complete [2022-10-17T07:19:53.635Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-17T07:19:53.635Z] 21b2b0c7a3f4: Download complete [2022-10-17T07:19:53.635Z] 30f14e443154: Verifying Checksum [2022-10-17T07:19:53.635Z] 30f14e443154: Download complete [2022-10-17T07:19:53.635Z] 213ec9aee27d: Verifying Checksum [2022-10-17T07:19:53.635Z] 213ec9aee27d: Download complete [2022-10-17T07:19:53.635Z] 801331c1e519: Download complete [2022-10-17T07:19:53.635Z] 213ec9aee27d: Pull complete [2022-10-17T07:19:53.896Z] 4583459ba037: Pull complete [2022-10-17T07:19:53.896Z] 93c1e223e6f2: Pull complete [2022-10-17T07:19:54.155Z] 7d9ed39f4882: Verifying Checksum [2022-10-17T07:19:54.155Z] 7d9ed39f4882: Download complete [2022-10-17T07:19:54.413Z] 53926ce57604: Verifying Checksum [2022-10-17T07:19:54.413Z] 53926ce57604: Download complete [2022-10-17T07:19:54.671Z] 99cc6dd402b0: Verifying Checksum [2022-10-17T07:19:54.671Z] 99cc6dd402b0: Download complete [2022-10-17T07:19:57.949Z] 53926ce57604: Pull complete [2022-10-17T07:19:57.949Z] 21b2b0c7a3f4: Pull complete [2022-10-17T07:19:57.949Z] 30f14e443154: Pull complete [2022-10-17T07:19:57.949Z] 801331c1e519: Pull complete [2022-10-17T07:19:59.856Z] 99cc6dd402b0: Pull complete [2022-10-17T07:20:00.789Z] 7d9ed39f4882: Pull complete [2022-10-17T07:20:00.789Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-17T07:20:00.789Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-17T07:20:00.789Z] ---> 1dedd983c030 [2022-10-17T07:20:00.789Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-17T07:20:02.167Z] ---> Running in df292bdc22c4 [2022-10-17T07:20:02.168Z] Removing intermediate container df292bdc22c4 [2022-10-17T07:20:02.168Z] ---> 52650589cfa2 [2022-10-17T07:20:02.168Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T07:20:02.168Z] ---> Running in f87cf7a5be63 [2022-10-17T07:20:02.168Z] Removing intermediate container f87cf7a5be63 [2022-10-17T07:20:02.168Z] ---> 49a9c521b9b7 [2022-10-17T07:20:02.168Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T07:20:02.168Z] ---> Running in f7aca9cdd647 [2022-10-17T07:20:02.427Z] Removing intermediate container f7aca9cdd647 [2022-10-17T07:20:02.427Z] ---> 8d71863c5143 [2022-10-17T07:20:02.427Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T07:20:02.427Z] ---> Running in d59e26cab8ed [2022-10-17T07:20:02.427Z] Removing intermediate container d59e26cab8ed [2022-10-17T07:20:02.427Z] ---> c40e3d2b3c00 [2022-10-17T07:20:02.427Z] Step 7/13 : WORKDIR /device-gpio [2022-10-17T07:20:02.686Z] ---> Running in 2c19d43b918f [2022-10-17T07:20:02.686Z] Removing intermediate container 2c19d43b918f [2022-10-17T07:20:02.686Z] ---> 9c52426d0cc3 [2022-10-17T07:20:02.686Z] Step 8/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T07:20:02.686Z] ---> Running in 771956b22d40 [2022-10-17T07:20:03.261Z] Removing intermediate container 771956b22d40 [2022-10-17T07:20:03.261Z] ---> 4f0f8fd3f6cf [2022-10-17T07:20:03.261Z] Step 9/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T07:20:03.261Z] ---> Running in 58864f1aad78 [2022-10-17T07:20:03.521Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T07:20:04.457Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T07:20:04.724Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-17T07:20:04.983Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-17T07:20:04.983Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-17T07:20:05.243Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-17T07:20:05.243Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T07:20:05.243Z] OK: 216 MiB in 55 packages [2022-10-17T07:20:05.504Z] Removing intermediate container 58864f1aad78 [2022-10-17T07:20:05.504Z] ---> 8214dc89817b [2022-10-17T07:20:05.504Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-17T07:20:05.763Z] ---> 46ff3efb5394 [2022-10-17T07:20:05.763Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T07:20:05.763Z] ---> Running in 957a0bea19d5 [2022-10-17T07:20:06.341Z] Still waiting to schedule task [2022-10-17T07:20:06.341Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-17T07:20:23.848Z] Removing intermediate container 957a0bea19d5 [2022-10-17T07:20:23.848Z] ---> b06ecfb53329 [2022-10-17T07:20:23.848Z] Step 12/13 : COPY . . [2022-10-17T07:20:23.848Z] ---> e27887f1f700 [2022-10-17T07:20:23.848Z] Step 13/13 : RUN ${MAKE} [2022-10-17T07:20:23.848Z] ---> Running in 9d555a284028 [2022-10-17T07:20:23.848Z] noop [2022-10-17T07:20:23.848Z] Removing intermediate container 9d555a284028 [2022-10-17T07:20:23.848Z] ---> 23ab3ac45651 [2022-10-17T07:20:23.848Z] Successfully built 23ab3ac45651 [2022-10-17T07:20:23.848Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T07:20:24.274Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T07:20:24.274Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T07:20:24.453Z] prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container [2022-10-17T07:20:24.482Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-62 -v /w/workspace/edgexfoundry_device-gpio_PR-62:/w/workspace/edgexfoundry_device-gpio_PR-62:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-62@tmp:/w/workspace/edgexfoundry_device-gpio_PR-62@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 [2022-10-17T07:20:24.830Z] $ docker top ed989456970f21bcf0b2d05c804b1edc161292ffe5c42d2cf43087a8c86755ed -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T07:20:25.217Z] + go version [2022-10-17T07:20:25.217Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-17T07:20:25.251Z] $ docker stop --time=1 ed989456970f21bcf0b2d05c804b1edc161292ffe5c42d2cf43087a8c86755ed [2022-10-17T07:20:26.525Z] $ docker rm -f ed989456970f21bcf0b2d05c804b1edc161292ffe5c42d2cf43087a8c86755ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T07:20:27.224Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T07:20:27.224Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T07:20:27.374Z] prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container [2022-10-17T07:20:27.406Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_PR-62 -v /w/workspace/edgexfoundry_device-gpio_PR-62:/w/workspace/edgexfoundry_device-gpio_PR-62:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-62@tmp:/w/workspace/edgexfoundry_device-gpio_PR-62@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 [2022-10-17T07:20:27.720Z] $ docker top d137326dcd0b90d216cea23452552af985f19d83929daeead1b2f615bece8f4e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T07:20:28.111Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-62 [Pipeline] fileExists [Pipeline] sh [2022-10-17T07:20:28.460Z] + make test [2022-10-17T07:20:28.460Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-17T07:20:28.718Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-10-17T07:20:38.683Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-10-17T07:20:38.683Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-10-17T07:20:44.239Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-17T07:20:44.239Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T07:20:47.518Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T07:20:47.518Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-17T07:20:47.518Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-17T07:20:47.560Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T07:20:47.591Z] $ docker stop --time=1 d137326dcd0b90d216cea23452552af985f19d83929daeead1b2f615bece8f4e [2022-10-17T07:20:49.465Z] $ docker rm -f d137326dcd0b90d216cea23452552af985f19d83929daeead1b2f615bece8f4e [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T07:20:49.962Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T07:20:50.020Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-17T07:20:50.680Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-17T07:20:50.985Z] + ls -al . [2022-10-17T07:20:50.985Z] total 164 [2022-10-17T07:20:50.985Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 07:20 . [2022-10-17T07:20:50.985Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 07:19 .. [2022-10-17T07:20:50.985Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 17 07:19 .dockerignore [2022-10-17T07:20:50.985Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 07:20 .git [2022-10-17T07:20:50.985Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 07:19 .github [2022-10-17T07:20:50.985Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 17 07:19 .gitignore [2022-10-17T07:20:50.985Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 07:19 .golangci.yml [2022-10-17T07:20:50.985Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 07:19 .semver [2022-10-17T07:20:50.985Z] -rw-rw-r-- 1 jenkins jenkins 9691 Oct 17 07:19 Attribution.txt [2022-10-17T07:20:50.985Z] -rw-rw-r-- 1 jenkins jenkins 3081 Oct 17 07:19 CHANGELOG.md [2022-10-17T07:20:50.985Z] -rw-rw-r-- 1 jenkins jenkins 1929 Oct 17 07:19 Dockerfile [2022-10-17T07:20:50.985Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 07:19 GOVERNANCE.md [2022-10-17T07:20:50.985Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 17 07:19 Jenkinsfile [2022-10-17T07:20:50.985Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 07:19 LICENSE [2022-10-17T07:20:50.985Z] -rw-rw-r-- 1 jenkins jenkins 2085 Oct 17 07:19 Makefile [2022-10-17T07:20:50.985Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 17 07:19 OWNERS.md [2022-10-17T07:20:50.985Z] -rw-rw-r-- 1 jenkins jenkins 11842 Oct 17 07:19 README.md [2022-10-17T07:20:50.985Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 07:19 VERSION [2022-10-17T07:20:50.985Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 07:19 bin [2022-10-17T07:20:50.985Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 07:19 cmd [2022-10-17T07:20:50.985Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 17 07:20 coverage.out [2022-10-17T07:20:50.985Z] -rw-rw-r-- 1 jenkins jenkins 3459 Oct 17 07:19 go.mod [2022-10-17T07:20:50.985Z] -rw-rw-r-- 1 jenkins jenkins 38054 Oct 17 07:19 go.sum [2022-10-17T07:20:50.985Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 07:19 internal [2022-10-17T07:20:50.985Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 07:19 snap [2022-10-17T07:20:50.985Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 17 07:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T07:20:51.380Z] + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=88cf924b988971970494309713504e7cefba2046 --label arch=amd64 --label version=0.0.0 . [2022-10-17T07:20:51.380Z] Sending build context to Docker daemon 15.87MB [2022-10-17T07:20:51.380Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T07:20:51.380Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-17T07:20:51.380Z] ---> 23ab3ac45651 [2022-10-17T07:20:51.380Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-17T07:20:51.380Z] ---> Running in 8be4ed8133f4 [2022-10-17T07:20:51.639Z] Removing intermediate container 8be4ed8133f4 [2022-10-17T07:20:51.639Z] ---> 0504aebcd3b5 [2022-10-17T07:20:51.639Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T07:20:51.639Z] ---> Running in fa4a331ef8ce [2022-10-17T07:20:51.639Z] Removing intermediate container fa4a331ef8ce [2022-10-17T07:20:51.639Z] ---> fc13aa0b94cf [2022-10-17T07:20:51.639Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T07:20:51.639Z] ---> Running in b1a898946581 [2022-10-17T07:20:51.639Z] Removing intermediate container b1a898946581 [2022-10-17T07:20:51.639Z] ---> d036dce5eced [2022-10-17T07:20:51.639Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T07:20:51.639Z] ---> Running in 59c5745ef9eb [2022-10-17T07:20:51.899Z] Removing intermediate container 59c5745ef9eb [2022-10-17T07:20:51.899Z] ---> e115d55ce52d [2022-10-17T07:20:51.899Z] Step 7/27 : WORKDIR /device-gpio [2022-10-17T07:20:51.899Z] ---> Running in cea9036dad2d [2022-10-17T07:20:51.899Z] Removing intermediate container cea9036dad2d [2022-10-17T07:20:51.899Z] ---> d3f00c433b66 [2022-10-17T07:20:51.899Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T07:20:51.899Z] ---> Running in 5577085de62d [2022-10-17T07:20:52.467Z] Removing intermediate container 5577085de62d [2022-10-17T07:20:52.467Z] ---> a9e340a776ea [2022-10-17T07:20:52.467Z] Step 9/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T07:20:52.467Z] ---> Running in fbe09519c201 [2022-10-17T07:20:52.728Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T07:20:53.665Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T07:20:53.924Z] OK: 216 MiB in 55 packages [2022-10-17T07:20:54.183Z] Removing intermediate container fbe09519c201 [2022-10-17T07:20:54.183Z] ---> 05d6caa6c570 [2022-10-17T07:20:54.183Z] Step 10/27 : COPY go.mod vendor* ./ [2022-10-17T07:20:54.442Z] ---> 98d1558c9aaa [2022-10-17T07:20:54.442Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T07:20:54.442Z] ---> Running in d760d80d9a68 [2022-10-17T07:20:55.013Z] Removing intermediate container d760d80d9a68 [2022-10-17T07:20:55.013Z] ---> a6ea5f9ed6cd [2022-10-17T07:20:55.013Z] Step 12/27 : COPY . . [2022-10-17T07:20:55.272Z] ---> 72b44f42c8b3 [2022-10-17T07:20:55.272Z] Step 13/27 : RUN ${MAKE} [2022-10-17T07:20:55.272Z] ---> Running in f757539ac702 [2022-10-17T07:20:55.843Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-10-17T07:21:17.763Z] Removing intermediate container f757539ac702 [2022-10-17T07:21:17.763Z] ---> 01274ead793b [2022-10-17T07:21:17.763Z] Step 14/27 : FROM alpine:3.16 [2022-10-17T07:21:17.763Z] 3.16: Pulling from library/alpine [2022-10-17T07:21:17.763Z] 213ec9aee27d: Already exists [2022-10-17T07:21:17.763Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-17T07:21:17.763Z] Status: Downloaded newer image for alpine:3.16 [2022-10-17T07:21:17.763Z] ---> 9c6f07244728 [2022-10-17T07:21:17.763Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-10-17T07:21:17.763Z] ---> Running in b9961bb9095e [2022-10-17T07:21:17.763Z] Removing intermediate container b9961bb9095e [2022-10-17T07:21:17.763Z] ---> 6667b3201a97 [2022-10-17T07:21:17.763Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T07:21:17.763Z] ---> Running in 40410d533e70 [2022-10-17T07:21:17.763Z] Removing intermediate container 40410d533e70 [2022-10-17T07:21:17.763Z] ---> db357707a353 [2022-10-17T07:21:17.763Z] Step 17/27 : RUN apk add --update --no-cache zeromq [2022-10-17T07:21:17.763Z] ---> Running in 632ce9195344 [2022-10-17T07:21:17.763Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T07:21:17.763Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T07:21:18.022Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-17T07:21:18.022Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-17T07:21:18.022Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-17T07:21:18.284Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-17T07:21:18.284Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-17T07:21:18.284Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T07:21:18.284Z] OK: 8 MiB in 19 packages [2022-10-17T07:21:18.868Z] Removing intermediate container 632ce9195344 [2022-10-17T07:21:18.868Z] ---> 027ffbed3bac [2022-10-17T07:21:18.868Z] Step 18/27 : WORKDIR / [2022-10-17T07:21:18.868Z] ---> Running in 652cbd6b9089 [2022-10-17T07:21:18.868Z] Removing intermediate container 652cbd6b9089 [2022-10-17T07:21:18.868Z] ---> c25f5e155d73 [2022-10-17T07:21:18.868Z] Step 19/27 : COPY --from=builder /device-gpio/Attribution.txt / [2022-10-17T07:21:19.126Z] ---> a47e5c2627fe [2022-10-17T07:21:19.126Z] Step 20/27 : COPY --from=builder /device-gpio/LICENSE / [2022-10-17T07:21:19.126Z] ---> d4fb6689b401 [2022-10-17T07:21:19.126Z] Step 21/27 : COPY --from=builder /device-gpio/cmd/ / [2022-10-17T07:21:19.693Z] ---> c039570b9a16 [2022-10-17T07:21:19.693Z] Step 22/27 : EXPOSE 59910 [2022-10-17T07:21:19.693Z] ---> Running in b771ca1ac167 [2022-10-17T07:21:19.693Z] Removing intermediate container b771ca1ac167 [2022-10-17T07:21:19.693Z] ---> 951cfedce89a [2022-10-17T07:21:19.693Z] Step 23/27 : ENTRYPOINT ["/device-gpio"] [2022-10-17T07:21:19.952Z] ---> Running in c50be4f3bd95 [2022-10-17T07:21:19.952Z] Removing intermediate container c50be4f3bd95 [2022-10-17T07:21:19.952Z] ---> 56171d15be9e [2022-10-17T07:21:19.952Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-17T07:21:19.952Z] ---> Running in cb07edde7d8b [2022-10-17T07:21:19.952Z] Removing intermediate container cb07edde7d8b [2022-10-17T07:21:19.952Z] ---> e2b1740e26fd [2022-10-17T07:21:19.952Z] Step 25/27 : LABEL arch=amd64 [2022-10-17T07:21:19.952Z] ---> Running in 91a2b0c5c5db [2022-10-17T07:21:20.214Z] Removing intermediate container 91a2b0c5c5db [2022-10-17T07:21:20.214Z] ---> 9f79f8d87a33 [2022-10-17T07:21:20.214Z] Step 26/27 : LABEL git_sha=88cf924b988971970494309713504e7cefba2046 [2022-10-17T07:21:20.214Z] ---> Running in ece2d180604a [2022-10-17T07:21:20.214Z] Removing intermediate container ece2d180604a [2022-10-17T07:21:20.214Z] ---> 89aa9f8c52d0 [2022-10-17T07:21:20.214Z] Step 27/27 : LABEL version=0.0.0 [2022-10-17T07:21:20.214Z] ---> Running in 4c9edd2865a2 [2022-10-17T07:21:20.214Z] Removing intermediate container 4c9edd2865a2 [2022-10-17T07:21:20.214Z] ---> 6e93761b8d71 [2022-10-17T07:21:20.214Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-17T07:21:20.214Z] Successfully built 6e93761b8d71 [2022-10-17T07:21:20.214Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T07:21:21.219Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T07:21:21.219Z] [2022-10-17T07:21:21.219Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T07:21:21.581Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T07:21:21.581Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-17T07:21:21.581Z] 5eb5b503b376: Pulling fs layer [2022-10-17T07:21:21.581Z] 5c69ac0246d0: Pulling fs layer [2022-10-17T07:21:21.581Z] ec43610c2a17: Pulling fs layer [2022-10-17T07:21:21.581Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-17T07:21:21.581Z] 33b1e0a273af: Pulling fs layer [2022-10-17T07:21:21.581Z] 5d3b04190fa2: Pulling fs layer [2022-10-17T07:21:21.581Z] 2f39f015ded8: Pulling fs layer [2022-10-17T07:21:21.581Z] 33b1e0a273af: Waiting [2022-10-17T07:21:21.581Z] 5d3b04190fa2: Waiting [2022-10-17T07:21:21.581Z] 3a2ae6a8a46f: Waiting [2022-10-17T07:21:21.581Z] 2f39f015ded8: Waiting [2022-10-17T07:21:21.581Z] 5c69ac0246d0: Verifying Checksum [2022-10-17T07:21:21.581Z] 5c69ac0246d0: Download complete [2022-10-17T07:21:21.581Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-17T07:21:21.581Z] 3a2ae6a8a46f: Download complete [2022-10-17T07:21:21.581Z] 33b1e0a273af: Verifying Checksum [2022-10-17T07:21:21.581Z] 33b1e0a273af: Download complete [2022-10-17T07:21:21.840Z] ec43610c2a17: Verifying Checksum [2022-10-17T07:21:21.840Z] ec43610c2a17: Download complete [2022-10-17T07:21:21.840Z] 5d3b04190fa2: Download complete [2022-10-17T07:21:21.840Z] 5eb5b503b376: Download complete [2022-10-17T07:21:22.409Z] 2f39f015ded8: Verifying Checksum [2022-10-17T07:21:22.409Z] 2f39f015ded8: Download complete [2022-10-17T07:21:22.977Z] 5eb5b503b376: Pull complete [2022-10-17T07:21:23.235Z] 5c69ac0246d0: Pull complete [2022-10-17T07:21:23.494Z] ec43610c2a17: Pull complete [2022-10-17T07:21:23.494Z] 3a2ae6a8a46f: Pull complete [2022-10-17T07:21:23.755Z] 33b1e0a273af: Pull complete [2022-10-17T07:21:24.013Z] 5d3b04190fa2: Pull complete [2022-10-17T07:21:28.194Z] 2f39f015ded8: Pull complete [2022-10-17T07:21:28.194Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-17T07:21:28.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T07:21:28.194Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T07:21:28.410Z] prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container [2022-10-17T07:21:28.438Z] $ 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-62 -v /w/workspace/edgexfoundry_device-gpio_PR-62:/w/workspace/edgexfoundry_device-gpio_PR-62:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-62@tmp:/w/workspace/edgexfoundry_device-gpio_PR-62@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 [2022-10-17T07:21:30.271Z] $ docker top e2141cfb7b5ba35039c78fd53e85dbab06a69f6d8f83905b994311b9813b5929 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T07:21:30.727Z] ---> job-cost.sh [2022-10-17T07:21:30.727Z] lf-activate-venv: SKIPPING [2022-10-17T07:21:30.727Z] INFO: No Stack... [2022-10-17T07:21:30.986Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T07:21:31.244Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T07:21:31.556Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-62/archives/cost.csv [2022-10-17T07:21:31.556Z] + cut -d, -f6 [Pipeline] lock [2022-10-17T07:21:31.592Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-62-1-stack-cost] [2022-10-17T07:21:31.597Z] Resource [jenkins-edgexfoundry-device-gpio-PR-62-1-stack-cost] did not exist. Created. [2022-10-17T07:21:31.597Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-62-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T07:21:31.977Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-17T07:21:32.025Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T07:21:32.054Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-62-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T07:21:32.140Z] $ docker stop --time=1 e2141cfb7b5ba35039c78fd53e85dbab06a69f6d8f83905b994311b9813b5929 [2022-10-17T07:21:33.304Z] $ docker rm -f e2141cfb7b5ba35039c78fd53e85dbab06a69f6d8f83905b994311b9813b5929 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-17T07:21:35.319Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8039 in /w/workspace/edgexfoundry_device-gpio_PR-62 [Pipeline] { [Pipeline] ws [2022-10-17T07:21:35.457Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2022-10-17T07:21:35.536Z] The recommended git tool is: git [2022-10-17T07:21:40.522Z] using credential edgex-jenkins-ssh [2022-10-17T07:21:40.538Z] Cloning the remote Git repository [2022-10-17T07:21:40.581Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-10-17T07:21:40.653Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2022-10-17T07:21:40.799Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-10-17T07:21:40.800Z] > git --version # timeout=10 [2022-10-17T07:21:40.825Z] > git --version # 'git version 2.25.1' [2022-10-17T07:21:40.827Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T07:21:40.876Z] Verifying host key using known hosts file [2022-10-17T07:21:41.085Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-17T07:21:41.105Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T07:21:42.689Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-10-17T07:21:42.706Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T07:21:44.158Z] Merging remotes/origin/main commit f866d0e3c83b2da4ac448cff2cc7b6a39f977461 into PR head commit 88cf924b988971970494309713504e7cefba2046 [2022-10-17T07:21:43.504Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-10-17T07:21:43.556Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-10-17T07:21:43.557Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T07:21:43.563Z] Verifying host key using known hosts file [2022-10-17T07:21:43.570Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-17T07:21:43.582Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/62/head:refs/remotes/origin/PR-62 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-17T07:21:44.175Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T07:21:44.194Z] > git checkout -f 88cf924b988971970494309713504e7cefba2046 # timeout=10 [2022-10-17T07:21:44.278Z] > git remote # timeout=10 [2022-10-17T07:21:44.400Z] Merge succeeded, producing 88cf924b988971970494309713504e7cefba2046 [2022-10-17T07:21:44.400Z] Checking out Revision 88cf924b988971970494309713504e7cefba2046 (PR-62) [2022-10-17T07:21:44.299Z] > git config --get remote.origin.url # timeout=10 [2022-10-17T07:21:44.331Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T07:21:44.336Z] Verifying host key using known hosts file [2022-10-17T07:21:44.341Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-17T07:21:44.350Z] > git merge f866d0e3c83b2da4ac448cff2cc7b6a39f977461 # timeout=10 [2022-10-17T07:21:44.378Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-17T07:21:44.406Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T07:21:44.421Z] > git checkout -f 88cf924b988971970494309713504e7cefba2046 # timeout=10 [2022-10-17T07:21:47.902Z] Commit message: "feat(snap): add config interface with unique identifier" [2022-10-17T07:21:47.957Z] > git --version # timeout=10 [2022-10-17T07:21:47.976Z] > git --version # 'git version 2.25.1' [2022-10-17T07:21:47.989Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T07:21:49.039Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-17T07:21:49.040Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T07:21:49.040Z] Dload Upload Total Spent Left Speed [2022-10-17T07:21:49.040Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 94 12602 94 11883 0 0 74735 0 --:--:-- --:--:-- --:--:-- 74268 100 12602 100 12602 0 0 78273 0 --:--:-- --:--:-- --:--:-- 78273 [Pipeline] sh [2022-10-17T07:21:49.723Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-17T07:21:50.058Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-17T07:21:50.058Z] + sudo tee /etc/docker/daemon.new [2022-10-17T07:21:50.058Z] { [2022-10-17T07:21:50.058Z] "registry-mirrors": [ [2022-10-17T07:21:50.058Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-17T07:21:50.058Z] ], [2022-10-17T07:21:50.058Z] "bip": "10.250.0.254/24", [2022-10-17T07:21:50.058Z] "hosts": [ [2022-10-17T07:21:50.058Z] "tcp://0.0.0.0:5555", [2022-10-17T07:21:50.058Z] "unix:///var/run/docker.sock" [2022-10-17T07:21:50.058Z] ], [2022-10-17T07:21:50.058Z] "mtu": 1458, [2022-10-17T07:21:50.058Z] "selinux-enabled": true, [2022-10-17T07:21:50.058Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-17T07:21:50.058Z] } [Pipeline] sh [2022-10-17T07:21:50.402Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-17T07:21:50.746Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T07:22:09.058Z] provisioning config files... [2022-10-17T07:22:09.080Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config7640626072778668047tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T07:22:09.553Z] ---> docker-login.sh [2022-10-17T07:22:09.553Z] nexus3.edgexfoundry.org:10001 [2022-10-17T07:22:10.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T07:22:10.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T07:22:10.142Z] Configure a credential helper to remove this warning. See [2022-10-17T07:22:10.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T07:22:10.142Z] [2022-10-17T07:22:10.142Z] Login Succeeded [2022-10-17T07:22:10.142Z] nexus3.edgexfoundry.org:10002 [2022-10-17T07:22:10.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T07:22:10.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T07:22:10.412Z] Configure a credential helper to remove this warning. See [2022-10-17T07:22:10.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T07:22:10.412Z] [2022-10-17T07:22:10.412Z] Login Succeeded [2022-10-17T07:22:10.412Z] nexus3.edgexfoundry.org:10003 [2022-10-17T07:22:10.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T07:22:10.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T07:22:10.952Z] Configure a credential helper to remove this warning. See [2022-10-17T07:22:10.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T07:22:10.952Z] [2022-10-17T07:22:10.952Z] Login Succeeded [2022-10-17T07:22:10.952Z] nexus3.edgexfoundry.org:10004 [2022-10-17T07:22:11.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T07:22:11.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T07:22:11.223Z] Configure a credential helper to remove this warning. See [2022-10-17T07:22:11.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T07:22:11.223Z] [2022-10-17T07:22:11.223Z] Login Succeeded [2022-10-17T07:22:11.223Z] docker.io [2022-10-17T07:22:11.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T07:22:11.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T07:22:11.758Z] Configure a credential helper to remove this warning. See [2022-10-17T07:22:11.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T07:22:11.758Z] [2022-10-17T07:22:11.758Z] Login Succeeded [2022-10-17T07:22:11.758Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T07:22:11.788Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-17T07:22:12.037Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T07:22:12.069Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T07:22:12.098Z] ========================================================= [2022-10-17T07:22:12.098Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-17T07:22:12.098Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T07:22:12.592Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-17T07:22:12.861Z] Sending build context to Docker daemon 8.002MB [2022-10-17T07:22:12.861Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T07:22:12.861Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-17T07:22:13.131Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-17T07:22:13.131Z] 9b18e9b68314: Pulling fs layer [2022-10-17T07:22:13.131Z] d32db5db7311: Pulling fs layer [2022-10-17T07:22:13.131Z] d0c4b47475fc: Pulling fs layer [2022-10-17T07:22:13.131Z] 5831b945b038: Pulling fs layer [2022-10-17T07:22:13.131Z] 86bbec2aaacd: Pulling fs layer [2022-10-17T07:22:13.131Z] e10730c5d714: Pulling fs layer [2022-10-17T07:22:13.131Z] 5dd5c2283517: Pulling fs layer [2022-10-17T07:22:13.131Z] d5ac0230b979: Pulling fs layer [2022-10-17T07:22:13.131Z] e10730c5d714: Waiting [2022-10-17T07:22:13.131Z] 5dd5c2283517: Waiting [2022-10-17T07:22:13.131Z] 5831b945b038: Waiting [2022-10-17T07:22:13.131Z] 86bbec2aaacd: Waiting [2022-10-17T07:22:13.131Z] d5ac0230b979: Waiting [2022-10-17T07:22:13.131Z] d0c4b47475fc: Verifying Checksum [2022-10-17T07:22:13.131Z] d0c4b47475fc: Download complete [2022-10-17T07:22:13.131Z] d32db5db7311: Verifying Checksum [2022-10-17T07:22:13.131Z] d32db5db7311: Download complete [2022-10-17T07:22:13.131Z] 86bbec2aaacd: Verifying Checksum [2022-10-17T07:22:13.131Z] 86bbec2aaacd: Download complete [2022-10-17T07:22:13.131Z] e10730c5d714: Download complete [2022-10-17T07:22:13.131Z] 9b18e9b68314: Download complete [2022-10-17T07:22:14.109Z] 9b18e9b68314: Pull complete [2022-10-17T07:22:14.377Z] d5ac0230b979: Verifying Checksum [2022-10-17T07:22:14.377Z] d5ac0230b979: Download complete [2022-10-17T07:22:14.645Z] d32db5db7311: Pull complete [2022-10-17T07:22:14.913Z] d0c4b47475fc: Pull complete [2022-10-17T07:22:15.498Z] 5dd5c2283517: Verifying Checksum [2022-10-17T07:22:15.498Z] 5dd5c2283517: Download complete [2022-10-17T07:22:16.084Z] 5831b945b038: Verifying Checksum [2022-10-17T07:22:16.084Z] 5831b945b038: Download complete [2022-10-17T07:22:28.399Z] 5831b945b038: Pull complete [2022-10-17T07:22:28.399Z] 86bbec2aaacd: Pull complete [2022-10-17T07:22:28.667Z] e10730c5d714: Pull complete [2022-10-17T07:22:35.607Z] 5dd5c2283517: Pull complete [2022-10-17T07:22:37.019Z] d5ac0230b979: Pull complete [2022-10-17T07:22:37.019Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-17T07:22:37.019Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-17T07:22:37.019Z] ---> 59b3b1a385d4 [2022-10-17T07:22:37.019Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-17T07:22:38.432Z] ---> Running in 2306221b7273 [2022-10-17T07:22:41.016Z] Removing intermediate container 2306221b7273 [2022-10-17T07:22:41.016Z] ---> 4b3c27625494 [2022-10-17T07:22:41.016Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T07:22:41.016Z] ---> Running in dc141f735aab [2022-10-17T07:22:41.016Z] Removing intermediate container dc141f735aab [2022-10-17T07:22:41.016Z] ---> 9f4e94b3f60e [2022-10-17T07:22:41.016Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T07:22:41.016Z] ---> Running in ccdffe2a16a6 [2022-10-17T07:22:41.284Z] Removing intermediate container ccdffe2a16a6 [2022-10-17T07:22:41.284Z] ---> ee7f8be57246 [2022-10-17T07:22:41.284Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T07:22:41.284Z] ---> Running in 9a8999cc2d7c [2022-10-17T07:22:41.553Z] Removing intermediate container 9a8999cc2d7c [2022-10-17T07:22:41.553Z] ---> 33befb6d1385 [2022-10-17T07:22:41.553Z] Step 7/13 : WORKDIR /device-gpio [2022-10-17T07:22:41.820Z] ---> Running in bbdc0e38ab1f [2022-10-17T07:22:42.086Z] Removing intermediate container bbdc0e38ab1f [2022-10-17T07:22:42.086Z] ---> b2ab344d471d [2022-10-17T07:22:42.086Z] Step 8/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T07:22:42.086Z] ---> Running in e4d48a57cdec [2022-10-17T07:22:44.033Z] Removing intermediate container e4d48a57cdec [2022-10-17T07:22:44.033Z] ---> 0f9da4656591 [2022-10-17T07:22:44.033Z] Step 9/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T07:22:44.033Z] ---> Running in e5d99b5dd915 [2022-10-17T07:22:44.615Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T07:22:45.573Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T07:22:46.532Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-17T07:22:46.532Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-17T07:22:46.532Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-17T07:22:46.802Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-17T07:22:46.802Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T07:22:46.802Z] OK: 226 MiB in 55 packages [2022-10-17T07:22:47.765Z] Removing intermediate container e5d99b5dd915 [2022-10-17T07:22:47.765Z] ---> 19db4d750ba7 [2022-10-17T07:22:47.765Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-17T07:22:48.347Z] ---> b0e239253cd1 [2022-10-17T07:22:48.347Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T07:22:48.347Z] ---> Running in 7c23611fb065 [2022-10-17T07:23:44.758Z] Removing intermediate container 7c23611fb065 [2022-10-17T07:23:44.758Z] ---> 08720ecd41be [2022-10-17T07:23:44.758Z] Step 12/13 : COPY . . [2022-10-17T07:23:44.758Z] ---> cb76f0cfb73a [2022-10-17T07:23:44.758Z] Step 13/13 : RUN ${MAKE} [2022-10-17T07:23:44.758Z] ---> Running in 72d3d58a6448 [2022-10-17T07:23:44.758Z] noop [2022-10-17T07:23:44.758Z] Removing intermediate container 72d3d58a6448 [2022-10-17T07:23:44.758Z] ---> f923d8f089f3 [2022-10-17T07:23:44.758Z] Successfully built f923d8f089f3 [2022-10-17T07:23:44.758Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T07:23:45.248Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T07:23:45.248Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T07:23:45.476Z] prd-ubuntu20.04-docker-arm64-4c-16g-8039 does not seem to be running inside a container [2022-10-17T07:23:45.528Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-17T07:23:46.582Z] $ docker top 9a44b8f05236b275706d2172b67f27def72dd65b850d9c48c91f20f99adc1277 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T07:23:47.435Z] + go version [2022-10-17T07:23:47.435Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-17T07:23:47.465Z] $ docker stop --time=1 9a44b8f05236b275706d2172b67f27def72dd65b850d9c48c91f20f99adc1277 [2022-10-17T07:23:49.022Z] $ docker rm -f 9a44b8f05236b275706d2172b67f27def72dd65b850d9c48c91f20f99adc1277 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T07:23:49.822Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T07:23:49.822Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T07:23:50.050Z] prd-ubuntu20.04-docker-arm64-4c-16g-8039 does not seem to be running inside a container [2022-10-17T07:23:50.108Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-17T07:23:51.156Z] $ docker top 551cbc4af96100563866aae005610f43ca55d2f7efbee3342795e715aacb9496 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T07:23:51.680Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2022-10-17T07:23:52.065Z] + make test [2022-10-17T07:23:52.065Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-17T07:23:54.005Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-10-17T07:25:15.650Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-10-17T07:25:15.650Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-10-17T07:25:15.650Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-17T07:25:15.650Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T07:25:30.943Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T07:25:30.943Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-17T07:25:30.943Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-17T07:25:30.982Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T07:25:31.019Z] $ docker stop --time=1 551cbc4af96100563866aae005610f43ca55d2f7efbee3342795e715aacb9496 [2022-10-17T07:25:32.720Z] $ docker rm -f 551cbc4af96100563866aae005610f43ca55d2f7efbee3342795e715aacb9496 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T07:25:33.649Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T07:25:33.684Z] Warning: overwriting stash ‘coverage-report’ [2022-10-17T07:25:34.040Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T07:25:34.636Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-17T07:25:34.976Z] + ls -al . [2022-10-17T07:25:34.976Z] total 160 [2022-10-17T07:25:34.976Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 07:23 . [2022-10-17T07:25:34.976Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 07:21 .. [2022-10-17T07:25:34.976Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 17 07:21 .dockerignore [2022-10-17T07:25:34.976Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 07:21 .git [2022-10-17T07:25:34.976Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 07:21 .github [2022-10-17T07:25:34.976Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 17 07:21 .gitignore [2022-10-17T07:25:34.976Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 07:21 .golangci.yml [2022-10-17T07:25:34.976Z] -rw-rw-r-- 1 jenkins jenkins 9691 Oct 17 07:21 Attribution.txt [2022-10-17T07:25:34.976Z] -rw-rw-r-- 1 jenkins jenkins 3081 Oct 17 07:21 CHANGELOG.md [2022-10-17T07:25:34.976Z] -rw-rw-r-- 1 jenkins jenkins 1929 Oct 17 07:21 Dockerfile [2022-10-17T07:25:34.976Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 07:21 GOVERNANCE.md [2022-10-17T07:25:34.976Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 17 07:21 Jenkinsfile [2022-10-17T07:25:34.976Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 07:21 LICENSE [2022-10-17T07:25:34.976Z] -rw-rw-r-- 1 jenkins jenkins 2085 Oct 17 07:21 Makefile [2022-10-17T07:25:34.976Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 17 07:21 OWNERS.md [2022-10-17T07:25:34.976Z] -rw-rw-r-- 1 jenkins jenkins 11842 Oct 17 07:21 README.md [2022-10-17T07:25:34.976Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 07:19 VERSION [2022-10-17T07:25:34.976Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 07:21 bin [2022-10-17T07:25:34.976Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 07:21 cmd [2022-10-17T07:25:34.976Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 17 07:23 coverage.out [2022-10-17T07:25:34.976Z] -rw-rw-r-- 1 jenkins jenkins 3459 Oct 17 07:21 go.mod [2022-10-17T07:25:34.976Z] -rw-rw-r-- 1 jenkins jenkins 38054 Oct 17 07:21 go.sum [2022-10-17T07:25:34.976Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 07:21 internal [2022-10-17T07:25:34.976Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 07:21 snap [2022-10-17T07:25:34.976Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 17 07:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T07:25:35.391Z] + docker build -t device-gpio-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=88cf924b988971970494309713504e7cefba2046 --label arch=arm64 --label version=0.0.0 . [2022-10-17T07:25:35.659Z] Sending build context to Docker daemon 8.003MB [2022-10-17T07:25:35.659Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T07:25:35.659Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-17T07:25:35.659Z] ---> f923d8f089f3 [2022-10-17T07:25:35.659Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-17T07:25:35.659Z] ---> Running in 57012c858a85 [2022-10-17T07:25:35.929Z] Removing intermediate container 57012c858a85 [2022-10-17T07:25:35.929Z] ---> 1a3c9ad6df18 [2022-10-17T07:25:35.929Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T07:25:36.195Z] ---> Running in f523a7a327fb [2022-10-17T07:25:36.460Z] Removing intermediate container f523a7a327fb [2022-10-17T07:25:36.460Z] ---> 17bd41b4e6d6 [2022-10-17T07:25:36.460Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T07:25:36.460Z] ---> Running in 7f2e8622a73d [2022-10-17T07:25:36.728Z] Removing intermediate container 7f2e8622a73d [2022-10-17T07:25:36.728Z] ---> 33df85d05324 [2022-10-17T07:25:36.728Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T07:25:36.728Z] ---> Running in 16548a8a5337 [2022-10-17T07:25:36.993Z] Removing intermediate container 16548a8a5337 [2022-10-17T07:25:36.993Z] ---> 7c94beaa9c1f [2022-10-17T07:25:36.993Z] Step 7/27 : WORKDIR /device-gpio [2022-10-17T07:25:36.993Z] ---> Running in c702fe057b55 [2022-10-17T07:25:37.263Z] Removing intermediate container c702fe057b55 [2022-10-17T07:25:37.263Z] ---> 8e30d516284d [2022-10-17T07:25:37.263Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T07:25:37.263Z] ---> Running in 46c9d1c99670 [2022-10-17T07:25:38.671Z] Removing intermediate container 46c9d1c99670 [2022-10-17T07:25:38.671Z] ---> 4c96bb1a100e [2022-10-17T07:25:38.671Z] Step 9/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T07:25:38.940Z] ---> Running in a24e763b75ea [2022-10-17T07:25:39.896Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T07:25:40.476Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T07:25:41.436Z] OK: 226 MiB in 55 packages [2022-10-17T07:25:42.396Z] Removing intermediate container a24e763b75ea [2022-10-17T07:25:42.396Z] ---> d8cdf14d1baf [2022-10-17T07:25:42.396Z] Step 10/27 : COPY go.mod vendor* ./ [2022-10-17T07:25:42.664Z] ---> 92f3e3a8b8c6 [2022-10-17T07:25:42.664Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T07:25:42.932Z] ---> Running in c877264de354 [2022-10-17T07:25:44.878Z] Removing intermediate container c877264de354 [2022-10-17T07:25:44.878Z] ---> 076a5a88a67a [2022-10-17T07:25:44.878Z] Step 12/27 : COPY . . [2022-10-17T07:25:45.458Z] ---> 91d34092cfe3 [2022-10-17T07:25:45.458Z] Step 13/27 : RUN ${MAKE} [2022-10-17T07:25:45.458Z] ---> Running in c6a1e23a3b4e [2022-10-17T07:25:46.420Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-10-17T07:28:23.130Z] Removing intermediate container c6a1e23a3b4e [2022-10-17T07:28:23.130Z] ---> 2fa6e0278501 [2022-10-17T07:28:23.130Z] Step 14/27 : FROM alpine:3.16 [2022-10-17T07:28:23.130Z] 3.16: Pulling from library/alpine [2022-10-17T07:28:23.130Z] 9b18e9b68314: Already exists [2022-10-17T07:28:23.130Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-17T07:28:23.130Z] Status: Downloaded newer image for alpine:3.16 [2022-10-17T07:28:23.130Z] ---> a6215f271958 [2022-10-17T07:28:23.130Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-10-17T07:28:23.130Z] ---> Running in 2fc0c95019e3 [2022-10-17T07:28:23.130Z] Removing intermediate container 2fc0c95019e3 [2022-10-17T07:28:23.130Z] ---> ea137f63ec08 [2022-10-17T07:28:23.130Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T07:28:23.130Z] ---> Running in a1121d0dba72 [2022-10-17T07:28:23.130Z] Removing intermediate container a1121d0dba72 [2022-10-17T07:28:23.130Z] ---> ad1302c08191 [2022-10-17T07:28:23.130Z] Step 17/27 : RUN apk add --update --no-cache zeromq [2022-10-17T07:28:23.130Z] ---> Running in 153ad17bb21a [2022-10-17T07:28:23.130Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T07:28:23.130Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T07:28:23.130Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-17T07:28:23.130Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-17T07:28:23.130Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-17T07:28:23.130Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-17T07:28:23.130Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-17T07:28:23.130Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T07:28:23.130Z] OK: 8 MiB in 19 packages [2022-10-17T07:28:23.130Z] Removing intermediate container 153ad17bb21a [2022-10-17T07:28:23.130Z] ---> 3428446521da [2022-10-17T07:28:23.130Z] Step 18/27 : WORKDIR / [2022-10-17T07:28:23.130Z] ---> Running in 4f01d75c0012 [2022-10-17T07:28:23.130Z] Removing intermediate container 4f01d75c0012 [2022-10-17T07:28:23.130Z] ---> 13e7ac4147a1 [2022-10-17T07:28:23.130Z] Step 19/27 : COPY --from=builder /device-gpio/Attribution.txt / [2022-10-17T07:28:23.130Z] ---> 145ede4b3f7f [2022-10-17T07:28:23.130Z] Step 20/27 : COPY --from=builder /device-gpio/LICENSE / [2022-10-17T07:28:23.130Z] ---> 041fee7c6fbd [2022-10-17T07:28:23.130Z] Step 21/27 : COPY --from=builder /device-gpio/cmd/ / [2022-10-17T07:28:23.130Z] ---> 30f8fe69b42b [2022-10-17T07:28:23.130Z] Step 22/27 : EXPOSE 59910 [2022-10-17T07:28:23.130Z] ---> Running in bcd7924f6655 [2022-10-17T07:28:23.130Z] Removing intermediate container bcd7924f6655 [2022-10-17T07:28:23.130Z] ---> c7bb7470dd4b [2022-10-17T07:28:23.130Z] Step 23/27 : ENTRYPOINT ["/device-gpio"] [2022-10-17T07:28:23.130Z] ---> Running in 5fcb4d870383 [2022-10-17T07:28:23.130Z] Removing intermediate container 5fcb4d870383 [2022-10-17T07:28:23.130Z] ---> c783f85d3194 [2022-10-17T07:28:23.130Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-17T07:28:23.130Z] ---> Running in 80765c21637b [2022-10-17T07:28:23.130Z] Removing intermediate container 80765c21637b [2022-10-17T07:28:23.130Z] ---> 24fbf2006f5a [2022-10-17T07:28:23.130Z] Step 25/27 : LABEL arch=arm64 [2022-10-17T07:28:23.130Z] ---> Running in 4949a67ef763 [2022-10-17T07:28:23.130Z] Removing intermediate container 4949a67ef763 [2022-10-17T07:28:23.130Z] ---> 19c157ee03ab [2022-10-17T07:28:23.130Z] Step 26/27 : LABEL git_sha=88cf924b988971970494309713504e7cefba2046 [2022-10-17T07:28:23.130Z] ---> Running in 0c24a89042fc [2022-10-17T07:28:23.130Z] Removing intermediate container 0c24a89042fc [2022-10-17T07:28:23.130Z] ---> 2cd578ca5b93 [2022-10-17T07:28:23.130Z] Step 27/27 : LABEL version=0.0.0 [2022-10-17T07:28:23.406Z] ---> Running in bdc29bb6d94b [2022-10-17T07:28:23.674Z] Removing intermediate container bdc29bb6d94b [2022-10-17T07:28:23.674Z] ---> 700b9bddcc99 [2022-10-17T07:28:23.674Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-17T07:28:23.674Z] Successfully built 700b9bddcc99 [2022-10-17T07:28:23.674Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T07:28:24.506Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T07:28:24.507Z] [2022-10-17T07:28:24.507Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T07:28:24.917Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T07:28:24.917Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-17T07:28:24.917Z] 8998bd30e6a1: Pulling fs layer [2022-10-17T07:28:24.917Z] 04944245beec: Pulling fs layer [2022-10-17T07:28:24.917Z] 699f458cf7ca: Pulling fs layer [2022-10-17T07:28:24.917Z] 765212b225bb: Pulling fs layer [2022-10-17T07:28:24.917Z] f23df028b6ca: Pulling fs layer [2022-10-17T07:28:24.917Z] d65c8cfc05b1: Pulling fs layer [2022-10-17T07:28:24.917Z] 2437ff75d9bd: Pulling fs layer [2022-10-17T07:28:24.917Z] f23df028b6ca: Waiting [2022-10-17T07:28:24.917Z] d65c8cfc05b1: Waiting [2022-10-17T07:28:24.917Z] 2437ff75d9bd: Waiting [2022-10-17T07:28:24.917Z] 765212b225bb: Waiting [2022-10-17T07:28:25.187Z] 04944245beec: Verifying Checksum [2022-10-17T07:28:25.187Z] 04944245beec: Download complete [2022-10-17T07:28:25.187Z] 765212b225bb: Verifying Checksum [2022-10-17T07:28:25.187Z] 765212b225bb: Download complete [2022-10-17T07:28:25.187Z] f23df028b6ca: Verifying Checksum [2022-10-17T07:28:25.187Z] f23df028b6ca: Download complete [2022-10-17T07:28:25.187Z] d65c8cfc05b1: Verifying Checksum [2022-10-17T07:28:25.187Z] d65c8cfc05b1: Download complete [2022-10-17T07:28:25.187Z] 699f458cf7ca: Verifying Checksum [2022-10-17T07:28:25.187Z] 699f458cf7ca: Download complete [2022-10-17T07:28:25.770Z] 8998bd30e6a1: Verifying Checksum [2022-10-17T07:28:25.770Z] 8998bd30e6a1: Download complete [2022-10-17T07:28:27.734Z] 2437ff75d9bd: Verifying Checksum [2022-10-17T07:28:27.734Z] 2437ff75d9bd: Download complete [2022-10-17T07:28:29.676Z] 8998bd30e6a1: Pull complete [2022-10-17T07:28:29.943Z] 04944245beec: Pull complete [2022-10-17T07:28:31.349Z] 699f458cf7ca: Pull complete [2022-10-17T07:28:31.618Z] 765212b225bb: Pull complete [2022-10-17T07:28:32.201Z] f23df028b6ca: Pull complete [2022-10-17T07:28:32.469Z] d65c8cfc05b1: Pull complete [2022-10-17T07:28:47.451Z] 2437ff75d9bd: Pull complete [2022-10-17T07:28:47.451Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-17T07:28:47.451Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T07:28:47.451Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T07:28:47.791Z] prd-ubuntu20.04-docker-arm64-4c-16g-8039 does not seem to be running inside a container [2022-10-17T07:28:47.844Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-17T07:28:50.230Z] $ docker top 203dac20ccf767b4fda151cec60146f883932d0ec520f3646199850e65e51248 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T07:28:51.112Z] ---> job-cost.sh [2022-10-17T07:28:51.112Z] lf-activate-venv: SKIPPING [2022-10-17T07:28:51.112Z] INFO: No Stack... [2022-10-17T07:28:51.379Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-17T07:28:52.337Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T07:28:52.669Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2022-10-17T07:28:52.669Z] + cut -d, -f6 [Pipeline] lock [2022-10-17T07:28:52.725Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-62-1-stack-cost] [2022-10-17T07:28:52.730Z] Resource [jenkins-edgexfoundry-device-gpio-PR-62-1-stack-cost] did not exist. Created. [2022-10-17T07:28:52.731Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-62-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T07:28:53.144Z] /w/workspace/device-gpio/1@tmp/durable-afa7be96/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-17T07:28:53.494Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-17T07:28:53.534Z] Warning: overwriting stash ‘stack-cost’ [2022-10-17T07:28:53.572Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T07:28:53.586Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-62-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T07:28:53.667Z] $ docker stop --time=1 203dac20ccf767b4fda151cec60146f883932d0ec520f3646199850e65e51248 [2022-10-17T07:28:55.094Z] $ docker rm -f 203dac20ccf767b4fda151cec60146f883932d0ec520f3646199850e65e51248 [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 [2022-10-17T07:28:56.029Z] provisioning config files... [2022-10-17T07:28:56.036Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-62@tmp/config16298307475049692939tmp [Pipeline] { [Pipeline] sh [2022-10-17T07:28:56.374Z] + set +x [2022-10-17T07:28:56.374Z] + curl -s https://codecov.io/bash [2022-10-17T07:28:56.374Z] + bash -s -- [2022-10-17T07:28:56.374Z] [2022-10-17T07:28:56.374Z] _____ _ [2022-10-17T07:28:56.374Z] / ____| | | [2022-10-17T07:28:56.374Z] | | ___ __| | ___ ___ _____ __ [2022-10-17T07:28:56.374Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-17T07:28:56.374Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-17T07:28:56.374Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-17T07:28:56.374Z] Bash-1.0.6 [2022-10-17T07:28:56.374Z] [2022-10-17T07:28:56.374Z] [2022-10-17T07:28:56.374Z] ==> git version 2.25.1 found [2022-10-17T07:28:56.374Z] ==> 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 [2022-10-17T07:28:56.374Z] Release-Date: 2020-01-08 [2022-10-17T07:28:56.375Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-17T07:28:56.375Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-17T07:28:56.375Z] ==> Jenkins CI detected. [2022-10-17T07:28:56.375Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-62 [2022-10-17T07:28:56.375Z] project root: . [2022-10-17T07:28:56.375Z] --> token set from env [2022-10-17T07:28:56.375Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-17T07:28:56.375Z] ==> Running gcov in . (disable via -X gcov) [2022-10-17T07:28:56.375Z] ==> Python coveragepy not found [2022-10-17T07:28:56.375Z] ==> Searching for coverage reports in: [2022-10-17T07:28:56.375Z] + . [2022-10-17T07:28:56.375Z] -> Found 1 reports [2022-10-17T07:28:56.375Z] ==> Detecting git/mercurial file structure [2022-10-17T07:28:56.375Z] ==> Reading reports [2022-10-17T07:28:56.375Z] + ./coverage.out bytes=10 [2022-10-17T07:28:56.636Z] ==> Appending adjustments [2022-10-17T07:28:56.636Z] https://docs.codecov.io/docs/fixing-reports [2022-10-17T07:28:56.636Z] + Found adjustments [2022-10-17T07:28:56.636Z] ==> Gzipping contents [2022-10-17T07:28:56.636Z] 4.0K /tmp/codecov.12bHKJ.gz [2022-10-17T07:28:56.636Z] ==> Uploading reports [2022-10-17T07:28:56.636Z] url: https://codecov.io [2022-10-17T07:28:56.636Z] query: branch=PR-62&commit=88cf924b988971970494309713504e7cefba2046&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-62%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=62&job=&cmd_args= [2022-10-17T07:28:56.636Z] -> Pinging Codecov [2022-10-17T07:28:56.636Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-62&commit=88cf924b988971970494309713504e7cefba2046&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-62%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=62&job=&cmd_args= [2022-10-17T07:28:56.895Z] -> Uploading to [2022-10-17T07:28:56.896Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-17/3EC07B1A8CA8AF9BCAA0BB9F0134797F/88cf924b988971970494309713504e7cefba2046/0b5c2006-f4d8-4fdc-ac90-46bea35e110b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T072856Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=96852e899a801d67be484c32915949d5ff09cff3501d3613e72dde2581554c45 [2022-10-17T07:28:56.896Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T07:28:56.896Z] Dload Upload Total Spent Left Speed [2022-10-17T07:28:57.155Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 3086 --:--:-- --:--:-- --:--:-- 3086 [2022-10-17T07:28:57.155Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/88cf924b988971970494309713504e7cefba2046 [Pipeline] } [2022-10-17T07:28:57.181Z] 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 [2022-10-17T07:28:58.987Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-62/archives ] [2022-10-17T07:28:58.987Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-62/archives [2022-10-17T07:28:58.987Z] total 16 [2022-10-17T07:28:58.987Z] drwxr-xr-x 3 root root 4096 Oct 17 07:21 . [2022-10-17T07:28:58.987Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 07:21 .. [2022-10-17T07:28:58.987Z] drwxr-xr-x 2 root root 4096 Oct 17 07:21 cost [2022-10-17T07:28:58.987Z] -rw-r--r-- 1 root root 82 Oct 17 07:21 cost.csv [2022-10-17T07:28:58.987Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-62/archives [2022-10-17T07:28:58.987Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-62/archives [2022-10-17T07:28:58.987Z] total 16 [2022-10-17T07:28:58.987Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 07:21 . [2022-10-17T07:28:58.987Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 07:21 .. [2022-10-17T07:28:58.987Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 07:21 cost [2022-10-17T07:28:58.987Z] -rw-r--r-- 1 jenkins jenkins 82 Oct 17 07:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-17T07:28:59.311Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T07:29:00.198Z] ---> package-listing.sh [2022-10-17T07:29:00.198Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-17T07:29:00.198Z] ++ facter osfamily [2022-10-17T07:29:00.457Z] + OS_FAMILY=debian [2022-10-17T07:29:00.457Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-62 [2022-10-17T07:29:00.457Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-17T07:29:00.457Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-17T07:29:00.457Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-17T07:29:00.457Z] + PACKAGES=/tmp/packages_start.txt [2022-10-17T07:29:00.457Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-62 ']' [2022-10-17T07:29:00.457Z] + PACKAGES=/tmp/packages_end.txt [2022-10-17T07:29:00.457Z] + case "${OS_FAMILY}" in [2022-10-17T07:29:00.457Z] + dpkg -l [2022-10-17T07:29:00.457Z] + grep '^ii' [2022-10-17T07:29:00.457Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-17T07:29:00.457Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-17T07:29:00.457Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-17T07:29:00.457Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-62 ']' [2022-10-17T07:29:00.457Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-62/archives/ [2022-10-17T07:29:00.457Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-62/archives/ [Pipeline] echo [2022-10-17T07:29:00.490Z] 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-62/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-17T07:29:00.782Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T07:29:01.407Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T07:29:01.408Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T07:29:01.535Z] prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container [2022-10-17T07:29:01.567Z] $ 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-62/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-62 -v /w/workspace/edgexfoundry_device-gpio_PR-62:/w/workspace/edgexfoundry_device-gpio_PR-62:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-62@tmp:/w/workspace/edgexfoundry_device-gpio_PR-62@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 [2022-10-17T07:29:01.736Z] $ docker top b62897abc40d35e5fa016648b9d92ab26741c449e71102b8547ca961dd244f3d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T07:29:02.132Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-17T07:29:02.454Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-17T07:29:02.770Z] + ls /var/log/sa-host [2022-10-17T07:29:02.770Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T07:29:02.974Z] provisioning config files... [2022-10-17T07:29:02.985Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-62@tmp/config8069886584403745243tmp [Pipeline] { [Pipeline] echo [2022-10-17T07:29:03.033Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T07:29:03.343Z] ---> create-netrc.sh [Pipeline] } [2022-10-17T07:29:03.370Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-17T07:29:03.774Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-17T07:29:03.806Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T07:29:04.115Z] ---> sudo-logs.sh [2022-10-17T07:29:04.115Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-17T07:29:04.219Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T07:29:04.528Z] ---> job-cost.sh [2022-10-17T07:29:04.528Z] lf-activate-venv: SKIPPING [2022-10-17T07:29:04.528Z] DEBUG: total: 0.2199999988079071 [2022-10-17T07:29:04.528Z] INFO: Retrieving Stack Cost... [2022-10-17T07:29:05.098Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T07:29:05.358Z] INFO: Archiving Costs [Pipeline] echo [2022-10-17T07:29:05.391Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T07:29:05.711Z] ---> logs-deploy.sh [2022-10-17T07:29:05.711Z] lf-activate-venv: SKIPPING [2022-10-17T07:29:05.711Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-62/1 [2022-10-17T07:29:05.711Z] INFO: archiving workspace using pattern(s): [2022-10-17T07:29:06.648Z] Archives upload complete. [2022-10-17T07:29:06.648Z] INFO: archiving logs to Nexus