Pull request #63 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 32544b034dda28de1bd73d1ec14b808edd03342d+89403c3d66cf45a4c65845d7eb210f5c9736c687 (36f10ea1066f14cdf78e8fcbc38ee9867041e11f) 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-ssh14234615349321370475.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh466443705374541057.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-63/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-63/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16108503713501662471.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-63/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4281594031857876133.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh8961735903100502846.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-63/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-63/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7946654025499417322.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-8914’ Running on prd-ubuntu20.04-docker-8c-8g-8920 in /w/workspace/edgexfoundry_device-gpio_PR-63 [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-63 # 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/63/head:refs/remotes/origin/PR-63 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 89403c3d66cf45a4c65845d7eb210f5c9736c687 into PR head commit 32544b034dda28de1bd73d1ec14b808edd03342d Merge succeeded, producing 32544b034dda28de1bd73d1ec14b808edd03342d Checking out Revision 32544b034dda28de1bd73d1ec14b808edd03342d (PR-63) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 32544b034dda28de1bd73d1ec14b808edd03342d # 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 89403c3d66cf45a4c65845d7eb210f5c9736c687 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32544b034dda28de1bd73d1ec14b808edd03342d # timeout=10 [Pipeline] timeout [2022-10-24T01:11:21.063Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-24T01:11:21.231Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-24T01:11:21.322Z] ========================================================= [2022-10-24T01:11:21.322Z] EdgeX Global Pipelines Version Info [2022-10-24T01:11:21.322Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:11:22.081Z] ------------------- [2022-10-24T01:11:22.081Z] stable info: [2022-10-24T01:11:22.081Z] ------------------- [2022-10-24T01:11:22.081Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-24T01:11:22.081Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T01:11:22.081Z] Message: update stable to v1.0.243 [2022-10-24T01:11:22.658Z] ------------------- [2022-10-24T01:11:22.658Z] experimental info: [2022-10-24T01:11:22.658Z] ------------------- [2022-10-24T01:11:22.658Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-24T01:11:22.658Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T01:11:22.658Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-24T01:11:22.941Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-10-24T01:11:22.978Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-10-24T01:11:23.015Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-24T01:11:23.054Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-24T01:11:23.093Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-24T01:11:23.132Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-24T01:11:23.170Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-24T01:11:23.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-24T01:11:23.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-24T01:11:23.290Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-24T01:11:23.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-24T01:11:23.362Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-10-24T01:11:23.398Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-24T01:11:23.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-24T01:11:23.465Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T01:11:23.498Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T01:11:23.539Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T01:11:23.572Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T01:11:23.610Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-24T01:11:23.647Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-24T01:11:23.680Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-24T01:11:23.719Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-24T01:11:23.758Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-24T01:11:23.794Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-24T01:11:23.830Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-24T01:11:23.881Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-24T01:11:23.969Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-24T01:11:24.017Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-63 [Pipeline] echo [2022-10-24T01:11:24.061Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-63 [Pipeline] echo [2022-10-24T01:11:24.109Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-63 [Pipeline] echo [2022-10-24T01:11:24.155Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 32544b034dda28de1bd73d1ec14b808edd03342d [Pipeline] echo [2022-10-24T01:11:24.207Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 32544b0 [Pipeline] echo [2022-10-24T01:11:24.253Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T01:11:24.380Z] provisioning config files... [2022-10-24T01:11:24.393Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-63@tmp/config1929142105324949692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:11:24.747Z] ---> docker-login.sh [2022-10-24T01:11:24.747Z] nexus3.edgexfoundry.org:10001 [2022-10-24T01:11:24.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:11:25.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:11:25.314Z] Configure a credential helper to remove this warning. See [2022-10-24T01:11:25.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:11:25.314Z] [2022-10-24T01:11:25.314Z] Login Succeeded [2022-10-24T01:11:25.314Z] nexus3.edgexfoundry.org:10002 [2022-10-24T01:11:25.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:11:25.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:11:25.314Z] Configure a credential helper to remove this warning. See [2022-10-24T01:11:25.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:11:25.314Z] [2022-10-24T01:11:25.314Z] Login Succeeded [2022-10-24T01:11:25.314Z] nexus3.edgexfoundry.org:10003 [2022-10-24T01:11:25.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:11:25.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:11:25.314Z] Configure a credential helper to remove this warning. See [2022-10-24T01:11:25.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:11:25.314Z] [2022-10-24T01:11:25.314Z] Login Succeeded [2022-10-24T01:11:25.314Z] nexus3.edgexfoundry.org:10004 [2022-10-24T01:11:25.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:11:25.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:11:25.577Z] Configure a credential helper to remove this warning. See [2022-10-24T01:11:25.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:11:25.577Z] [2022-10-24T01:11:25.577Z] Login Succeeded [2022-10-24T01:11:25.577Z] docker.io [2022-10-24T01:11:25.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:11:25.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:11:25.838Z] Configure a credential helper to remove this warning. See [2022-10-24T01:11:25.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:11:25.838Z] [2022-10-24T01:11:25.838Z] Login Succeeded [2022-10-24T01:11:25.838Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T01:11:25.867Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-24T01:11:26.535Z] + git rev-list -1 --merges 32544b034dda28de1bd73d1ec14b808edd03342d~1..32544b034dda28de1bd73d1ec14b808edd03342d [Pipeline] echo [2022-10-24T01:11:26.585Z] -----------> git rev-list -1 --merges 32544b034dda28de1bd73d1ec14b808edd03342d~1..32544b034dda28de1bd73d1ec14b808edd03342d 32544b034dda28de1bd73d1ec14b808edd03342d [false] [Pipeline] sh [2022-10-24T01:11:26.893Z] + git log --format=format:%s -1 32544b034dda28de1bd73d1ec14b808edd03342d [Pipeline] echo [2022-10-24T01:11:26.932Z] ========================================================= [2022-10-24T01:11:26.932Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-24T01:11:26.932Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T01:11:27.358Z] + git log --format=format:%s -1 32544b034dda28de1bd73d1ec14b808edd03342d [Pipeline] echo [2022-10-24T01:11:27.390Z] [semverPrep] GIT_COMMIT: 32544b034dda28de1bd73d1ec14b808edd03342d, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-10-24T01:11:27.417Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-24T01:11:27.817Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-24T01:11:27.817Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-24T01:11:27.817Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-24T01:11:27.817Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-24T01:11:27.817Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-24T01:11:27.817Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-24T01:11:27.817Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:11:28.305Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T01:11:28.305Z] [2022-10-24T01:11:28.305Z] 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-24T01:11:28.680Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T01:11:28.680Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-24T01:11:28.680Z] b85a868b505f: Pulling fs layer [2022-10-24T01:11:28.680Z] e2be974225ed: Pulling fs layer [2022-10-24T01:11:28.680Z] 339a4e72a1f5: Pulling fs layer [2022-10-24T01:11:28.680Z] 988bab9f4d93: Pulling fs layer [2022-10-24T01:11:28.680Z] 1469e6f7b9e6: Pulling fs layer [2022-10-24T01:11:28.680Z] eaf3925da568: Pulling fs layer [2022-10-24T01:11:28.680Z] bab4dde63d76: Pulling fs layer [2022-10-24T01:11:28.680Z] bde34c3a00c8: Pulling fs layer [2022-10-24T01:11:28.680Z] b352a97aabf1: Pulling fs layer [2022-10-24T01:11:28.680Z] 4872d77fe225: Pulling fs layer [2022-10-24T01:11:28.680Z] 5851b861e8e6: Pulling fs layer [2022-10-24T01:11:28.680Z] bab4dde63d76: Waiting [2022-10-24T01:11:28.680Z] bde34c3a00c8: Waiting [2022-10-24T01:11:28.680Z] b352a97aabf1: Waiting [2022-10-24T01:11:28.680Z] 4872d77fe225: Waiting [2022-10-24T01:11:28.680Z] 5851b861e8e6: Waiting [2022-10-24T01:11:28.680Z] 988bab9f4d93: Waiting [2022-10-24T01:11:28.680Z] 1469e6f7b9e6: Waiting [2022-10-24T01:11:28.680Z] eaf3925da568: Waiting [2022-10-24T01:11:28.680Z] e2be974225ed: Download complete [2022-10-24T01:11:28.680Z] 988bab9f4d93: Verifying Checksum [2022-10-24T01:11:28.680Z] 988bab9f4d93: Download complete [2022-10-24T01:11:28.939Z] 1469e6f7b9e6: Verifying Checksum [2022-10-24T01:11:28.939Z] 1469e6f7b9e6: Download complete [2022-10-24T01:11:28.939Z] eaf3925da568: Verifying Checksum [2022-10-24T01:11:28.939Z] eaf3925da568: Download complete [2022-10-24T01:11:28.939Z] 339a4e72a1f5: Verifying Checksum [2022-10-24T01:11:28.939Z] bde34c3a00c8: Download complete [2022-10-24T01:11:28.939Z] b352a97aabf1: Verifying Checksum [2022-10-24T01:11:28.939Z] b352a97aabf1: Download complete [2022-10-24T01:11:28.939Z] 4872d77fe225: Download complete [2022-10-24T01:11:28.939Z] 5851b861e8e6: Download complete [2022-10-24T01:11:28.939Z] b85a868b505f: Download complete [2022-10-24T01:11:29.197Z] bab4dde63d76: Verifying Checksum [2022-10-24T01:11:29.197Z] bab4dde63d76: Download complete [2022-10-24T01:11:30.133Z] b85a868b505f: Pull complete [2022-10-24T01:11:30.391Z] e2be974225ed: Pull complete [2022-10-24T01:11:30.960Z] 339a4e72a1f5: Pull complete [2022-10-24T01:11:30.960Z] 988bab9f4d93: Pull complete [2022-10-24T01:11:31.218Z] 1469e6f7b9e6: Pull complete [2022-10-24T01:11:31.218Z] eaf3925da568: Pull complete [2022-10-24T01:11:33.119Z] bab4dde63d76: Pull complete [2022-10-24T01:11:33.119Z] bde34c3a00c8: Pull complete [2022-10-24T01:11:33.119Z] b352a97aabf1: Pull complete [2022-10-24T01:11:33.119Z] 4872d77fe225: Pull complete [2022-10-24T01:11:33.119Z] 5851b861e8e6: Pull complete [2022-10-24T01:11:33.119Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-24T01:11:33.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T01:11:33.119Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:11:33.423Z] prd-ubuntu20.04-docker-8c-8g-8920 does not seem to be running inside a container [2022-10-24T01:11:33.442Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-63 -v /w/workspace/edgexfoundry_device-gpio_PR-63:/w/workspace/edgexfoundry_device-gpio_PR-63:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-63@tmp:/w/workspace/edgexfoundry_device-gpio_PR-63@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-24T01:11:34.740Z] $ docker top dc595a35afd361728a9d3617368f76c1435e4dd6f608522294bda9cc23d441ae -eo pid,comm [2022-10-24T01:11:34.807Z] 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-24T01:11:34.807Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-24T01:11:34.935Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T01:11:34.935Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T01:11:35.044Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T01:11:35.035Z] $ docker exec dc595a35afd361728a9d3617368f76c1435e4dd6f608522294bda9cc23d441ae ssh-agent [2022-10-24T01:11:35.149Z] SSH_AUTH_SOCK=/tmp/ssh-vUnRFwZ5icm1/agent.32 [2022-10-24T01:11:35.149Z] SSH_AGENT_PID=38 [2022-10-24T01:11:35.155Z] Running ssh-add (command line suppressed) [2022-10-24T01:11:35.241Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-63@tmp/private_key_4213578101771286417.key (/w/workspace/edgexfoundry_device-gpio_PR-63@tmp/private_key_4213578101771286417.key) [2022-10-24T01:11:35.265Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T01:11:35.594Z] + git tag --points-at HEAD [Pipeline] } [2022-10-24T01:11:35.606Z] $ docker exec --env ******** --env ******** dc595a35afd361728a9d3617368f76c1435e4dd6f608522294bda9cc23d441ae ssh-agent -k [2022-10-24T01:11:35.708Z] unset SSH_AUTH_SOCK; [2022-10-24T01:11:35.709Z] unset SSH_AGENT_PID; [2022-10-24T01:11:35.709Z] echo Agent pid 38 killed; [2022-10-24T01:11:35.731Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-24T01:11:35.855Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T01:11:35.855Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T01:11:35.975Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T01:11:35.967Z] $ docker exec dc595a35afd361728a9d3617368f76c1435e4dd6f608522294bda9cc23d441ae ssh-agent [2022-10-24T01:11:36.085Z] SSH_AUTH_SOCK=/tmp/ssh-SBiKQXGE6aCt/agent.70 [2022-10-24T01:11:36.085Z] SSH_AGENT_PID=76 [2022-10-24T01:11:36.089Z] Running ssh-add (command line suppressed) [2022-10-24T01:11:36.192Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-63@tmp/private_key_8804451398681773272.key (/w/workspace/edgexfoundry_device-gpio_PR-63@tmp/private_key_8804451398681773272.key) [2022-10-24T01:11:36.216Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T01:11:36.548Z] + git semver init [2022-10-24T01:11:36.807Z] 2022-10-24 01:11:36,703 [run_init] DEBUG init version:0.0.0 force:False [2022-10-24T01:11:36.807Z] 2022-10-24 01:11:36,704 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-63/.semver [2022-10-24T01:11:36.807Z] 2022-10-24 01:11:36,704 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-63/.semver [2022-10-24T01:11:36.807Z] 2022-10-24 01:11:36,705 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-63/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-63, universal_newlines=False, shell=None, istream=None) [2022-10-24T01:11:37.748Z] 2022-10-24 01:11:37,685 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-63/.git/info/exclude [2022-10-24T01:11:37.748Z] 2022-10-24 01:11:37,685 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-63/.semver/PR-63 with force:False [2022-10-24T01:11:37.749Z] 2022-10-24 01:11:37,685 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-63/.semver/PR-63 [2022-10-24T01:11:37.749Z] 2022-10-24 01:11:37,690 [execute] INFO git cat-file --batch-check [2022-10-24T01:11:37.749Z] 2022-10-24 01:11:37,690 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-63/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T01:11:37.749Z] 2022-10-24 01:11:37,695 [execute] INFO git cat-file --batch [2022-10-24T01:11:37.749Z] 2022-10-24 01:11:37,696 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-63/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T01:11:37.749Z] 2022-10-24 01:11:37,701 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-63/.semver/PR-63 [2022-10-24T01:11:37.749Z] 0.0.0 [Pipeline] } [2022-10-24T01:11:37.766Z] $ docker exec --env ******** --env ******** dc595a35afd361728a9d3617368f76c1435e4dd6f608522294bda9cc23d441ae ssh-agent -k [2022-10-24T01:11:37.862Z] unset SSH_AUTH_SOCK; [2022-10-24T01:11:37.863Z] unset SSH_AGENT_PID; [2022-10-24T01:11:37.863Z] echo Agent pid 76 killed; [2022-10-24T01:11:37.883Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-24T01:11:38.312Z] + git semver [Pipeline] } [2022-10-24T01:11:38.585Z] $ docker stop --time=1 dc595a35afd361728a9d3617368f76c1435e4dd6f608522294bda9cc23d441ae [2022-10-24T01:11:39.898Z] $ docker rm -f dc595a35afd361728a9d3617368f76c1435e4dd6f608522294bda9cc23d441ae [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T01:11:40.314Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-24T01:11:40.554Z] Stashed 1 file(s) [Pipeline] echo [2022-10-24T01:11:40.572Z] [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-24T01:11:41.193Z] provisioning config files... [2022-10-24T01:11:41.203Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-63@tmp/config5399722438510004668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:11:41.553Z] ---> docker-login.sh [2022-10-24T01:11:41.553Z] nexus3.edgexfoundry.org:10001 [2022-10-24T01:11:41.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:11:41.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:11:41.553Z] Configure a credential helper to remove this warning. See [2022-10-24T01:11:41.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:11:41.553Z] [2022-10-24T01:11:41.553Z] Login Succeeded [2022-10-24T01:11:41.553Z] nexus3.edgexfoundry.org:10002 [2022-10-24T01:11:41.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:11:41.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:11:41.553Z] Configure a credential helper to remove this warning. See [2022-10-24T01:11:41.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:11:41.553Z] [2022-10-24T01:11:41.553Z] Login Succeeded [2022-10-24T01:11:41.553Z] nexus3.edgexfoundry.org:10003 [2022-10-24T01:11:41.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:11:41.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:11:41.814Z] Configure a credential helper to remove this warning. See [2022-10-24T01:11:41.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:11:41.814Z] [2022-10-24T01:11:41.814Z] Login Succeeded [2022-10-24T01:11:41.814Z] nexus3.edgexfoundry.org:10004 [2022-10-24T01:11:41.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:11:41.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:11:41.814Z] Configure a credential helper to remove this warning. See [2022-10-24T01:11:41.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:11:41.814Z] [2022-10-24T01:11:41.814Z] Login Succeeded [2022-10-24T01:11:41.814Z] docker.io [2022-10-24T01:11:42.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:11:42.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:11:42.334Z] Configure a credential helper to remove this warning. See [2022-10-24T01:11:42.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:11:42.334Z] [2022-10-24T01:11:42.334Z] Login Succeeded [2022-10-24T01:11:42.334Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T01:11:42.365Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T01:11:42.567Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T01:11:42.604Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T01:11:42.637Z] ========================================================= [2022-10-24T01:11:42.638Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-24T01:11:42.638Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:11:43.116Z] + 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-24T01:11:43.116Z] Sending build context to Docker daemon 15.88MB [2022-10-24T01:11:43.116Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T01:11:43.116Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-24T01:11:43.116Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-24T01:11:43.116Z] 213ec9aee27d: Pulling fs layer [2022-10-24T01:11:43.116Z] 4583459ba037: Pulling fs layer [2022-10-24T01:11:43.116Z] 93c1e223e6f2: Pulling fs layer [2022-10-24T01:11:43.116Z] 53926ce57604: Pulling fs layer [2022-10-24T01:11:43.116Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-24T01:11:43.116Z] 30f14e443154: Pulling fs layer [2022-10-24T01:11:43.116Z] 801331c1e519: Pulling fs layer [2022-10-24T01:11:43.116Z] 99cc6dd402b0: Pulling fs layer [2022-10-24T01:11:43.116Z] 7d9ed39f4882: Pulling fs layer [2022-10-24T01:11:43.116Z] 53926ce57604: Waiting [2022-10-24T01:11:43.116Z] 21b2b0c7a3f4: Waiting [2022-10-24T01:11:43.116Z] 30f14e443154: Waiting [2022-10-24T01:11:43.116Z] 801331c1e519: Waiting [2022-10-24T01:11:43.116Z] 99cc6dd402b0: Waiting [2022-10-24T01:11:43.116Z] 7d9ed39f4882: Waiting [2022-10-24T01:11:43.386Z] 93c1e223e6f2: Verifying Checksum [2022-10-24T01:11:43.386Z] 93c1e223e6f2: Download complete [2022-10-24T01:11:43.386Z] 4583459ba037: Download complete [2022-10-24T01:11:43.386Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-24T01:11:43.386Z] 21b2b0c7a3f4: Download complete [2022-10-24T01:11:43.386Z] 30f14e443154: Verifying Checksum [2022-10-24T01:11:43.386Z] 30f14e443154: Download complete [2022-10-24T01:11:43.386Z] 213ec9aee27d: Verifying Checksum [2022-10-24T01:11:43.386Z] 213ec9aee27d: Download complete [2022-10-24T01:11:43.386Z] 801331c1e519: Verifying Checksum [2022-10-24T01:11:43.386Z] 801331c1e519: Download complete [2022-10-24T01:11:43.386Z] 213ec9aee27d: Pull complete [2022-10-24T01:11:43.652Z] 4583459ba037: Pull complete [2022-10-24T01:11:43.652Z] 93c1e223e6f2: Pull complete [2022-10-24T01:11:43.914Z] 7d9ed39f4882: Verifying Checksum [2022-10-24T01:11:43.915Z] 7d9ed39f4882: Download complete [2022-10-24T01:11:43.915Z] 99cc6dd402b0: Verifying Checksum [2022-10-24T01:11:43.915Z] 99cc6dd402b0: Download complete [2022-10-24T01:11:44.172Z] 53926ce57604: Verifying Checksum [2022-10-24T01:11:44.172Z] 53926ce57604: Download complete [2022-10-24T01:11:47.462Z] 53926ce57604: Pull complete [2022-10-24T01:11:47.462Z] 21b2b0c7a3f4: Pull complete [2022-10-24T01:11:47.721Z] 30f14e443154: Pull complete [2022-10-24T01:11:47.721Z] 801331c1e519: Pull complete [2022-10-24T01:11:49.624Z] 99cc6dd402b0: Pull complete [2022-10-24T01:11:50.561Z] 7d9ed39f4882: Pull complete [2022-10-24T01:11:50.561Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-24T01:11:50.562Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-24T01:11:50.562Z] ---> 1dedd983c030 [2022-10-24T01:11:50.562Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-24T01:11:51.948Z] ---> Running in 5a75197a0d11 [2022-10-24T01:11:51.948Z] Removing intermediate container 5a75197a0d11 [2022-10-24T01:11:51.948Z] ---> 5c20cea993f9 [2022-10-24T01:11:51.948Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T01:11:51.948Z] ---> Running in 54bf1e2cb792 [2022-10-24T01:11:52.209Z] Removing intermediate container 54bf1e2cb792 [2022-10-24T01:11:52.209Z] ---> 8fed1dd0cead [2022-10-24T01:11:52.209Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T01:11:52.209Z] ---> Running in 96e2a892160b [2022-10-24T01:11:52.209Z] Removing intermediate container 96e2a892160b [2022-10-24T01:11:52.209Z] ---> 1509dc96c501 [2022-10-24T01:11:52.209Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T01:11:52.209Z] ---> Running in 8dbe2d4c6836 [2022-10-24T01:11:52.469Z] Removing intermediate container 8dbe2d4c6836 [2022-10-24T01:11:52.469Z] ---> dd6e03452d0f [2022-10-24T01:11:52.469Z] Step 7/13 : WORKDIR /device-gpio [2022-10-24T01:11:52.469Z] ---> Running in 98cd4936338b [2022-10-24T01:11:52.469Z] Removing intermediate container 98cd4936338b [2022-10-24T01:11:52.469Z] ---> b2980f95877d [2022-10-24T01:11:52.469Z] Step 8/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T01:11:52.469Z] ---> Running in f43923eb3a67 [2022-10-24T01:11:53.036Z] Removing intermediate container f43923eb3a67 [2022-10-24T01:11:53.036Z] ---> 2a389a4e2531 [2022-10-24T01:11:53.036Z] Step 9/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T01:11:53.036Z] ---> Running in f856d23f9bd9 [2022-10-24T01:11:53.296Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T01:11:54.233Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T01:11:54.800Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-24T01:11:54.800Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-24T01:11:54.800Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-24T01:11:55.059Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-24T01:11:55.059Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T01:11:55.059Z] OK: 216 MiB in 55 packages [2022-10-24T01:11:55.628Z] Removing intermediate container f856d23f9bd9 [2022-10-24T01:11:55.628Z] ---> 4574e1b56c94 [2022-10-24T01:11:55.628Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-24T01:11:55.628Z] ---> 9ae04d944d71 [2022-10-24T01:11:55.628Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T01:11:55.628Z] ---> Running in dea818cc3655 [2022-10-24T01:11:55.983Z] Still waiting to schedule task [2022-10-24T01:11:55.983Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8918’ [2022-10-24T01:12:17.569Z] Removing intermediate container dea818cc3655 [2022-10-24T01:12:17.569Z] ---> 85f3a0982514 [2022-10-24T01:12:17.569Z] Step 12/13 : COPY . . [2022-10-24T01:12:17.569Z] ---> 844243822ccd [2022-10-24T01:12:17.569Z] Step 13/13 : RUN ${MAKE} [2022-10-24T01:12:17.569Z] ---> Running in 91e747e53bc6 [2022-10-24T01:12:17.569Z] noop [2022-10-24T01:12:17.569Z] Removing intermediate container 91e747e53bc6 [2022-10-24T01:12:17.569Z] ---> 97d4b28c22c4 [2022-10-24T01:12:17.569Z] Successfully built 97d4b28c22c4 [2022-10-24T01:12:17.569Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:12:18.018Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T01:12:18.018Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:12:18.160Z] prd-ubuntu20.04-docker-8c-8g-8920 does not seem to be running inside a container [2022-10-24T01:12:18.195Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-63 -v /w/workspace/edgexfoundry_device-gpio_PR-63:/w/workspace/edgexfoundry_device-gpio_PR-63:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-63@tmp:/w/workspace/edgexfoundry_device-gpio_PR-63@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-24T01:12:18.573Z] $ docker top 4a8335694eb1cbad8c48e35132561e37d302326b3ff7bca7a6df648be82e70e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T01:12:18.969Z] + go version [2022-10-24T01:12:18.969Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-24T01:12:19.001Z] $ docker stop --time=1 4a8335694eb1cbad8c48e35132561e37d302326b3ff7bca7a6df648be82e70e2 [2022-10-24T01:12:20.278Z] $ docker rm -f 4a8335694eb1cbad8c48e35132561e37d302326b3ff7bca7a6df648be82e70e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:12:20.992Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T01:12:20.992Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:12:21.133Z] prd-ubuntu20.04-docker-8c-8g-8920 does not seem to be running inside a container [2022-10-24T01:12:21.159Z] $ 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-63 -v /w/workspace/edgexfoundry_device-gpio_PR-63:/w/workspace/edgexfoundry_device-gpio_PR-63:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-63@tmp:/w/workspace/edgexfoundry_device-gpio_PR-63@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-24T01:12:21.502Z] $ docker top 857a6f2a8785ad46f69959804ff7db380f458a237e29a624e4d7b6ae7b4c6998 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T01:12:21.892Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-63 [Pipeline] fileExists [Pipeline] sh [2022-10-24T01:12:22.252Z] + make test [2022-10-24T01:12:22.252Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-24T01:12:22.509Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-10-24T01:12:30.716Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-10-24T01:12:30.716Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-10-24T01:12:37.414Z] 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-24T01:12:37.414Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T01:12:39.941Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T01:12:39.941Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T01:12:39.941Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-24T01:12:39.978Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T01:12:40.011Z] $ docker stop --time=1 857a6f2a8785ad46f69959804ff7db380f458a237e29a624e4d7b6ae7b4c6998 [2022-10-24T01:12:41.767Z] $ docker rm -f 857a6f2a8785ad46f69959804ff7db380f458a237e29a624e4d7b6ae7b4c6998 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T01:12:42.246Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T01:12:42.302Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-24T01:12:42.965Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T01:12:43.285Z] + ls -al . [2022-10-24T01:12:43.285Z] total 164 [2022-10-24T01:12:43.285Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 01:12 . [2022-10-24T01:12:43.285Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:11 .. [2022-10-24T01:12:43.285Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 24 01:11 .dockerignore [2022-10-24T01:12:43.285Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 01:12 .git [2022-10-24T01:12:43.285Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:11 .github [2022-10-24T01:12:43.285Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 24 01:11 .gitignore [2022-10-24T01:12:43.285Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 01:11 .golangci.yml [2022-10-24T01:12:43.285Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 01:11 .semver [2022-10-24T01:12:43.285Z] -rw-rw-r-- 1 jenkins jenkins 9691 Oct 24 01:11 Attribution.txt [2022-10-24T01:12:43.285Z] -rw-rw-r-- 1 jenkins jenkins 3081 Oct 24 01:11 CHANGELOG.md [2022-10-24T01:12:43.285Z] -rw-rw-r-- 1 jenkins jenkins 1929 Oct 24 01:11 Dockerfile [2022-10-24T01:12:43.285Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 01:11 GOVERNANCE.md [2022-10-24T01:12:43.285Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 24 01:11 Jenkinsfile [2022-10-24T01:12:43.285Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 01:11 LICENSE [2022-10-24T01:12:43.285Z] -rw-rw-r-- 1 jenkins jenkins 2085 Oct 24 01:11 Makefile [2022-10-24T01:12:43.285Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 24 01:11 OWNERS.md [2022-10-24T01:12:43.285Z] -rw-rw-r-- 1 jenkins jenkins 11842 Oct 24 01:11 README.md [2022-10-24T01:12:43.285Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 01:11 VERSION [2022-10-24T01:12:43.285Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:11 bin [2022-10-24T01:12:43.285Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:11 cmd [2022-10-24T01:12:43.285Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 24 01:12 coverage.out [2022-10-24T01:12:43.285Z] -rw-rw-r-- 1 jenkins jenkins 3459 Oct 24 01:11 go.mod [2022-10-24T01:12:43.285Z] -rw-rw-r-- 1 jenkins jenkins 38054 Oct 24 01:11 go.sum [2022-10-24T01:12:43.285Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:11 internal [2022-10-24T01:12:43.285Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:11 snap [2022-10-24T01:12:43.285Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 24 01:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:12:43.674Z] + 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=32544b034dda28de1bd73d1ec14b808edd03342d --label arch=amd64 --label version=0.0.0 . [2022-10-24T01:12:43.674Z] Sending build context to Docker daemon 15.88MB [2022-10-24T01:12:43.674Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T01:12:43.674Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-24T01:12:43.674Z] ---> 97d4b28c22c4 [2022-10-24T01:12:43.674Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-24T01:12:43.934Z] ---> Running in f9e937fbe95e [2022-10-24T01:12:43.934Z] Removing intermediate container f9e937fbe95e [2022-10-24T01:12:43.934Z] ---> d4d36d4a7a9f [2022-10-24T01:12:43.934Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T01:12:43.934Z] ---> Running in bfe94b53488d [2022-10-24T01:12:43.934Z] Removing intermediate container bfe94b53488d [2022-10-24T01:12:43.934Z] ---> 36902bb222c3 [2022-10-24T01:12:43.934Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T01:12:44.192Z] ---> Running in a8738b297b9a [2022-10-24T01:12:44.192Z] Removing intermediate container a8738b297b9a [2022-10-24T01:12:44.192Z] ---> d408b91d312f [2022-10-24T01:12:44.192Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T01:12:44.192Z] ---> Running in 8837d8a43860 [2022-10-24T01:12:44.192Z] Removing intermediate container 8837d8a43860 [2022-10-24T01:12:44.192Z] ---> 18b7c11bda27 [2022-10-24T01:12:44.192Z] Step 7/27 : WORKDIR /device-gpio [2022-10-24T01:12:44.192Z] ---> Running in 93e4b2ccf961 [2022-10-24T01:12:44.452Z] Removing intermediate container 93e4b2ccf961 [2022-10-24T01:12:44.452Z] ---> ada71c8a57aa [2022-10-24T01:12:44.452Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T01:12:44.452Z] ---> Running in a795d6b44670 [2022-10-24T01:12:45.019Z] Removing intermediate container a795d6b44670 [2022-10-24T01:12:45.019Z] ---> 8ed809df7039 [2022-10-24T01:12:45.019Z] Step 9/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T01:12:45.019Z] ---> Running in 0d84ddbd4444 [2022-10-24T01:12:45.278Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T01:12:46.216Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T01:12:46.475Z] OK: 216 MiB in 55 packages [2022-10-24T01:12:46.740Z] Removing intermediate container 0d84ddbd4444 [2022-10-24T01:12:46.740Z] ---> 6c5b1e30b2e4 [2022-10-24T01:12:46.740Z] Step 10/27 : COPY go.mod vendor* ./ [2022-10-24T01:12:47.000Z] ---> 9d49f9bab355 [2022-10-24T01:12:47.000Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T01:12:47.000Z] ---> Running in 4e446defc3f4 [2022-10-24T01:12:47.569Z] Removing intermediate container 4e446defc3f4 [2022-10-24T01:12:47.569Z] ---> 12cf148aca2d [2022-10-24T01:12:47.569Z] Step 12/27 : COPY . . [2022-10-24T01:12:48.138Z] ---> e3a088bbebc3 [2022-10-24T01:12:48.138Z] Step 13/27 : RUN ${MAKE} [2022-10-24T01:12:48.138Z] ---> Running in 7a4bf729e331 [2022-10-24T01:12:48.398Z] 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-24T01:13:06.477Z] Removing intermediate container 7a4bf729e331 [2022-10-24T01:13:06.477Z] ---> cf5bf3d5506a [2022-10-24T01:13:06.477Z] Step 14/27 : FROM alpine:3.16 [2022-10-24T01:13:06.477Z] 3.16: Pulling from library/alpine [2022-10-24T01:13:06.477Z] 213ec9aee27d: Already exists [2022-10-24T01:13:06.736Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-24T01:13:06.736Z] Status: Downloaded newer image for alpine:3.16 [2022-10-24T01:13:06.736Z] ---> 9c6f07244728 [2022-10-24T01:13:06.736Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-10-24T01:13:06.736Z] ---> Running in e60d2fdbf623 [2022-10-24T01:13:06.736Z] Removing intermediate container e60d2fdbf623 [2022-10-24T01:13:06.736Z] ---> 1386b5c6af59 [2022-10-24T01:13:06.736Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T01:13:06.994Z] ---> Running in fc899871b7c7 [2022-10-24T01:13:07.561Z] Removing intermediate container fc899871b7c7 [2022-10-24T01:13:07.561Z] ---> cd48d738ebe3 [2022-10-24T01:13:07.561Z] Step 17/27 : RUN apk add --update --no-cache zeromq [2022-10-24T01:13:07.561Z] ---> Running in 95f513c669d1 [2022-10-24T01:13:07.820Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T01:13:08.756Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T01:13:09.020Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-24T01:13:09.020Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-24T01:13:09.020Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-24T01:13:09.279Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-24T01:13:09.279Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-24T01:13:09.279Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T01:13:09.279Z] OK: 8 MiB in 19 packages [2022-10-24T01:13:09.845Z] Removing intermediate container 95f513c669d1 [2022-10-24T01:13:09.845Z] ---> 893fa370dcfb [2022-10-24T01:13:09.845Z] Step 18/27 : WORKDIR / [2022-10-24T01:13:09.845Z] ---> Running in da34e23ecb24 [2022-10-24T01:13:09.845Z] Removing intermediate container da34e23ecb24 [2022-10-24T01:13:09.845Z] ---> 156d72cfb3dd [2022-10-24T01:13:09.845Z] Step 19/27 : COPY --from=builder /device-gpio/Attribution.txt / [2022-10-24T01:13:10.103Z] ---> 1f7d775059ae [2022-10-24T01:13:10.103Z] Step 20/27 : COPY --from=builder /device-gpio/LICENSE / [2022-10-24T01:13:10.103Z] ---> 4c9794194068 [2022-10-24T01:13:10.103Z] Step 21/27 : COPY --from=builder /device-gpio/cmd/ / [2022-10-24T01:13:10.668Z] ---> 588cec0570c7 [2022-10-24T01:13:10.668Z] Step 22/27 : EXPOSE 59910 [2022-10-24T01:13:10.927Z] ---> Running in 8cfa6edfc506 [2022-10-24T01:13:10.927Z] Removing intermediate container 8cfa6edfc506 [2022-10-24T01:13:10.927Z] ---> bf3f7b39ef8b [2022-10-24T01:13:10.927Z] Step 23/27 : ENTRYPOINT ["/device-gpio"] [2022-10-24T01:13:10.927Z] ---> Running in 3ec7da267c44 [2022-10-24T01:13:10.927Z] Removing intermediate container 3ec7da267c44 [2022-10-24T01:13:10.927Z] ---> b4aa7f1e53ca [2022-10-24T01:13:10.927Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-24T01:13:10.927Z] ---> Running in b8005ad245db [2022-10-24T01:13:11.186Z] Removing intermediate container b8005ad245db [2022-10-24T01:13:11.186Z] ---> f728091fa6c7 [2022-10-24T01:13:11.186Z] Step 25/27 : LABEL arch=amd64 [2022-10-24T01:13:11.186Z] ---> Running in aa4664d79f1b [2022-10-24T01:13:11.186Z] Removing intermediate container aa4664d79f1b [2022-10-24T01:13:11.186Z] ---> 88680a1a5e97 [2022-10-24T01:13:11.186Z] Step 26/27 : LABEL git_sha=32544b034dda28de1bd73d1ec14b808edd03342d [2022-10-24T01:13:11.186Z] ---> Running in af6dadc2971b [2022-10-24T01:13:11.450Z] Removing intermediate container af6dadc2971b [2022-10-24T01:13:11.450Z] ---> 42f2dd787bc2 [2022-10-24T01:13:11.450Z] Step 27/27 : LABEL version=0.0.0 [2022-10-24T01:13:11.450Z] ---> Running in 9fde253b799e [2022-10-24T01:13:11.450Z] Removing intermediate container 9fde253b799e [2022-10-24T01:13:11.450Z] ---> 6855771e513a [2022-10-24T01:13:11.450Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T01:13:11.450Z] Successfully built 6855771e513a [2022-10-24T01:13:11.450Z] 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-24T01:13:12.313Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T01:13:12.313Z] [2022-10-24T01:13:12.313Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:13:12.687Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T01:13:12.687Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-24T01:13:12.687Z] 5eb5b503b376: Pulling fs layer [2022-10-24T01:13:12.687Z] 5c69ac0246d0: Pulling fs layer [2022-10-24T01:13:12.687Z] ec43610c2a17: Pulling fs layer [2022-10-24T01:13:12.687Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-24T01:13:12.687Z] 33b1e0a273af: Pulling fs layer [2022-10-24T01:13:12.687Z] 5d3b04190fa2: Pulling fs layer [2022-10-24T01:13:12.687Z] 2f39f015ded8: Pulling fs layer [2022-10-24T01:13:12.687Z] 3a2ae6a8a46f: Waiting [2022-10-24T01:13:12.687Z] 33b1e0a273af: Waiting [2022-10-24T01:13:12.687Z] 5d3b04190fa2: Waiting [2022-10-24T01:13:12.687Z] 2f39f015ded8: Waiting [2022-10-24T01:13:12.687Z] 5c69ac0246d0: Verifying Checksum [2022-10-24T01:13:12.687Z] 5c69ac0246d0: Download complete [2022-10-24T01:13:12.687Z] 3a2ae6a8a46f: Download complete [2022-10-24T01:13:12.687Z] 33b1e0a273af: Verifying Checksum [2022-10-24T01:13:12.687Z] 33b1e0a273af: Download complete [2022-10-24T01:13:12.687Z] 5d3b04190fa2: Verifying Checksum [2022-10-24T01:13:12.687Z] 5d3b04190fa2: Download complete [2022-10-24T01:13:12.946Z] ec43610c2a17: Verifying Checksum [2022-10-24T01:13:12.946Z] ec43610c2a17: Download complete [2022-10-24T01:13:12.946Z] 5eb5b503b376: Verifying Checksum [2022-10-24T01:13:12.946Z] 5eb5b503b376: Download complete [2022-10-24T01:13:13.511Z] 2f39f015ded8: Download complete [2022-10-24T01:13:14.076Z] 5eb5b503b376: Pull complete [2022-10-24T01:13:14.336Z] 5c69ac0246d0: Pull complete [2022-10-24T01:13:14.593Z] ec43610c2a17: Pull complete [2022-10-24T01:13:14.593Z] 3a2ae6a8a46f: Pull complete [2022-10-24T01:13:14.851Z] 33b1e0a273af: Pull complete [2022-10-24T01:13:14.851Z] 5d3b04190fa2: Pull complete [2022-10-24T01:13:19.041Z] 2f39f015ded8: Pull complete [2022-10-24T01:13:19.041Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-24T01:13:19.041Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T01:13:19.041Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:13:19.264Z] prd-ubuntu20.04-docker-8c-8g-8920 does not seem to be running inside a container [2022-10-24T01:13:19.293Z] $ 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-63 -v /w/workspace/edgexfoundry_device-gpio_PR-63:/w/workspace/edgexfoundry_device-gpio_PR-63:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-63@tmp:/w/workspace/edgexfoundry_device-gpio_PR-63@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-24T01:13:20.863Z] $ docker top 5b7fa8d44d844b31bd8f9c4cce0bf314bdb49138ac50168598de35b2e2dad2ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:13:21.325Z] ---> job-cost.sh [2022-10-24T01:13:21.325Z] lf-activate-venv: SKIPPING [2022-10-24T01:13:21.325Z] INFO: No Stack... [2022-10-24T01:13:21.893Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T01:13:22.151Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T01:13:22.457Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-63/archives/cost.csv [2022-10-24T01:13:22.457Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T01:13:22.499Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-63-1-stack-cost] [2022-10-24T01:13:22.504Z] Resource [jenkins-edgexfoundry-device-gpio-PR-63-1-stack-cost] did not exist. Created. [2022-10-24T01:13:22.504Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-63-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T01:13:22.890Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-24T01:13:22.944Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T01:13:22.974Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-63-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T01:13:23.054Z] $ docker stop --time=1 5b7fa8d44d844b31bd8f9c4cce0bf314bdb49138ac50168598de35b2e2dad2ac [2022-10-24T01:13:24.224Z] $ docker rm -f 5b7fa8d44d844b31bd8f9c4cce0bf314bdb49138ac50168598de35b2e2dad2ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-24T01:15:18.732Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8921 in /w/workspace/edgexfoundry_device-gpio_PR-63 [Pipeline] { [Pipeline] ws [2022-10-24T01:15:18.773Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2022-10-24T01:15:18.853Z] The recommended git tool is: git [2022-10-24T01:15:23.992Z] using credential edgex-jenkins-ssh [2022-10-24T01:15:24.009Z] Cloning the remote Git repository [2022-10-24T01:15:24.059Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-10-24T01:15:24.140Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2022-10-24T01:15:24.296Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-10-24T01:15:24.298Z] > git --version # timeout=10 [2022-10-24T01:15:24.319Z] > git --version # 'git version 2.25.1' [2022-10-24T01:15:24.321Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T01:15:24.372Z] Verifying host key using known hosts file [2022-10-24T01:15:24.572Z] 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-24T01:15:24.585Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T01:15:26.153Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-10-24T01:15:26.175Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T01:15:26.999Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-10-24T01:15:27.037Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-10-24T01:15:27.039Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T01:15:27.044Z] Verifying host key using known hosts file [2022-10-24T01:15:27.051Z] 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-24T01:15:27.064Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/63/head:refs/remotes/origin/PR-63 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-24T01:15:27.572Z] Merging remotes/origin/main commit 89403c3d66cf45a4c65845d7eb210f5c9736c687 into PR head commit 32544b034dda28de1bd73d1ec14b808edd03342d [2022-10-24T01:15:27.806Z] Merge succeeded, producing 32544b034dda28de1bd73d1ec14b808edd03342d [2022-10-24T01:15:27.807Z] Checking out Revision 32544b034dda28de1bd73d1ec14b808edd03342d (PR-63) [2022-10-24T01:15:28.292Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-10-24T01:15:28.338Z] > git --version # timeout=10 [2022-10-24T01:15:28.351Z] > git --version # 'git version 2.25.1' [2022-10-24T01:15:28.378Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2022-10-24T01:15:27.588Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T01:15:27.612Z] > git checkout -f 32544b034dda28de1bd73d1ec14b808edd03342d # timeout=10 [2022-10-24T01:15:27.708Z] > git remote # timeout=10 [2022-10-24T01:15:27.724Z] > git config --get remote.origin.url # timeout=10 [2022-10-24T01:15:27.748Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T01:15:27.753Z] Verifying host key using known hosts file [2022-10-24T01:15:27.757Z] 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-24T01:15:27.765Z] > git merge 89403c3d66cf45a4c65845d7eb210f5c9736c687 # timeout=10 [2022-10-24T01:15:27.789Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-24T01:15:27.810Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T01:15:27.832Z] > git checkout -f 32544b034dda28de1bd73d1ec14b808edd03342d # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T01:15:29.513Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-24T01:15:29.513Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T01:15:29.513Z] Dload Upload Total Spent Left Speed [2022-10-24T01:15:29.513Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 96938 0 --:--:-- --:--:-- --:--:-- 96938 [Pipeline] sh [2022-10-24T01:15:30.095Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-24T01:15:30.442Z] + sudo tee /etc/docker/daemon.new [2022-10-24T01:15:30.443Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-24T01:15:30.443Z] { [2022-10-24T01:15:30.443Z] "registry-mirrors": [ [2022-10-24T01:15:30.443Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-24T01:15:30.443Z] ], [2022-10-24T01:15:30.443Z] "bip": "10.250.0.254/24", [2022-10-24T01:15:30.443Z] "hosts": [ [2022-10-24T01:15:30.443Z] "tcp://0.0.0.0:5555", [2022-10-24T01:15:30.443Z] "unix:///var/run/docker.sock" [2022-10-24T01:15:30.443Z] ], [2022-10-24T01:15:30.443Z] "mtu": 1458, [2022-10-24T01:15:30.443Z] "selinux-enabled": true, [2022-10-24T01:15:30.443Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-24T01:15:30.443Z] } [Pipeline] sh [2022-10-24T01:15:30.804Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-24T01:15:31.173Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T01:15:49.493Z] provisioning config files... [2022-10-24T01:15:49.522Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config2285432263198984207tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:15:49.907Z] ---> docker-login.sh [2022-10-24T01:15:49.907Z] nexus3.edgexfoundry.org:10001 [2022-10-24T01:15:50.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:15:50.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:15:50.495Z] Configure a credential helper to remove this warning. See [2022-10-24T01:15:50.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:15:50.495Z] [2022-10-24T01:15:50.495Z] Login Succeeded [2022-10-24T01:15:50.495Z] nexus3.edgexfoundry.org:10002 [2022-10-24T01:15:50.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:15:50.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:15:50.764Z] Configure a credential helper to remove this warning. See [2022-10-24T01:15:50.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:15:50.764Z] [2022-10-24T01:15:50.764Z] Login Succeeded [2022-10-24T01:15:51.034Z] nexus3.edgexfoundry.org:10003 [2022-10-24T01:15:51.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:15:51.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:15:51.304Z] Configure a credential helper to remove this warning. See [2022-10-24T01:15:51.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:15:51.304Z] [2022-10-24T01:15:51.304Z] Login Succeeded [2022-10-24T01:15:51.304Z] nexus3.edgexfoundry.org:10004 [2022-10-24T01:15:51.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:15:51.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:15:51.579Z] Configure a credential helper to remove this warning. See [2022-10-24T01:15:51.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:15:51.579Z] [2022-10-24T01:15:51.579Z] Login Succeeded [2022-10-24T01:15:51.579Z] docker.io [2022-10-24T01:15:51.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:15:52.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:15:52.431Z] Configure a credential helper to remove this warning. See [2022-10-24T01:15:52.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:15:52.431Z] [2022-10-24T01:15:52.431Z] Login Succeeded [2022-10-24T01:15:52.431Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T01:15:52.515Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T01:15:52.794Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T01:15:52.827Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T01:15:52.861Z] ========================================================= [2022-10-24T01:15:52.861Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-24T01:15:52.861Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:15:53.395Z] + 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-24T01:15:53.663Z] Sending build context to Docker daemon 8.006MB [2022-10-24T01:15:53.663Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T01:15:53.663Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-24T01:15:53.941Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-24T01:15:53.941Z] 9b18e9b68314: Pulling fs layer [2022-10-24T01:15:53.941Z] d32db5db7311: Pulling fs layer [2022-10-24T01:15:53.941Z] d0c4b47475fc: Pulling fs layer [2022-10-24T01:15:53.941Z] 5831b945b038: Pulling fs layer [2022-10-24T01:15:53.941Z] 86bbec2aaacd: Pulling fs layer [2022-10-24T01:15:53.941Z] e10730c5d714: Pulling fs layer [2022-10-24T01:15:53.941Z] 5dd5c2283517: Pulling fs layer [2022-10-24T01:15:53.941Z] d5ac0230b979: Pulling fs layer [2022-10-24T01:15:53.941Z] 5831b945b038: Waiting [2022-10-24T01:15:53.941Z] e10730c5d714: Waiting [2022-10-24T01:15:53.941Z] 86bbec2aaacd: Waiting [2022-10-24T01:15:53.941Z] 5dd5c2283517: Waiting [2022-10-24T01:15:53.941Z] d5ac0230b979: Waiting [2022-10-24T01:15:53.941Z] d0c4b47475fc: Verifying Checksum [2022-10-24T01:15:53.941Z] d0c4b47475fc: Download complete [2022-10-24T01:15:53.941Z] d32db5db7311: Verifying Checksum [2022-10-24T01:15:53.941Z] d32db5db7311: Download complete [2022-10-24T01:15:53.941Z] 86bbec2aaacd: Verifying Checksum [2022-10-24T01:15:53.941Z] 86bbec2aaacd: Download complete [2022-10-24T01:15:53.941Z] 9b18e9b68314: Verifying Checksum [2022-10-24T01:15:53.941Z] 9b18e9b68314: Download complete [2022-10-24T01:15:53.941Z] e10730c5d714: Verifying Checksum [2022-10-24T01:15:53.941Z] e10730c5d714: Download complete [2022-10-24T01:15:54.932Z] 9b18e9b68314: Pull complete [2022-10-24T01:15:55.200Z] d5ac0230b979: Verifying Checksum [2022-10-24T01:15:55.200Z] d5ac0230b979: Download complete [2022-10-24T01:15:55.795Z] d32db5db7311: Pull complete [2022-10-24T01:15:55.795Z] d0c4b47475fc: Pull complete [2022-10-24T01:15:56.379Z] 5dd5c2283517: Verifying Checksum [2022-10-24T01:15:56.379Z] 5dd5c2283517: Download complete [2022-10-24T01:15:56.965Z] 5831b945b038: Verifying Checksum [2022-10-24T01:15:56.965Z] 5831b945b038: Download complete [2022-10-24T01:16:09.293Z] 5831b945b038: Pull complete [2022-10-24T01:16:09.293Z] 86bbec2aaacd: Pull complete [2022-10-24T01:16:09.293Z] e10730c5d714: Pull complete [2022-10-24T01:16:14.751Z] 5dd5c2283517: Pull complete [2022-10-24T01:16:16.206Z] d5ac0230b979: Pull complete [2022-10-24T01:16:16.206Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-24T01:16:16.206Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-24T01:16:16.206Z] ---> 59b3b1a385d4 [2022-10-24T01:16:16.206Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-24T01:16:18.165Z] ---> Running in c58795bbe87f [2022-10-24T01:16:18.165Z] Removing intermediate container c58795bbe87f [2022-10-24T01:16:18.165Z] ---> 0c416bcb5872 [2022-10-24T01:16:18.165Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T01:16:18.438Z] ---> Running in 6d7d5fa59f84 [2022-10-24T01:16:18.706Z] Removing intermediate container 6d7d5fa59f84 [2022-10-24T01:16:18.706Z] ---> b9152db54c10 [2022-10-24T01:16:18.706Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T01:16:18.706Z] ---> Running in 1804d1c23ade [2022-10-24T01:16:18.974Z] Removing intermediate container 1804d1c23ade [2022-10-24T01:16:18.974Z] ---> 43265f6f3796 [2022-10-24T01:16:18.974Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T01:16:18.974Z] ---> Running in 4aa19b8b0214 [2022-10-24T01:16:19.243Z] Removing intermediate container 4aa19b8b0214 [2022-10-24T01:16:19.243Z] ---> 834ff646e9b0 [2022-10-24T01:16:19.243Z] Step 7/13 : WORKDIR /device-gpio [2022-10-24T01:16:19.511Z] ---> Running in 2569d7d73bd8 [2022-10-24T01:16:19.783Z] Removing intermediate container 2569d7d73bd8 [2022-10-24T01:16:19.783Z] ---> 418eebf9b2f5 [2022-10-24T01:16:19.783Z] Step 8/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T01:16:19.783Z] ---> Running in 1b07ba828f5b [2022-10-24T01:16:21.741Z] Removing intermediate container 1b07ba828f5b [2022-10-24T01:16:21.741Z] ---> bdba0c12502b [2022-10-24T01:16:21.741Z] Step 9/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T01:16:21.741Z] ---> Running in c220c0de1767 [2022-10-24T01:16:22.704Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T01:16:23.664Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T01:16:24.628Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-24T01:16:24.628Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-24T01:16:24.628Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-24T01:16:24.897Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-24T01:16:24.897Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T01:16:24.897Z] OK: 226 MiB in 55 packages [2022-10-24T01:16:25.858Z] Removing intermediate container c220c0de1767 [2022-10-24T01:16:25.858Z] ---> 46dbe84100d8 [2022-10-24T01:16:25.858Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-24T01:16:26.444Z] ---> 29996a1d6e41 [2022-10-24T01:16:26.444Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T01:16:26.444Z] ---> Running in e2bcbdeaee71 [2022-10-24T01:17:22.859Z] Removing intermediate container e2bcbdeaee71 [2022-10-24T01:17:22.860Z] ---> 5bed78e4b5d4 [2022-10-24T01:17:22.860Z] Step 12/13 : COPY . . [2022-10-24T01:17:22.860Z] ---> 002d21027ebf [2022-10-24T01:17:22.860Z] Step 13/13 : RUN ${MAKE} [2022-10-24T01:17:22.860Z] ---> Running in 41c8186602cd [2022-10-24T01:17:22.860Z] noop [2022-10-24T01:17:22.860Z] Removing intermediate container 41c8186602cd [2022-10-24T01:17:22.860Z] ---> eb3c2f078803 [2022-10-24T01:17:22.860Z] Successfully built eb3c2f078803 [2022-10-24T01:17:22.860Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:17:23.410Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T01:17:23.410Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:17:23.667Z] prd-ubuntu20.04-docker-arm64-4c-16g-8921 does not seem to be running inside a container [2022-10-24T01:17:23.727Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-24T01:17:24.988Z] $ docker top 22a4b1be0b1bc5a8486b71b9b6fdd317bb3b63730d93c26fabe4bbd30b58f58e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T01:17:25.918Z] + go version [2022-10-24T01:17:25.918Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-24T01:17:25.954Z] $ docker stop --time=1 22a4b1be0b1bc5a8486b71b9b6fdd317bb3b63730d93c26fabe4bbd30b58f58e [2022-10-24T01:17:27.580Z] $ docker rm -f 22a4b1be0b1bc5a8486b71b9b6fdd317bb3b63730d93c26fabe4bbd30b58f58e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:17:28.460Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T01:17:28.460Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:17:28.709Z] prd-ubuntu20.04-docker-arm64-4c-16g-8921 does not seem to be running inside a container [2022-10-24T01:17:28.764Z] $ 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 ******** ci-base-image-arm64 cat [2022-10-24T01:17:29.917Z] $ docker top 828a150cf105e0575bc9974003b6cbfc782c53784b9bf0cfd05c8a7f5afcd973 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T01:17:30.798Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2022-10-24T01:17:31.191Z] + make test [2022-10-24T01:17:31.191Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-24T01:17:33.137Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-10-24T01:18:54.786Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-10-24T01:18:54.786Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-10-24T01:18:54.786Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-24T01:18:54.786Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T01:19:16.880Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T01:19:16.880Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T01:19:16.880Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-24T01:19:16.916Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T01:19:16.945Z] $ docker stop --time=1 828a150cf105e0575bc9974003b6cbfc782c53784b9bf0cfd05c8a7f5afcd973 [2022-10-24T01:19:18.703Z] $ docker rm -f 828a150cf105e0575bc9974003b6cbfc782c53784b9bf0cfd05c8a7f5afcd973 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T01:19:19.652Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T01:19:19.690Z] Warning: overwriting stash ‘coverage-report’ [2022-10-24T01:19:20.055Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T01:19:20.644Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T01:19:20.984Z] + ls -al . [2022-10-24T01:19:20.984Z] total 160 [2022-10-24T01:19:20.984Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 01:17 . [2022-10-24T01:19:20.984Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:15 .. [2022-10-24T01:19:20.984Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 24 01:15 .dockerignore [2022-10-24T01:19:20.984Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 01:15 .git [2022-10-24T01:19:20.984Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:15 .github [2022-10-24T01:19:20.984Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 24 01:15 .gitignore [2022-10-24T01:19:20.984Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 01:15 .golangci.yml [2022-10-24T01:19:20.984Z] -rw-rw-r-- 1 jenkins jenkins 9691 Oct 24 01:15 Attribution.txt [2022-10-24T01:19:20.984Z] -rw-rw-r-- 1 jenkins jenkins 3081 Oct 24 01:15 CHANGELOG.md [2022-10-24T01:19:20.984Z] -rw-rw-r-- 1 jenkins jenkins 1929 Oct 24 01:15 Dockerfile [2022-10-24T01:19:20.984Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 01:15 GOVERNANCE.md [2022-10-24T01:19:20.984Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 24 01:15 Jenkinsfile [2022-10-24T01:19:20.984Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 01:15 LICENSE [2022-10-24T01:19:20.984Z] -rw-rw-r-- 1 jenkins jenkins 2085 Oct 24 01:15 Makefile [2022-10-24T01:19:20.984Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 24 01:15 OWNERS.md [2022-10-24T01:19:20.984Z] -rw-rw-r-- 1 jenkins jenkins 11842 Oct 24 01:15 README.md [2022-10-24T01:19:20.984Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 01:11 VERSION [2022-10-24T01:19:20.984Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:15 bin [2022-10-24T01:19:20.984Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:15 cmd [2022-10-24T01:19:20.984Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 24 01:17 coverage.out [2022-10-24T01:19:20.984Z] -rw-rw-r-- 1 jenkins jenkins 3459 Oct 24 01:15 go.mod [2022-10-24T01:19:20.984Z] -rw-rw-r-- 1 jenkins jenkins 38054 Oct 24 01:15 go.sum [2022-10-24T01:19:20.984Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:15 internal [2022-10-24T01:19:20.984Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:15 snap [2022-10-24T01:19:20.984Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 24 01:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:19:21.421Z] + 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=32544b034dda28de1bd73d1ec14b808edd03342d --label arch=arm64 --label version=0.0.0 . [2022-10-24T01:19:21.695Z] Sending build context to Docker daemon 8.007MB [2022-10-24T01:19:21.695Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T01:19:21.695Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-24T01:19:21.695Z] ---> eb3c2f078803 [2022-10-24T01:19:21.695Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-24T01:19:21.965Z] ---> Running in 3d5430fccbda [2022-10-24T01:19:22.235Z] Removing intermediate container 3d5430fccbda [2022-10-24T01:19:22.235Z] ---> adbad99ffd2a [2022-10-24T01:19:22.235Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T01:19:22.235Z] ---> Running in f0b1bd65088e [2022-10-24T01:19:22.505Z] Removing intermediate container f0b1bd65088e [2022-10-24T01:19:22.505Z] ---> 84d2e530ab8e [2022-10-24T01:19:22.505Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T01:19:22.505Z] ---> Running in aaef4e258d52 [2022-10-24T01:19:23.103Z] Removing intermediate container aaef4e258d52 [2022-10-24T01:19:23.103Z] ---> 42181ef95f85 [2022-10-24T01:19:23.103Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T01:19:23.103Z] ---> Running in 61dfcff257da [2022-10-24T01:19:23.374Z] Removing intermediate container 61dfcff257da [2022-10-24T01:19:23.374Z] ---> d1eb6075dd75 [2022-10-24T01:19:23.374Z] Step 7/27 : WORKDIR /device-gpio [2022-10-24T01:19:23.374Z] ---> Running in d3cf962fb18b [2022-10-24T01:19:23.652Z] Removing intermediate container d3cf962fb18b [2022-10-24T01:19:23.652Z] ---> e379ada55313 [2022-10-24T01:19:23.652Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T01:19:23.928Z] ---> Running in 2f5eee4d8d7f [2022-10-24T01:19:25.347Z] Removing intermediate container 2f5eee4d8d7f [2022-10-24T01:19:25.347Z] ---> 5ec8db1b6744 [2022-10-24T01:19:25.347Z] Step 9/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T01:19:25.616Z] ---> Running in ca41deb0c252 [2022-10-24T01:19:26.581Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T01:19:27.541Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T01:19:28.505Z] OK: 226 MiB in 55 packages [2022-10-24T01:19:29.466Z] Removing intermediate container ca41deb0c252 [2022-10-24T01:19:29.466Z] ---> a69e9a1a4d27 [2022-10-24T01:19:29.466Z] Step 10/27 : COPY go.mod vendor* ./ [2022-10-24T01:19:29.739Z] ---> 796ff3dc7f58 [2022-10-24T01:19:29.739Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T01:19:29.739Z] ---> Running in 856f9fea1155 [2022-10-24T01:19:31.687Z] Removing intermediate container 856f9fea1155 [2022-10-24T01:19:31.687Z] ---> 61b350a91d8a [2022-10-24T01:19:31.687Z] Step 12/27 : COPY . . [2022-10-24T01:19:32.649Z] ---> 628cfd55822d [2022-10-24T01:19:32.649Z] Step 13/27 : RUN ${MAKE} [2022-10-24T01:19:32.649Z] ---> Running in 58732f0cd041 [2022-10-24T01:19:33.610Z] 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-24T01:22:10.337Z] Removing intermediate container 58732f0cd041 [2022-10-24T01:22:10.337Z] ---> c289ab2d9a36 [2022-10-24T01:22:10.337Z] Step 14/27 : FROM alpine:3.16 [2022-10-24T01:22:10.337Z] 3.16: Pulling from library/alpine [2022-10-24T01:22:10.337Z] 9b18e9b68314: Already exists [2022-10-24T01:22:10.337Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-24T01:22:10.337Z] Status: Downloaded newer image for alpine:3.16 [2022-10-24T01:22:10.337Z] ---> a6215f271958 [2022-10-24T01:22:10.337Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-10-24T01:22:10.337Z] ---> Running in 9d14bb682658 [2022-10-24T01:22:10.337Z] Removing intermediate container 9d14bb682658 [2022-10-24T01:22:10.337Z] ---> 5ddfcdaa4269 [2022-10-24T01:22:10.337Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T01:22:10.337Z] ---> Running in 92cf68d51b9c [2022-10-24T01:22:10.337Z] Removing intermediate container 92cf68d51b9c [2022-10-24T01:22:10.337Z] ---> c91744a2b63b [2022-10-24T01:22:10.337Z] Step 17/27 : RUN apk add --update --no-cache zeromq [2022-10-24T01:22:10.337Z] ---> Running in 70e1d34ed280 [2022-10-24T01:22:10.337Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T01:22:11.297Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T01:22:12.261Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-24T01:22:12.261Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-24T01:22:12.261Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-24T01:22:12.528Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-24T01:22:12.528Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-24T01:22:12.528Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T01:22:12.794Z] OK: 8 MiB in 19 packages [2022-10-24T01:22:13.758Z] Removing intermediate container 70e1d34ed280 [2022-10-24T01:22:13.758Z] ---> 08ec42c7b710 [2022-10-24T01:22:13.758Z] Step 18/27 : WORKDIR / [2022-10-24T01:22:13.758Z] ---> Running in a7c192db4f54 [2022-10-24T01:22:14.026Z] Removing intermediate container a7c192db4f54 [2022-10-24T01:22:14.026Z] ---> c8b1e129fdb9 [2022-10-24T01:22:14.026Z] Step 19/27 : COPY --from=builder /device-gpio/Attribution.txt / [2022-10-24T01:22:14.628Z] ---> e6b620b1c04a [2022-10-24T01:22:14.628Z] Step 20/27 : COPY --from=builder /device-gpio/LICENSE / [2022-10-24T01:22:14.897Z] ---> b64bdea800e2 [2022-10-24T01:22:14.897Z] Step 21/27 : COPY --from=builder /device-gpio/cmd/ / [2022-10-24T01:22:16.308Z] ---> 99f40c3aa05a [2022-10-24T01:22:16.308Z] Step 22/27 : EXPOSE 59910 [2022-10-24T01:22:16.580Z] ---> Running in f8d9fe219a8f [2022-10-24T01:22:16.848Z] Removing intermediate container f8d9fe219a8f [2022-10-24T01:22:16.848Z] ---> e4ca9ec2384d [2022-10-24T01:22:16.848Z] Step 23/27 : ENTRYPOINT ["/device-gpio"] [2022-10-24T01:22:16.848Z] ---> Running in 60a45aec9e46 [2022-10-24T01:22:17.116Z] Removing intermediate container 60a45aec9e46 [2022-10-24T01:22:17.116Z] ---> 1e3e2a7353ef [2022-10-24T01:22:17.116Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-24T01:22:17.116Z] ---> Running in db3666a388c9 [2022-10-24T01:22:17.384Z] Removing intermediate container db3666a388c9 [2022-10-24T01:22:17.384Z] ---> cc7e1c444f87 [2022-10-24T01:22:17.384Z] Step 25/27 : LABEL arch=arm64 [2022-10-24T01:22:17.653Z] ---> Running in 985c1510c1b7 [2022-10-24T01:22:17.925Z] Removing intermediate container 985c1510c1b7 [2022-10-24T01:22:17.925Z] ---> 5875ed039084 [2022-10-24T01:22:17.925Z] Step 26/27 : LABEL git_sha=32544b034dda28de1bd73d1ec14b808edd03342d [2022-10-24T01:22:17.925Z] ---> Running in 627f6b7bb4e4 [2022-10-24T01:22:18.192Z] Removing intermediate container 627f6b7bb4e4 [2022-10-24T01:22:18.192Z] ---> 88157ba619b4 [2022-10-24T01:22:18.192Z] Step 27/27 : LABEL version=0.0.0 [2022-10-24T01:22:18.192Z] ---> Running in 182fe43dc519 [2022-10-24T01:22:18.459Z] Removing intermediate container 182fe43dc519 [2022-10-24T01:22:18.459Z] ---> 24dcf153be2c [2022-10-24T01:22:18.459Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T01:22:18.725Z] Successfully built 24dcf153be2c [2022-10-24T01:22:18.725Z] 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-24T01:22:19.556Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T01:22:19.556Z] [2022-10-24T01:22:19.556Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:22:19.956Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T01:22:20.225Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-24T01:22:20.225Z] 8998bd30e6a1: Pulling fs layer [2022-10-24T01:22:20.225Z] 04944245beec: Pulling fs layer [2022-10-24T01:22:20.225Z] 699f458cf7ca: Pulling fs layer [2022-10-24T01:22:20.225Z] 765212b225bb: Pulling fs layer [2022-10-24T01:22:20.225Z] f23df028b6ca: Pulling fs layer [2022-10-24T01:22:20.225Z] d65c8cfc05b1: Pulling fs layer [2022-10-24T01:22:20.225Z] 2437ff75d9bd: Pulling fs layer [2022-10-24T01:22:20.225Z] 765212b225bb: Waiting [2022-10-24T01:22:20.225Z] f23df028b6ca: Waiting [2022-10-24T01:22:20.225Z] d65c8cfc05b1: Waiting [2022-10-24T01:22:20.225Z] 2437ff75d9bd: Waiting [2022-10-24T01:22:20.225Z] 04944245beec: Verifying Checksum [2022-10-24T01:22:20.225Z] 04944245beec: Download complete [2022-10-24T01:22:20.225Z] 765212b225bb: Verifying Checksum [2022-10-24T01:22:20.225Z] 765212b225bb: Download complete [2022-10-24T01:22:20.225Z] f23df028b6ca: Verifying Checksum [2022-10-24T01:22:20.225Z] f23df028b6ca: Download complete [2022-10-24T01:22:20.225Z] d65c8cfc05b1: Verifying Checksum [2022-10-24T01:22:20.225Z] d65c8cfc05b1: Download complete [2022-10-24T01:22:20.493Z] 699f458cf7ca: Verifying Checksum [2022-10-24T01:22:20.493Z] 699f458cf7ca: Download complete [2022-10-24T01:22:20.760Z] 8998bd30e6a1: Download complete [2022-10-24T01:22:23.341Z] 2437ff75d9bd: Verifying Checksum [2022-10-24T01:22:23.341Z] 2437ff75d9bd: Download complete [2022-10-24T01:22:24.842Z] 8998bd30e6a1: Pull complete [2022-10-24T01:22:25.450Z] 04944245beec: Pull complete [2022-10-24T01:22:26.909Z] 699f458cf7ca: Pull complete [2022-10-24T01:22:26.909Z] 765212b225bb: Pull complete [2022-10-24T01:22:27.881Z] f23df028b6ca: Pull complete [2022-10-24T01:22:27.881Z] d65c8cfc05b1: Pull complete [2022-10-24T01:22:42.877Z] 2437ff75d9bd: Pull complete [2022-10-24T01:22:42.877Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-24T01:22:42.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T01:22:42.877Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:22:43.194Z] prd-ubuntu20.04-docker-arm64-4c-16g-8921 does not seem to be running inside a container [2022-10-24T01:22:43.247Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-24T01:22:45.823Z] $ docker top 5b948985db2b77e7e71cdc949a16a616f6195fe07a2921829a50e22f8c3967f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:22:46.734Z] ---> job-cost.sh [2022-10-24T01:22:46.734Z] lf-activate-venv: SKIPPING [2022-10-24T01:22:46.734Z] INFO: No Stack... [2022-10-24T01:22:47.316Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-24T01:22:47.898Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T01:22:48.238Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2022-10-24T01:22:48.238Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T01:22:48.322Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-63-1-stack-cost] [2022-10-24T01:22:48.330Z] Resource [jenkins-edgexfoundry-device-gpio-PR-63-1-stack-cost] did not exist. Created. [2022-10-24T01:22:48.330Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-63-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T01:22:48.745Z] /w/workspace/device-gpio/1@tmp/durable-4aaffcc8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-24T01:22:49.099Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-24T01:22:49.137Z] Warning: overwriting stash ‘stack-cost’ [2022-10-24T01:22:49.182Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T01:22:49.198Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-63-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T01:22:49.275Z] $ docker stop --time=1 5b948985db2b77e7e71cdc949a16a616f6195fe07a2921829a50e22f8c3967f7 [2022-10-24T01:22:50.720Z] $ docker rm -f 5b948985db2b77e7e71cdc949a16a616f6195fe07a2921829a50e22f8c3967f7 [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-24T01:22:51.719Z] provisioning config files... [2022-10-24T01:22:51.727Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-63@tmp/config658301156240953135tmp [Pipeline] { [Pipeline] sh [2022-10-24T01:22:52.060Z] + set +x [2022-10-24T01:22:52.060Z] + curl -s https://codecov.io/bash [2022-10-24T01:22:52.060Z] + bash -s -- [2022-10-24T01:22:52.060Z] [2022-10-24T01:22:52.060Z] _____ _ [2022-10-24T01:22:52.060Z] / ____| | | [2022-10-24T01:22:52.060Z] | | ___ __| | ___ ___ _____ __ [2022-10-24T01:22:52.060Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-24T01:22:52.060Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-24T01:22:52.060Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-24T01:22:52.060Z] Bash-1.0.6 [2022-10-24T01:22:52.060Z] [2022-10-24T01:22:52.060Z] [2022-10-24T01:22:52.060Z] ==> git version 2.25.1 found [2022-10-24T01:22:52.060Z] ==> 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-24T01:22:52.060Z] Release-Date: 2020-01-08 [2022-10-24T01:22:52.060Z] 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-24T01:22:52.060Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-24T01:22:52.060Z] ==> Jenkins CI detected. [2022-10-24T01:22:52.060Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-63 [2022-10-24T01:22:52.060Z] project root: . [2022-10-24T01:22:52.060Z] --> token set from env [2022-10-24T01:22:52.060Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-24T01:22:52.060Z] ==> Running gcov in . (disable via -X gcov) [2022-10-24T01:22:52.060Z] ==> Python coveragepy not found [2022-10-24T01:22:52.060Z] ==> Searching for coverage reports in: [2022-10-24T01:22:52.060Z] + . [2022-10-24T01:22:52.060Z] -> Found 1 reports [2022-10-24T01:22:52.060Z] ==> Detecting git/mercurial file structure [2022-10-24T01:22:52.060Z] ==> Reading reports [2022-10-24T01:22:52.319Z] + ./coverage.out bytes=10 [2022-10-24T01:22:52.319Z] ==> Appending adjustments [2022-10-24T01:22:52.319Z] https://docs.codecov.io/docs/fixing-reports [2022-10-24T01:22:52.319Z] + Found adjustments [2022-10-24T01:22:52.319Z] ==> Gzipping contents [2022-10-24T01:22:52.319Z] 4.0K /tmp/codecov.u0CaLr.gz [2022-10-24T01:22:52.319Z] ==> Uploading reports [2022-10-24T01:22:52.319Z] url: https://codecov.io [2022-10-24T01:22:52.319Z] query: branch=PR-63&commit=32544b034dda28de1bd73d1ec14b808edd03342d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-63%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=63&job=&cmd_args= [2022-10-24T01:22:52.319Z] -> Pinging Codecov [2022-10-24T01:22:52.319Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-63&commit=32544b034dda28de1bd73d1ec14b808edd03342d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-63%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=63&job=&cmd_args= [2022-10-24T01:22:52.577Z] -> Uploading to [2022-10-24T01:22:52.577Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-24/3EC07B1A8CA8AF9BCAA0BB9F0134797F/32544b034dda28de1bd73d1ec14b808edd03342d/9a2bd2ea-ab5f-4834-8e70-e65b6d5d341a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T012252Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a154d9075c677705e1cbf626f555b3d301389e247bba0312ccda13d6eea675dc [2022-10-24T01:22:52.577Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T01:22:52.577Z] Dload Upload Total Spent Left Speed [2022-10-24T01:22:52.835Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 3213 --:--:-- --:--:-- --:--:-- 3213 [2022-10-24T01:22:52.835Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/32544b034dda28de1bd73d1ec14b808edd03342d [Pipeline] } [2022-10-24T01:22:52.861Z] 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-24T01:22:55.145Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-63/archives ] [2022-10-24T01:22:55.145Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-63/archives [2022-10-24T01:22:55.145Z] total 16 [2022-10-24T01:22:55.145Z] drwxr-xr-x 3 root root 4096 Oct 24 01:13 . [2022-10-24T01:22:55.145Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 01:13 .. [2022-10-24T01:22:55.145Z] drwxr-xr-x 2 root root 4096 Oct 24 01:13 cost [2022-10-24T01:22:55.145Z] -rw-r--r-- 1 root root 82 Oct 24 01:13 cost.csv [2022-10-24T01:22:55.145Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-63/archives [2022-10-24T01:22:55.145Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-63/archives [2022-10-24T01:22:55.145Z] total 16 [2022-10-24T01:22:55.145Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 01:13 . [2022-10-24T01:22:55.145Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 01:13 .. [2022-10-24T01:22:55.145Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 01:13 cost [2022-10-24T01:22:55.145Z] -rw-r--r-- 1 jenkins jenkins 82 Oct 24 01:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:22:55.473Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:22:56.363Z] ---> package-listing.sh [2022-10-24T01:22:56.363Z] ++ facter osfamily [2022-10-24T01:22:56.363Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-24T01:22:56.622Z] + OS_FAMILY=debian [2022-10-24T01:22:56.622Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-63 [2022-10-24T01:22:56.622Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-24T01:22:56.622Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-24T01:22:56.622Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-24T01:22:56.622Z] + PACKAGES=/tmp/packages_start.txt [2022-10-24T01:22:56.622Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-63 ']' [2022-10-24T01:22:56.622Z] + PACKAGES=/tmp/packages_end.txt [2022-10-24T01:22:56.622Z] + case "${OS_FAMILY}" in [2022-10-24T01:22:56.622Z] + dpkg -l [2022-10-24T01:22:56.622Z] + grep '^ii' [2022-10-24T01:22:56.622Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-24T01:22:56.622Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-24T01:22:56.622Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-24T01:22:56.622Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-63 ']' [2022-10-24T01:22:56.622Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-63/archives/ [2022-10-24T01:22:56.622Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-63/archives/ [Pipeline] echo [2022-10-24T01:22:56.663Z] 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-63/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-24T01:22:56.954Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:22:57.577Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T01:22:57.577Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:22:57.727Z] prd-ubuntu20.04-docker-8c-8g-8920 does not seem to be running inside a container [2022-10-24T01:22:57.765Z] $ 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-63/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-63 -v /w/workspace/edgexfoundry_device-gpio_PR-63:/w/workspace/edgexfoundry_device-gpio_PR-63:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-63@tmp:/w/workspace/edgexfoundry_device-gpio_PR-63@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-24T01:22:57.981Z] $ docker top 60811144dffb8abd9912f562387f4b257d8841a9ee4c3f4ea8987d28116ffad7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T01:22:58.371Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-24T01:22:58.694Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-24T01:22:59.007Z] + ls /var/log/sa-host [2022-10-24T01:22:59.007Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T01:22:59.224Z] provisioning config files... [2022-10-24T01:22:59.234Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-63@tmp/config8478436158378088508tmp [Pipeline] { [Pipeline] echo [2022-10-24T01:22:59.350Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:22:59.667Z] ---> create-netrc.sh [Pipeline] } [2022-10-24T01:22:59.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:23:00.103Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-24T01:23:00.135Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:23:00.447Z] ---> sudo-logs.sh [2022-10-24T01:23:00.447Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-24T01:23:00.533Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:23:00.850Z] ---> job-cost.sh [2022-10-24T01:23:00.850Z] lf-activate-venv: SKIPPING [2022-10-24T01:23:00.850Z] DEBUG: total: 0.2199999988079071 [2022-10-24T01:23:00.850Z] INFO: Retrieving Stack Cost... [2022-10-24T01:23:01.419Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T01:23:01.986Z] INFO: Archiving Costs [Pipeline] echo [2022-10-24T01:23:02.019Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:23:02.335Z] ---> logs-deploy.sh [2022-10-24T01:23:02.335Z] lf-activate-venv: SKIPPING [2022-10-24T01:23:02.335Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-63/1 [2022-10-24T01:23:02.335Z] INFO: archiving workspace using pattern(s): [2022-10-24T01:23:03.277Z] Archives upload complete. [2022-10-24T01:23:03.277Z] INFO: archiving logs to Nexus