Pull request #93 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c+07860bbab13f2ff928825cd544dbeda419b1d542 (0afbb6922dbb8c90b274add2d1aca9c9f03e29ab) 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-ssh14364088260784999150.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh7579018740650303542.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-93/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-93/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2715201043554038094.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-93/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14596824222617828647.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh12404007278312477889.key > 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-93/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-93/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2818459737951026929.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-4784’ Running on prd-ubuntu20.04-docker-8c-8g-4788 in /w/workspace/edgexfoundry_device-gpio_PR-93 [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-93 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/93/head:refs/remotes/origin/PR-93 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 07860bbab13f2ff928825cd544dbeda419b1d542 into PR head commit 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c Merge succeeded, producing 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c Checking out Revision 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c (PR-93) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 07860bbab13f2ff928825cd544dbeda419b1d542 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-07T00:12:10.819Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-07T00:12:11.006Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-07T00:12:11.109Z] ========================================================= [2023-02-07T00:12:11.109Z] EdgeX Global Pipelines Version Info [2023-02-07T00:12:11.109Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-07T00:12:11.886Z] ------------------- [2023-02-07T00:12:11.886Z] stable info: [2023-02-07T00:12:11.886Z] ------------------- [2023-02-07T00:12:11.886Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-07T00:12:11.886Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-07T00:12:11.886Z] Message: update stable to v1.0.244 [2023-02-07T00:12:12.457Z] ------------------- [2023-02-07T00:12:12.457Z] experimental info: [2023-02-07T00:12:12.457Z] ------------------- [2023-02-07T00:12:12.457Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-07T00:12:12.457Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-07T00:12:12.457Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-07T00:12:12.747Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-02-07T00:12:12.783Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-02-07T00:12:12.818Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-07T00:12:12.856Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-07T00:12:12.894Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-07T00:12:12.930Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-07T00:12:12.968Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-07T00:12:13.004Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-07T00:12:13.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-07T00:12:13.076Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-07T00:12:13.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-07T00:12:13.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-02-07T00:12:13.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-07T00:12:13.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-07T00:12:13.273Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-07T00:12:13.307Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-07T00:12:13.345Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-07T00:12:13.382Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-07T00:12:13.419Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-07T00:12:13.457Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-07T00:12:13.497Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-07T00:12:13.533Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-07T00:12:13.569Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-07T00:12:13.605Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-07T00:12:13.646Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-07T00:12:13.682Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-07T00:12:13.720Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-07T00:12:13.759Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-93 [Pipeline] echo [2023-02-07T00:12:13.803Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-93 [Pipeline] echo [2023-02-07T00:12:13.846Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-93 [Pipeline] echo [2023-02-07T00:12:13.890Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c [Pipeline] echo [2023-02-07T00:12:13.932Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2593ac4 [Pipeline] echo [2023-02-07T00:12:13.973Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T00:12:14.088Z] provisioning config files... [2023-02-07T00:12:14.102Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-93@tmp/config8510613726277822903tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T00:12:14.452Z] ---> docker-login.sh [2023-02-07T00:12:14.452Z] nexus3.edgexfoundry.org:10001 [2023-02-07T00:12:16.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T00:12:16.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T00:12:16.361Z] Configure a credential helper to remove this warning. See [2023-02-07T00:12:16.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T00:12:16.361Z] [2023-02-07T00:12:16.361Z] Login Succeeded [2023-02-07T00:12:16.361Z] nexus3.edgexfoundry.org:10002 [2023-02-07T00:12:16.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T00:12:16.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T00:12:16.361Z] Configure a credential helper to remove this warning. See [2023-02-07T00:12:16.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T00:12:16.361Z] [2023-02-07T00:12:16.361Z] Login Succeeded [2023-02-07T00:12:16.361Z] nexus3.edgexfoundry.org:10003 [2023-02-07T00:12:16.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T00:12:16.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T00:12:16.361Z] Configure a credential helper to remove this warning. See [2023-02-07T00:12:16.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T00:12:16.361Z] [2023-02-07T00:12:16.361Z] Login Succeeded [2023-02-07T00:12:16.361Z] nexus3.edgexfoundry.org:10004 [2023-02-07T00:12:16.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T00:12:16.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T00:12:16.629Z] Configure a credential helper to remove this warning. See [2023-02-07T00:12:16.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T00:12:16.629Z] [2023-02-07T00:12:16.629Z] Login Succeeded [2023-02-07T00:12:16.629Z] docker.io [2023-02-07T00:12:16.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T00:12:16.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T00:12:16.889Z] Configure a credential helper to remove this warning. See [2023-02-07T00:12:16.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T00:12:16.889Z] [2023-02-07T00:12:16.889Z] Login Succeeded [2023-02-07T00:12:16.889Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T00:12:16.922Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-07T00:12:17.507Z] + git rev-list -1 --merges 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c~1..2593ac435c90d2c565e1ce183428ea2e9e1eeb2c [Pipeline] echo [2023-02-07T00:12:17.562Z] -----------> git rev-list -1 --merges 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c~1..2593ac435c90d2c565e1ce183428ea2e9e1eeb2c 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c [false] [Pipeline] sh [2023-02-07T00:12:17.869Z] + git log --format=format:%s -1 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c [Pipeline] echo [2023-02-07T00:12:17.902Z] ========================================================= [2023-02-07T00:12:17.902Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-07T00:12:17.902Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T00:12:18.339Z] + git log --format=format:%s -1 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c [Pipeline] echo [2023-02-07T00:12:18.374Z] [semverPrep] GIT_COMMIT: 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-07T00:12:18.403Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-07T00:12:18.777Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-07T00:12:18.777Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-07T00:12:18.777Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-07T00:12:18.777Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-07T00:12:18.777Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-07T00:12:18.777Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-07T00:12:18.777Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T00:12:19.202Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T00:12:19.202Z] [2023-02-07T00:12:19.202Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T00:12:19.585Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T00:12:19.585Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-07T00:12:19.585Z] b85a868b505f: Pulling fs layer [2023-02-07T00:12:19.585Z] e2be974225ed: Pulling fs layer [2023-02-07T00:12:19.585Z] 339a4e72a1f5: Pulling fs layer [2023-02-07T00:12:19.585Z] 988bab9f4d93: Pulling fs layer [2023-02-07T00:12:19.585Z] 1469e6f7b9e6: Pulling fs layer [2023-02-07T00:12:19.585Z] eaf3925da568: Pulling fs layer [2023-02-07T00:12:19.585Z] 988bab9f4d93: Waiting [2023-02-07T00:12:19.585Z] 1469e6f7b9e6: Waiting [2023-02-07T00:12:19.585Z] eaf3925da568: Waiting [2023-02-07T00:12:19.585Z] bab4dde63d76: Pulling fs layer [2023-02-07T00:12:19.585Z] bde34c3a00c8: Pulling fs layer [2023-02-07T00:12:19.585Z] b352a97aabf1: Pulling fs layer [2023-02-07T00:12:19.585Z] 4872d77fe225: Pulling fs layer [2023-02-07T00:12:19.585Z] 5851b861e8e6: Pulling fs layer [2023-02-07T00:12:19.585Z] b352a97aabf1: Waiting [2023-02-07T00:12:19.585Z] 5851b861e8e6: Waiting [2023-02-07T00:12:19.585Z] 4872d77fe225: Waiting [2023-02-07T00:12:19.585Z] e2be974225ed: Verifying Checksum [2023-02-07T00:12:19.585Z] e2be974225ed: Download complete [2023-02-07T00:12:19.585Z] 988bab9f4d93: Download complete [2023-02-07T00:12:19.847Z] 1469e6f7b9e6: Verifying Checksum [2023-02-07T00:12:19.847Z] 1469e6f7b9e6: Download complete [2023-02-07T00:12:19.847Z] eaf3925da568: Verifying Checksum [2023-02-07T00:12:19.847Z] eaf3925da568: Download complete [2023-02-07T00:12:19.847Z] 339a4e72a1f5: Verifying Checksum [2023-02-07T00:12:19.847Z] 339a4e72a1f5: Download complete [2023-02-07T00:12:20.108Z] bde34c3a00c8: Verifying Checksum [2023-02-07T00:12:20.108Z] bde34c3a00c8: Download complete [2023-02-07T00:12:20.108Z] b352a97aabf1: Download complete [2023-02-07T00:12:20.108Z] 4872d77fe225: Verifying Checksum [2023-02-07T00:12:20.108Z] 4872d77fe225: Download complete [2023-02-07T00:12:20.108Z] 5851b861e8e6: Download complete [2023-02-07T00:12:20.108Z] b85a868b505f: Download complete [2023-02-07T00:12:20.674Z] bab4dde63d76: Verifying Checksum [2023-02-07T00:12:20.674Z] bab4dde63d76: Download complete [2023-02-07T00:12:21.615Z] b85a868b505f: Pull complete [2023-02-07T00:12:21.615Z] e2be974225ed: Pull complete [2023-02-07T00:12:22.180Z] 339a4e72a1f5: Pull complete [2023-02-07T00:12:22.180Z] 988bab9f4d93: Pull complete [2023-02-07T00:12:22.443Z] 1469e6f7b9e6: Pull complete [2023-02-07T00:12:22.705Z] eaf3925da568: Pull complete [2023-02-07T00:12:24.610Z] bab4dde63d76: Pull complete [2023-02-07T00:12:24.610Z] bde34c3a00c8: Pull complete [2023-02-07T00:12:24.869Z] b352a97aabf1: Pull complete [2023-02-07T00:12:24.869Z] 4872d77fe225: Pull complete [2023-02-07T00:12:24.869Z] 5851b861e8e6: Pull complete [2023-02-07T00:12:24.869Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-07T00:12:24.869Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T00:12:24.869Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T00:12:25.096Z] prd-ubuntu20.04-docker-8c-8g-4788 does not seem to be running inside a container [2023-02-07T00:12:25.129Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-93 -v /w/workspace/edgexfoundry_device-gpio_PR-93:/w/workspace/edgexfoundry_device-gpio_PR-93:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-93@tmp:/w/workspace/edgexfoundry_device-gpio_PR-93@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 [2023-02-07T00:12:28.871Z] $ docker top 60617a76a01d496ed2e5d1e4653b468cbba23e462412efd86793349d00fffdf5 -eo pid,comm [2023-02-07T00:12:28.927Z] 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). [2023-02-07T00:12:28.927Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-07T00:12:29.049Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T00:12:29.049Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T00:12:29.158Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T00:12:29.163Z] $ docker exec 60617a76a01d496ed2e5d1e4653b468cbba23e462412efd86793349d00fffdf5 ssh-agent [2023-02-07T00:12:29.259Z] SSH_AUTH_SOCK=/tmp/ssh-Q6xP2IvviCvG/agent.33 [2023-02-07T00:12:29.259Z] SSH_AGENT_PID=39 [2023-02-07T00:12:29.264Z] Running ssh-add (command line suppressed) [2023-02-07T00:12:29.380Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-93@tmp/private_key_10289082932708275536.key (/w/workspace/edgexfoundry_device-gpio_PR-93@tmp/private_key_10289082932708275536.key) [2023-02-07T00:12:29.396Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T00:12:29.734Z] + git tag --points-at HEAD [Pipeline] } [2023-02-07T00:12:29.765Z] $ docker exec --env ******** --env ******** 60617a76a01d496ed2e5d1e4653b468cbba23e462412efd86793349d00fffdf5 ssh-agent -k [2023-02-07T00:12:29.873Z] unset SSH_AUTH_SOCK; [2023-02-07T00:12:29.873Z] unset SSH_AGENT_PID; [2023-02-07T00:12:29.873Z] echo Agent pid 39 killed; [2023-02-07T00:12:29.880Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-07T00:12:30.018Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T00:12:30.018Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T00:12:30.117Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T00:12:30.122Z] $ docker exec 60617a76a01d496ed2e5d1e4653b468cbba23e462412efd86793349d00fffdf5 ssh-agent [2023-02-07T00:12:30.225Z] SSH_AUTH_SOCK=/tmp/ssh-wvkbsNRlamOn/agent.72 [2023-02-07T00:12:30.225Z] SSH_AGENT_PID=78 [2023-02-07T00:12:30.237Z] Running ssh-add (command line suppressed) [2023-02-07T00:12:30.350Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-93@tmp/private_key_17397393557501791040.key (/w/workspace/edgexfoundry_device-gpio_PR-93@tmp/private_key_17397393557501791040.key) [2023-02-07T00:12:30.361Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T00:12:30.705Z] + git semver init [2023-02-07T00:12:30.966Z] 2023-02-07 00:12:30,904 [run_init] DEBUG init version:0.0.0 force:False [2023-02-07T00:12:30.966Z] 2023-02-07 00:12:30,905 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-93/.semver [2023-02-07T00:12:30.966Z] 2023-02-07 00:12:30,906 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-93/.semver [2023-02-07T00:12:30.966Z] 2023-02-07 00:12:30,906 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-93/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-93, universal_newlines=False, shell=None, istream=None) [2023-02-07T00:12:32.376Z] 2023-02-07 00:12:32,057 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-93/.git/info/exclude [2023-02-07T00:12:32.376Z] 2023-02-07 00:12:32,058 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-93/.semver/PR-93 with force:False [2023-02-07T00:12:32.376Z] 2023-02-07 00:12:32,058 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-93/.semver/PR-93 [2023-02-07T00:12:32.376Z] 2023-02-07 00:12:32,062 [execute] INFO git cat-file --batch-check [2023-02-07T00:12:32.376Z] 2023-02-07 00:12:32,062 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-93/.semver, universal_newlines=False, shell=None, istream=) [2023-02-07T00:12:32.376Z] 2023-02-07 00:12:32,068 [execute] INFO git cat-file --batch [2023-02-07T00:12:32.376Z] 2023-02-07 00:12:32,068 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-93/.semver, universal_newlines=False, shell=None, istream=) [2023-02-07T00:12:32.376Z] 2023-02-07 00:12:32,072 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-93/.semver/PR-93 [2023-02-07T00:12:32.376Z] 0.0.0 [Pipeline] } [2023-02-07T00:12:32.408Z] $ docker exec --env ******** --env ******** 60617a76a01d496ed2e5d1e4653b468cbba23e462412efd86793349d00fffdf5 ssh-agent -k [2023-02-07T00:12:32.512Z] unset SSH_AUTH_SOCK; [2023-02-07T00:12:32.512Z] unset SSH_AGENT_PID; [2023-02-07T00:12:32.512Z] echo Agent pid 78 killed; [2023-02-07T00:12:32.528Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-07T00:12:32.978Z] + git semver [Pipeline] } [2023-02-07T00:12:33.585Z] $ docker stop --time=1 60617a76a01d496ed2e5d1e4653b468cbba23e462412efd86793349d00fffdf5 [2023-02-07T00:12:34.888Z] $ docker rm -f --volumes 60617a76a01d496ed2e5d1e4653b468cbba23e462412efd86793349d00fffdf5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T00:12:35.284Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-07T00:12:35.593Z] Stashed 1 file(s) [Pipeline] echo [2023-02-07T00:12:35.611Z] [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 [2023-02-07T00:12:36.164Z] provisioning config files... [2023-02-07T00:12:36.175Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-93@tmp/config9623379686382464880tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T00:12:36.522Z] ---> docker-login.sh [2023-02-07T00:12:36.522Z] nexus3.edgexfoundry.org:10001 [2023-02-07T00:12:36.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T00:12:36.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T00:12:36.522Z] Configure a credential helper to remove this warning. See [2023-02-07T00:12:36.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T00:12:36.522Z] [2023-02-07T00:12:36.522Z] Login Succeeded [2023-02-07T00:12:36.522Z] nexus3.edgexfoundry.org:10002 [2023-02-07T00:12:36.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T00:12:36.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T00:12:36.522Z] Configure a credential helper to remove this warning. See [2023-02-07T00:12:36.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T00:12:36.522Z] [2023-02-07T00:12:36.522Z] Login Succeeded [2023-02-07T00:12:36.522Z] nexus3.edgexfoundry.org:10003 [2023-02-07T00:12:36.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T00:12:36.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T00:12:36.781Z] Configure a credential helper to remove this warning. See [2023-02-07T00:12:36.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T00:12:36.781Z] [2023-02-07T00:12:36.781Z] Login Succeeded [2023-02-07T00:12:36.781Z] nexus3.edgexfoundry.org:10004 [2023-02-07T00:12:36.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T00:12:36.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T00:12:36.781Z] Configure a credential helper to remove this warning. See [2023-02-07T00:12:36.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T00:12:36.781Z] [2023-02-07T00:12:36.781Z] Login Succeeded [2023-02-07T00:12:36.781Z] docker.io [2023-02-07T00:12:37.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T00:12:37.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T00:12:37.042Z] Configure a credential helper to remove this warning. See [2023-02-07T00:12:37.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T00:12:37.042Z] [2023-02-07T00:12:37.042Z] Login Succeeded [2023-02-07T00:12:37.042Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T00:12:37.074Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-07T00:12:37.293Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T00:12:37.332Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T00:12:37.365Z] ========================================================= [2023-02-07T00:12:37.365Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-07T00:12:37.365Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T00:12:37.838Z] + 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 . [2023-02-07T00:12:37.838Z] Sending build context to Docker daemon 15.97MB [2023-02-07T00:12:37.838Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T00:12:37.838Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-07T00:12:38.103Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-07T00:12:38.103Z] 213ec9aee27d: Pulling fs layer [2023-02-07T00:12:38.103Z] 4583459ba037: Pulling fs layer [2023-02-07T00:12:38.103Z] 93c1e223e6f2: Pulling fs layer [2023-02-07T00:12:38.103Z] 53926ce57604: Pulling fs layer [2023-02-07T00:12:38.103Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-07T00:12:38.103Z] 22ff95d597cd: Pulling fs layer [2023-02-07T00:12:38.103Z] 12d6caf4c0d1: Pulling fs layer [2023-02-07T00:12:38.103Z] 96b7cbca73a9: Pulling fs layer [2023-02-07T00:12:38.103Z] a7acece74701: Pulling fs layer [2023-02-07T00:12:38.103Z] 12d6caf4c0d1: Waiting [2023-02-07T00:12:38.103Z] 53926ce57604: Waiting [2023-02-07T00:12:38.103Z] 21b2b0c7a3f4: Waiting [2023-02-07T00:12:38.103Z] 22ff95d597cd: Waiting [2023-02-07T00:12:38.103Z] 96b7cbca73a9: Waiting [2023-02-07T00:12:38.103Z] a7acece74701: Waiting [2023-02-07T00:12:38.103Z] 93c1e223e6f2: Download complete [2023-02-07T00:12:38.103Z] 4583459ba037: Verifying Checksum [2023-02-07T00:12:38.103Z] 4583459ba037: Download complete [2023-02-07T00:12:38.103Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-07T00:12:38.103Z] 21b2b0c7a3f4: Download complete [2023-02-07T00:12:38.103Z] 22ff95d597cd: Download complete [2023-02-07T00:12:38.103Z] 213ec9aee27d: Verifying Checksum [2023-02-07T00:12:38.103Z] 213ec9aee27d: Download complete [2023-02-07T00:12:38.370Z] 12d6caf4c0d1: Verifying Checksum [2023-02-07T00:12:38.370Z] 12d6caf4c0d1: Download complete [2023-02-07T00:12:38.647Z] 213ec9aee27d: Pull complete [2023-02-07T00:12:38.934Z] 4583459ba037: Pull complete [2023-02-07T00:12:39.199Z] a7acece74701: Verifying Checksum [2023-02-07T00:12:39.199Z] a7acece74701: Download complete [2023-02-07T00:12:39.199Z] 93c1e223e6f2: Pull complete [2023-02-07T00:12:39.474Z] 53926ce57604: Verifying Checksum [2023-02-07T00:12:39.474Z] 53926ce57604: Download complete [2023-02-07T00:12:39.735Z] 96b7cbca73a9: Verifying Checksum [2023-02-07T00:12:39.735Z] 96b7cbca73a9: Download complete [2023-02-07T00:12:43.927Z] 53926ce57604: Pull complete [2023-02-07T00:12:43.927Z] 21b2b0c7a3f4: Pull complete [2023-02-07T00:12:43.927Z] 22ff95d597cd: Pull complete [2023-02-07T00:12:43.928Z] 12d6caf4c0d1: Pull complete [2023-02-07T00:12:45.842Z] 96b7cbca73a9: Pull complete [2023-02-07T00:12:46.777Z] a7acece74701: Pull complete [2023-02-07T00:12:46.777Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-07T00:12:46.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-07T00:12:46.777Z] ---> db6d94c90886 [2023-02-07T00:12:46.777Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-07T00:12:51.002Z] Still waiting to schedule task [2023-02-07T00:12:51.002Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4785’ [2023-02-07T00:12:53.560Z] ---> Running in b5a01cf3f6c4 [2023-02-07T00:12:54.128Z] Removing intermediate container b5a01cf3f6c4 [2023-02-07T00:12:54.128Z] ---> e99e6dd79c31 [2023-02-07T00:12:54.128Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T00:12:54.128Z] ---> Running in 4644c0f3bf4f [2023-02-07T00:12:54.694Z] Removing intermediate container 4644c0f3bf4f [2023-02-07T00:12:54.694Z] ---> e157b72118d4 [2023-02-07T00:12:54.694Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-02-07T00:12:55.268Z] ---> Running in 3354365fc8bf [2023-02-07T00:12:55.526Z] Removing intermediate container 3354365fc8bf [2023-02-07T00:12:55.526Z] ---> ea9d777430cc [2023-02-07T00:12:55.526Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-07T00:12:55.788Z] ---> Running in 669560d8682e [2023-02-07T00:12:56.049Z] Removing intermediate container 669560d8682e [2023-02-07T00:12:56.049Z] ---> 26c67cbdfaa3 [2023-02-07T00:12:56.049Z] Step 7/12 : WORKDIR /device-gpio [2023-02-07T00:12:56.049Z] ---> Running in 22746287fbdb [2023-02-07T00:12:56.312Z] Removing intermediate container 22746287fbdb [2023-02-07T00:12:56.312Z] ---> 7ec5a243d63f [2023-02-07T00:12:56.312Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-07T00:12:56.572Z] ---> Running in 2bcf9554c52a [2023-02-07T00:12:57.141Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T00:12:57.141Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T00:12:57.400Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-07T00:12:57.400Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-07T00:12:57.400Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-07T00:12:57.400Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-07T00:12:57.400Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T00:12:57.400Z] OK: 216 MiB in 55 packages [2023-02-07T00:12:58.334Z] Removing intermediate container 2bcf9554c52a [2023-02-07T00:12:58.334Z] ---> e3c274361f5f [2023-02-07T00:12:58.334Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-07T00:12:58.593Z] ---> ca411f5084b3 [2023-02-07T00:12:58.593Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T00:12:58.593Z] ---> Running in 532e45a7b83f [2023-02-07T00:13:45.288Z] Removing intermediate container 532e45a7b83f [2023-02-07T00:13:45.288Z] ---> c8b47de245de [2023-02-07T00:13:45.288Z] Step 11/12 : COPY . . [2023-02-07T00:13:45.288Z] ---> 369695945391 [2023-02-07T00:13:45.288Z] Step 12/12 : RUN ${MAKE} [2023-02-07T00:13:45.288Z] ---> Running in 55e4b7a48b44 [2023-02-07T00:13:45.288Z] noop [2023-02-07T00:13:45.546Z] Removing intermediate container 55e4b7a48b44 [2023-02-07T00:13:45.546Z] ---> 60ffe03c6378 [2023-02-07T00:13:45.546Z] Successfully built 60ffe03c6378 [2023-02-07T00:13:45.546Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T00:13:45.965Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-07T00:13:45.965Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T00:13:46.101Z] prd-ubuntu20.04-docker-8c-8g-4788 does not seem to be running inside a container [2023-02-07T00:13:46.131Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-93 -v /w/workspace/edgexfoundry_device-gpio_PR-93:/w/workspace/edgexfoundry_device-gpio_PR-93:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-93@tmp:/w/workspace/edgexfoundry_device-gpio_PR-93@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 [2023-02-07T00:13:46.470Z] $ docker top ef18796d8543c3fc7edb175e3868858a3ce3a01cd7164e7114148a19777829a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T00:13:46.859Z] + go version [2023-02-07T00:13:46.859Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-07T00:13:46.897Z] $ docker stop --time=1 ef18796d8543c3fc7edb175e3868858a3ce3a01cd7164e7114148a19777829a5 [2023-02-07T00:13:48.191Z] $ docker rm -f --volumes ef18796d8543c3fc7edb175e3868858a3ce3a01cd7164e7114148a19777829a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T00:13:48.857Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-07T00:13:48.857Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T00:13:48.987Z] prd-ubuntu20.04-docker-8c-8g-4788 does not seem to be running inside a container [2023-02-07T00:13:49.017Z] $ 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-93 -v /w/workspace/edgexfoundry_device-gpio_PR-93:/w/workspace/edgexfoundry_device-gpio_PR-93:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-93@tmp:/w/workspace/edgexfoundry_device-gpio_PR-93@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 [2023-02-07T00:13:49.317Z] $ docker top 496b0bb926f421670e05e3a0ca17fdedacbd16a4b9c0b58ff04e876e8b1b9a4a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T00:13:49.694Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-93 [Pipeline] fileExists [Pipeline] sh [2023-02-07T00:13:50.136Z] + make test [2023-02-07T00:13:50.136Z] go test ./... -coverprofile=coverage.out ./... [2023-02-07T00:13:50.409Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-02-07T00:14:00.403Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-02-07T00:14:00.403Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-02-07T00:14:05.668Z] 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." [2023-02-07T00:14:05.668Z] go vet ./... [2023-02-07T00:14:08.197Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-07T00:14:08.197Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-07T00:14:08.197Z] ./bin/test-attribution-txt.sh [2023-02-07T00:14:08.197Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-07T00:14:08.197Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-07T00:14:08.232Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-07T00:14:08.267Z] $ docker stop --time=1 496b0bb926f421670e05e3a0ca17fdedacbd16a4b9c0b58ff04e876e8b1b9a4a [2023-02-07T00:14:10.803Z] $ docker rm -f --volumes 496b0bb926f421670e05e3a0ca17fdedacbd16a4b9c0b58ff04e876e8b1b9a4a [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T00:14:11.300Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-07T00:14:11.381Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-07T00:14:12.085Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-07T00:14:12.393Z] + ls -al . [2023-02-07T00:14:12.393Z] total 160 [2023-02-07T00:14:12.393Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 7 00:13 . [2023-02-07T00:14:12.393Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 00:12 .. [2023-02-07T00:14:12.393Z] -rw-rw-r-- 1 jenkins jenkins 120 Feb 7 00:12 .dockerignore [2023-02-07T00:14:12.393Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 00:13 .git [2023-02-07T00:14:12.393Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 00:12 .github [2023-02-07T00:14:12.393Z] -rw-rw-r-- 1 jenkins jenkins 343 Feb 7 00:12 .gitignore [2023-02-07T00:14:12.393Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 7 00:12 .golangci.yml [2023-02-07T00:14:12.393Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 00:12 .semver [2023-02-07T00:14:12.393Z] -rw-rw-r-- 1 jenkins jenkins 9587 Feb 7 00:12 Attribution.txt [2023-02-07T00:14:12.393Z] -rw-rw-r-- 1 jenkins jenkins 4069 Feb 7 00:12 CHANGELOG.md [2023-02-07T00:14:12.393Z] -rw-rw-r-- 1 jenkins jenkins 1542 Feb 7 00:12 Dockerfile [2023-02-07T00:14:12.393Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 00:12 GOVERNANCE.md [2023-02-07T00:14:12.393Z] -rw-rw-r-- 1 jenkins jenkins 657 Feb 7 00:12 Jenkinsfile [2023-02-07T00:14:12.393Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 7 00:12 LICENSE [2023-02-07T00:14:12.393Z] -rw-rw-r-- 1 jenkins jenkins 1658 Feb 7 00:12 Makefile [2023-02-07T00:14:12.393Z] -rw-rw-r-- 1 jenkins jenkins 617 Feb 7 00:12 OWNERS.md [2023-02-07T00:14:12.393Z] -rw-rw-r-- 1 jenkins jenkins 11842 Feb 7 00:12 README.md [2023-02-07T00:14:12.393Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 00:12 VERSION [2023-02-07T00:14:12.393Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 00:12 bin [2023-02-07T00:14:12.393Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 00:12 cmd [2023-02-07T00:14:12.393Z] -rw-r--r-- 1 jenkins jenkins 10 Feb 7 00:13 coverage.out [2023-02-07T00:14:12.393Z] -rw-rw-r-- 1 jenkins jenkins 3311 Feb 7 00:12 go.mod [2023-02-07T00:14:12.393Z] -rw-rw-r-- 1 jenkins jenkins 33118 Feb 7 00:12 go.sum [2023-02-07T00:14:12.393Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 00:12 internal [2023-02-07T00:14:12.393Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 00:12 snap [2023-02-07T00:14:12.393Z] -rw-rw-r-- 1 jenkins jenkins 209 Feb 7 00:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T00:14:12.868Z] + 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=2593ac435c90d2c565e1ce183428ea2e9e1eeb2c --label arch=amd64 --label version=0.0.0 . [2023-02-07T00:14:12.868Z] Sending build context to Docker daemon 15.97MB [2023-02-07T00:14:12.868Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T00:14:12.868Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-07T00:14:12.868Z] ---> 60ffe03c6378 [2023-02-07T00:14:12.868Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-07T00:14:13.127Z] ---> Running in c95a9f17f4b4 [2023-02-07T00:14:13.127Z] Removing intermediate container c95a9f17f4b4 [2023-02-07T00:14:13.127Z] ---> 5306a43bd06d [2023-02-07T00:14:13.127Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T00:14:13.127Z] ---> Running in 8fbd7f7eeaa1 [2023-02-07T00:14:13.386Z] Removing intermediate container 8fbd7f7eeaa1 [2023-02-07T00:14:13.386Z] ---> 8f65ee9d6d40 [2023-02-07T00:14:13.386Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-02-07T00:14:13.386Z] ---> Running in 4ec395392ad3 [2023-02-07T00:14:13.386Z] Removing intermediate container 4ec395392ad3 [2023-02-07T00:14:13.386Z] ---> 87a58f756a31 [2023-02-07T00:14:13.386Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-07T00:14:13.386Z] ---> Running in d8773df02016 [2023-02-07T00:14:13.645Z] Removing intermediate container d8773df02016 [2023-02-07T00:14:13.645Z] ---> b05df366ea3a [2023-02-07T00:14:13.645Z] Step 7/25 : WORKDIR /device-gpio [2023-02-07T00:14:13.645Z] ---> Running in 7008516ae03a [2023-02-07T00:14:13.645Z] Removing intermediate container 7008516ae03a [2023-02-07T00:14:13.645Z] ---> fbf74bdf37cf [2023-02-07T00:14:13.645Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-07T00:14:13.645Z] ---> Running in a72f87197ab2 [2023-02-07T00:14:13.903Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T00:14:14.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T00:14:14.422Z] OK: 216 MiB in 55 packages [2023-02-07T00:14:14.681Z] Removing intermediate container a72f87197ab2 [2023-02-07T00:14:14.681Z] ---> d81413499bb1 [2023-02-07T00:14:14.681Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-07T00:14:14.681Z] ---> 0c6a532281f4 [2023-02-07T00:14:14.681Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T00:14:14.940Z] ---> Running in a3f606a4eaac [2023-02-07T00:14:15.877Z] Removing intermediate container a3f606a4eaac [2023-02-07T00:14:15.877Z] ---> bc8c3d3bfb50 [2023-02-07T00:14:15.877Z] Step 11/25 : COPY . . [2023-02-07T00:14:16.445Z] ---> 1c0856c0c004 [2023-02-07T00:14:16.445Z] Step 12/25 : RUN ${MAKE} [2023-02-07T00:14:16.445Z] ---> Running in d6c4988b1f92 [2023-02-07T00:14:16.704Z] CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd [2023-02-07T00:14:31.608Z] Removing intermediate container d6c4988b1f92 [2023-02-07T00:14:31.608Z] ---> 25cba9b509fe [2023-02-07T00:14:31.608Z] Step 13/25 : FROM alpine:3.16 [2023-02-07T00:14:31.608Z] 3.16: Pulling from library/alpine [2023-02-07T00:14:31.608Z] ca7dd9ec2225: Pulling fs layer [2023-02-07T00:14:31.608Z] ca7dd9ec2225: Download complete [2023-02-07T00:14:31.608Z] ca7dd9ec2225: Pull complete [2023-02-07T00:14:31.608Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-07T00:14:31.608Z] Status: Downloaded newer image for alpine:3.16 [2023-02-07T00:14:31.608Z] ---> bfe296a52501 [2023-02-07T00:14:31.608Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-02-07T00:14:31.608Z] ---> Running in 9b73473c00e7 [2023-02-07T00:14:31.608Z] Removing intermediate container 9b73473c00e7 [2023-02-07T00:14:31.608Z] ---> 2949767ce325 [2023-02-07T00:14:31.608Z] Step 15/25 : RUN apk add --update --no-cache [2023-02-07T00:14:31.608Z] ---> Running in 27c27cae31a5 [2023-02-07T00:14:31.608Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T00:14:31.608Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T00:14:31.608Z] OK: 6 MiB in 14 packages [2023-02-07T00:14:31.608Z] Removing intermediate container 27c27cae31a5 [2023-02-07T00:14:31.608Z] ---> 49a43165ed67 [2023-02-07T00:14:31.608Z] Step 16/25 : WORKDIR / [2023-02-07T00:14:31.608Z] ---> Running in ba4abb0ad5c0 [2023-02-07T00:14:31.608Z] Removing intermediate container ba4abb0ad5c0 [2023-02-07T00:14:31.608Z] ---> 0176308a9b55 [2023-02-07T00:14:31.608Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-02-07T00:14:31.608Z] ---> bb1e4df19228 [2023-02-07T00:14:31.608Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-02-07T00:14:31.608Z] ---> 182e06c065ae [2023-02-07T00:14:31.608Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-02-07T00:14:32.544Z] ---> eb9691b80f98 [2023-02-07T00:14:32.544Z] Step 20/25 : EXPOSE 59910 [2023-02-07T00:14:32.544Z] ---> Running in eb143f6f142d [2023-02-07T00:14:32.544Z] Removing intermediate container eb143f6f142d [2023-02-07T00:14:32.544Z] ---> 6b966fec9530 [2023-02-07T00:14:32.544Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-02-07T00:14:32.544Z] ---> Running in 1b15d6ea4a07 [2023-02-07T00:14:32.544Z] Removing intermediate container 1b15d6ea4a07 [2023-02-07T00:14:32.544Z] ---> 839c10bc74c3 [2023-02-07T00:14:32.544Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-07T00:14:32.544Z] ---> Running in 71030fc86746 [2023-02-07T00:14:32.802Z] Removing intermediate container 71030fc86746 [2023-02-07T00:14:32.802Z] ---> 0f07640a9ae7 [2023-02-07T00:14:32.802Z] Step 23/25 : LABEL arch=amd64 [2023-02-07T00:14:32.802Z] ---> Running in f8a2c374696b [2023-02-07T00:14:32.802Z] Removing intermediate container f8a2c374696b [2023-02-07T00:14:32.802Z] ---> b72c16f0a983 [2023-02-07T00:14:32.802Z] Step 24/25 : LABEL git_sha=2593ac435c90d2c565e1ce183428ea2e9e1eeb2c [2023-02-07T00:14:32.802Z] ---> Running in 5760bf32f0a5 [2023-02-07T00:14:32.802Z] Removing intermediate container 5760bf32f0a5 [2023-02-07T00:14:32.802Z] ---> 777e5e44dff4 [2023-02-07T00:14:32.802Z] Step 25/25 : LABEL version=0.0.0 [2023-02-07T00:14:32.802Z] ---> Running in 98a23e2639e2 [2023-02-07T00:14:33.060Z] Removing intermediate container 98a23e2639e2 [2023-02-07T00:14:33.060Z] ---> db39a6255d10 [2023-02-07T00:14:33.060Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-07T00:14:33.060Z] Successfully built db39a6255d10 [2023-02-07T00:14:33.060Z] 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 [2023-02-07T00:14:33.903Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T00:14:33.903Z] [2023-02-07T00:14:33.903Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T00:14:34.303Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T00:14:34.303Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-07T00:14:34.303Z] 5eb5b503b376: Pulling fs layer [2023-02-07T00:14:34.303Z] 5c69ac0246d0: Pulling fs layer [2023-02-07T00:14:34.303Z] ec43610c2a17: Pulling fs layer [2023-02-07T00:14:34.303Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-07T00:14:34.303Z] 33b1e0a273af: Pulling fs layer [2023-02-07T00:14:34.303Z] 5d3b04190fa2: Pulling fs layer [2023-02-07T00:14:34.303Z] 2f39f015ded8: Pulling fs layer [2023-02-07T00:14:34.303Z] 5d3b04190fa2: Waiting [2023-02-07T00:14:34.303Z] 33b1e0a273af: Waiting [2023-02-07T00:14:34.303Z] 2f39f015ded8: Waiting [2023-02-07T00:14:34.303Z] 3a2ae6a8a46f: Waiting [2023-02-07T00:14:34.571Z] 5c69ac0246d0: Verifying Checksum [2023-02-07T00:14:34.571Z] 5c69ac0246d0: Download complete [2023-02-07T00:14:34.571Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-07T00:14:34.571Z] 3a2ae6a8a46f: Download complete [2023-02-07T00:14:34.571Z] 33b1e0a273af: Download complete [2023-02-07T00:14:34.830Z] 5d3b04190fa2: Verifying Checksum [2023-02-07T00:14:34.830Z] 5d3b04190fa2: Download complete [2023-02-07T00:14:34.830Z] ec43610c2a17: Verifying Checksum [2023-02-07T00:14:34.830Z] ec43610c2a17: Download complete [2023-02-07T00:14:34.830Z] 5eb5b503b376: Verifying Checksum [2023-02-07T00:14:34.830Z] 5eb5b503b376: Download complete [2023-02-07T00:14:35.764Z] 2f39f015ded8: Download complete [2023-02-07T00:14:36.330Z] 5eb5b503b376: Pull complete [2023-02-07T00:14:36.330Z] 5c69ac0246d0: Pull complete [2023-02-07T00:14:36.898Z] ec43610c2a17: Pull complete [2023-02-07T00:14:36.898Z] 3a2ae6a8a46f: Pull complete [2023-02-07T00:14:37.156Z] 33b1e0a273af: Pull complete [2023-02-07T00:14:37.156Z] 5d3b04190fa2: Pull complete [2023-02-07T00:14:41.403Z] 2f39f015ded8: Pull complete [2023-02-07T00:14:41.403Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-07T00:14:41.403Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T00:14:41.403Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T00:14:41.617Z] prd-ubuntu20.04-docker-8c-8g-4788 does not seem to be running inside a container [2023-02-07T00:14:41.648Z] $ 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-93 -v /w/workspace/edgexfoundry_device-gpio_PR-93:/w/workspace/edgexfoundry_device-gpio_PR-93:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-93@tmp:/w/workspace/edgexfoundry_device-gpio_PR-93@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 [2023-02-07T00:14:45.348Z] $ docker top beeef245474d6939b4a555e17bedd8e0dc5ec7c6242ce1e89e9c4b13aaae629e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T00:14:45.776Z] ---> job-cost.sh [2023-02-07T00:14:45.776Z] lf-activate-venv: SKIPPING [2023-02-07T00:14:45.776Z] INFO: No Stack... [2023-02-07T00:14:46.034Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-07T00:14:46.601Z] INFO: Archiving Costs [Pipeline] sh [2023-02-07T00:14:46.920Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-93/archives/cost.csv [2023-02-07T00:14:46.921Z] + cut -d, -f6 [Pipeline] lock [2023-02-07T00:14:46.960Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-93-1-stack-cost] [2023-02-07T00:14:46.964Z] Resource [jenkins-edgexfoundry-device-gpio-PR-93-1-stack-cost] did not exist. Created. [2023-02-07T00:14:46.964Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-93-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-07T00:14:47.360Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-07T00:14:47.412Z] Stashed 1 file(s) [Pipeline] } [2023-02-07T00:14:47.439Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-93-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-07T00:14:47.518Z] $ docker stop --time=1 beeef245474d6939b4a555e17bedd8e0dc5ec7c6242ce1e89e9c4b13aaae629e [2023-02-07T00:14:48.676Z] $ docker rm -f --volumes beeef245474d6939b4a555e17bedd8e0dc5ec7c6242ce1e89e9c4b13aaae629e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-07T00:15:53.154Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4790 in /w/workspace/edgexfoundry_device-gpio_PR-93 [Pipeline] { [Pipeline] ws [2023-02-07T00:15:53.210Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2023-02-07T00:15:53.289Z] The recommended git tool is: git [2023-02-07T00:15:59.215Z] using credential edgex-jenkins-ssh [2023-02-07T00:15:59.235Z] Cloning the remote Git repository [2023-02-07T00:15:59.290Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-02-07T00:15:59.378Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2023-02-07T00:15:59.543Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-02-07T00:15:59.544Z] > git --version # timeout=10 [2023-02-07T00:15:59.569Z] > git --version # 'git version 2.25.1' [2023-02-07T00:15:59.571Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T00:15:59.637Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-07T00:16:01.305Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-02-07T00:16:01.326Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-07T00:16:03.287Z] Merging remotes/origin/main commit 07860bbab13f2ff928825cd544dbeda419b1d542 into PR head commit 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c [2023-02-07T00:16:02.404Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-02-07T00:16:02.461Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-02-07T00:16:02.462Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T00:16:02.480Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/93/head:refs/remotes/origin/PR-93 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-07T00:16:03.313Z] > git config core.sparsecheckout # timeout=10 [2023-02-07T00:16:03.338Z] > git checkout -f 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c # timeout=10 [2023-02-07T00:16:03.441Z] > git remote # timeout=10 [2023-02-07T00:16:03.471Z] > git config --get remote.origin.url # timeout=10 [2023-02-07T00:16:03.500Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T00:16:03.517Z] > git merge 07860bbab13f2ff928825cd544dbeda419b1d542 # timeout=10 [2023-02-07T00:16:03.571Z] Merge succeeded, producing 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c [2023-02-07T00:16:03.572Z] Checking out Revision 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c (PR-93) [2023-02-07T00:16:04.141Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-07T00:16:04.207Z] > git --version # timeout=10 [2023-02-07T00:16:04.224Z] > git --version # 'git version 2.25.1' [2023-02-07T00:16:04.239Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T00:16:03.549Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-07T00:16:03.583Z] > git config core.sparsecheckout # timeout=10 [2023-02-07T00:16:03.612Z] > git checkout -f 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c # timeout=10 [2023-02-07T00:16:05.328Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-07T00:16:05.328Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-07T00:16:05.328Z] Dload Upload Total Spent Left Speed [2023-02-07T00:16:05.328Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh [2023-02-07T00:16:06.055Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-07T00:16:06.410Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-07T00:16:06.410Z] + sudo tee /etc/docker/daemon.new [2023-02-07T00:16:06.410Z] { [2023-02-07T00:16:06.410Z] "registry-mirrors": [ [2023-02-07T00:16:06.410Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-07T00:16:06.410Z] ], [2023-02-07T00:16:06.410Z] "bip": "10.250.0.254/24", [2023-02-07T00:16:06.410Z] "hosts": [ [2023-02-07T00:16:06.410Z] "tcp://0.0.0.0:5555", [2023-02-07T00:16:06.410Z] "unix:///var/run/docker.sock" [2023-02-07T00:16:06.410Z] ], [2023-02-07T00:16:06.410Z] "mtu": 1458, [2023-02-07T00:16:06.410Z] "selinux-enabled": true, [2023-02-07T00:16:06.410Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-07T00:16:06.410Z] } [Pipeline] sh [2023-02-07T00:16:06.770Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-07T00:16:07.121Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T00:16:29.318Z] provisioning config files... [2023-02-07T00:16:29.354Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config1338239555915066972tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T00:16:29.766Z] ---> docker-login.sh [2023-02-07T00:16:29.766Z] nexus3.edgexfoundry.org:10001 [2023-02-07T00:16:30.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T00:16:30.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T00:16:30.358Z] Configure a credential helper to remove this warning. See [2023-02-07T00:16:30.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T00:16:30.358Z] [2023-02-07T00:16:30.358Z] Login Succeeded [2023-02-07T00:16:30.358Z] nexus3.edgexfoundry.org:10002 [2023-02-07T00:16:30.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T00:16:30.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T00:16:30.900Z] Configure a credential helper to remove this warning. See [2023-02-07T00:16:30.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T00:16:30.900Z] [2023-02-07T00:16:30.900Z] Login Succeeded [2023-02-07T00:16:30.900Z] nexus3.edgexfoundry.org:10003 [2023-02-07T00:16:31.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T00:16:31.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T00:16:31.171Z] Configure a credential helper to remove this warning. See [2023-02-07T00:16:31.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T00:16:31.171Z] [2023-02-07T00:16:31.171Z] Login Succeeded [2023-02-07T00:16:31.171Z] nexus3.edgexfoundry.org:10004 [2023-02-07T00:16:31.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T00:16:31.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T00:16:31.710Z] Configure a credential helper to remove this warning. See [2023-02-07T00:16:31.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T00:16:31.710Z] [2023-02-07T00:16:31.710Z] Login Succeeded [2023-02-07T00:16:31.710Z] docker.io [2023-02-07T00:16:31.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T00:16:32.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T00:16:32.253Z] Configure a credential helper to remove this warning. See [2023-02-07T00:16:32.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T00:16:32.253Z] [2023-02-07T00:16:32.253Z] Login Succeeded [2023-02-07T00:16:32.253Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T00:16:32.284Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-07T00:16:32.690Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T00:16:32.728Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T00:16:32.764Z] ========================================================= [2023-02-07T00:16:32.765Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-07T00:16:32.765Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T00:16:33.261Z] + 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 . [2023-02-07T00:16:33.530Z] Sending build context to Docker daemon 8.06MB [2023-02-07T00:16:33.530Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T00:16:33.530Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-07T00:16:33.803Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-07T00:16:33.803Z] 9b18e9b68314: Pulling fs layer [2023-02-07T00:16:33.803Z] 35d82f9e3411: Pulling fs layer [2023-02-07T00:16:33.803Z] e16973657156: Pulling fs layer [2023-02-07T00:16:33.803Z] fc693d55d65f: Pulling fs layer [2023-02-07T00:16:33.803Z] 7e9fc2657dce: Pulling fs layer [2023-02-07T00:16:33.803Z] dda99020689f: Pulling fs layer [2023-02-07T00:16:33.803Z] db1c61fa0a46: Pulling fs layer [2023-02-07T00:16:33.803Z] 891c053d2c06: Pulling fs layer [2023-02-07T00:16:33.803Z] fc693d55d65f: Waiting [2023-02-07T00:16:33.803Z] 7e9fc2657dce: Waiting [2023-02-07T00:16:33.803Z] dda99020689f: Waiting [2023-02-07T00:16:33.803Z] db1c61fa0a46: Waiting [2023-02-07T00:16:33.803Z] 891c053d2c06: Waiting [2023-02-07T00:16:33.803Z] e16973657156: Verifying Checksum [2023-02-07T00:16:33.803Z] e16973657156: Download complete [2023-02-07T00:16:33.803Z] 35d82f9e3411: Verifying Checksum [2023-02-07T00:16:33.804Z] 35d82f9e3411: Download complete [2023-02-07T00:16:33.804Z] 7e9fc2657dce: Verifying Checksum [2023-02-07T00:16:33.804Z] 7e9fc2657dce: Download complete [2023-02-07T00:16:34.075Z] dda99020689f: Verifying Checksum [2023-02-07T00:16:34.075Z] dda99020689f: Download complete [2023-02-07T00:16:34.075Z] 9b18e9b68314: Verifying Checksum [2023-02-07T00:16:34.075Z] 9b18e9b68314: Download complete [2023-02-07T00:16:35.044Z] 9b18e9b68314: Pull complete [2023-02-07T00:16:35.320Z] 891c053d2c06: Verifying Checksum [2023-02-07T00:16:35.320Z] 891c053d2c06: Download complete [2023-02-07T00:16:35.591Z] 35d82f9e3411: Pull complete [2023-02-07T00:16:36.193Z] e16973657156: Pull complete [2023-02-07T00:16:36.787Z] db1c61fa0a46: Download complete [2023-02-07T00:16:37.378Z] fc693d55d65f: Verifying Checksum [2023-02-07T00:16:37.378Z] fc693d55d65f: Download complete [2023-02-07T00:16:52.415Z] fc693d55d65f: Pull complete [2023-02-07T00:16:52.415Z] 7e9fc2657dce: Pull complete [2023-02-07T00:16:52.685Z] dda99020689f: Pull complete [2023-02-07T00:16:59.453Z] db1c61fa0a46: Pull complete [2023-02-07T00:17:01.400Z] 891c053d2c06: Pull complete [2023-02-07T00:17:01.400Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-07T00:17:01.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-07T00:17:01.400Z] ---> f96f9c87975a [2023-02-07T00:17:01.400Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-07T00:17:02.815Z] ---> Running in a7f83992d90f [2023-02-07T00:17:02.815Z] Removing intermediate container a7f83992d90f [2023-02-07T00:17:02.815Z] ---> 1b12c2d1bdde [2023-02-07T00:17:02.815Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T00:17:03.093Z] ---> Running in 8ae063ad2a41 [2023-02-07T00:17:03.362Z] Removing intermediate container 8ae063ad2a41 [2023-02-07T00:17:03.363Z] ---> d77f8e76d03a [2023-02-07T00:17:03.363Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-02-07T00:17:03.363Z] ---> Running in f92b8b640f10 [2023-02-07T00:17:03.636Z] Removing intermediate container f92b8b640f10 [2023-02-07T00:17:03.636Z] ---> d2e627da3859 [2023-02-07T00:17:03.636Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-07T00:17:03.904Z] ---> Running in 86d9eaaacd46 [2023-02-07T00:17:04.172Z] Removing intermediate container 86d9eaaacd46 [2023-02-07T00:17:04.172Z] ---> 1a9427a3909b [2023-02-07T00:17:04.172Z] Step 7/12 : WORKDIR /device-gpio [2023-02-07T00:17:04.172Z] ---> Running in eaa4c4d12662 [2023-02-07T00:17:04.438Z] Removing intermediate container eaa4c4d12662 [2023-02-07T00:17:04.438Z] ---> 463d369a9b07 [2023-02-07T00:17:04.438Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-07T00:17:04.706Z] ---> Running in a9f3b5d17487 [2023-02-07T00:17:05.670Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T00:17:06.258Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T00:17:07.232Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-07T00:17:07.232Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-07T00:17:07.232Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-07T00:17:07.232Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-07T00:17:07.232Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T00:17:07.232Z] OK: 226 MiB in 55 packages [2023-02-07T00:17:08.197Z] Removing intermediate container a9f3b5d17487 [2023-02-07T00:17:08.197Z] ---> 19dbccf849a7 [2023-02-07T00:17:08.197Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-07T00:17:08.788Z] ---> 3ee2acbc3b3d [2023-02-07T00:17:08.788Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T00:17:08.788Z] ---> Running in 924277d25faf [2023-02-07T00:18:30.458Z] Removing intermediate container 924277d25faf [2023-02-07T00:18:30.458Z] ---> a3cc36fc0b0a [2023-02-07T00:18:30.458Z] Step 11/12 : COPY . . [2023-02-07T00:18:30.458Z] ---> db2c740f18b6 [2023-02-07T00:18:30.458Z] Step 12/12 : RUN ${MAKE} [2023-02-07T00:18:30.458Z] ---> Running in 9a4a32127ffd [2023-02-07T00:18:30.458Z] noop [2023-02-07T00:18:30.458Z] Removing intermediate container 9a4a32127ffd [2023-02-07T00:18:30.458Z] ---> 24de5f8ae687 [2023-02-07T00:18:30.458Z] Successfully built 24de5f8ae687 [2023-02-07T00:18:30.458Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T00:18:30.947Z] + docker inspect -f . ci-base-image-arm64 [2023-02-07T00:18:30.947Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T00:18:31.241Z] prd-ubuntu20.04-docker-arm64-4c-16g-4790 does not seem to be running inside a container [2023-02-07T00:18:31.319Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-07T00:18:33.934Z] $ docker top 14b8b59ef720a9c4d258dfe7a0529872e392d6a23126a9372d5cd2cd3e9357f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T00:18:34.864Z] + go version [2023-02-07T00:18:34.864Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-07T00:18:34.901Z] $ docker stop --time=1 14b8b59ef720a9c4d258dfe7a0529872e392d6a23126a9372d5cd2cd3e9357f0 [2023-02-07T00:18:36.593Z] $ docker rm -f --volumes 14b8b59ef720a9c4d258dfe7a0529872e392d6a23126a9372d5cd2cd3e9357f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T00:18:37.505Z] + docker inspect -f . ci-base-image-arm64 [2023-02-07T00:18:37.505Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T00:18:37.818Z] prd-ubuntu20.04-docker-arm64-4c-16g-4790 does not seem to be running inside a container [2023-02-07T00:18:37.894Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-07T00:18:39.169Z] $ docker top e852c417bc618966d93a742cb9ca270c5b68165be98be267016500a27d601d88 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T00:18:40.069Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2023-02-07T00:18:40.781Z] + make test [2023-02-07T00:18:40.781Z] go test ./... -coverprofile=coverage.out ./... [2023-02-07T00:18:42.196Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-02-07T00:20:18.926Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-02-07T00:20:18.926Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-02-07T00:20:18.926Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-07T00:20:18.926Z] go vet ./... [2023-02-07T00:20:41.190Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-07T00:20:41.190Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-07T00:20:41.190Z] ./bin/test-attribution-txt.sh [2023-02-07T00:20:41.190Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-07T00:20:41.190Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-07T00:20:41.234Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-07T00:20:41.268Z] $ docker stop --time=1 e852c417bc618966d93a742cb9ca270c5b68165be98be267016500a27d601d88 [2023-02-07T00:20:43.404Z] $ docker rm -f --volumes e852c417bc618966d93a742cb9ca270c5b68165be98be267016500a27d601d88 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T00:20:44.388Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-07T00:20:44.427Z] Warning: overwriting stash ‘coverage-report’ [2023-02-07T00:20:44.871Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T00:20:45.464Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-07T00:20:45.819Z] + ls -al . [2023-02-07T00:20:45.819Z] total 156 [2023-02-07T00:20:45.819Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 00:18 . [2023-02-07T00:20:45.819Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 00:15 .. [2023-02-07T00:20:45.819Z] -rw-rw-r-- 1 jenkins jenkins 120 Feb 7 00:16 .dockerignore [2023-02-07T00:20:45.819Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 00:16 .git [2023-02-07T00:20:45.819Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 00:16 .github [2023-02-07T00:20:45.819Z] -rw-rw-r-- 1 jenkins jenkins 343 Feb 7 00:16 .gitignore [2023-02-07T00:20:45.819Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 7 00:16 .golangci.yml [2023-02-07T00:20:45.819Z] -rw-rw-r-- 1 jenkins jenkins 9587 Feb 7 00:16 Attribution.txt [2023-02-07T00:20:45.819Z] -rw-rw-r-- 1 jenkins jenkins 4069 Feb 7 00:16 CHANGELOG.md [2023-02-07T00:20:45.819Z] -rw-rw-r-- 1 jenkins jenkins 1542 Feb 7 00:16 Dockerfile [2023-02-07T00:20:45.819Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 00:16 GOVERNANCE.md [2023-02-07T00:20:45.819Z] -rw-rw-r-- 1 jenkins jenkins 657 Feb 7 00:16 Jenkinsfile [2023-02-07T00:20:45.819Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 7 00:16 LICENSE [2023-02-07T00:20:45.819Z] -rw-rw-r-- 1 jenkins jenkins 1658 Feb 7 00:16 Makefile [2023-02-07T00:20:45.819Z] -rw-rw-r-- 1 jenkins jenkins 617 Feb 7 00:16 OWNERS.md [2023-02-07T00:20:45.819Z] -rw-rw-r-- 1 jenkins jenkins 11842 Feb 7 00:16 README.md [2023-02-07T00:20:45.819Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 00:12 VERSION [2023-02-07T00:20:45.819Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 00:16 bin [2023-02-07T00:20:45.819Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 00:16 cmd [2023-02-07T00:20:45.819Z] -rw-r--r-- 1 jenkins jenkins 10 Feb 7 00:18 coverage.out [2023-02-07T00:20:45.819Z] -rw-rw-r-- 1 jenkins jenkins 3311 Feb 7 00:16 go.mod [2023-02-07T00:20:45.819Z] -rw-rw-r-- 1 jenkins jenkins 33118 Feb 7 00:16 go.sum [2023-02-07T00:20:45.819Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 00:16 internal [2023-02-07T00:20:45.819Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 00:16 snap [2023-02-07T00:20:45.819Z] -rw-rw-r-- 1 jenkins jenkins 209 Feb 7 00:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T00:20:46.237Z] + 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=2593ac435c90d2c565e1ce183428ea2e9e1eeb2c --label arch=arm64 --label version=0.0.0 . [2023-02-07T00:20:46.506Z] Sending build context to Docker daemon 8.061MB [2023-02-07T00:20:46.774Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T00:20:46.774Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-07T00:20:46.774Z] ---> 24de5f8ae687 [2023-02-07T00:20:46.774Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-07T00:20:46.774Z] ---> Running in 6f084c43f04b [2023-02-07T00:20:47.042Z] Removing intermediate container 6f084c43f04b [2023-02-07T00:20:47.042Z] ---> 0c73bddf213d [2023-02-07T00:20:47.042Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T00:20:47.316Z] ---> Running in 0ce0e6d176e8 [2023-02-07T00:20:47.586Z] Removing intermediate container 0ce0e6d176e8 [2023-02-07T00:20:47.587Z] ---> 3b20f6bdea75 [2023-02-07T00:20:47.587Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-02-07T00:20:47.587Z] ---> Running in e218c943a660 [2023-02-07T00:20:48.178Z] Removing intermediate container e218c943a660 [2023-02-07T00:20:48.178Z] ---> 80c561fa96f4 [2023-02-07T00:20:48.178Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-07T00:20:48.178Z] ---> Running in 0c53166c0671 [2023-02-07T00:20:48.448Z] Removing intermediate container 0c53166c0671 [2023-02-07T00:20:48.448Z] ---> 78a59b106b1e [2023-02-07T00:20:48.448Z] Step 7/25 : WORKDIR /device-gpio [2023-02-07T00:20:48.722Z] ---> Running in 79fe033ad9d5 [2023-02-07T00:20:50.136Z] Removing intermediate container 79fe033ad9d5 [2023-02-07T00:20:50.136Z] ---> a89d43df299f [2023-02-07T00:20:50.136Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-07T00:20:50.406Z] ---> Running in 9f39a750f5aa [2023-02-07T00:20:51.368Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T00:20:51.953Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T00:20:52.925Z] OK: 226 MiB in 55 packages [2023-02-07T00:20:53.891Z] Removing intermediate container 9f39a750f5aa [2023-02-07T00:20:53.891Z] ---> e08ec7febc4f [2023-02-07T00:20:53.891Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-07T00:20:54.474Z] ---> 3fa7abc559b4 [2023-02-07T00:20:54.474Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T00:20:54.474Z] ---> Running in 920cdb203954 [2023-02-07T00:20:57.848Z] Removing intermediate container 920cdb203954 [2023-02-07T00:20:57.848Z] ---> 52b5165f5f20 [2023-02-07T00:20:57.848Z] Step 11/25 : COPY . . [2023-02-07T00:20:58.810Z] ---> 958d8c8bfe6b [2023-02-07T00:20:58.810Z] Step 12/25 : RUN ${MAKE} [2023-02-07T00:20:58.810Z] ---> Running in 063808f0b2bc [2023-02-07T00:20:59.777Z] CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd [2023-02-07T00:22:39.133Z] Removing intermediate container 063808f0b2bc [2023-02-07T00:22:39.133Z] ---> c79cab900272 [2023-02-07T00:22:39.133Z] Step 13/25 : FROM alpine:3.16 [2023-02-07T00:22:39.133Z] 3.16: Pulling from library/alpine [2023-02-07T00:22:39.133Z] 6875df1f5354: Pulling fs layer [2023-02-07T00:22:39.133Z] 6875df1f5354: Verifying Checksum [2023-02-07T00:22:39.133Z] 6875df1f5354: Download complete [2023-02-07T00:22:39.133Z] 6875df1f5354: Pull complete [2023-02-07T00:22:39.133Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-07T00:22:39.133Z] Status: Downloaded newer image for alpine:3.16 [2023-02-07T00:22:39.133Z] ---> 2b4661558fb8 [2023-02-07T00:22:39.133Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-02-07T00:22:39.133Z] ---> Running in 00891d47a73f [2023-02-07T00:22:39.133Z] Removing intermediate container 00891d47a73f [2023-02-07T00:22:39.133Z] ---> 85fae982602d [2023-02-07T00:22:39.133Z] Step 15/25 : RUN apk add --update --no-cache [2023-02-07T00:22:39.133Z] ---> Running in 3007c410f346 [2023-02-07T00:22:39.133Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T00:22:39.133Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T00:22:39.715Z] OK: 5 MiB in 14 packages [2023-02-07T00:22:40.672Z] Removing intermediate container 3007c410f346 [2023-02-07T00:22:40.672Z] ---> 9d8703d04716 [2023-02-07T00:22:40.672Z] Step 16/25 : WORKDIR / [2023-02-07T00:22:40.672Z] ---> Running in 40affa9de6d8 [2023-02-07T00:22:40.938Z] Removing intermediate container 40affa9de6d8 [2023-02-07T00:22:40.938Z] ---> 5a2636862f8d [2023-02-07T00:22:40.938Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-02-07T00:22:41.519Z] ---> 4c800fc9d253 [2023-02-07T00:22:41.519Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-02-07T00:22:41.785Z] ---> ff800a5199fb [2023-02-07T00:22:41.785Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-02-07T00:22:43.192Z] ---> 13b0c9b4a04c [2023-02-07T00:22:43.192Z] Step 20/25 : EXPOSE 59910 [2023-02-07T00:22:43.192Z] ---> Running in b890041b2cfc [2023-02-07T00:22:43.460Z] Removing intermediate container b890041b2cfc [2023-02-07T00:22:43.460Z] ---> 07c0266a0489 [2023-02-07T00:22:43.460Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-02-07T00:22:43.460Z] ---> Running in b951b0898408 [2023-02-07T00:22:43.727Z] Removing intermediate container b951b0898408 [2023-02-07T00:22:43.727Z] ---> 158ae4b554aa [2023-02-07T00:22:43.727Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-07T00:22:44.000Z] ---> Running in 271a1100d9ca [2023-02-07T00:22:44.267Z] Removing intermediate container 271a1100d9ca [2023-02-07T00:22:44.267Z] ---> 093d2d6eca69 [2023-02-07T00:22:44.267Z] Step 23/25 : LABEL arch=arm64 [2023-02-07T00:22:44.267Z] ---> Running in 27bc9ddf48da [2023-02-07T00:22:44.534Z] Removing intermediate container 27bc9ddf48da [2023-02-07T00:22:44.534Z] ---> f5289fde6940 [2023-02-07T00:22:44.534Z] Step 24/25 : LABEL git_sha=2593ac435c90d2c565e1ce183428ea2e9e1eeb2c [2023-02-07T00:22:44.534Z] ---> Running in 633053bdc077 [2023-02-07T00:22:44.802Z] Removing intermediate container 633053bdc077 [2023-02-07T00:22:44.802Z] ---> 6ee0a0b7cfe5 [2023-02-07T00:22:44.802Z] Step 25/25 : LABEL version=0.0.0 [2023-02-07T00:22:45.070Z] ---> Running in 2f9b73501d5c [2023-02-07T00:22:45.336Z] Removing intermediate container 2f9b73501d5c [2023-02-07T00:22:45.336Z] ---> f79c7d7baa72 [2023-02-07T00:22:45.336Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-07T00:22:45.336Z] Successfully built f79c7d7baa72 [2023-02-07T00:22:45.336Z] 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 [2023-02-07T00:22:46.166Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T00:22:46.167Z] [2023-02-07T00:22:46.167Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T00:22:49.304Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T00:22:49.573Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-07T00:22:49.573Z] 8998bd30e6a1: Pulling fs layer [2023-02-07T00:22:49.573Z] 04944245beec: Pulling fs layer [2023-02-07T00:22:49.573Z] 699f458cf7ca: Pulling fs layer [2023-02-07T00:22:49.573Z] 765212b225bb: Pulling fs layer [2023-02-07T00:22:49.573Z] f23df028b6ca: Pulling fs layer [2023-02-07T00:22:49.573Z] d65c8cfc05b1: Pulling fs layer [2023-02-07T00:22:49.573Z] 2437ff75d9bd: Pulling fs layer [2023-02-07T00:22:49.573Z] f23df028b6ca: Waiting [2023-02-07T00:22:49.573Z] 765212b225bb: Waiting [2023-02-07T00:22:49.573Z] d65c8cfc05b1: Waiting [2023-02-07T00:22:49.573Z] 2437ff75d9bd: Waiting [2023-02-07T00:22:49.573Z] 04944245beec: Verifying Checksum [2023-02-07T00:22:49.573Z] 04944245beec: Download complete [2023-02-07T00:22:49.573Z] 765212b225bb: Verifying Checksum [2023-02-07T00:22:49.573Z] 765212b225bb: Download complete [2023-02-07T00:22:49.844Z] f23df028b6ca: Download complete [2023-02-07T00:22:49.844Z] d65c8cfc05b1: Verifying Checksum [2023-02-07T00:22:49.844Z] d65c8cfc05b1: Download complete [2023-02-07T00:22:49.844Z] 699f458cf7ca: Verifying Checksum [2023-02-07T00:22:49.844Z] 699f458cf7ca: Download complete [2023-02-07T00:22:50.426Z] 8998bd30e6a1: Verifying Checksum [2023-02-07T00:22:50.426Z] 8998bd30e6a1: Download complete [2023-02-07T00:22:52.371Z] 2437ff75d9bd: Verifying Checksum [2023-02-07T00:22:52.371Z] 2437ff75d9bd: Download complete [2023-02-07T00:22:53.950Z] 8998bd30e6a1: Pull complete [2023-02-07T00:22:54.548Z] 04944245beec: Pull complete [2023-02-07T00:22:55.980Z] 699f458cf7ca: Pull complete [2023-02-07T00:22:55.980Z] 765212b225bb: Pull complete [2023-02-07T00:22:56.565Z] f23df028b6ca: Pull complete [2023-02-07T00:22:56.833Z] d65c8cfc05b1: Pull complete [2023-02-07T00:23:11.822Z] 2437ff75d9bd: Pull complete [2023-02-07T00:23:11.822Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-07T00:23:11.822Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T00:23:11.822Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T00:23:12.198Z] prd-ubuntu20.04-docker-arm64-4c-16g-4790 does not seem to be running inside a container [2023-02-07T00:23:12.266Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-07T00:23:15.013Z] $ docker top ce19c7dc26371d84ca8422874cbf945ea29decbf625e705e065ce0ee37f2e33b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T00:23:15.584Z] ---> job-cost.sh [2023-02-07T00:23:15.850Z] lf-activate-venv: SKIPPING [2023-02-07T00:23:15.850Z] INFO: No Stack... [2023-02-07T00:23:16.807Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-07T00:23:17.766Z] INFO: Archiving Costs [Pipeline] sh [2023-02-07T00:23:18.105Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2023-02-07T00:23:18.105Z] + cut -d, -f6 [Pipeline] lock [2023-02-07T00:23:18.198Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-93-1-stack-cost] [2023-02-07T00:23:18.203Z] Resource [jenkins-edgexfoundry-device-gpio-PR-93-1-stack-cost] did not exist. Created. [2023-02-07T00:23:18.203Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-93-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-07T00:23:18.634Z] /w/workspace/device-gpio/1@tmp/durable-e38cd506/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-07T00:23:18.988Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-07T00:23:19.031Z] Warning: overwriting stash ‘stack-cost’ [2023-02-07T00:23:19.093Z] Stashed 1 file(s) [Pipeline] } [2023-02-07T00:23:19.107Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-93-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-07T00:23:19.194Z] $ docker stop --time=1 ce19c7dc26371d84ca8422874cbf945ea29decbf625e705e065ce0ee37f2e33b [2023-02-07T00:23:20.673Z] $ docker rm -f --volumes ce19c7dc26371d84ca8422874cbf945ea29decbf625e705e065ce0ee37f2e33b [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 [2023-02-07T00:23:21.639Z] provisioning config files... [2023-02-07T00:23:21.647Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-93@tmp/config4832221804496796022tmp [Pipeline] { [Pipeline] sh [2023-02-07T00:23:21.985Z] + set +x [2023-02-07T00:23:21.985Z] + curl -s https://codecov.io/bash [2023-02-07T00:23:21.985Z] + bash -s -- [2023-02-07T00:23:21.985Z] [2023-02-07T00:23:21.985Z] _____ _ [2023-02-07T00:23:21.985Z] / ____| | | [2023-02-07T00:23:21.985Z] | | ___ __| | ___ ___ _____ __ [2023-02-07T00:23:21.985Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-07T00:23:21.985Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-07T00:23:21.985Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-07T00:23:21.985Z] Bash-1.0.6 [2023-02-07T00:23:21.985Z] [2023-02-07T00:23:21.985Z] [2023-02-07T00:23:21.985Z] ==> git version 2.25.1 found [2023-02-07T00:23:21.985Z] ==> 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 [2023-02-07T00:23:21.985Z] Release-Date: 2020-01-08 [2023-02-07T00:23:21.985Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-07T00:23:21.985Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-07T00:23:21.985Z] ==> Jenkins CI detected. [2023-02-07T00:23:21.985Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-93 [2023-02-07T00:23:21.985Z] project root: . [2023-02-07T00:23:21.985Z] --> token set from env [2023-02-07T00:23:21.985Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-07T00:23:21.985Z] ==> Running gcov in . (disable via -X gcov) [2023-02-07T00:23:21.985Z] ==> Python coveragepy not found [2023-02-07T00:23:21.985Z] ==> Searching for coverage reports in: [2023-02-07T00:23:21.985Z] + . [2023-02-07T00:23:21.985Z] -> Found 1 reports [2023-02-07T00:23:21.985Z] ==> Detecting git/mercurial file structure [2023-02-07T00:23:21.985Z] ==> Reading reports [2023-02-07T00:23:21.985Z] + ./coverage.out bytes=10 [2023-02-07T00:23:21.985Z] ==> Appending adjustments [2023-02-07T00:23:21.986Z] https://docs.codecov.io/docs/fixing-reports [2023-02-07T00:23:22.245Z] + Found adjustments [2023-02-07T00:23:22.246Z] ==> Gzipping contents [2023-02-07T00:23:22.246Z] 4.0K /tmp/codecov.pE7cwl.gz [2023-02-07T00:23:22.246Z] ==> Uploading reports [2023-02-07T00:23:22.246Z] url: https://codecov.io [2023-02-07T00:23:22.246Z] query: branch=PR-93&commit=2593ac435c90d2c565e1ce183428ea2e9e1eeb2c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-93%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=93&job=&cmd_args= [2023-02-07T00:23:22.246Z] -> Pinging Codecov [2023-02-07T00:23:22.246Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-93&commit=2593ac435c90d2c565e1ce183428ea2e9e1eeb2c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-93%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=93&job=&cmd_args= [2023-02-07T00:23:22.504Z] -> Uploading to [2023-02-07T00:23:22.504Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-07/3EC07B1A8CA8AF9BCAA0BB9F0134797F/2593ac435c90d2c565e1ce183428ea2e9e1eeb2c/1b259a48-7483-4872-a068-2ca6612b94a8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230207%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230207T002322Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0b709a15a4d08c26196f517b1669e0e2c361cc8280efa4f68d5f05530d8db7c7 [2023-02-07T00:23:22.504Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-07T00:23:22.504Z] Dload Upload Total Spent Left Speed [2023-02-07T00:23:23.073Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 742 0 0 100 742 0 2481 --:--:-- --:--:-- --:--:-- 2481 [2023-02-07T00:23:23.073Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/2593ac435c90d2c565e1ce183428ea2e9e1eeb2c [Pipeline] } [2023-02-07T00:23:23.103Z] 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 [2023-02-07T00:23:24.927Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-93/archives ] [2023-02-07T00:23:24.927Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-93/archives [2023-02-07T00:23:24.927Z] total 16 [2023-02-07T00:23:24.927Z] drwxr-xr-x 3 root root 4096 Feb 7 00:14 . [2023-02-07T00:23:24.927Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 00:14 .. [2023-02-07T00:23:24.927Z] drwxr-xr-x 2 root root 4096 Feb 7 00:14 cost [2023-02-07T00:23:24.927Z] -rw-r--r-- 1 root root 82 Feb 7 00:14 cost.csv [2023-02-07T00:23:24.927Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-93/archives [2023-02-07T00:23:24.927Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-93/archives [2023-02-07T00:23:24.927Z] total 16 [2023-02-07T00:23:24.927Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 00:14 . [2023-02-07T00:23:24.927Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 00:14 .. [2023-02-07T00:23:24.927Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 7 00:14 cost [2023-02-07T00:23:24.927Z] -rw-r--r-- 1 jenkins jenkins 82 Feb 7 00:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-07T00:23:25.252Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T00:23:26.150Z] ---> package-listing.sh [2023-02-07T00:23:26.150Z] ++ facter osfamily [2023-02-07T00:23:26.150Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-07T00:23:26.411Z] + OS_FAMILY=debian [2023-02-07T00:23:26.411Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-93 [2023-02-07T00:23:26.411Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-07T00:23:26.411Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-07T00:23:26.411Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-07T00:23:26.411Z] + PACKAGES=/tmp/packages_start.txt [2023-02-07T00:23:26.411Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-93 ']' [2023-02-07T00:23:26.411Z] + PACKAGES=/tmp/packages_end.txt [2023-02-07T00:23:26.411Z] + case "${OS_FAMILY}" in [2023-02-07T00:23:26.411Z] + dpkg -l [2023-02-07T00:23:26.411Z] + grep '^ii' [2023-02-07T00:23:26.411Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-07T00:23:26.411Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-07T00:23:26.411Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-07T00:23:26.411Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-93 ']' [2023-02-07T00:23:26.411Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-93/archives/ [2023-02-07T00:23:26.411Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-93/archives/ [Pipeline] echo [2023-02-07T00:23:26.450Z] 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-93/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-07T00:23:26.743Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T00:23:27.360Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T00:23:27.360Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T00:23:27.504Z] prd-ubuntu20.04-docker-8c-8g-4788 does not seem to be running inside a container [2023-02-07T00:23:27.546Z] $ 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-93/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-93 -v /w/workspace/edgexfoundry_device-gpio_PR-93:/w/workspace/edgexfoundry_device-gpio_PR-93:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-93@tmp:/w/workspace/edgexfoundry_device-gpio_PR-93@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 [2023-02-07T00:23:27.766Z] $ docker top db719c1baeb2aaaa1061621b467e311ff939c7c39ea3ac338ae183d9473c56d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T00:23:28.145Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-07T00:23:28.459Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-07T00:23:28.766Z] + ls /var/log/sa-host [2023-02-07T00:23:28.766Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T00:23:28.906Z] provisioning config files... [2023-02-07T00:23:28.915Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-93@tmp/config3257991510352027484tmp [Pipeline] { [Pipeline] echo [2023-02-07T00:23:28.969Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T00:23:29.293Z] ---> create-netrc.sh [Pipeline] } [2023-02-07T00:23:29.326Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-07T00:23:29.735Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-07T00:23:29.767Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T00:23:30.073Z] ---> sudo-logs.sh [2023-02-07T00:23:30.073Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-07T00:23:30.168Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T00:23:30.482Z] ---> job-cost.sh [2023-02-07T00:23:30.482Z] lf-activate-venv: SKIPPING [2023-02-07T00:23:30.482Z] DEBUG: total: 0.2199999988079071 [2023-02-07T00:23:30.482Z] INFO: Retrieving Stack Cost... [2023-02-07T00:23:31.051Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-07T00:23:31.311Z] INFO: Archiving Costs [Pipeline] echo [2023-02-07T00:23:31.349Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T00:23:31.662Z] ---> logs-deploy.sh [2023-02-07T00:23:31.662Z] lf-activate-venv: SKIPPING [2023-02-07T00:23:31.662Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-93/1 [2023-02-07T00:23:31.662Z] INFO: archiving workspace using pattern(s): [2023-02-07T00:23:32.600Z] Archives upload complete. [2023-02-07T00:23:32.600Z] INFO: archiving logs to Nexus