Pull request #58 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a62776ea683615eaaafb8ece202a55b03f17b8f7+af4cbf8f6a8a7b56fc7ae91ecc3f73edc5524a97 (b00b468aa27d1bfa3720cf0832d2b759f883f5d7) 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-ssh12657720266482413462.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-ssh720853010741276925.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-58/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-58/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3445722502401026393.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-58/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7660232704533455260.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-ssh1831581762120797693.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-58/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-58/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13036310501274259078.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6616’ Running on prd-ubuntu20.04-docker-8c-8g-6622 in /w/workspace/edgexfoundry_device-gpio_PR-58 [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-58 # 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/58/head:refs/remotes/origin/PR-58 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit af4cbf8f6a8a7b56fc7ae91ecc3f73edc5524a97 into PR head commit a62776ea683615eaaafb8ece202a55b03f17b8f7 Merge succeeded, producing a62776ea683615eaaafb8ece202a55b03f17b8f7 Checking out Revision a62776ea683615eaaafb8ece202a55b03f17b8f7 (PR-58) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-03T01:05:20.921Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-03T01:05:21.124Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f a62776ea683615eaaafb8ece202a55b03f17b8f7 # 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 af4cbf8f6a8a7b56fc7ae91ecc3f73edc5524a97 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a62776ea683615eaaafb8ece202a55b03f17b8f7 # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-03T01:05:21.230Z] ========================================================= [2022-10-03T01:05:21.230Z] EdgeX Global Pipelines Version Info [2022-10-03T01:05:21.230Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:05:21.972Z] ------------------- [2022-10-03T01:05:21.972Z] stable info: [2022-10-03T01:05:21.972Z] ------------------- [2022-10-03T01:05:21.972Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-03T01:05:21.972Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T01:05:21.972Z] Message: update stable to v1.0.239 [2022-10-03T01:05:22.549Z] ------------------- [2022-10-03T01:05:22.549Z] experimental info: [2022-10-03T01:05:22.549Z] ------------------- [2022-10-03T01:05:22.549Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-03T01:05:22.549Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T01:05:22.549Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-03T01:05:22.848Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-10-03T01:05:22.889Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-10-03T01:05:22.940Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-03T01:05:22.979Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-03T01:05:23.020Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-03T01:05:23.061Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-03T01:05:23.101Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-03T01:05:23.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-03T01:05:23.186Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-03T01:05:23.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-03T01:05:23.273Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-03T01:05:23.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-10-03T01:05:23.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-03T01:05:23.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-03T01:05:23.435Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T01:05:23.473Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T01:05:23.510Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T01:05:23.550Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T01:05:23.590Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-03T01:05:23.635Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-03T01:05:23.679Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-03T01:05:23.724Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-03T01:05:23.772Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-03T01:05:23.815Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-03T01:05:23.861Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-03T01:05:23.898Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-03T01:05:23.938Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-03T01:05:23.978Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-58 [Pipeline] echo [2022-10-03T01:05:24.019Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-58 [Pipeline] echo [2022-10-03T01:05:24.060Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-58 [Pipeline] echo [2022-10-03T01:05:24.109Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a62776ea683615eaaafb8ece202a55b03f17b8f7 [Pipeline] echo [2022-10-03T01:05:24.152Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a62776e [Pipeline] echo [2022-10-03T01:05:24.196Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T01:05:24.313Z] provisioning config files... [2022-10-03T01:05:24.328Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-58@tmp/config17609830606624935578tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:05:24.676Z] ---> docker-login.sh [2022-10-03T01:05:24.676Z] nexus3.edgexfoundry.org:10001 [2022-10-03T01:05:24.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:05:25.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:05:25.197Z] Configure a credential helper to remove this warning. See [2022-10-03T01:05:25.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:05:25.197Z] [2022-10-03T01:05:25.197Z] Login Succeeded [2022-10-03T01:05:25.197Z] nexus3.edgexfoundry.org:10002 [2022-10-03T01:05:25.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:05:25.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:05:25.458Z] Configure a credential helper to remove this warning. See [2022-10-03T01:05:25.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:05:25.458Z] [2022-10-03T01:05:25.458Z] Login Succeeded [2022-10-03T01:05:25.458Z] nexus3.edgexfoundry.org:10003 [2022-10-03T01:05:25.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:05:25.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:05:25.458Z] Configure a credential helper to remove this warning. See [2022-10-03T01:05:25.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:05:25.458Z] [2022-10-03T01:05:25.458Z] Login Succeeded [2022-10-03T01:05:25.458Z] nexus3.edgexfoundry.org:10004 [2022-10-03T01:05:25.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:05:25.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:05:25.459Z] Configure a credential helper to remove this warning. See [2022-10-03T01:05:25.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:05:25.459Z] [2022-10-03T01:05:25.459Z] Login Succeeded [2022-10-03T01:05:25.459Z] docker.io [2022-10-03T01:05:25.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:05:25.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:05:25.979Z] Configure a credential helper to remove this warning. See [2022-10-03T01:05:25.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:05:25.979Z] [2022-10-03T01:05:25.979Z] Login Succeeded [2022-10-03T01:05:25.979Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T01:05:26.006Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-03T01:05:26.678Z] + git rev-list -1 --merges a62776ea683615eaaafb8ece202a55b03f17b8f7~1..a62776ea683615eaaafb8ece202a55b03f17b8f7 [Pipeline] echo [2022-10-03T01:05:26.726Z] -----------> git rev-list -1 --merges a62776ea683615eaaafb8ece202a55b03f17b8f7~1..a62776ea683615eaaafb8ece202a55b03f17b8f7 a62776ea683615eaaafb8ece202a55b03f17b8f7 [false] [Pipeline] sh [2022-10-03T01:05:27.037Z] + git log --format=format:%s -1 a62776ea683615eaaafb8ece202a55b03f17b8f7 [Pipeline] echo [2022-10-03T01:05:27.077Z] ========================================================= [2022-10-03T01:05:27.077Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-03T01:05:27.077Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T01:05:27.512Z] + git log --format=format:%s -1 a62776ea683615eaaafb8ece202a55b03f17b8f7 [Pipeline] echo [2022-10-03T01:05:27.551Z] [semverPrep] GIT_COMMIT: a62776ea683615eaaafb8ece202a55b03f17b8f7, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-10-03T01:05:27.581Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-03T01:05:28.000Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-03T01:05:28.000Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-03T01:05:28.000Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-03T01:05:28.000Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-03T01:05:28.000Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-03T01:05:28.000Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-03T01:05:28.000Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:05:28.519Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T01:05:28.519Z] [2022-10-03T01:05:28.519Z] 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-03T01:05:28.896Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T01:05:29.470Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-03T01:05:29.470Z] b85a868b505f: Pulling fs layer [2022-10-03T01:05:29.470Z] e2be974225ed: Pulling fs layer [2022-10-03T01:05:29.470Z] 339a4e72a1f5: Pulling fs layer [2022-10-03T01:05:29.470Z] 988bab9f4d93: Pulling fs layer [2022-10-03T01:05:29.470Z] 1469e6f7b9e6: Pulling fs layer [2022-10-03T01:05:29.470Z] eaf3925da568: Pulling fs layer [2022-10-03T01:05:29.470Z] bab4dde63d76: Pulling fs layer [2022-10-03T01:05:29.470Z] bde34c3a00c8: Pulling fs layer [2022-10-03T01:05:29.470Z] b352a97aabf1: Pulling fs layer [2022-10-03T01:05:29.470Z] 4872d77fe225: Pulling fs layer [2022-10-03T01:05:29.470Z] 5851b861e8e6: Pulling fs layer [2022-10-03T01:05:29.470Z] 988bab9f4d93: Waiting [2022-10-03T01:05:29.470Z] 1469e6f7b9e6: Waiting [2022-10-03T01:05:29.470Z] bde34c3a00c8: Waiting [2022-10-03T01:05:29.470Z] bab4dde63d76: Waiting [2022-10-03T01:05:29.470Z] 4872d77fe225: Waiting [2022-10-03T01:05:29.470Z] eaf3925da568: Waiting [2022-10-03T01:05:29.470Z] 5851b861e8e6: Waiting [2022-10-03T01:05:29.470Z] e2be974225ed: Verifying Checksum [2022-10-03T01:05:29.470Z] e2be974225ed: Download complete [2022-10-03T01:05:29.470Z] 988bab9f4d93: Verifying Checksum [2022-10-03T01:05:29.470Z] 988bab9f4d93: Download complete [2022-10-03T01:05:29.470Z] 1469e6f7b9e6: Verifying Checksum [2022-10-03T01:05:29.470Z] 1469e6f7b9e6: Download complete [2022-10-03T01:05:29.470Z] 339a4e72a1f5: Verifying Checksum [2022-10-03T01:05:29.470Z] 339a4e72a1f5: Download complete [2022-10-03T01:05:29.470Z] eaf3925da568: Verifying Checksum [2022-10-03T01:05:29.470Z] eaf3925da568: Download complete [2022-10-03T01:05:29.470Z] bde34c3a00c8: Download complete [2022-10-03T01:05:29.470Z] b352a97aabf1: Download complete [2022-10-03T01:05:29.730Z] 4872d77fe225: Download complete [2022-10-03T01:05:29.730Z] 5851b861e8e6: Download complete [2022-10-03T01:05:29.730Z] b85a868b505f: Verifying Checksum [2022-10-03T01:05:29.730Z] b85a868b505f: Download complete [2022-10-03T01:05:29.989Z] bab4dde63d76: Verifying Checksum [2022-10-03T01:05:29.989Z] bab4dde63d76: Download complete [2022-10-03T01:05:30.928Z] b85a868b505f: Pull complete [2022-10-03T01:05:31.187Z] e2be974225ed: Pull complete [2022-10-03T01:05:31.755Z] 339a4e72a1f5: Pull complete [2022-10-03T01:05:31.755Z] 988bab9f4d93: Pull complete [2022-10-03T01:05:32.013Z] 1469e6f7b9e6: Pull complete [2022-10-03T01:05:32.013Z] eaf3925da568: Pull complete [2022-10-03T01:05:33.917Z] bab4dde63d76: Pull complete [2022-10-03T01:05:34.176Z] bde34c3a00c8: Pull complete [2022-10-03T01:05:34.176Z] b352a97aabf1: Pull complete [2022-10-03T01:05:34.176Z] 4872d77fe225: Pull complete [2022-10-03T01:05:34.436Z] 5851b861e8e6: Pull complete [2022-10-03T01:05:34.436Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-03T01:05:34.436Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T01:05:34.436Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T01:05:34.704Z] prd-ubuntu20.04-docker-8c-8g-6622 does not seem to be running inside a container [2022-10-03T01:05:34.741Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-58 -v /w/workspace/edgexfoundry_device-gpio_PR-58:/w/workspace/edgexfoundry_device-gpio_PR-58:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-58@tmp:/w/workspace/edgexfoundry_device-gpio_PR-58@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-03T01:05:36.142Z] $ docker top 065806ddc7c6bf8234fb4aa5a1b9d121b806dca3f831de5c41a200d255c774a7 -eo pid,comm [2022-10-03T01:05:36.199Z] 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-03T01:05:36.199Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-03T01:05:36.330Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T01:05:36.330Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T01:05:36.456Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T01:05:36.457Z] $ docker exec 065806ddc7c6bf8234fb4aa5a1b9d121b806dca3f831de5c41a200d255c774a7 ssh-agent [2022-10-03T01:05:36.580Z] SSH_AUTH_SOCK=/tmp/ssh-cYTX8CiP86UQ/agent.33 [2022-10-03T01:05:36.580Z] SSH_AGENT_PID=39 [2022-10-03T01:05:36.586Z] Running ssh-add (command line suppressed) [2022-10-03T01:05:36.687Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-58@tmp/private_key_14604205996499134264.key (/w/workspace/edgexfoundry_device-gpio_PR-58@tmp/private_key_14604205996499134264.key) [2022-10-03T01:05:36.702Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T01:05:37.030Z] + git tag --points-at HEAD [Pipeline] } [2022-10-03T01:05:37.055Z] $ docker exec --env ******** --env ******** 065806ddc7c6bf8234fb4aa5a1b9d121b806dca3f831de5c41a200d255c774a7 ssh-agent -k [2022-10-03T01:05:37.161Z] unset SSH_AUTH_SOCK; [2022-10-03T01:05:37.161Z] unset SSH_AGENT_PID; [2022-10-03T01:05:37.161Z] echo Agent pid 39 killed; [2022-10-03T01:05:37.173Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-03T01:05:37.268Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T01:05:37.268Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T01:05:37.376Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T01:05:37.378Z] $ docker exec 065806ddc7c6bf8234fb4aa5a1b9d121b806dca3f831de5c41a200d255c774a7 ssh-agent [2022-10-03T01:05:37.481Z] SSH_AUTH_SOCK=/tmp/ssh-RFrP9DfUUxyj/agent.71 [2022-10-03T01:05:37.481Z] SSH_AGENT_PID=77 [2022-10-03T01:05:37.486Z] Running ssh-add (command line suppressed) [2022-10-03T01:05:37.588Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-58@tmp/private_key_1518476632991813071.key (/w/workspace/edgexfoundry_device-gpio_PR-58@tmp/private_key_1518476632991813071.key) [2022-10-03T01:05:37.602Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T01:05:37.938Z] + git semver init [2022-10-03T01:05:38.197Z] 2022-10-03 01:05:38,137 [run_init] DEBUG init version:0.0.0 force:False [2022-10-03T01:05:38.198Z] 2022-10-03 01:05:38,138 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-58/.semver [2022-10-03T01:05:38.198Z] 2022-10-03 01:05:38,139 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-58/.semver [2022-10-03T01:05:38.198Z] 2022-10-03 01:05:38,139 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-58/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-58, universal_newlines=False, shell=None, istream=None) [2022-10-03T01:05:39.579Z] 2022-10-03 01:05:39,263 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-58/.git/info/exclude [2022-10-03T01:05:39.579Z] 2022-10-03 01:05:39,264 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-58/.semver/PR-58 with force:False [2022-10-03T01:05:39.579Z] 2022-10-03 01:05:39,264 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-58/.semver/PR-58 [2022-10-03T01:05:39.579Z] 2022-10-03 01:05:39,268 [execute] INFO git cat-file --batch-check [2022-10-03T01:05:39.579Z] 2022-10-03 01:05:39,268 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-58/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T01:05:39.579Z] 2022-10-03 01:05:39,274 [execute] INFO git cat-file --batch [2022-10-03T01:05:39.579Z] 2022-10-03 01:05:39,275 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-58/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T01:05:39.579Z] 2022-10-03 01:05:39,280 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-58/.semver/PR-58 [2022-10-03T01:05:39.579Z] 0.0.0 [Pipeline] } [2022-10-03T01:05:39.605Z] $ docker exec --env ******** --env ******** 065806ddc7c6bf8234fb4aa5a1b9d121b806dca3f831de5c41a200d255c774a7 ssh-agent -k [2022-10-03T01:05:39.708Z] unset SSH_AUTH_SOCK; [2022-10-03T01:05:39.709Z] unset SSH_AGENT_PID; [2022-10-03T01:05:39.709Z] echo Agent pid 77 killed; [2022-10-03T01:05:39.719Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-03T01:05:40.158Z] + git semver [Pipeline] } [2022-10-03T01:05:40.441Z] $ docker stop --time=1 065806ddc7c6bf8234fb4aa5a1b9d121b806dca3f831de5c41a200d255c774a7 [2022-10-03T01:05:41.784Z] $ docker rm -f 065806ddc7c6bf8234fb4aa5a1b9d121b806dca3f831de5c41a200d255c774a7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T01:05:42.193Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-03T01:05:42.443Z] Stashed 1 file(s) [Pipeline] echo [2022-10-03T01:05:42.460Z] [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-03T01:05:43.093Z] provisioning config files... [2022-10-03T01:05:43.105Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-58@tmp/config7806194964458775565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:05:43.455Z] ---> docker-login.sh [2022-10-03T01:05:43.455Z] nexus3.edgexfoundry.org:10001 [2022-10-03T01:05:43.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:05:43.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:05:43.455Z] Configure a credential helper to remove this warning. See [2022-10-03T01:05:43.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:05:43.455Z] [2022-10-03T01:05:43.455Z] Login Succeeded [2022-10-03T01:05:43.455Z] nexus3.edgexfoundry.org:10002 [2022-10-03T01:05:43.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:05:43.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:05:43.455Z] Configure a credential helper to remove this warning. See [2022-10-03T01:05:43.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:05:43.455Z] [2022-10-03T01:05:43.455Z] Login Succeeded [2022-10-03T01:05:43.455Z] nexus3.edgexfoundry.org:10003 [2022-10-03T01:05:43.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:05:43.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:05:43.714Z] Configure a credential helper to remove this warning. See [2022-10-03T01:05:43.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:05:43.714Z] [2022-10-03T01:05:43.714Z] Login Succeeded [2022-10-03T01:05:43.714Z] nexus3.edgexfoundry.org:10004 [2022-10-03T01:05:43.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:05:43.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:05:43.714Z] Configure a credential helper to remove this warning. See [2022-10-03T01:05:43.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:05:43.714Z] [2022-10-03T01:05:43.714Z] Login Succeeded [2022-10-03T01:05:43.714Z] docker.io [2022-10-03T01:05:43.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:05:44.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:05:44.233Z] Configure a credential helper to remove this warning. See [2022-10-03T01:05:44.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:05:44.233Z] [2022-10-03T01:05:44.233Z] Login Succeeded [2022-10-03T01:05:44.233Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T01:05:44.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T01:05:44.462Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T01:05:44.501Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T01:05:44.534Z] ========================================================= [2022-10-03T01:05:44.534Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-03T01:05:44.534Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:05:45.024Z] + 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-03T01:05:45.024Z] Sending build context to Docker daemon 15.85MB [2022-10-03T01:05:45.024Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T01:05:45.024Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-03T01:05:45.292Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-03T01:05:45.292Z] 2408cc74d12b: Pulling fs layer [2022-10-03T01:05:45.292Z] ea60b727a1ce: Pulling fs layer [2022-10-03T01:05:45.292Z] 30c4a7721957: Pulling fs layer [2022-10-03T01:05:45.292Z] 370296b7ddb6: Pulling fs layer [2022-10-03T01:05:45.292Z] 7c6cee850709: Pulling fs layer [2022-10-03T01:05:45.292Z] aa9baa53a306: Pulling fs layer [2022-10-03T01:05:45.292Z] 8b309c321861: Pulling fs layer [2022-10-03T01:05:45.292Z] d8d76fd02f46: Pulling fs layer [2022-10-03T01:05:45.292Z] fa31f396de31: Pulling fs layer [2022-10-03T01:05:45.292Z] aa9baa53a306: Waiting [2022-10-03T01:05:45.292Z] fa31f396de31: Waiting [2022-10-03T01:05:45.292Z] 370296b7ddb6: Waiting [2022-10-03T01:05:45.292Z] 8b309c321861: Waiting [2022-10-03T01:05:45.292Z] d8d76fd02f46: Waiting [2022-10-03T01:05:45.292Z] 30c4a7721957: Verifying Checksum [2022-10-03T01:05:45.292Z] 30c4a7721957: Download complete [2022-10-03T01:05:45.292Z] ea60b727a1ce: Verifying Checksum [2022-10-03T01:05:45.292Z] ea60b727a1ce: Download complete [2022-10-03T01:05:45.292Z] 7c6cee850709: Verifying Checksum [2022-10-03T01:05:45.292Z] 7c6cee850709: Download complete [2022-10-03T01:05:45.292Z] aa9baa53a306: Verifying Checksum [2022-10-03T01:05:45.292Z] aa9baa53a306: Download complete [2022-10-03T01:05:45.292Z] 2408cc74d12b: Verifying Checksum [2022-10-03T01:05:45.292Z] 2408cc74d12b: Download complete [2022-10-03T01:05:45.292Z] 8b309c321861: Verifying Checksum [2022-10-03T01:05:45.292Z] 8b309c321861: Download complete [2022-10-03T01:05:45.292Z] 2408cc74d12b: Pull complete [2022-10-03T01:05:45.561Z] ea60b727a1ce: Pull complete [2022-10-03T01:05:45.561Z] 30c4a7721957: Pull complete [2022-10-03T01:05:46.146Z] fa31f396de31: Download complete [2022-10-03T01:05:46.146Z] 370296b7ddb6: Verifying Checksum [2022-10-03T01:05:46.146Z] 370296b7ddb6: Download complete [2022-10-03T01:05:46.146Z] d8d76fd02f46: Download complete [2022-10-03T01:05:50.329Z] 370296b7ddb6: Pull complete [2022-10-03T01:05:50.329Z] 7c6cee850709: Pull complete [2022-10-03T01:05:50.329Z] aa9baa53a306: Pull complete [2022-10-03T01:05:50.329Z] 8b309c321861: Pull complete [2022-10-03T01:05:52.852Z] d8d76fd02f46: Pull complete [2022-10-03T01:05:53.111Z] fa31f396de31: Pull complete [2022-10-03T01:05:53.111Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-03T01:05:53.111Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-03T01:05:53.111Z] ---> cef68f9685f8 [2022-10-03T01:05:53.111Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-03T01:05:55.023Z] ---> Running in 03a612301c85 [2022-10-03T01:05:55.023Z] Removing intermediate container 03a612301c85 [2022-10-03T01:05:55.023Z] ---> cdb8dbaebffd [2022-10-03T01:05:55.023Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T01:05:55.023Z] ---> Running in 8710a45b48e5 [2022-10-03T01:05:55.023Z] Removing intermediate container 8710a45b48e5 [2022-10-03T01:05:55.023Z] ---> 04869de0cb52 [2022-10-03T01:05:55.023Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T01:05:55.298Z] ---> Running in 12cc2b72553d [2022-10-03T01:05:55.298Z] Removing intermediate container 12cc2b72553d [2022-10-03T01:05:55.298Z] ---> b37225c8d821 [2022-10-03T01:05:55.298Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T01:05:55.298Z] ---> Running in d33a7a54d2f1 [2022-10-03T01:05:55.555Z] Removing intermediate container d33a7a54d2f1 [2022-10-03T01:05:55.555Z] ---> eb2a07fd9c27 [2022-10-03T01:05:55.555Z] Step 7/13 : WORKDIR /device-gpio [2022-10-03T01:05:55.555Z] ---> Running in db304970eb4d [2022-10-03T01:05:55.555Z] Removing intermediate container db304970eb4d [2022-10-03T01:05:55.555Z] ---> c3b17444e68f [2022-10-03T01:05:55.555Z] Step 8/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T01:05:55.555Z] ---> Running in 8e377b979fc5 [2022-10-03T01:05:56.136Z] Removing intermediate container 8e377b979fc5 [2022-10-03T01:05:56.136Z] ---> 7023c55a8c1c [2022-10-03T01:05:56.136Z] Step 9/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T01:05:56.395Z] ---> Running in 2459c8949a2e [2022-10-03T01:05:56.653Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T01:05:57.590Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T01:05:57.914Z] Still waiting to schedule task [2022-10-03T01:05:57.915Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6620’ [2022-10-03T01:05:58.158Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-03T01:05:58.158Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-03T01:05:58.158Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-03T01:05:58.416Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-03T01:05:58.416Z] Executing busybox-1.35.0-r13.trigger [2022-10-03T01:05:58.416Z] OK: 216 MiB in 55 packages [2022-10-03T01:05:58.982Z] Removing intermediate container 2459c8949a2e [2022-10-03T01:05:58.982Z] ---> 33597d969001 [2022-10-03T01:05:58.982Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-03T01:05:58.982Z] ---> dd34144f9aa9 [2022-10-03T01:05:58.982Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T01:05:58.982Z] ---> Running in ce97c1ecd401 [2022-10-03T01:06:25.537Z] Removing intermediate container ce97c1ecd401 [2022-10-03T01:06:25.537Z] ---> a7bacdea85b7 [2022-10-03T01:06:25.537Z] Step 12/13 : COPY . . [2022-10-03T01:06:25.537Z] ---> 1301e4157610 [2022-10-03T01:06:25.537Z] Step 13/13 : RUN ${MAKE} [2022-10-03T01:06:25.537Z] ---> Running in 3c19fa02c117 [2022-10-03T01:06:25.537Z] noop [2022-10-03T01:06:25.537Z] Removing intermediate container 3c19fa02c117 [2022-10-03T01:06:25.537Z] ---> a69045586606 [2022-10-03T01:06:25.537Z] Successfully built a69045586606 [2022-10-03T01:06:25.537Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:06:25.997Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T01:06:25.997Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T01:06:26.141Z] prd-ubuntu20.04-docker-8c-8g-6622 does not seem to be running inside a container [2022-10-03T01:06:26.171Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-58 -v /w/workspace/edgexfoundry_device-gpio_PR-58:/w/workspace/edgexfoundry_device-gpio_PR-58:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-58@tmp:/w/workspace/edgexfoundry_device-gpio_PR-58@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-03T01:06:26.588Z] $ docker top e155967ee0982a92488ba0e8bb6cbc7d08ceee26558b08f662d0e9bc0f78c71e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T01:06:26.977Z] + go version [2022-10-03T01:06:26.977Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-03T01:06:27.015Z] $ docker stop --time=1 e155967ee0982a92488ba0e8bb6cbc7d08ceee26558b08f662d0e9bc0f78c71e [2022-10-03T01:06:28.321Z] $ docker rm -f e155967ee0982a92488ba0e8bb6cbc7d08ceee26558b08f662d0e9bc0f78c71e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:06:29.030Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T01:06:29.030Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T01:06:29.174Z] prd-ubuntu20.04-docker-8c-8g-6622 does not seem to be running inside a container [2022-10-03T01:06:29.205Z] $ 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-58 -v /w/workspace/edgexfoundry_device-gpio_PR-58:/w/workspace/edgexfoundry_device-gpio_PR-58:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-58@tmp:/w/workspace/edgexfoundry_device-gpio_PR-58@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-03T01:06:29.601Z] $ docker top 6fd6fc38f95e8ba1faa88f54a90c3bd6b72a3fa8d6547b236082297b44f8875f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T01:06:29.994Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-58 [Pipeline] fileExists [Pipeline] sh [2022-10-03T01:06:30.351Z] + make test [2022-10-03T01:06:30.352Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-03T01:06:30.610Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-10-03T01:06:40.572Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-10-03T01:06:40.572Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-10-03T01:06:47.126Z] 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-03T01:06:47.126Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T01:06:50.407Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T01:06:50.407Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T01:06:50.407Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T01:06:50.444Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T01:06:50.481Z] $ docker stop --time=1 6fd6fc38f95e8ba1faa88f54a90c3bd6b72a3fa8d6547b236082297b44f8875f [2022-10-03T01:06:52.189Z] $ docker rm -f 6fd6fc38f95e8ba1faa88f54a90c3bd6b72a3fa8d6547b236082297b44f8875f [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T01:06:52.749Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T01:06:52.871Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-03T01:06:53.578Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T01:06:53.899Z] + ls -al . [2022-10-03T01:06:53.899Z] total 164 [2022-10-03T01:06:53.899Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 01:06 . [2022-10-03T01:06:53.899Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 01:05 .. [2022-10-03T01:06:53.899Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 3 01:05 .dockerignore [2022-10-03T01:06:53.899Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 01:06 .git [2022-10-03T01:06:53.899Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:05 .github [2022-10-03T01:06:53.899Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 3 01:05 .gitignore [2022-10-03T01:06:53.899Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 01:05 .golangci.yml [2022-10-03T01:06:53.899Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 01:05 .semver [2022-10-03T01:06:53.899Z] -rw-rw-r-- 1 jenkins jenkins 9691 Oct 3 01:05 Attribution.txt [2022-10-03T01:06:53.899Z] -rw-rw-r-- 1 jenkins jenkins 3081 Oct 3 01:05 CHANGELOG.md [2022-10-03T01:06:53.899Z] -rw-rw-r-- 1 jenkins jenkins 1929 Oct 3 01:05 Dockerfile [2022-10-03T01:06:53.899Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 01:05 GOVERNANCE.md [2022-10-03T01:06:53.899Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 3 01:05 Jenkinsfile [2022-10-03T01:06:53.899Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 01:05 LICENSE [2022-10-03T01:06:53.899Z] -rw-rw-r-- 1 jenkins jenkins 2085 Oct 3 01:05 Makefile [2022-10-03T01:06:53.899Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 3 01:05 OWNERS.md [2022-10-03T01:06:53.899Z] -rw-rw-r-- 1 jenkins jenkins 11842 Oct 3 01:05 README.md [2022-10-03T01:06:53.899Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 01:05 VERSION [2022-10-03T01:06:53.899Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 01:05 bin [2022-10-03T01:06:53.899Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:05 cmd [2022-10-03T01:06:53.899Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 3 01:06 coverage.out [2022-10-03T01:06:53.899Z] -rw-rw-r-- 1 jenkins jenkins 3459 Oct 3 01:05 go.mod [2022-10-03T01:06:53.899Z] -rw-rw-r-- 1 jenkins jenkins 38054 Oct 3 01:05 go.sum [2022-10-03T01:06:53.899Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:05 internal [2022-10-03T01:06:53.899Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 01:05 snap [2022-10-03T01:06:53.899Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 3 01:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:06:54.310Z] + 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=a62776ea683615eaaafb8ece202a55b03f17b8f7 --label arch=amd64 --label version=0.0.0 . [2022-10-03T01:06:54.310Z] Sending build context to Docker daemon 15.85MB [2022-10-03T01:06:54.310Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T01:06:54.310Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-03T01:06:54.310Z] ---> a69045586606 [2022-10-03T01:06:54.310Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-03T01:06:54.570Z] ---> Running in d2840b12de7f [2022-10-03T01:06:54.570Z] Removing intermediate container d2840b12de7f [2022-10-03T01:06:54.570Z] ---> 9c88fe15aec8 [2022-10-03T01:06:54.570Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T01:06:54.570Z] ---> Running in 101c24266a8c [2022-10-03T01:06:54.846Z] Removing intermediate container 101c24266a8c [2022-10-03T01:06:54.847Z] ---> b2bc9cd81504 [2022-10-03T01:06:54.847Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T01:06:54.847Z] ---> Running in 7206b00a3b19 [2022-10-03T01:06:54.847Z] Removing intermediate container 7206b00a3b19 [2022-10-03T01:06:54.847Z] ---> 35ad3e47097b [2022-10-03T01:06:54.847Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T01:06:54.847Z] ---> Running in fa471b164bd4 [2022-10-03T01:06:55.119Z] Removing intermediate container fa471b164bd4 [2022-10-03T01:06:55.119Z] ---> 8325b1cfa618 [2022-10-03T01:06:55.119Z] Step 7/27 : WORKDIR /device-gpio [2022-10-03T01:06:55.119Z] ---> Running in be4d5e723aef [2022-10-03T01:06:55.119Z] Removing intermediate container be4d5e723aef [2022-10-03T01:06:55.119Z] ---> 6cbef3dc951b [2022-10-03T01:06:55.119Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T01:06:55.119Z] ---> Running in 98f9cab801bf [2022-10-03T01:06:55.689Z] Removing intermediate container 98f9cab801bf [2022-10-03T01:06:55.689Z] ---> 1c51657309ae [2022-10-03T01:06:55.689Z] Step 9/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T01:06:55.947Z] ---> Running in f3ce20f94605 [2022-10-03T01:06:56.206Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T01:06:57.141Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T01:06:57.141Z] OK: 216 MiB in 55 packages [2022-10-03T01:06:57.721Z] Removing intermediate container f3ce20f94605 [2022-10-03T01:06:57.721Z] ---> b119a8baf00f [2022-10-03T01:06:57.721Z] Step 10/27 : COPY go.mod vendor* ./ [2022-10-03T01:06:57.721Z] ---> 857f064850f1 [2022-10-03T01:06:57.721Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T01:06:57.980Z] ---> Running in 77913e5f4ccc [2022-10-03T01:06:58.546Z] Removing intermediate container 77913e5f4ccc [2022-10-03T01:06:58.546Z] ---> 8759e266f8e8 [2022-10-03T01:06:58.546Z] Step 12/27 : COPY . . [2022-10-03T01:06:59.122Z] ---> 7a56d1ac01f7 [2022-10-03T01:06:59.122Z] Step 13/27 : RUN ${MAKE} [2022-10-03T01:06:59.122Z] ---> Running in 6060b51bfd1e [2022-10-03T01:06:59.381Z] 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-03T01:07:21.295Z] Removing intermediate container 6060b51bfd1e [2022-10-03T01:07:21.295Z] ---> baea845055d9 [2022-10-03T01:07:21.295Z] Step 14/27 : FROM alpine:3.16 [2022-10-03T01:07:21.295Z] 3.16: Pulling from library/alpine [2022-10-03T01:07:21.295Z] 213ec9aee27d: Pulling fs layer [2022-10-03T01:07:21.295Z] 213ec9aee27d: Verifying Checksum [2022-10-03T01:07:21.295Z] 213ec9aee27d: Download complete [2022-10-03T01:07:21.295Z] 213ec9aee27d: Pull complete [2022-10-03T01:07:21.295Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T01:07:21.295Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T01:07:21.295Z] ---> 9c6f07244728 [2022-10-03T01:07:21.295Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-10-03T01:07:21.295Z] ---> Running in 488f84f707f6 [2022-10-03T01:07:21.295Z] Removing intermediate container 488f84f707f6 [2022-10-03T01:07:21.295Z] ---> 97cc12f7673b [2022-10-03T01:07:21.295Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T01:07:21.295Z] ---> Running in c9e51faa621d [2022-10-03T01:07:21.295Z] Removing intermediate container c9e51faa621d [2022-10-03T01:07:21.295Z] ---> 7d6a699da536 [2022-10-03T01:07:21.295Z] Step 17/27 : RUN apk add --update --no-cache zeromq [2022-10-03T01:07:21.295Z] ---> Running in f08186398af5 [2022-10-03T01:07:21.295Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T01:07:21.864Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T01:07:22.125Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T01:07:22.125Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-03T01:07:22.389Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T01:07:22.389Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-03T01:07:22.389Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-03T01:07:22.659Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T01:07:22.659Z] OK: 8 MiB in 19 packages [2022-10-03T01:07:22.924Z] Removing intermediate container f08186398af5 [2022-10-03T01:07:22.924Z] ---> 1c6fc61cbd4c [2022-10-03T01:07:22.924Z] Step 18/27 : WORKDIR / [2022-10-03T01:07:23.185Z] ---> Running in 33c88e2e10e8 [2022-10-03T01:07:23.185Z] Removing intermediate container 33c88e2e10e8 [2022-10-03T01:07:23.185Z] ---> 6dd61a347c16 [2022-10-03T01:07:23.185Z] Step 19/27 : COPY --from=builder /device-gpio/Attribution.txt / [2022-10-03T01:07:23.444Z] ---> 63e04abc6a40 [2022-10-03T01:07:23.444Z] Step 20/27 : COPY --from=builder /device-gpio/LICENSE / [2022-10-03T01:07:23.444Z] ---> 8c9e0e822831 [2022-10-03T01:07:23.444Z] Step 21/27 : COPY --from=builder /device-gpio/cmd/ / [2022-10-03T01:07:24.016Z] ---> cd6efddece86 [2022-10-03T01:07:24.016Z] Step 22/27 : EXPOSE 59910 [2022-10-03T01:07:24.016Z] ---> Running in b2b303f2be6a [2022-10-03T01:07:24.282Z] Removing intermediate container b2b303f2be6a [2022-10-03T01:07:24.282Z] ---> c34bb20ca262 [2022-10-03T01:07:24.282Z] Step 23/27 : ENTRYPOINT ["/device-gpio"] [2022-10-03T01:07:24.282Z] ---> Running in fcf3d01c6e88 [2022-10-03T01:07:24.282Z] Removing intermediate container fcf3d01c6e88 [2022-10-03T01:07:24.282Z] ---> efdf650a94b3 [2022-10-03T01:07:24.282Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-03T01:07:24.282Z] ---> Running in dad59df78c7f [2022-10-03T01:07:24.545Z] Removing intermediate container dad59df78c7f [2022-10-03T01:07:24.545Z] ---> c11fb15d4345 [2022-10-03T01:07:24.545Z] Step 25/27 : LABEL arch=amd64 [2022-10-03T01:07:24.545Z] ---> Running in 4fd93309856e [2022-10-03T01:07:24.545Z] Removing intermediate container 4fd93309856e [2022-10-03T01:07:24.545Z] ---> 4a0e583fed50 [2022-10-03T01:07:24.545Z] Step 26/27 : LABEL git_sha=a62776ea683615eaaafb8ece202a55b03f17b8f7 [2022-10-03T01:07:24.545Z] ---> Running in 8b1041c09a57 [2022-10-03T01:07:24.804Z] Removing intermediate container 8b1041c09a57 [2022-10-03T01:07:24.804Z] ---> c91d5b555685 [2022-10-03T01:07:24.804Z] Step 27/27 : LABEL version=0.0.0 [2022-10-03T01:07:24.804Z] ---> Running in 5b0d6f613264 [2022-10-03T01:07:24.804Z] Removing intermediate container 5b0d6f613264 [2022-10-03T01:07:24.804Z] ---> 3d5d0d22c1ce [2022-10-03T01:07:24.804Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T01:07:24.804Z] Successfully built 3d5d0d22c1ce [2022-10-03T01:07:24.804Z] 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-03T01:07:25.905Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T01:07:25.905Z] [2022-10-03T01:07:25.905Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:07:26.313Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T01:07:26.313Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-03T01:07:26.313Z] 5eb5b503b376: Pulling fs layer [2022-10-03T01:07:26.313Z] 5c69ac0246d0: Pulling fs layer [2022-10-03T01:07:26.313Z] ec43610c2a17: Pulling fs layer [2022-10-03T01:07:26.313Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-03T01:07:26.313Z] 33b1e0a273af: Pulling fs layer [2022-10-03T01:07:26.313Z] 5d3b04190fa2: Pulling fs layer [2022-10-03T01:07:26.313Z] 2f39f015ded8: Pulling fs layer [2022-10-03T01:07:26.313Z] 33b1e0a273af: Waiting [2022-10-03T01:07:26.313Z] 5d3b04190fa2: Waiting [2022-10-03T01:07:26.313Z] 2f39f015ded8: Waiting [2022-10-03T01:07:26.313Z] 3a2ae6a8a46f: Waiting [2022-10-03T01:07:26.313Z] 5c69ac0246d0: Download complete [2022-10-03T01:07:26.313Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-03T01:07:26.313Z] 3a2ae6a8a46f: Download complete [2022-10-03T01:07:26.577Z] ec43610c2a17: Verifying Checksum [2022-10-03T01:07:26.577Z] ec43610c2a17: Download complete [2022-10-03T01:07:26.577Z] 5d3b04190fa2: Verifying Checksum [2022-10-03T01:07:26.577Z] 5d3b04190fa2: Download complete [2022-10-03T01:07:26.577Z] 33b1e0a273af: Verifying Checksum [2022-10-03T01:07:26.577Z] 33b1e0a273af: Download complete [2022-10-03T01:07:26.835Z] 5eb5b503b376: Verifying Checksum [2022-10-03T01:07:26.835Z] 5eb5b503b376: Download complete [2022-10-03T01:07:27.399Z] 2f39f015ded8: Download complete [2022-10-03T01:07:27.965Z] 5eb5b503b376: Pull complete [2022-10-03T01:07:27.965Z] 5c69ac0246d0: Pull complete [2022-10-03T01:07:28.222Z] ec43610c2a17: Pull complete [2022-10-03T01:07:28.480Z] 3a2ae6a8a46f: Pull complete [2022-10-03T01:07:28.737Z] 33b1e0a273af: Pull complete [2022-10-03T01:07:28.737Z] 5d3b04190fa2: Pull complete [2022-10-03T01:07:32.916Z] 2f39f015ded8: Pull complete [2022-10-03T01:07:32.916Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-03T01:07:32.916Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T01:07:32.916Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T01:07:33.136Z] prd-ubuntu20.04-docker-8c-8g-6622 does not seem to be running inside a container [2022-10-03T01:07:33.165Z] $ 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-58 -v /w/workspace/edgexfoundry_device-gpio_PR-58:/w/workspace/edgexfoundry_device-gpio_PR-58:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-58@tmp:/w/workspace/edgexfoundry_device-gpio_PR-58@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-03T01:07:34.886Z] $ docker top ad73d8c882108b05a01ae919ffea7fa81f745aec31300aaddf78369f896406fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:07:35.345Z] ---> job-cost.sh [2022-10-03T01:07:35.345Z] lf-activate-venv: SKIPPING [2022-10-03T01:07:35.345Z] INFO: No Stack... [2022-10-03T01:07:35.604Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T01:07:36.174Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T01:07:36.489Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-58/archives/cost.csv [2022-10-03T01:07:36.489Z] + cut -d, -f6 [Pipeline] lock [2022-10-03T01:07:36.528Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-58-1-stack-cost] [2022-10-03T01:07:36.533Z] Resource [jenkins-edgexfoundry-device-gpio-PR-58-1-stack-cost] did not exist. Created. [2022-10-03T01:07:36.533Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-58-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T01:07:36.931Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-03T01:07:36.980Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T01:07:37.015Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-58-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T01:07:37.098Z] $ docker stop --time=1 ad73d8c882108b05a01ae919ffea7fa81f745aec31300aaddf78369f896406fe [2022-10-03T01:07:38.256Z] $ docker rm -f ad73d8c882108b05a01ae919ffea7fa81f745aec31300aaddf78369f896406fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-03T01:08:15.694Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6625 in /w/workspace/edgexfoundry_device-gpio_PR-58 [Pipeline] { [Pipeline] ws [2022-10-03T01:08:15.739Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2022-10-03T01:08:15.817Z] The recommended git tool is: git [2022-10-03T01:08:21.690Z] using credential edgex-jenkins-ssh [2022-10-03T01:08:21.706Z] Cloning the remote Git repository [2022-10-03T01:08:21.765Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-10-03T01:08:21.863Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2022-10-03T01:08:22.064Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-10-03T01:08:22.066Z] > git --version # timeout=10 [2022-10-03T01:08:22.094Z] > git --version # 'git version 2.25.1' [2022-10-03T01:08:22.096Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T01:08:22.156Z] Verifying host key using known hosts file [2022-10-03T01:08:22.390Z] 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-03T01:08:22.405Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T01:08:24.118Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-10-03T01:08:24.155Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T01:08:25.600Z] Merging remotes/origin/main commit af4cbf8f6a8a7b56fc7ae91ecc3f73edc5524a97 into PR head commit a62776ea683615eaaafb8ece202a55b03f17b8f7 [2022-10-03T01:08:25.850Z] Merge succeeded, producing a62776ea683615eaaafb8ece202a55b03f17b8f7 [2022-10-03T01:08:25.851Z] Checking out Revision a62776ea683615eaaafb8ece202a55b03f17b8f7 (PR-58) [2022-10-03T01:08:25.028Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-10-03T01:08:25.074Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-10-03T01:08:25.075Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T01:08:25.080Z] Verifying host key using known hosts file [2022-10-03T01:08:25.087Z] 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-03T01:08:25.100Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/58/head:refs/remotes/origin/PR-58 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-03T01:08:25.618Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T01:08:25.639Z] > git checkout -f a62776ea683615eaaafb8ece202a55b03f17b8f7 # timeout=10 [2022-10-03T01:08:25.736Z] > git remote # timeout=10 [2022-10-03T01:08:25.757Z] > git config --get remote.origin.url # timeout=10 [2022-10-03T01:08:25.779Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T01:08:25.784Z] Verifying host key using known hosts file [2022-10-03T01:08:25.790Z] 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-03T01:08:25.803Z] > git merge af4cbf8f6a8a7b56fc7ae91ecc3f73edc5524a97 # timeout=10 [2022-10-03T01:08:25.827Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-03T01:08:25.852Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T01:08:25.873Z] > git checkout -f a62776ea683615eaaafb8ece202a55b03f17b8f7 # timeout=10 [2022-10-03T01:08:26.354Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-10-03T01:08:26.400Z] > git --version # timeout=10 [2022-10-03T01:08:26.413Z] > git --version # 'git version 2.25.1' [2022-10-03T01:08:26.435Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T01:08:27.614Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-03T01:08:27.614Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T01:08:27.614Z] Dload Upload Total Spent Left Speed [2022-10-03T01:08:27.614Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 65295 0 --:--:-- --:--:-- --:--:-- 65295 [Pipeline] sh [2022-10-03T01:08:28.306Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-03T01:08:28.662Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-03T01:08:28.663Z] + sudo tee /etc/docker/daemon.new [2022-10-03T01:08:28.663Z] { [2022-10-03T01:08:28.663Z] "registry-mirrors": [ [2022-10-03T01:08:28.663Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-03T01:08:28.663Z] ], [2022-10-03T01:08:28.663Z] "bip": "10.250.0.254/24", [2022-10-03T01:08:28.663Z] "hosts": [ [2022-10-03T01:08:28.663Z] "tcp://0.0.0.0:5555", [2022-10-03T01:08:28.663Z] "unix:///var/run/docker.sock" [2022-10-03T01:08:28.663Z] ], [2022-10-03T01:08:28.663Z] "mtu": 1458, [2022-10-03T01:08:28.663Z] "selinux-enabled": true, [2022-10-03T01:08:28.663Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-03T01:08:28.663Z] } [Pipeline] sh [2022-10-03T01:08:29.025Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-03T01:08:29.385Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T01:08:47.758Z] provisioning config files... [2022-10-03T01:08:47.788Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config10183870364632248090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:08:48.197Z] ---> docker-login.sh [2022-10-03T01:08:48.197Z] nexus3.edgexfoundry.org:10001 [2022-10-03T01:08:48.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:08:48.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:08:48.790Z] Configure a credential helper to remove this warning. See [2022-10-03T01:08:48.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:08:48.790Z] [2022-10-03T01:08:48.790Z] Login Succeeded [2022-10-03T01:08:48.790Z] nexus3.edgexfoundry.org:10002 [2022-10-03T01:08:49.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:08:49.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:08:49.336Z] Configure a credential helper to remove this warning. See [2022-10-03T01:08:49.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:08:49.336Z] [2022-10-03T01:08:49.336Z] Login Succeeded [2022-10-03T01:08:49.336Z] nexus3.edgexfoundry.org:10003 [2022-10-03T01:08:49.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:08:49.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:08:49.607Z] Configure a credential helper to remove this warning. See [2022-10-03T01:08:49.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:08:49.607Z] [2022-10-03T01:08:49.607Z] Login Succeeded [2022-10-03T01:08:49.607Z] nexus3.edgexfoundry.org:10004 [2022-10-03T01:08:49.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:08:49.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:08:49.887Z] Configure a credential helper to remove this warning. See [2022-10-03T01:08:49.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:08:49.887Z] [2022-10-03T01:08:49.887Z] Login Succeeded [2022-10-03T01:08:49.887Z] docker.io [2022-10-03T01:08:50.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:08:50.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:08:50.745Z] Configure a credential helper to remove this warning. See [2022-10-03T01:08:50.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:08:50.745Z] [2022-10-03T01:08:50.745Z] Login Succeeded [2022-10-03T01:08:50.745Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T01:08:50.772Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T01:08:51.081Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T01:08:51.114Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T01:08:51.156Z] ========================================================= [2022-10-03T01:08:51.156Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-03T01:08:51.156Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:08:51.662Z] + 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-03T01:08:51.931Z] Sending build context to Docker daemon 7.994MB [2022-10-03T01:08:51.931Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T01:08:51.931Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-03T01:08:52.202Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-03T01:08:52.202Z] b3c136eddcbf: Pulling fs layer [2022-10-03T01:08:52.202Z] c0a3192eca97: Pulling fs layer [2022-10-03T01:08:52.202Z] a050256f5b6f: Pulling fs layer [2022-10-03T01:08:52.202Z] 656be50a0ddc: Pulling fs layer [2022-10-03T01:08:52.202Z] 2bbca73fdf42: Pulling fs layer [2022-10-03T01:08:52.202Z] f607e4fc86c3: Pulling fs layer [2022-10-03T01:08:52.202Z] 4d572c569a2c: Pulling fs layer [2022-10-03T01:08:52.202Z] fcf976331f73: Pulling fs layer [2022-10-03T01:08:52.202Z] 2bbca73fdf42: Waiting [2022-10-03T01:08:52.202Z] f607e4fc86c3: Waiting [2022-10-03T01:08:52.202Z] 656be50a0ddc: Waiting [2022-10-03T01:08:52.202Z] 4d572c569a2c: Waiting [2022-10-03T01:08:52.202Z] fcf976331f73: Waiting [2022-10-03T01:08:52.202Z] a050256f5b6f: Download complete [2022-10-03T01:08:52.202Z] c0a3192eca97: Download complete [2022-10-03T01:08:52.202Z] 2bbca73fdf42: Download complete [2022-10-03T01:08:52.202Z] f607e4fc86c3: Verifying Checksum [2022-10-03T01:08:52.202Z] f607e4fc86c3: Download complete [2022-10-03T01:08:52.202Z] b3c136eddcbf: Verifying Checksum [2022-10-03T01:08:52.202Z] b3c136eddcbf: Download complete [2022-10-03T01:08:53.644Z] fcf976331f73: Verifying Checksum [2022-10-03T01:08:53.644Z] fcf976331f73: Download complete [2022-10-03T01:08:53.644Z] b3c136eddcbf: Pull complete [2022-10-03T01:08:53.918Z] c0a3192eca97: Pull complete [2022-10-03T01:08:54.514Z] a050256f5b6f: Pull complete [2022-10-03T01:08:54.514Z] 4d572c569a2c: Verifying Checksum [2022-10-03T01:08:54.514Z] 4d572c569a2c: Download complete [2022-10-03T01:08:55.112Z] 656be50a0ddc: Verifying Checksum [2022-10-03T01:08:55.112Z] 656be50a0ddc: Download complete [2022-10-03T01:09:07.478Z] 656be50a0ddc: Pull complete [2022-10-03T01:09:07.478Z] 2bbca73fdf42: Pull complete [2022-10-03T01:09:07.749Z] f607e4fc86c3: Pull complete [2022-10-03T01:09:14.450Z] 4d572c569a2c: Pull complete [2022-10-03T01:09:15.879Z] fcf976331f73: Pull complete [2022-10-03T01:09:15.879Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-03T01:09:16.149Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-03T01:09:16.149Z] ---> 3970a7415f9e [2022-10-03T01:09:16.149Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-03T01:09:18.107Z] ---> Running in 9f96978a876c [2022-10-03T01:09:18.388Z] Removing intermediate container 9f96978a876c [2022-10-03T01:09:18.388Z] ---> 09ea6692d663 [2022-10-03T01:09:18.389Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T01:09:18.664Z] ---> Running in 94e10bb33c7c [2022-10-03T01:09:18.935Z] Removing intermediate container 94e10bb33c7c [2022-10-03T01:09:18.935Z] ---> 5d4cba01d467 [2022-10-03T01:09:18.935Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T01:09:18.935Z] ---> Running in 87ff4cb7dd84 [2022-10-03T01:09:19.209Z] Removing intermediate container 87ff4cb7dd84 [2022-10-03T01:09:19.209Z] ---> 6c8421fa5afe [2022-10-03T01:09:19.209Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T01:09:19.482Z] ---> Running in 99fc251322de [2022-10-03T01:09:19.755Z] Removing intermediate container 99fc251322de [2022-10-03T01:09:19.755Z] ---> 2e127d228380 [2022-10-03T01:09:19.755Z] Step 7/13 : WORKDIR /device-gpio [2022-10-03T01:09:19.755Z] ---> Running in 517c39f42c8b [2022-10-03T01:09:20.025Z] Removing intermediate container 517c39f42c8b [2022-10-03T01:09:20.025Z] ---> 45f43f5524bf [2022-10-03T01:09:20.025Z] Step 8/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T01:09:20.294Z] ---> Running in 6f15ada55550 [2022-10-03T01:09:22.250Z] Removing intermediate container 6f15ada55550 [2022-10-03T01:09:22.250Z] ---> 3a67687f3b45 [2022-10-03T01:09:22.250Z] Step 9/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T01:09:22.250Z] ---> Running in 944eadb0b272 [2022-10-03T01:09:23.217Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T01:09:24.194Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T01:09:25.163Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-03T01:09:25.430Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-03T01:09:25.430Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-03T01:09:25.700Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-03T01:09:25.700Z] Executing busybox-1.35.0-r13.trigger [2022-10-03T01:09:25.700Z] OK: 226 MiB in 55 packages [2022-10-03T01:09:27.113Z] Removing intermediate container 944eadb0b272 [2022-10-03T01:09:27.113Z] ---> f2b8d8f6da16 [2022-10-03T01:09:27.113Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-03T01:09:27.381Z] ---> bd69e2b93323 [2022-10-03T01:09:27.381Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T01:09:27.381Z] ---> Running in 3fdf053249da [2022-10-03T01:10:23.836Z] Removing intermediate container 3fdf053249da [2022-10-03T01:10:23.836Z] ---> 063207468900 [2022-10-03T01:10:23.836Z] Step 12/13 : COPY . . [2022-10-03T01:10:23.836Z] ---> e666265a7012 [2022-10-03T01:10:23.836Z] Step 13/13 : RUN ${MAKE} [2022-10-03T01:10:23.836Z] ---> Running in 63a3b280fd0f [2022-10-03T01:10:23.836Z] noop [2022-10-03T01:10:23.836Z] Removing intermediate container 63a3b280fd0f [2022-10-03T01:10:23.836Z] ---> 2f8e89a74914 [2022-10-03T01:10:23.837Z] Successfully built 2f8e89a74914 [2022-10-03T01:10:23.837Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:10:24.400Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T01:10:24.400Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T01:10:24.680Z] prd-ubuntu20.04-docker-arm64-4c-16g-6625 does not seem to be running inside a container [2022-10-03T01:10:24.748Z] $ 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 ******** ci-base-image-arm64 cat [2022-10-03T01:10:26.084Z] $ docker top 45683952db01a89f83c03747361e834dc1cabd4dc2a1d0c163f0516fce388435 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T01:10:27.003Z] + go version [2022-10-03T01:10:27.003Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-03T01:10:27.041Z] $ docker stop --time=1 45683952db01a89f83c03747361e834dc1cabd4dc2a1d0c163f0516fce388435 [2022-10-03T01:10:28.730Z] $ docker rm -f 45683952db01a89f83c03747361e834dc1cabd4dc2a1d0c163f0516fce388435 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:10:29.620Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T01:10:29.620Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T01:10:29.884Z] prd-ubuntu20.04-docker-arm64-4c-16g-6625 does not seem to be running inside a container [2022-10-03T01:10:29.955Z] $ 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 ******** ci-base-image-arm64 cat [2022-10-03T01:10:31.181Z] $ docker top aa9bd665eabb3d7d612d637a41f02b5749d9ab5531cf81382f2280d87077cc5a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T01:10:32.100Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2022-10-03T01:10:32.797Z] + make test [2022-10-03T01:10:32.797Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-03T01:10:34.215Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-10-03T01:12:10.874Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-10-03T01:12:10.874Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-10-03T01:12:10.874Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-03T01:12:10.874Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T01:12:25.870Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T01:12:25.870Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T01:12:25.870Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T01:12:25.907Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T01:12:25.938Z] $ docker stop --time=1 aa9bd665eabb3d7d612d637a41f02b5749d9ab5531cf81382f2280d87077cc5a [2022-10-03T01:12:27.939Z] $ docker rm -f aa9bd665eabb3d7d612d637a41f02b5749d9ab5531cf81382f2280d87077cc5a [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T01:12:29.020Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T01:12:29.054Z] Warning: overwriting stash ‘coverage-report’ [2022-10-03T01:12:29.487Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T01:12:30.085Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T01:12:30.435Z] + ls -al . [2022-10-03T01:12:30.436Z] total 160 [2022-10-03T01:12:30.436Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 01:10 . [2022-10-03T01:12:30.436Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 01:08 .. [2022-10-03T01:12:30.436Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 3 01:08 .dockerignore [2022-10-03T01:12:30.436Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 01:08 .git [2022-10-03T01:12:30.436Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:08 .github [2022-10-03T01:12:30.436Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 3 01:08 .gitignore [2022-10-03T01:12:30.436Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 01:08 .golangci.yml [2022-10-03T01:12:30.436Z] -rw-rw-r-- 1 jenkins jenkins 9691 Oct 3 01:08 Attribution.txt [2022-10-03T01:12:30.436Z] -rw-rw-r-- 1 jenkins jenkins 3081 Oct 3 01:08 CHANGELOG.md [2022-10-03T01:12:30.436Z] -rw-rw-r-- 1 jenkins jenkins 1929 Oct 3 01:08 Dockerfile [2022-10-03T01:12:30.436Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 01:08 GOVERNANCE.md [2022-10-03T01:12:30.436Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 3 01:08 Jenkinsfile [2022-10-03T01:12:30.436Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 01:08 LICENSE [2022-10-03T01:12:30.436Z] -rw-rw-r-- 1 jenkins jenkins 2085 Oct 3 01:08 Makefile [2022-10-03T01:12:30.436Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 3 01:08 OWNERS.md [2022-10-03T01:12:30.436Z] -rw-rw-r-- 1 jenkins jenkins 11842 Oct 3 01:08 README.md [2022-10-03T01:12:30.436Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 01:05 VERSION [2022-10-03T01:12:30.436Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 01:08 bin [2022-10-03T01:12:30.436Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:08 cmd [2022-10-03T01:12:30.436Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 3 01:10 coverage.out [2022-10-03T01:12:30.436Z] -rw-rw-r-- 1 jenkins jenkins 3459 Oct 3 01:08 go.mod [2022-10-03T01:12:30.436Z] -rw-rw-r-- 1 jenkins jenkins 38054 Oct 3 01:08 go.sum [2022-10-03T01:12:30.436Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:08 internal [2022-10-03T01:12:30.436Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 01:08 snap [2022-10-03T01:12:30.436Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 3 01:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:12:30.882Z] + 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=a62776ea683615eaaafb8ece202a55b03f17b8f7 --label arch=arm64 --label version=0.0.0 . [2022-10-03T01:12:31.152Z] Sending build context to Docker daemon 7.995MB [2022-10-03T01:12:31.152Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T01:12:31.152Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-03T01:12:31.152Z] ---> 2f8e89a74914 [2022-10-03T01:12:31.152Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-03T01:12:31.424Z] ---> Running in 6653ed9b0cb7 [2022-10-03T01:12:31.693Z] Removing intermediate container 6653ed9b0cb7 [2022-10-03T01:12:31.693Z] ---> 5d31c78ae44e [2022-10-03T01:12:31.693Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T01:12:31.961Z] ---> Running in 0152b367d74b [2022-10-03T01:12:32.234Z] Removing intermediate container 0152b367d74b [2022-10-03T01:12:32.234Z] ---> 2a6ac9800a2a [2022-10-03T01:12:32.234Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T01:12:32.234Z] ---> Running in 96059f2ddc3e [2022-10-03T01:12:32.508Z] Removing intermediate container 96059f2ddc3e [2022-10-03T01:12:32.508Z] ---> 4d4709c4079d [2022-10-03T01:12:32.508Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T01:12:32.775Z] ---> Running in c81b6617154e [2022-10-03T01:12:33.045Z] Removing intermediate container c81b6617154e [2022-10-03T01:12:33.045Z] ---> bc317c592e73 [2022-10-03T01:12:33.045Z] Step 7/27 : WORKDIR /device-gpio [2022-10-03T01:12:33.045Z] ---> Running in 042cd197e36d [2022-10-03T01:12:33.321Z] Removing intermediate container 042cd197e36d [2022-10-03T01:12:33.321Z] ---> 527e3f5df396 [2022-10-03T01:12:33.321Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T01:12:33.589Z] ---> Running in b8e48afdf06c [2022-10-03T01:12:35.577Z] Removing intermediate container b8e48afdf06c [2022-10-03T01:12:35.577Z] ---> 0f6d3d177014 [2022-10-03T01:12:35.577Z] Step 9/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T01:12:35.577Z] ---> Running in 890504c1062c [2022-10-03T01:12:36.543Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T01:12:37.611Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T01:12:38.583Z] OK: 226 MiB in 55 packages [2022-10-03T01:12:40.014Z] Removing intermediate container 890504c1062c [2022-10-03T01:12:40.014Z] ---> 79b064c070fa [2022-10-03T01:12:40.014Z] Step 10/27 : COPY go.mod vendor* ./ [2022-10-03T01:12:40.284Z] ---> 2878800f1426 [2022-10-03T01:12:40.284Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T01:12:40.284Z] ---> Running in baffa4ba2474 [2022-10-03T01:12:42.894Z] Removing intermediate container baffa4ba2474 [2022-10-03T01:12:42.894Z] ---> a1ec6e442ac3 [2022-10-03T01:12:42.894Z] Step 12/27 : COPY . . [2022-10-03T01:12:43.480Z] ---> c8b9cf7e69ae [2022-10-03T01:12:43.480Z] Step 13/27 : RUN ${MAKE} [2022-10-03T01:12:43.752Z] ---> Running in 864402ded5bd [2022-10-03T01:12:44.735Z] 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-03T01:15:36.993Z] Removing intermediate container 864402ded5bd [2022-10-03T01:15:36.993Z] ---> 3ad78c060970 [2022-10-03T01:15:36.993Z] Step 14/27 : FROM alpine:3.16 [2022-10-03T01:15:36.993Z] 3.16: Pulling from library/alpine [2022-10-03T01:15:36.993Z] 9b18e9b68314: Pulling fs layer [2022-10-03T01:15:36.993Z] 9b18e9b68314: Verifying Checksum [2022-10-03T01:15:36.993Z] 9b18e9b68314: Download complete [2022-10-03T01:15:36.993Z] 9b18e9b68314: Pull complete [2022-10-03T01:15:36.993Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T01:15:36.993Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T01:15:36.993Z] ---> a6215f271958 [2022-10-03T01:15:36.993Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-10-03T01:15:36.993Z] ---> Running in 8ad4bd2135bb [2022-10-03T01:15:36.993Z] Removing intermediate container 8ad4bd2135bb [2022-10-03T01:15:36.993Z] ---> 5ec665960946 [2022-10-03T01:15:36.993Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T01:15:36.993Z] ---> Running in 3294f2769862 [2022-10-03T01:15:36.993Z] Removing intermediate container 3294f2769862 [2022-10-03T01:15:36.993Z] ---> 38553b0cb879 [2022-10-03T01:15:36.993Z] Step 17/27 : RUN apk add --update --no-cache zeromq [2022-10-03T01:15:36.993Z] ---> Running in f9a752092e68 [2022-10-03T01:15:36.993Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T01:15:36.993Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T01:15:37.574Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T01:15:37.840Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-03T01:15:37.840Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T01:15:38.110Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-03T01:15:38.110Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-03T01:15:38.110Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T01:15:38.110Z] OK: 8 MiB in 19 packages [2022-10-03T01:15:39.085Z] Removing intermediate container f9a752092e68 [2022-10-03T01:15:39.085Z] ---> 411e1154c0f6 [2022-10-03T01:15:39.085Z] Step 18/27 : WORKDIR / [2022-10-03T01:15:39.352Z] ---> Running in c4d239ac0bb6 [2022-10-03T01:15:39.619Z] Removing intermediate container c4d239ac0bb6 [2022-10-03T01:15:39.619Z] ---> 62046365dc52 [2022-10-03T01:15:39.619Z] Step 19/27 : COPY --from=builder /device-gpio/Attribution.txt / [2022-10-03T01:15:40.207Z] ---> 157afba13843 [2022-10-03T01:15:40.207Z] Step 20/27 : COPY --from=builder /device-gpio/LICENSE / [2022-10-03T01:15:40.474Z] ---> fbeeb3c5ce18 [2022-10-03T01:15:40.474Z] Step 21/27 : COPY --from=builder /device-gpio/cmd/ / [2022-10-03T01:15:41.886Z] ---> 594f10a4464c [2022-10-03T01:15:41.886Z] Step 22/27 : EXPOSE 59910 [2022-10-03T01:15:42.153Z] ---> Running in 43216d080cf0 [2022-10-03T01:15:42.423Z] Removing intermediate container 43216d080cf0 [2022-10-03T01:15:42.423Z] ---> 42384364eba2 [2022-10-03T01:15:42.423Z] Step 23/27 : ENTRYPOINT ["/device-gpio"] [2022-10-03T01:15:42.423Z] ---> Running in f5184f0caeca [2022-10-03T01:15:42.691Z] Removing intermediate container f5184f0caeca [2022-10-03T01:15:42.691Z] ---> 2e469c47ba9f [2022-10-03T01:15:42.691Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-03T01:15:42.691Z] ---> Running in 1924d1ffbdaf [2022-10-03T01:15:42.963Z] Removing intermediate container 1924d1ffbdaf [2022-10-03T01:15:42.963Z] ---> 05982201400d [2022-10-03T01:15:42.963Z] Step 25/27 : LABEL arch=arm64 [2022-10-03T01:15:43.231Z] ---> Running in 3a18242da1e8 [2022-10-03T01:15:43.501Z] Removing intermediate container 3a18242da1e8 [2022-10-03T01:15:43.501Z] ---> 257dda3b88c8 [2022-10-03T01:15:43.501Z] Step 26/27 : LABEL git_sha=a62776ea683615eaaafb8ece202a55b03f17b8f7 [2022-10-03T01:15:43.501Z] ---> Running in 4ad159b730ad [2022-10-03T01:15:43.769Z] Removing intermediate container 4ad159b730ad [2022-10-03T01:15:43.769Z] ---> 778f01007d41 [2022-10-03T01:15:43.769Z] Step 27/27 : LABEL version=0.0.0 [2022-10-03T01:15:43.769Z] ---> Running in f3143198b676 [2022-10-03T01:15:44.036Z] Removing intermediate container f3143198b676 [2022-10-03T01:15:44.036Z] ---> ca1cc23a047f [2022-10-03T01:15:44.036Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T01:15:44.036Z] Successfully built ca1cc23a047f [2022-10-03T01:15:44.036Z] 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-03T01:15:44.863Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T01:15:44.863Z] [2022-10-03T01:15:44.863Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:15:45.275Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T01:15:45.545Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-03T01:15:45.545Z] 8998bd30e6a1: Pulling fs layer [2022-10-03T01:15:45.545Z] 04944245beec: Pulling fs layer [2022-10-03T01:15:45.545Z] 699f458cf7ca: Pulling fs layer [2022-10-03T01:15:45.545Z] 765212b225bb: Pulling fs layer [2022-10-03T01:15:45.545Z] f23df028b6ca: Pulling fs layer [2022-10-03T01:15:45.545Z] d65c8cfc05b1: Pulling fs layer [2022-10-03T01:15:45.545Z] 2437ff75d9bd: Pulling fs layer [2022-10-03T01:15:45.545Z] 765212b225bb: Waiting [2022-10-03T01:15:45.545Z] f23df028b6ca: Waiting [2022-10-03T01:15:45.545Z] d65c8cfc05b1: Waiting [2022-10-03T01:15:45.813Z] 04944245beec: Verifying Checksum [2022-10-03T01:15:45.813Z] 04944245beec: Download complete [2022-10-03T01:15:45.813Z] 765212b225bb: Verifying Checksum [2022-10-03T01:15:45.813Z] 765212b225bb: Download complete [2022-10-03T01:15:45.813Z] f23df028b6ca: Verifying Checksum [2022-10-03T01:15:45.813Z] f23df028b6ca: Download complete [2022-10-03T01:15:45.813Z] d65c8cfc05b1: Verifying Checksum [2022-10-03T01:15:45.813Z] d65c8cfc05b1: Download complete [2022-10-03T01:15:46.082Z] 699f458cf7ca: Verifying Checksum [2022-10-03T01:15:46.083Z] 699f458cf7ca: Download complete [2022-10-03T01:15:46.350Z] 8998bd30e6a1: Verifying Checksum [2022-10-03T01:15:46.350Z] 8998bd30e6a1: Download complete [2022-10-03T01:15:48.929Z] 2437ff75d9bd: Verifying Checksum [2022-10-03T01:15:48.929Z] 2437ff75d9bd: Download complete [2022-10-03T01:15:50.880Z] 8998bd30e6a1: Pull complete [2022-10-03T01:15:51.148Z] 04944245beec: Pull complete [2022-10-03T01:15:52.559Z] 699f458cf7ca: Pull complete [2022-10-03T01:15:52.559Z] 765212b225bb: Pull complete [2022-10-03T01:15:53.517Z] f23df028b6ca: Pull complete [2022-10-03T01:15:53.517Z] d65c8cfc05b1: Pull complete [2022-10-03T01:16:08.518Z] 2437ff75d9bd: Pull complete [2022-10-03T01:16:08.518Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-03T01:16:08.518Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T01:16:08.518Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T01:16:08.834Z] prd-ubuntu20.04-docker-arm64-4c-16g-6625 does not seem to be running inside a container [2022-10-03T01:16:08.899Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-03T01:16:11.542Z] $ docker top b16767bb4be247c2fa89c4989d1f1d426fa4e328eb0f1f0400922be94fa018d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:16:12.436Z] ---> job-cost.sh [2022-10-03T01:16:12.436Z] lf-activate-venv: SKIPPING [2022-10-03T01:16:12.436Z] INFO: No Stack... [2022-10-03T01:16:12.701Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-03T01:16:13.657Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T01:16:13.993Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2022-10-03T01:16:13.993Z] + cut -d, -f6 [Pipeline] lock [2022-10-03T01:16:14.053Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-58-1-stack-cost] [2022-10-03T01:16:14.058Z] Resource [jenkins-edgexfoundry-device-gpio-PR-58-1-stack-cost] did not exist. Created. [2022-10-03T01:16:14.058Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-58-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T01:16:14.787Z] /w/workspace/device-gpio/1@tmp/durable-a9ae8d08/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-03T01:16:15.144Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-03T01:16:15.181Z] Warning: overwriting stash ‘stack-cost’ [2022-10-03T01:16:15.229Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T01:16:15.245Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-58-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T01:16:15.329Z] $ docker stop --time=1 b16767bb4be247c2fa89c4989d1f1d426fa4e328eb0f1f0400922be94fa018d5 [2022-10-03T01:16:16.792Z] $ docker rm -f b16767bb4be247c2fa89c4989d1f1d426fa4e328eb0f1f0400922be94fa018d5 [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-03T01:16:17.792Z] provisioning config files... [2022-10-03T01:16:17.804Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-58@tmp/config9500518044022190683tmp [Pipeline] { [Pipeline] sh [2022-10-03T01:16:18.163Z] + set +x [2022-10-03T01:16:18.163Z] + curl -s https://codecov.io/bash [2022-10-03T01:16:18.163Z] + bash -s -- [2022-10-03T01:16:18.163Z] [2022-10-03T01:16:18.163Z] _____ _ [2022-10-03T01:16:18.163Z] / ____| | | [2022-10-03T01:16:18.163Z] | | ___ __| | ___ ___ _____ __ [2022-10-03T01:16:18.163Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-03T01:16:18.163Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-03T01:16:18.163Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-03T01:16:18.163Z] Bash-1.0.6 [2022-10-03T01:16:18.163Z] [2022-10-03T01:16:18.163Z] [2022-10-03T01:16:18.163Z] ==> git version 2.25.1 found [2022-10-03T01:16:18.163Z] ==> 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-03T01:16:18.163Z] Release-Date: 2020-01-08 [2022-10-03T01:16:18.163Z] 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-03T01:16:18.163Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-03T01:16:18.163Z] ==> Jenkins CI detected. [2022-10-03T01:16:18.163Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-58 [2022-10-03T01:16:18.163Z] project root: . [2022-10-03T01:16:18.163Z] --> token set from env [2022-10-03T01:16:18.163Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-03T01:16:18.163Z] ==> Running gcov in . (disable via -X gcov) [2022-10-03T01:16:18.163Z] ==> Python coveragepy not found [2022-10-03T01:16:18.163Z] ==> Searching for coverage reports in: [2022-10-03T01:16:18.163Z] + . [2022-10-03T01:16:18.163Z] -> Found 1 reports [2022-10-03T01:16:18.163Z] ==> Detecting git/mercurial file structure [2022-10-03T01:16:18.163Z] ==> Reading reports [2022-10-03T01:16:18.422Z] + ./coverage.out bytes=10 [2022-10-03T01:16:18.422Z] ==> Appending adjustments [2022-10-03T01:16:18.422Z] https://docs.codecov.io/docs/fixing-reports [2022-10-03T01:16:18.422Z] + Found adjustments [2022-10-03T01:16:18.422Z] ==> Gzipping contents [2022-10-03T01:16:18.422Z] 4.0K /tmp/codecov.PLqggv.gz [2022-10-03T01:16:18.422Z] ==> Uploading reports [2022-10-03T01:16:18.422Z] url: https://codecov.io [2022-10-03T01:16:18.422Z] query: branch=PR-58&commit=a62776ea683615eaaafb8ece202a55b03f17b8f7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-58%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=58&job=&cmd_args= [2022-10-03T01:16:18.422Z] -> Pinging Codecov [2022-10-03T01:16:18.422Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-58&commit=a62776ea683615eaaafb8ece202a55b03f17b8f7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-58%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=58&job=&cmd_args= [2022-10-03T01:16:18.685Z] -> Uploading to [2022-10-03T01:16:18.685Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-03/3EC07B1A8CA8AF9BCAA0BB9F0134797F/a62776ea683615eaaafb8ece202a55b03f17b8f7/09b8de4a-2a31-4894-a8e5-a93377cf0a1f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T011618Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7565d99eefc9956e055d49ae7cdb415ffac30e5ec1172b9ddb11e317adbcc2c8 [2022-10-03T01:16:18.685Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T01:16:18.685Z] Dload Upload Total Spent Left Speed [2022-10-03T01:16:18.944Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 3281 --:--:-- --:--:-- --:--:-- 3281 [2022-10-03T01:16:18.944Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/a62776ea683615eaaafb8ece202a55b03f17b8f7 [Pipeline] } [2022-10-03T01:16:18.971Z] 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-03T01:16:20.676Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-58/archives ] [2022-10-03T01:16:20.676Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-58/archives [2022-10-03T01:16:20.676Z] total 16 [2022-10-03T01:16:20.676Z] drwxr-xr-x 3 root root 4096 Oct 3 01:07 . [2022-10-03T01:16:20.676Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 01:07 .. [2022-10-03T01:16:20.676Z] drwxr-xr-x 2 root root 4096 Oct 3 01:07 cost [2022-10-03T01:16:20.676Z] -rw-r--r-- 1 root root 82 Oct 3 01:07 cost.csv [2022-10-03T01:16:20.676Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-58/archives [2022-10-03T01:16:20.676Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-58/archives [2022-10-03T01:16:20.676Z] total 16 [2022-10-03T01:16:20.676Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 01:07 . [2022-10-03T01:16:20.676Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 01:07 .. [2022-10-03T01:16:20.676Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 01:07 cost [2022-10-03T01:16:20.676Z] -rw-r--r-- 1 jenkins jenkins 82 Oct 3 01:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:16:21.000Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:16:21.889Z] ---> package-listing.sh [2022-10-03T01:16:21.889Z] ++ facter osfamily [2022-10-03T01:16:21.889Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-03T01:16:22.148Z] + OS_FAMILY=debian [2022-10-03T01:16:22.148Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-58 [2022-10-03T01:16:22.148Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-03T01:16:22.148Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-03T01:16:22.148Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-03T01:16:22.148Z] + PACKAGES=/tmp/packages_start.txt [2022-10-03T01:16:22.148Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-58 ']' [2022-10-03T01:16:22.148Z] + PACKAGES=/tmp/packages_end.txt [2022-10-03T01:16:22.148Z] + case "${OS_FAMILY}" in [2022-10-03T01:16:22.148Z] + dpkg -l [2022-10-03T01:16:22.148Z] + grep '^ii' [2022-10-03T01:16:22.148Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-03T01:16:22.148Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-03T01:16:22.148Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-03T01:16:22.148Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-58 ']' [2022-10-03T01:16:22.148Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-58/archives/ [2022-10-03T01:16:22.148Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-58/archives/ [Pipeline] echo [2022-10-03T01:16:22.182Z] 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-58/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-03T01:16:22.474Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:16:23.101Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T01:16:23.101Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T01:16:23.238Z] prd-ubuntu20.04-docker-8c-8g-6622 does not seem to be running inside a container [2022-10-03T01:16:23.270Z] $ 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-58/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-58 -v /w/workspace/edgexfoundry_device-gpio_PR-58:/w/workspace/edgexfoundry_device-gpio_PR-58:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-58@tmp:/w/workspace/edgexfoundry_device-gpio_PR-58@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-03T01:16:23.503Z] $ docker top 424180e12d0d60290d678f51365c302255cf1b379cdaa858401b06bd15ab8e56 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T01:16:23.899Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-03T01:16:24.228Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-03T01:16:24.544Z] + ls /var/log/sa-host [2022-10-03T01:16:24.544Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T01:16:24.752Z] provisioning config files... [2022-10-03T01:16:24.764Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-58@tmp/config757938373350219139tmp [Pipeline] { [Pipeline] echo [2022-10-03T01:16:24.814Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:16:25.127Z] ---> create-netrc.sh [Pipeline] } [2022-10-03T01:16:25.160Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:16:25.537Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-03T01:16:25.566Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:16:25.873Z] ---> sudo-logs.sh [2022-10-03T01:16:25.873Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-03T01:16:25.951Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:16:26.257Z] ---> job-cost.sh [2022-10-03T01:16:26.257Z] lf-activate-venv: SKIPPING [2022-10-03T01:16:26.257Z] DEBUG: total: 0.2199999988079071 [2022-10-03T01:16:26.257Z] INFO: Retrieving Stack Cost... [2022-10-03T01:16:26.516Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T01:16:27.085Z] INFO: Archiving Costs [Pipeline] echo [2022-10-03T01:16:27.120Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:16:27.430Z] ---> logs-deploy.sh [2022-10-03T01:16:27.430Z] lf-activate-venv: SKIPPING [2022-10-03T01:16:27.430Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-58/1 [2022-10-03T01:16:27.430Z] INFO: archiving workspace using pattern(s): [2022-10-03T01:16:28.369Z] Archives upload complete. [2022-10-03T01:16:28.638Z] INFO: archiving logs to Nexus