Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-gpio Obtained Jenkinsfile from 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f+55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb (be61e715cbd23e9f644c48a065cf3a0b4a130bf2) 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-ssh17243619444354686288.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh10526922807314307485.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-24/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-24/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh967122361432449028.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4740355561054047751.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-24/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-24/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6893233025806016847.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-11873 in /w/workspace/edgexfoundry_device-gpio_PR-24 [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-24 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb into PR head commit 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f Merge succeeded, producing f1b39a6ee35ded058d2807cd415535bfab826972 Checking out Revision f1b39a6ee35ded058d2807cd415535bfab826972 (PR-24) > 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/24/head:refs/remotes/origin/PR-24 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f # 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 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f1b39a6ee35ded058d2807cd415535bfab826972 # timeout=10 Commit message: "Merge commit '55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb' into HEAD" > git rev-list --no-walk 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-10T09:20:51.052Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-10T09:20:51.124Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-10T09:20:51.145Z] ========================================================= [2022-04-10T09:20:51.145Z] EdgeX Global Pipelines Version Info [2022-04-10T09:20:51.145Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-10T09:20:51.920Z] ------------------- [2022-04-10T09:20:51.920Z] stable info: [2022-04-10T09:20:51.920Z] ------------------- [2022-04-10T09:20:51.920Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-10T09:20:51.920Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-10T09:20:51.920Z] Message: update stable to v1.0.221 [2022-04-10T09:20:52.493Z] ------------------- [2022-04-10T09:20:52.493Z] experimental info: [2022-04-10T09:20:52.493Z] ------------------- [2022-04-10T09:20:52.493Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-10T09:20:52.493Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-10T09:20:52.493Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-10T09:20:52.624Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-04-10T09:20:52.637Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-04-10T09:20:52.649Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-10T09:20:52.661Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-10T09:20:52.671Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-10T09:20:52.687Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-10T09:20:52.701Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-10T09:20:52.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-10T09:20:52.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-10T09:20:52.733Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-10T09:20:52.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-10T09:20:52.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-04-10T09:20:52.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-10T09:20:52.789Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-10T09:20:52.801Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-10T09:20:52.812Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-10T09:20:52.826Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T09:20:52.838Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T09:20:52.849Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-10T09:20:52.861Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-10T09:20:52.875Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-10T09:20:52.887Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-10T09:20:52.902Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-10T09:20:52.920Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-10T09:20:52.942Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-10T09:20:52.959Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-10T09:20:52.973Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-24 [Pipeline] echo [2022-04-10T09:20:52.984Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-24 [Pipeline] echo [2022-04-10T09:20:52.996Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-24 [Pipeline] echo [2022-04-10T09:20:53.008Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f1b39a6ee35ded058d2807cd415535bfab826972 [Pipeline] echo [2022-04-10T09:20:53.022Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f1b39a6 [Pipeline] echo [2022-04-10T09:20:53.033Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T09:20:53.088Z] provisioning config files... [2022-04-10T09:20:53.101Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/config6203165572456658665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T09:20:53.408Z] ---> docker-login.sh [2022-04-10T09:20:53.408Z] nexus3.edgexfoundry.org:10001 [2022-04-10T09:20:53.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:20:53.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:20:53.676Z] Configure a credential helper to remove this warning. See [2022-04-10T09:20:53.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:20:53.676Z] [2022-04-10T09:20:53.676Z] Login Succeeded [2022-04-10T09:20:53.676Z] nexus3.edgexfoundry.org:10002 [2022-04-10T09:20:53.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:20:53.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:20:53.937Z] Configure a credential helper to remove this warning. See [2022-04-10T09:20:53.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:20:53.937Z] [2022-04-10T09:20:53.937Z] Login Succeeded [2022-04-10T09:20:53.937Z] nexus3.edgexfoundry.org:10003 [2022-04-10T09:20:53.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:20:54.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:20:54.199Z] Configure a credential helper to remove this warning. See [2022-04-10T09:20:54.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:20:54.199Z] [2022-04-10T09:20:54.199Z] Login Succeeded [2022-04-10T09:20:54.199Z] nexus3.edgexfoundry.org:10004 [2022-04-10T09:20:54.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:20:54.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:20:54.199Z] Configure a credential helper to remove this warning. See [2022-04-10T09:20:54.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:20:54.199Z] [2022-04-10T09:20:54.199Z] Login Succeeded [2022-04-10T09:20:54.199Z] docker.io [2022-04-10T09:20:54.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:20:54.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:20:54.773Z] Configure a credential helper to remove this warning. See [2022-04-10T09:20:54.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:20:54.773Z] [2022-04-10T09:20:54.773Z] Login Succeeded [2022-04-10T09:20:54.773Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T09:20:54.782Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-10T09:20:55.190Z] + git rev-list -1 --merges f1b39a6ee35ded058d2807cd415535bfab826972~1..f1b39a6ee35ded058d2807cd415535bfab826972 [Pipeline] echo [2022-04-10T09:20:55.324Z] -----------> git rev-list -1 --merges f1b39a6ee35ded058d2807cd415535bfab826972~1..f1b39a6ee35ded058d2807cd415535bfab826972 f1b39a6ee35ded058d2807cd415535bfab826972 [2022-04-10T09:20:55.324Z] f1b39a6ee35ded058d2807cd415535bfab826972 [false] [Pipeline] sh [2022-04-10T09:20:55.609Z] + git log --format=format:%s -1 f1b39a6ee35ded058d2807cd415535bfab826972 [Pipeline] echo [2022-04-10T09:20:55.624Z] ========================================================= [2022-04-10T09:20:55.624Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-10T09:20:55.624Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T09:20:55.960Z] + git log --format=format:%s -1 f1b39a6ee35ded058d2807cd415535bfab826972 [Pipeline] echo [2022-04-10T09:20:55.971Z] [semverPrep] GIT_COMMIT: f1b39a6ee35ded058d2807cd415535bfab826972, Commit Message: Merge commit '55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb' into HEAD [Pipeline] echo [2022-04-10T09:20:55.981Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-10T09:20:56.407Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T09:20:56.407Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-10T09:20:56.407Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-10T09:20:56.407Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-10T09:20:56.407Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-10T09:20:56.407Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-10T09:20:56.407Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T09:20:56.831Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T09:20:56.831Z] [2022-04-10T09:20:56.831Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T09:20:57.138Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T09:20:57.138Z] latest: Pulling from edgex-devops/git-semver [2022-04-10T09:20:57.138Z] a0d0a0d46f8b: Pulling fs layer [2022-04-10T09:20:57.138Z] 3e5f54012d9b: Pulling fs layer [2022-04-10T09:20:57.138Z] 4c7163046ea9: Pulling fs layer [2022-04-10T09:20:57.138Z] 0c2d73faf560: Pulling fs layer [2022-04-10T09:20:57.138Z] 0c2d73faf560: Waiting [2022-04-10T09:20:57.138Z] 3e5f54012d9b: Verifying Checksum [2022-04-10T09:20:57.138Z] 3e5f54012d9b: Download complete [2022-04-10T09:20:57.138Z] a0d0a0d46f8b: Verifying Checksum [2022-04-10T09:20:57.138Z] a0d0a0d46f8b: Download complete [2022-04-10T09:20:57.138Z] 0c2d73faf560: Verifying Checksum [2022-04-10T09:20:57.138Z] 0c2d73faf560: Download complete [2022-04-10T09:20:57.138Z] 4c7163046ea9: Verifying Checksum [2022-04-10T09:20:57.138Z] 4c7163046ea9: Download complete [2022-04-10T09:20:57.403Z] a0d0a0d46f8b: Pull complete [2022-04-10T09:20:57.403Z] 3e5f54012d9b: Pull complete [2022-04-10T09:20:57.664Z] 4c7163046ea9: Pull complete [2022-04-10T09:20:57.926Z] 0c2d73faf560: Pull complete [2022-04-10T09:20:57.926Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-10T09:20:57.926Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T09:20:57.926Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-10T09:20:58.005Z] prd-ubuntu20.04-docker-8c-8g-11873 does not seem to be running inside a container [2022-04-10T09:20:58.046Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-24 -v /w/workspace/edgexfoundry_device-gpio_PR-24:/w/workspace/edgexfoundry_device-gpio_PR-24:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-24@tmp:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-10T09:20:58.744Z] $ docker top c303438f4ce7b9790c9d993071dc24b4851e99f015acf7f81f6fcc42ef4e4bca -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T09:20:58.843Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T09:20:58.843Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T09:20:58.971Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T09:20:58.978Z] $ docker exec c303438f4ce7b9790c9d993071dc24b4851e99f015acf7f81f6fcc42ef4e4bca ssh-agent [2022-04-10T09:20:59.097Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBMmBiB/agent.14 [2022-04-10T09:20:59.097Z] SSH_AGENT_PID=20 [2022-04-10T09:20:59.103Z] Running ssh-add (command line suppressed) [2022-04-10T09:20:59.215Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-24@tmp/private_key_6106377247593287656.key (/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/private_key_6106377247593287656.key) [2022-04-10T09:20:59.228Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T09:20:59.519Z] + git tag --points-at HEAD [Pipeline] } [2022-04-10T09:20:59.542Z] $ docker exec --env ******** --env ******** c303438f4ce7b9790c9d993071dc24b4851e99f015acf7f81f6fcc42ef4e4bca ssh-agent -k [2022-04-10T09:20:59.658Z] unset SSH_AUTH_SOCK; [2022-04-10T09:20:59.658Z] unset SSH_AGENT_PID; [2022-04-10T09:20:59.659Z] echo Agent pid 20 killed; [2022-04-10T09:20:59.668Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-10T09:20:59.695Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T09:20:59.695Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T09:20:59.826Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T09:20:59.831Z] $ docker exec c303438f4ce7b9790c9d993071dc24b4851e99f015acf7f81f6fcc42ef4e4bca ssh-agent [2022-04-10T09:20:59.956Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoipFfm/agent.54 [2022-04-10T09:20:59.956Z] SSH_AGENT_PID=60 [2022-04-10T09:20:59.961Z] Running ssh-add (command line suppressed) [2022-04-10T09:21:00.090Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-24@tmp/private_key_7780010344482417473.key (/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/private_key_7780010344482417473.key) [2022-04-10T09:21:00.105Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T09:21:00.397Z] + git semver init [2022-04-10T09:21:00.397Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T09:21:00.397Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-24/.git [2022-04-10T09:21:00.397Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-24 [2022-04-10T09:21:00.397Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T09:21:00.397Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T09:21:00.397Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T09:21:00.397Z] # $SEMVER_BRANCH = PR-24 [2022-04-10T09:21:00.397Z] # $SEMVER_TEMP = /tmp/semver-691423236 [2022-04-10T09:21:00.397Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2022-04-10T09:21:01.341Z] # '/tmp/semver-691423236' -> '/w/workspace/edgexfoundry_device-gpio_PR-24/.semver' [2022-04-10T09:21:01.341Z] # -> Force: false [2022-04-10T09:21:01.341Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-24/.semver [Pipeline] } [2022-04-10T09:21:01.355Z] $ docker exec --env ******** --env ******** c303438f4ce7b9790c9d993071dc24b4851e99f015acf7f81f6fcc42ef4e4bca ssh-agent -k [2022-04-10T09:21:01.472Z] unset SSH_AUTH_SOCK; [2022-04-10T09:21:01.472Z] unset SSH_AGENT_PID; [2022-04-10T09:21:01.472Z] echo Agent pid 60 killed; [2022-04-10T09:21:01.482Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T09:21:01.788Z] + git semver [Pipeline] } [2022-04-10T09:21:01.804Z] $ docker stop --time=1 c303438f4ce7b9790c9d993071dc24b4851e99f015acf7f81f6fcc42ef4e4bca [2022-04-10T09:21:03.225Z] $ docker rm -f c303438f4ce7b9790c9d993071dc24b4851e99f015acf7f81f6fcc42ef4e4bca [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T09:21:03.583Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-10T09:21:03.834Z] Stashed 1 file(s) [Pipeline] echo [2022-04-10T09:21:03.838Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T09:21:03.985Z] provisioning config files... [2022-04-10T09:21:03.995Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/config3436006081871620035tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T09:21:04.071Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11867 in /w/workspace/edgexfoundry_device-gpio_PR-24 [Pipeline] { [Pipeline] ws [2022-04-10T09:21:04.082Z] Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout [2022-04-10T09:21:04.109Z] The recommended git tool is: git [2022-04-10T09:21:04.292Z] ---> docker-login.sh [2022-04-10T09:21:04.292Z] nexus3.edgexfoundry.org:10001 [2022-04-10T09:21:04.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:21:04.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:21:04.292Z] Configure a credential helper to remove this warning. See [2022-04-10T09:21:04.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:21:04.292Z] [2022-04-10T09:21:04.292Z] Login Succeeded [2022-04-10T09:21:04.292Z] nexus3.edgexfoundry.org:10002 [2022-04-10T09:21:04.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:21:04.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:21:04.553Z] Configure a credential helper to remove this warning. See [2022-04-10T09:21:04.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:21:04.553Z] [2022-04-10T09:21:04.553Z] Login Succeeded [2022-04-10T09:21:04.553Z] nexus3.edgexfoundry.org:10003 [2022-04-10T09:21:04.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:21:04.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:21:04.553Z] Configure a credential helper to remove this warning. See [2022-04-10T09:21:04.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:21:04.553Z] [2022-04-10T09:21:04.553Z] Login Succeeded [2022-04-10T09:21:04.553Z] nexus3.edgexfoundry.org:10004 [2022-04-10T09:21:04.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:21:04.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:21:04.812Z] Configure a credential helper to remove this warning. See [2022-04-10T09:21:04.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:21:04.812Z] [2022-04-10T09:21:04.812Z] Login Succeeded [2022-04-10T09:21:04.812Z] docker.io [2022-04-10T09:21:04.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:21:05.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:21:05.074Z] Configure a credential helper to remove this warning. See [2022-04-10T09:21:05.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:21:05.074Z] [2022-04-10T09:21:05.074Z] Login Succeeded [2022-04-10T09:21:05.074Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T09:21:05.088Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-10T09:21:05.144Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T09:21:05.153Z] ========================================================= [2022-04-10T09:21:05.153Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-10T09:21:05.153Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-10T09:21:05.465Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-10T09:21:05.465Z] Sending build context to Docker daemon 11.1MB [2022-04-10T09:21:05.465Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T09:21:05.465Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-10T09:21:05.465Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-10T09:21:05.465Z] 59bf1c3509f3: Pulling fs layer [2022-04-10T09:21:05.465Z] 666ba61612fd: Pulling fs layer [2022-04-10T09:21:05.465Z] 8ed8ca486205: Pulling fs layer [2022-04-10T09:21:05.465Z] 4fe6c5a15a65: Pulling fs layer [2022-04-10T09:21:05.465Z] 22a0e8bec74d: Pulling fs layer [2022-04-10T09:21:05.465Z] 640e595b4fbd: Pulling fs layer [2022-04-10T09:21:05.465Z] 763cafe07f6e: Pulling fs layer [2022-04-10T09:21:05.465Z] 4fe6c5a15a65: Waiting [2022-04-10T09:21:05.465Z] 0c0b528cf693: Pulling fs layer [2022-04-10T09:21:05.465Z] 22a0e8bec74d: Waiting [2022-04-10T09:21:05.465Z] 10935f4eaf8b: Pulling fs layer [2022-04-10T09:21:05.465Z] 763cafe07f6e: Waiting [2022-04-10T09:21:05.465Z] 640e595b4fbd: Waiting [2022-04-10T09:21:05.465Z] 0c0b528cf693: Waiting [2022-04-10T09:21:05.465Z] 10935f4eaf8b: Waiting [2022-04-10T09:21:05.465Z] 8ed8ca486205: Verifying Checksum [2022-04-10T09:21:05.465Z] 8ed8ca486205: Download complete [2022-04-10T09:21:05.724Z] 666ba61612fd: Verifying Checksum [2022-04-10T09:21:05.724Z] 666ba61612fd: Download complete [2022-04-10T09:21:05.724Z] 22a0e8bec74d: Verifying Checksum [2022-04-10T09:21:05.724Z] 22a0e8bec74d: Download complete [2022-04-10T09:21:05.724Z] 640e595b4fbd: Verifying Checksum [2022-04-10T09:21:05.724Z] 640e595b4fbd: Download complete [2022-04-10T09:21:05.724Z] 763cafe07f6e: Download complete [2022-04-10T09:21:05.724Z] 59bf1c3509f3: Download complete [2022-04-10T09:21:05.724Z] 0c0b528cf693: Verifying Checksum [2022-04-10T09:21:05.724Z] 0c0b528cf693: Download complete [2022-04-10T09:21:05.724Z] 59bf1c3509f3: Pull complete [2022-04-10T09:21:05.984Z] 666ba61612fd: Pull complete [2022-04-10T09:21:05.984Z] 8ed8ca486205: Pull complete [2022-04-10T09:21:06.244Z] 10935f4eaf8b: Verifying Checksum [2022-04-10T09:21:06.244Z] 10935f4eaf8b: Download complete [2022-04-10T09:21:06.505Z] 4fe6c5a15a65: Verifying Checksum [2022-04-10T09:21:06.505Z] 4fe6c5a15a65: Download complete [2022-04-10T09:21:08.310Z] using credential edgex-jenkins-ssh [2022-04-10T09:21:08.328Z] Cloning the remote Git repository [2022-04-10T09:21:08.390Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-04-10T09:21:08.458Z] > git init /w/workspace/device-gpio/2 # timeout=10 [2022-04-10T09:21:08.532Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-04-10T09:21:08.533Z] > git --version # timeout=10 [2022-04-10T09:21:08.554Z] > git --version # 'git version 2.25.1' [2022-04-10T09:21:08.555Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-10T09:21:08.651Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-10T09:21:09.772Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-04-10T09:21:09.790Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-10T09:21:09.816Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-04-10T09:21:09.848Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-04-10T09:21:09.849Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-10T09:21:09.861Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/24/head:refs/remotes/origin/PR-24 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-10T09:21:10.387Z] Merging remotes/origin/main commit 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb into PR head commit 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f [2022-04-10T09:21:10.667Z] Merge succeeded, producing 94adb527053bce16d38bbd2a78118972e9fb1c1f [2022-04-10T09:21:10.668Z] Checking out Revision 94adb527053bce16d38bbd2a78118972e9fb1c1f (PR-24) [2022-04-10T09:21:10.699Z] 4fe6c5a15a65: Pull complete [2022-04-10T09:21:10.699Z] 22a0e8bec74d: Pull complete [2022-04-10T09:21:10.699Z] 640e595b4fbd: Pull complete [2022-04-10T09:21:10.699Z] 763cafe07f6e: Pull complete [2022-04-10T09:21:10.699Z] 0c0b528cf693: Pull complete [2022-04-10T09:21:10.408Z] > git config core.sparsecheckout # timeout=10 [2022-04-10T09:21:10.425Z] > git checkout -f 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f # timeout=10 [2022-04-10T09:21:10.505Z] > git remote # timeout=10 [2022-04-10T09:21:10.525Z] > git config --get remote.origin.url # timeout=10 [2022-04-10T09:21:10.540Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-10T09:21:10.552Z] > git merge 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb # timeout=10 [2022-04-10T09:21:10.638Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-10T09:21:10.680Z] > git config core.sparsecheckout # timeout=10 [2022-04-10T09:21:10.718Z] > git checkout -f 94adb527053bce16d38bbd2a78118972e9fb1c1f # timeout=10 [2022-04-10T09:21:12.603Z] 10935f4eaf8b: Pull complete [2022-04-10T09:21:12.603Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-10T09:21:12.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-10T09:21:12.603Z] ---> 99d49a6021b9 [2022-04-10T09:21:12.603Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T09:21:14.516Z] ---> Running in 09cfb7d44948 [2022-04-10T09:21:14.517Z] Removing intermediate container 09cfb7d44948 [2022-04-10T09:21:14.517Z] ---> a78d5c1e79be [2022-04-10T09:21:14.517Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T09:21:14.517Z] ---> Running in 12b10cf2a55f [2022-04-10T09:21:14.517Z] Removing intermediate container 12b10cf2a55f [2022-04-10T09:21:14.517Z] ---> 916f9ee91d1a [2022-04-10T09:21:14.517Z] Step 5/11 : WORKDIR /device-gpio [2022-04-10T09:21:14.517Z] ---> Running in 3bc2e5afc3a4 [2022-04-10T09:21:14.517Z] Removing intermediate container 3bc2e5afc3a4 [2022-04-10T09:21:14.517Z] ---> 03ab9c524071 [2022-04-10T09:21:14.517Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T09:21:14.517Z] ---> Running in bf9c2962adae [2022-04-10T09:21:15.087Z] Removing intermediate container bf9c2962adae [2022-04-10T09:21:15.087Z] ---> c77030a5c176 [2022-04-10T09:21:15.087Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T09:21:15.087Z] ---> Running in 8cd8348d628a [2022-04-10T09:21:15.118Z] Commit message: "Merge commit '55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb' into HEAD" [2022-04-10T09:21:15.129Z] > git rev-list --no-walk 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T09:21:15.659Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T09:21:16.047Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-10T09:21:16.047Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-10T09:21:16.047Z] Dload Upload Total Spent Left Speed [2022-04-10T09:21:16.047Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46261 0 --:--:-- --:--:-- --:--:-- 46081 [Pipeline] sh [2022-04-10T09:21:16.608Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T09:21:16.608Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-10T09:21:16.677Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-10T09:21:16.868Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-10T09:21:16.868Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-10T09:21:17.022Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-10T09:21:17.022Z] + sudo tee /etc/docker/daemon.new [2022-04-10T09:21:17.022Z] { [2022-04-10T09:21:17.022Z] "registry-mirrors": [ [2022-04-10T09:21:17.022Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-10T09:21:17.022Z] ], [2022-04-10T09:21:17.022Z] "bip": "10.250.0.254/24", [2022-04-10T09:21:17.022Z] "hosts": [ [2022-04-10T09:21:17.022Z] "tcp://0.0.0.0:5555", [2022-04-10T09:21:17.022Z] "unix:///var/run/docker.sock" [2022-04-10T09:21:17.022Z] ], [2022-04-10T09:21:17.022Z] "mtu": 1458, [2022-04-10T09:21:17.022Z] "selinux-enabled": true, [2022-04-10T09:21:17.022Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-10T09:21:17.022Z] } [Pipeline] sh [2022-04-10T09:21:17.129Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-10T09:21:17.129Z] Executing busybox-1.34.1-r3.trigger [2022-04-10T09:21:17.129Z] OK: 224 MiB in 56 packages [2022-04-10T09:21:17.365Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-10T09:21:17.700Z] Removing intermediate container 8cd8348d628a [2022-04-10T09:21:17.700Z] ---> 222fda8ad926 [2022-04-10T09:21:17.700Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-10T09:21:17.700Z] ---> d15ba79007b5 [2022-04-10T09:21:17.700Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T09:21:17.700Z] ---> Running in 49f1f86a79a5 [2022-04-10T09:21:17.708Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T09:21:36.031Z] provisioning config files... [2022-04-10T09:21:36.052Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config9032428576731748627tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T09:21:36.414Z] ---> docker-login.sh [2022-04-10T09:21:36.414Z] nexus3.edgexfoundry.org:10001 [2022-04-10T09:21:37.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:21:37.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:21:37.287Z] Configure a credential helper to remove this warning. See [2022-04-10T09:21:37.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:21:37.287Z] [2022-04-10T09:21:37.287Z] Login Succeeded [2022-04-10T09:21:37.287Z] nexus3.edgexfoundry.org:10002 [2022-04-10T09:21:37.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:21:37.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:21:37.836Z] Configure a credential helper to remove this warning. See [2022-04-10T09:21:37.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:21:37.836Z] [2022-04-10T09:21:37.836Z] Login Succeeded [2022-04-10T09:21:37.836Z] nexus3.edgexfoundry.org:10003 [2022-04-10T09:21:38.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:21:38.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:21:38.109Z] Configure a credential helper to remove this warning. See [2022-04-10T09:21:38.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:21:38.109Z] [2022-04-10T09:21:38.109Z] Login Succeeded [2022-04-10T09:21:38.109Z] nexus3.edgexfoundry.org:10004 [2022-04-10T09:21:38.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:21:38.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:21:38.706Z] Configure a credential helper to remove this warning. See [2022-04-10T09:21:38.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:21:38.706Z] [2022-04-10T09:21:38.706Z] Login Succeeded [2022-04-10T09:21:38.706Z] docker.io [2022-04-10T09:21:38.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:21:39.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:21:39.251Z] Configure a credential helper to remove this warning. See [2022-04-10T09:21:39.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:21:39.251Z] [2022-04-10T09:21:39.251Z] Login Succeeded [2022-04-10T09:21:39.251Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T09:21:39.269Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-10T09:21:39.536Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T09:21:39.549Z] ========================================================= [2022-04-10T09:21:39.549Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-10T09:21:39.549Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-10T09:21:39.895Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-10T09:21:40.167Z] Sending build context to Docker daemon 5.629MB [2022-04-10T09:21:40.167Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T09:21:40.167Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-10T09:21:40.442Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-10T09:21:40.442Z] 9b3977197b4f: Pulling fs layer [2022-04-10T09:21:40.442Z] 1a89e8eeedd5: Pulling fs layer [2022-04-10T09:21:40.442Z] 94645a83ff95: Pulling fs layer [2022-04-10T09:21:40.442Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-10T09:21:40.442Z] 0c92f367c5e7: Pulling fs layer [2022-04-10T09:21:40.442Z] f7c0051592d6: Pulling fs layer [2022-04-10T09:21:40.442Z] a227ed2f7395: Pulling fs layer [2022-04-10T09:21:40.442Z] 7b1c46037f91: Pulling fs layer [2022-04-10T09:21:40.442Z] f7c0051592d6: Waiting [2022-04-10T09:21:40.442Z] a227ed2f7395: Waiting [2022-04-10T09:21:40.442Z] 7b1c46037f91: Waiting [2022-04-10T09:21:40.442Z] 3f3a8bcf1eab: Waiting [2022-04-10T09:21:40.442Z] 0c92f367c5e7: Waiting [2022-04-10T09:21:40.442Z] 94645a83ff95: Download complete [2022-04-10T09:21:40.442Z] 1a89e8eeedd5: Verifying Checksum [2022-04-10T09:21:40.442Z] 1a89e8eeedd5: Download complete [2022-04-10T09:21:40.442Z] 0c92f367c5e7: Verifying Checksum [2022-04-10T09:21:40.442Z] 0c92f367c5e7: Download complete [2022-04-10T09:21:40.442Z] f7c0051592d6: Verifying Checksum [2022-04-10T09:21:40.442Z] f7c0051592d6: Download complete [2022-04-10T09:21:40.442Z] a227ed2f7395: Verifying Checksum [2022-04-10T09:21:40.442Z] a227ed2f7395: Download complete [2022-04-10T09:21:40.442Z] 9b3977197b4f: Download complete [2022-04-10T09:21:41.440Z] 9b3977197b4f: Pull complete [2022-04-10T09:21:41.721Z] 1a89e8eeedd5: Pull complete [2022-04-10T09:21:42.321Z] 94645a83ff95: Pull complete [2022-04-10T09:21:42.595Z] 7b1c46037f91: Verifying Checksum [2022-04-10T09:21:42.595Z] 7b1c46037f91: Download complete [2022-04-10T09:21:43.190Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-10T09:21:43.190Z] 3f3a8bcf1eab: Download complete [2022-04-10T09:21:55.586Z] 3f3a8bcf1eab: Pull complete [2022-04-10T09:21:55.586Z] 0c92f367c5e7: Pull complete [2022-04-10T09:21:55.586Z] f7c0051592d6: Pull complete [2022-04-10T09:21:55.586Z] a227ed2f7395: Pull complete [2022-04-10T09:21:56.470Z] Removing intermediate container 49f1f86a79a5 [2022-04-10T09:21:56.470Z] ---> 2e0aabab9805 [2022-04-10T09:21:56.470Z] Step 10/11 : COPY . . [2022-04-10T09:21:56.470Z] ---> a1e5acf4b108 [2022-04-10T09:21:56.470Z] Step 11/11 : RUN ${MAKE} [2022-04-10T09:21:56.470Z] ---> Running in d18b947659de [2022-04-10T09:21:56.470Z] Removing intermediate container d18b947659de [2022-04-10T09:21:56.470Z] ---> 54f444b2862b [2022-04-10T09:21:56.470Z] [Warning] One or more build-args [MAKE] were not consumed [2022-04-10T09:21:56.470Z] Successfully built 54f444b2862b [2022-04-10T09:21:56.470Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T09:21:56.769Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-10T09:21:56.769Z] . [Pipeline] withDockerContainer [2022-04-10T09:21:56.836Z] prd-ubuntu20.04-docker-8c-8g-11873 does not seem to be running inside a container [2022-04-10T09:21:56.874Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-24 -v /w/workspace/edgexfoundry_device-gpio_PR-24:/w/workspace/edgexfoundry_device-gpio_PR-24:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-24@tmp:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-10T09:21:57.250Z] $ docker top 272f37b9ffd2c53345e9ba33d933ab1d841f6a7eee3c8a443bd8c36f8302d23b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T09:21:57.609Z] + go version [2022-04-10T09:21:57.609Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-10T09:21:57.622Z] $ docker stop --time=1 272f37b9ffd2c53345e9ba33d933ab1d841f6a7eee3c8a443bd8c36f8302d23b [2022-04-10T09:21:58.925Z] $ docker rm -f 272f37b9ffd2c53345e9ba33d933ab1d841f6a7eee3c8a443bd8c36f8302d23b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T09:21:59.343Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-10T09:21:59.343Z] . [Pipeline] withDockerContainer [2022-04-10T09:21:59.412Z] prd-ubuntu20.04-docker-8c-8g-11873 does not seem to be running inside a container [2022-04-10T09:21:59.449Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-24 -v /w/workspace/edgexfoundry_device-gpio_PR-24:/w/workspace/edgexfoundry_device-gpio_PR-24:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-24@tmp:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-10T09:21:59.818Z] $ docker top 9a8c606e007eafeb6a5ab4a567e7393cc833917ad491b839cc25c25c3301fec9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-10T09:22:00.189Z] + make test [2022-04-10T09:22:00.189Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-10T09:22:00.449Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-04-10T09:22:02.302Z] 7b1c46037f91: Pull complete [2022-04-10T09:22:02.302Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-10T09:22:02.302Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-10T09:22:02.302Z] ---> f79e39bc4007 [2022-04-10T09:22:02.302Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T09:22:03.288Z] ---> Running in fa6d48e9d968 [2022-04-10T09:22:03.288Z] Removing intermediate container fa6d48e9d968 [2022-04-10T09:22:03.288Z] ---> 31032249a1b1 [2022-04-10T09:22:03.288Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T09:22:03.569Z] ---> Running in 2a2235de9607 [2022-04-10T09:22:03.843Z] Removing intermediate container 2a2235de9607 [2022-04-10T09:22:03.843Z] ---> 843f40e718fd [2022-04-10T09:22:03.843Z] Step 5/11 : WORKDIR /device-gpio [2022-04-10T09:22:03.843Z] ---> Running in 84b67562af73 [2022-04-10T09:22:04.120Z] Removing intermediate container 84b67562af73 [2022-04-10T09:22:04.120Z] ---> c6addccca3e1 [2022-04-10T09:22:04.120Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T09:22:04.120Z] ---> Running in 9d299e268236 [2022-04-10T09:22:06.105Z] Removing intermediate container 9d299e268236 [2022-04-10T09:22:06.105Z] ---> 930c123de2f9 [2022-04-10T09:22:06.105Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T09:22:06.105Z] ---> Running in 9772f8aeee20 [2022-04-10T09:22:07.087Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-04-10T09:22:07.087Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-04-10T09:22:07.090Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T09:22:08.068Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T09:22:09.050Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-10T09:22:09.050Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-10T09:22:09.050Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-10T09:22:09.327Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-10T09:22:09.327Z] Executing busybox-1.34.1-r3.trigger [2022-04-10T09:22:09.327Z] OK: 224 MiB in 56 packages [2022-04-10T09:22:10.316Z] Removing intermediate container 9772f8aeee20 [2022-04-10T09:22:10.316Z] ---> b20148e9deeb [2022-04-10T09:22:10.316Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-10T09:22:10.916Z] ---> 7ffba02a737b [2022-04-10T09:22:10.916Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T09:22:10.916Z] ---> Running in 568fbf246b23 [2022-04-10T09:22:11.283Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-10T09:22:14.578Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-10T09:22:14.578Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-10T09:22:14.578Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-10T09:22:14.589Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-10T09:22:14.598Z] $ docker stop --time=1 9a8c606e007eafeb6a5ab4a567e7393cc833917ad491b839cc25c25c3301fec9 [2022-04-10T09:22:16.336Z] $ docker rm -f 9a8c606e007eafeb6a5ab4a567e7393cc833917ad491b839cc25c25c3301fec9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T09:22:16.757Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-10T09:22:16.789Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-10T09:22:17.749Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-10T09:22:18.038Z] + ls -al . [2022-04-10T09:22:18.038Z] total 188 [2022-04-10T09:22:18.038Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 10 09:22 . [2022-04-10T09:22:18.038Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 09:20 .. [2022-04-10T09:22:18.038Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 10 09:20 .dockerignore [2022-04-10T09:22:18.038Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 09:20 .git [2022-04-10T09:22:18.038Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 09:20 .github [2022-04-10T09:22:18.038Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 10 09:20 .gitignore [2022-04-10T09:22:18.038Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 09:20 .golangci.yml [2022-04-10T09:22:18.038Z] drwx------ 3 jenkins jenkins 4096 Apr 10 09:21 .semver [2022-04-10T09:22:18.038Z] -rw-rw-r-- 1 jenkins jenkins 7772 Apr 10 09:20 Attribution.txt [2022-04-10T09:22:18.038Z] -rw-rw-r-- 1 jenkins jenkins 1846 Apr 10 09:20 Dockerfile [2022-04-10T09:22:18.038Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 09:20 GOVERNANCE.md [2022-04-10T09:22:18.038Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 10 09:20 Jenkinsfile [2022-04-10T09:22:18.038Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 09:20 LICENSE [2022-04-10T09:22:18.038Z] -rw-rw-r-- 1 jenkins jenkins 1876 Apr 10 09:20 Makefile [2022-04-10T09:22:18.038Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 10 09:20 OWNERS.md [2022-04-10T09:22:18.038Z] -rw-rw-r-- 1 jenkins jenkins 9578 Apr 10 09:20 README.md [2022-04-10T09:22:18.038Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 09:21 VERSION [2022-04-10T09:22:18.038Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 09:20 bin [2022-04-10T09:22:18.038Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:20 cmd [2022-04-10T09:22:18.038Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 10 09:22 coverage.out [2022-04-10T09:22:18.038Z] -rw-rw-r-- 1 jenkins jenkins 2794 Apr 10 09:20 go.mod [2022-04-10T09:22:18.038Z] -rw-rw-r-- 1 jenkins jenkins 70652 Apr 10 09:20 go.sum [2022-04-10T09:22:18.038Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:20 internal [2022-04-10T09:22:18.038Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:20 snap [2022-04-10T09:22:18.038Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 10 09:20 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-10T09:22:18.345Z] + 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=f1b39a6ee35ded058d2807cd415535bfab826972 --label arch=amd64 --label version=0.0.0 . [2022-04-10T09:22:18.345Z] Sending build context to Docker daemon 11.1MB [2022-04-10T09:22:18.345Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T09:22:18.345Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-10T09:22:18.345Z] ---> 54f444b2862b [2022-04-10T09:22:18.345Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T09:22:18.605Z] ---> Running in b3230b2e4f7b [2022-04-10T09:22:18.605Z] Removing intermediate container b3230b2e4f7b [2022-04-10T09:22:18.605Z] ---> 9752216f4f1c [2022-04-10T09:22:18.605Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T09:22:18.605Z] ---> Running in b49e35e57729 [2022-04-10T09:22:18.605Z] Removing intermediate container b49e35e57729 [2022-04-10T09:22:18.605Z] ---> 0bde4e2e01b3 [2022-04-10T09:22:18.605Z] Step 5/25 : WORKDIR /device-gpio [2022-04-10T09:22:18.866Z] ---> Running in e34162af5018 [2022-04-10T09:22:18.866Z] Removing intermediate container e34162af5018 [2022-04-10T09:22:18.866Z] ---> 0504a233171c [2022-04-10T09:22:18.866Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T09:22:18.866Z] ---> Running in 7a234aec9a4e [2022-04-10T09:22:19.442Z] Removing intermediate container 7a234aec9a4e [2022-04-10T09:22:19.442Z] ---> dd125daec339 [2022-04-10T09:22:19.442Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T09:22:19.442Z] ---> Running in 60e887d4ffa5 [2022-04-10T09:22:19.702Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T09:22:20.642Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T09:22:20.902Z] OK: 224 MiB in 56 packages [2022-04-10T09:22:21.162Z] Removing intermediate container 60e887d4ffa5 [2022-04-10T09:22:21.162Z] ---> 6eb7ad45ecae [2022-04-10T09:22:21.162Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-10T09:22:21.423Z] ---> a3b825cd3b5b [2022-04-10T09:22:21.423Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T09:22:21.423Z] ---> Running in 66e3dbda03f7 [2022-04-10T09:22:21.993Z] Removing intermediate container 66e3dbda03f7 [2022-04-10T09:22:21.993Z] ---> ffb19a4e4f52 [2022-04-10T09:22:21.993Z] Step 10/25 : COPY . . [2022-04-10T09:22:22.565Z] ---> dece149b174b [2022-04-10T09:22:22.565Z] Step 11/25 : RUN ${MAKE} [2022-04-10T09:22:22.565Z] ---> Running in 4b01016873f3 [2022-04-10T09:22:23.136Z] Removing intermediate container 4b01016873f3 [2022-04-10T09:22:23.136Z] ---> d8d3ac5cd3e1 [2022-04-10T09:22:23.136Z] Step 12/25 : FROM alpine:3.15 [2022-04-10T09:22:23.719Z] 3.15: Pulling from library/alpine [2022-04-10T09:22:23.719Z] df9b9388f04a: Pulling fs layer [2022-04-10T09:22:23.980Z] df9b9388f04a: Download complete [2022-04-10T09:22:23.980Z] df9b9388f04a: Pull complete [2022-04-10T09:22:23.980Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-04-10T09:22:23.980Z] Status: Downloaded newer image for alpine:3.15 [2022-04-10T09:22:23.980Z] ---> 0ac33e5f5afa [2022-04-10T09:22:23.980Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-04-10T09:22:24.241Z] ---> Running in fc50a0068f83 [2022-04-10T09:22:24.241Z] Removing intermediate container fc50a0068f83 [2022-04-10T09:22:24.241Z] ---> aee1da0f0b98 [2022-04-10T09:22:24.241Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T09:22:24.241Z] ---> Running in 72c7230b9468 [2022-04-10T09:22:24.813Z] Removing intermediate container 72c7230b9468 [2022-04-10T09:22:24.813Z] ---> 9f3e19c9b105 [2022-04-10T09:22:24.813Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-10T09:22:24.813Z] ---> Running in 331e38bb9150 [2022-04-10T09:22:25.074Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T09:22:26.020Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T09:22:26.280Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-04-10T09:22:26.541Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-10T09:22:26.541Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-04-10T09:22:26.541Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-10T09:22:26.799Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-10T09:22:26.799Z] Executing busybox-1.34.1-r5.trigger [2022-04-10T09:22:26.799Z] OK: 8 MiB in 19 packages [2022-04-10T09:22:27.067Z] Removing intermediate container 331e38bb9150 [2022-04-10T09:22:27.067Z] ---> b22db21f40f0 [2022-04-10T09:22:27.067Z] Step 16/25 : WORKDIR / [2022-04-10T09:22:27.327Z] ---> Running in 41f9fff78326 [2022-04-10T09:22:27.327Z] Removing intermediate container 41f9fff78326 [2022-04-10T09:22:27.327Z] ---> b54f3d0a9c50 [2022-04-10T09:22:27.327Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-04-10T09:22:27.589Z] ---> be952e6bdf16 [2022-04-10T09:22:27.589Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-04-10T09:22:27.589Z] ---> c0a4910ce004 [2022-04-10T09:22:27.589Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-04-10T09:22:27.848Z] ---> e35df14c40e7 [2022-04-10T09:22:27.848Z] Step 20/25 : EXPOSE 59910 [2022-04-10T09:22:27.848Z] ---> Running in d8d23bb29eb5 [2022-04-10T09:22:27.848Z] Removing intermediate container d8d23bb29eb5 [2022-04-10T09:22:27.848Z] ---> 16c350f9b1f3 [2022-04-10T09:22:27.848Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-04-10T09:22:27.848Z] ---> Running in 24eef72107c5 [2022-04-10T09:22:28.108Z] Removing intermediate container 24eef72107c5 [2022-04-10T09:22:28.108Z] ---> f37c2236f2b0 [2022-04-10T09:22:28.108Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-10T09:22:28.108Z] ---> Running in 92e462ade3dc [2022-04-10T09:22:28.108Z] Removing intermediate container 92e462ade3dc [2022-04-10T09:22:28.108Z] ---> de3c693de81f [2022-04-10T09:22:28.108Z] Step 23/25 : LABEL arch=amd64 [2022-04-10T09:22:28.108Z] ---> Running in 9b791896435e [2022-04-10T09:22:28.368Z] Removing intermediate container 9b791896435e [2022-04-10T09:22:28.368Z] ---> 4a073a11d790 [2022-04-10T09:22:28.368Z] Step 24/25 : LABEL git_sha=f1b39a6ee35ded058d2807cd415535bfab826972 [2022-04-10T09:22:28.368Z] ---> Running in e12dd78e0e73 [2022-04-10T09:22:28.368Z] Removing intermediate container e12dd78e0e73 [2022-04-10T09:22:28.368Z] ---> 0da3c4d4970e [2022-04-10T09:22:28.368Z] Step 25/25 : LABEL version=0.0.0 [2022-04-10T09:22:28.368Z] ---> Running in 07cd274c9dd3 [2022-04-10T09:22:28.628Z] Removing intermediate container 07cd274c9dd3 [2022-04-10T09:22:28.628Z] ---> 8af3f2ab307b [2022-04-10T09:22:28.628Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-04-10T09:22:28.628Z] Successfully built 8af3f2ab307b [2022-04-10T09:22:28.628Z] Successfully tagged device-gpio:latest [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] sh [2022-04-10T09:22:29.050Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T09:22:29.051Z] [2022-04-10T09:22:29.051Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T09:22:29.350Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T09:22:29.350Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-10T09:22:29.350Z] 5eb5b503b376: Pulling fs layer [2022-04-10T09:22:29.350Z] 5c69ac0246d0: Pulling fs layer [2022-04-10T09:22:29.350Z] ec43610c2a17: Pulling fs layer [2022-04-10T09:22:29.350Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-10T09:22:29.350Z] 33b1e0a273af: Pulling fs layer [2022-04-10T09:22:29.350Z] 5d3b04190fa2: Pulling fs layer [2022-04-10T09:22:29.350Z] 2f39f015ded8: Pulling fs layer [2022-04-10T09:22:29.350Z] 3a2ae6a8a46f: Waiting [2022-04-10T09:22:29.350Z] 33b1e0a273af: Waiting [2022-04-10T09:22:29.350Z] 5d3b04190fa2: Waiting [2022-04-10T09:22:29.350Z] 2f39f015ded8: Waiting [2022-04-10T09:22:29.350Z] 5c69ac0246d0: Verifying Checksum [2022-04-10T09:22:29.350Z] 5c69ac0246d0: Download complete [2022-04-10T09:22:29.350Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-10T09:22:29.350Z] 3a2ae6a8a46f: Download complete [2022-04-10T09:22:29.350Z] 33b1e0a273af: Verifying Checksum [2022-04-10T09:22:29.350Z] 33b1e0a273af: Download complete [2022-04-10T09:22:29.350Z] ec43610c2a17: Verifying Checksum [2022-04-10T09:22:29.350Z] ec43610c2a17: Download complete [2022-04-10T09:22:29.350Z] 5d3b04190fa2: Verifying Checksum [2022-04-10T09:22:29.350Z] 5d3b04190fa2: Download complete [2022-04-10T09:22:29.609Z] 5eb5b503b376: Verifying Checksum [2022-04-10T09:22:29.609Z] 5eb5b503b376: Download complete [2022-04-10T09:22:30.177Z] 2f39f015ded8: Download complete [2022-04-10T09:22:30.746Z] 5eb5b503b376: Pull complete [2022-04-10T09:22:31.005Z] 5c69ac0246d0: Pull complete [2022-04-10T09:22:31.265Z] ec43610c2a17: Pull complete [2022-04-10T09:22:31.525Z] 3a2ae6a8a46f: Pull complete [2022-04-10T09:22:31.784Z] 33b1e0a273af: Pull complete [2022-04-10T09:22:31.784Z] 5d3b04190fa2: Pull complete [2022-04-10T09:22:35.993Z] 2f39f015ded8: Pull complete [2022-04-10T09:22:35.993Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-10T09:22:35.993Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T09:22:35.993Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-10T09:22:36.060Z] prd-ubuntu20.04-docker-8c-8g-11873 does not seem to be running inside a container [2022-04-10T09:22:36.100Z] $ 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-24 -v /w/workspace/edgexfoundry_device-gpio_PR-24:/w/workspace/edgexfoundry_device-gpio_PR-24:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-24@tmp:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-10T09:22:37.978Z] $ docker top b78e8ef7ec340347bedf9653240240f35e72316d1e2c4b8f2551ebe3d3621669 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T09:22:38.444Z] ---> job-cost.sh [2022-04-10T09:22:38.444Z] lf-activate-venv: SKIPPING [2022-04-10T09:22:38.444Z] INFO: No Stack... [2022-04-10T09:22:39.016Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-10T09:22:39.276Z] INFO: Archiving Costs [Pipeline] sh [2022-04-10T09:22:39.571Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-24/archives/cost.csv [2022-04-10T09:22:39.571Z] + cut -d, -f6 [Pipeline] lock [2022-04-10T09:22:39.585Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-24-2-stack-cost] [2022-04-10T09:22:39.606Z] Resource [jenkins-edgexfoundry-device-gpio-PR-24-2-stack-cost] did not exist. Created. [2022-04-10T09:22:39.606Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-24-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-10T09:22:39.932Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-10T09:22:39.964Z] Stashed 1 file(s) [Pipeline] } [2022-04-10T09:22:39.971Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-24-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-10T09:22:39.993Z] $ docker stop --time=1 b78e8ef7ec340347bedf9653240240f35e72316d1e2c4b8f2551ebe3d3621669 [2022-04-10T09:22:41.189Z] $ docker rm -f b78e8ef7ec340347bedf9653240240f35e72316d1e2c4b8f2551ebe3d3621669 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-10T09:23:32.764Z] Removing intermediate container 568fbf246b23 [2022-04-10T09:23:32.764Z] ---> 2899bbc01aa5 [2022-04-10T09:23:32.764Z] Step 10/11 : COPY . . [2022-04-10T09:23:32.764Z] ---> 8c59bb3d72b6 [2022-04-10T09:23:32.764Z] Step 11/11 : RUN ${MAKE} [2022-04-10T09:23:32.764Z] ---> Running in 76a17d028b73 [2022-04-10T09:23:33.050Z] Removing intermediate container 76a17d028b73 [2022-04-10T09:23:33.050Z] ---> c64a2b40bdce [2022-04-10T09:23:33.050Z] [Warning] One or more build-args [MAKE] were not consumed [2022-04-10T09:23:33.050Z] Successfully built c64a2b40bdce [2022-04-10T09:23:33.050Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T09:23:33.404Z] + docker inspect -f . ci-base-image-arm64 [2022-04-10T09:23:33.404Z] . [Pipeline] withDockerContainer [2022-04-10T09:23:33.656Z] prd-ubuntu20.04-docker-arm64-4c-16g-11867 does not seem to be running inside a container [2022-04-10T09:23:33.743Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-10T09:23:35.126Z] $ docker top 73208caef5f757f014d41bf896606578c6efe9e6de2ae822eaf3af002b558a90 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T09:23:36.068Z] + go version [2022-04-10T09:23:36.068Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-10T09:23:36.096Z] $ docker stop --time=1 73208caef5f757f014d41bf896606578c6efe9e6de2ae822eaf3af002b558a90 [2022-04-10T09:23:37.797Z] $ docker rm -f 73208caef5f757f014d41bf896606578c6efe9e6de2ae822eaf3af002b558a90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T09:23:38.404Z] + docker inspect -f . ci-base-image-arm64 [2022-04-10T09:23:38.404Z] . [Pipeline] withDockerContainer [2022-04-10T09:23:38.650Z] prd-ubuntu20.04-docker-arm64-4c-16g-11867 does not seem to be running inside a container [2022-04-10T09:23:38.742Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-10T09:23:40.059Z] $ docker top 37c0e6d57778bf4674fae0297b51214f18202da9a2897e63bbf5f14a08f9f30f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-10T09:23:41.019Z] + make test [2022-04-10T09:23:41.019Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-10T09:23:42.473Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-04-10T09:24:39.239Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-04-10T09:24:39.239Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-04-10T09:24:39.239Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-10T09:24:39.239Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-10T09:24:51.701Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-10T09:24:51.701Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-10T09:24:51.701Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-10T09:24:53.164Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-10T09:24:53.185Z] $ docker stop --time=1 37c0e6d57778bf4674fae0297b51214f18202da9a2897e63bbf5f14a08f9f30f [2022-04-10T09:24:54.973Z] $ docker rm -f 37c0e6d57778bf4674fae0297b51214f18202da9a2897e63bbf5f14a08f9f30f [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T09:24:55.823Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-10T09:24:55.846Z] Warning: overwriting stash ‘coverage-report’ [2022-04-10T09:24:56.344Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T09:24:56.753Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-10T09:24:57.089Z] + ls -al . [2022-04-10T09:24:57.089Z] total 184 [2022-04-10T09:24:57.089Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 09:24 . [2022-04-10T09:24:57.089Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 09:21 .. [2022-04-10T09:24:57.089Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 10 09:21 .dockerignore [2022-04-10T09:24:57.089Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 09:21 .git [2022-04-10T09:24:57.089Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 09:21 .github [2022-04-10T09:24:57.089Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 10 09:21 .gitignore [2022-04-10T09:24:57.089Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 09:21 .golangci.yml [2022-04-10T09:24:57.089Z] -rw-rw-r-- 1 jenkins jenkins 7772 Apr 10 09:21 Attribution.txt [2022-04-10T09:24:57.089Z] -rw-rw-r-- 1 jenkins jenkins 1846 Apr 10 09:21 Dockerfile [2022-04-10T09:24:57.089Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 09:21 GOVERNANCE.md [2022-04-10T09:24:57.089Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 10 09:21 Jenkinsfile [2022-04-10T09:24:57.089Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 09:21 LICENSE [2022-04-10T09:24:57.089Z] -rw-rw-r-- 1 jenkins jenkins 1876 Apr 10 09:21 Makefile [2022-04-10T09:24:57.089Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 10 09:21 OWNERS.md [2022-04-10T09:24:57.089Z] -rw-rw-r-- 1 jenkins jenkins 9578 Apr 10 09:21 README.md [2022-04-10T09:24:57.089Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 09:21 VERSION [2022-04-10T09:24:57.089Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 09:21 bin [2022-04-10T09:24:57.089Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:21 cmd [2022-04-10T09:24:57.089Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 10 09:23 coverage.out [2022-04-10T09:24:57.089Z] -rw-rw-r-- 1 jenkins jenkins 2794 Apr 10 09:21 go.mod [2022-04-10T09:24:57.089Z] -rw-rw-r-- 1 jenkins jenkins 70652 Apr 10 09:21 go.sum [2022-04-10T09:24:57.089Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:21 internal [2022-04-10T09:24:57.089Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:21 snap [2022-04-10T09:24:57.089Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 10 09:21 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-10T09:24:57.440Z] + 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=94adb527053bce16d38bbd2a78118972e9fb1c1f --label arch=arm64 --label version=0.0.0 . [2022-04-10T09:24:57.714Z] Sending build context to Docker daemon 5.63MB [2022-04-10T09:24:57.714Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T09:24:57.714Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-10T09:24:57.714Z] ---> c64a2b40bdce [2022-04-10T09:24:57.714Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T09:24:57.998Z] ---> Running in a35e29e90109 [2022-04-10T09:24:58.271Z] Removing intermediate container a35e29e90109 [2022-04-10T09:24:58.271Z] ---> 3824aec58f33 [2022-04-10T09:24:58.271Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T09:24:58.271Z] ---> Running in 92da7e4885e1 [2022-04-10T09:24:58.543Z] Removing intermediate container 92da7e4885e1 [2022-04-10T09:24:58.543Z] ---> a642312bdc9c [2022-04-10T09:24:58.543Z] Step 5/25 : WORKDIR /device-gpio [2022-04-10T09:24:58.817Z] ---> Running in 121d1ecafa04 [2022-04-10T09:24:59.089Z] Removing intermediate container 121d1ecafa04 [2022-04-10T09:24:59.089Z] ---> d43c4591173c [2022-04-10T09:24:59.089Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T09:24:59.089Z] ---> Running in caa5df87a50f [2022-04-10T09:25:01.061Z] Removing intermediate container caa5df87a50f [2022-04-10T09:25:01.061Z] ---> cbd26574faae [2022-04-10T09:25:01.061Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T09:25:01.061Z] ---> Running in 75617e780c04 [2022-04-10T09:25:01.658Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T09:25:02.626Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T09:25:03.593Z] OK: 224 MiB in 56 packages [2022-04-10T09:25:04.184Z] Removing intermediate container 75617e780c04 [2022-04-10T09:25:04.184Z] ---> a2bd3a0ff2e9 [2022-04-10T09:25:04.184Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-10T09:25:04.779Z] ---> bd568d882e17 [2022-04-10T09:25:04.779Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T09:25:04.779Z] ---> Running in 79001a1bfffb [2022-04-10T09:25:06.753Z] Removing intermediate container 79001a1bfffb [2022-04-10T09:25:06.753Z] ---> 36e5bce2c277 [2022-04-10T09:25:06.753Z] Step 10/25 : COPY . . [2022-04-10T09:25:07.722Z] ---> d853566fc1ac [2022-04-10T09:25:07.722Z] Step 11/25 : RUN ${MAKE} [2022-04-10T09:25:07.722Z] ---> Running in 6b3bdf034358 [2022-04-10T09:25:09.146Z] Removing intermediate container 6b3bdf034358 [2022-04-10T09:25:09.146Z] ---> 212dab8ebe80 [2022-04-10T09:25:09.146Z] Step 12/25 : FROM alpine:3.15 [2022-04-10T09:25:09.736Z] 3.15: Pulling from library/alpine [2022-04-10T09:25:10.007Z] 9981e73032c8: Pulling fs layer [2022-04-10T09:25:10.007Z] 9981e73032c8: Verifying Checksum [2022-04-10T09:25:10.007Z] 9981e73032c8: Download complete [2022-04-10T09:25:10.605Z] 9981e73032c8: Pull complete [2022-04-10T09:25:10.605Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-04-10T09:25:10.605Z] Status: Downloaded newer image for alpine:3.15 [2022-04-10T09:25:10.605Z] ---> 3fb3c9af89a9 [2022-04-10T09:25:10.605Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-04-10T09:25:10.878Z] ---> Running in 051a3a104556 [2022-04-10T09:25:11.149Z] Removing intermediate container 051a3a104556 [2022-04-10T09:25:11.149Z] ---> 626d2b053091 [2022-04-10T09:25:11.149Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T09:25:11.149Z] ---> Running in 2baa86d7abd0 [2022-04-10T09:25:12.580Z] Removing intermediate container 2baa86d7abd0 [2022-04-10T09:25:12.580Z] ---> c093c5e32478 [2022-04-10T09:25:12.580Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-10T09:25:12.854Z] ---> Running in ff0903c23643 [2022-04-10T09:25:13.826Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T09:25:14.416Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T09:25:15.388Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-04-10T09:25:15.388Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-10T09:25:15.661Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-04-10T09:25:15.661Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-10T09:25:15.936Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-10T09:25:15.936Z] Executing busybox-1.34.1-r5.trigger [2022-04-10T09:25:15.936Z] OK: 8 MiB in 19 packages [2022-04-10T09:25:16.922Z] Removing intermediate container ff0903c23643 [2022-04-10T09:25:16.922Z] ---> 30829da4d64e [2022-04-10T09:25:16.922Z] Step 16/25 : WORKDIR / [2022-04-10T09:25:16.922Z] ---> Running in d8e8ee6f8675 [2022-04-10T09:25:17.194Z] Removing intermediate container d8e8ee6f8675 [2022-04-10T09:25:17.194Z] ---> 53e72b401d5d [2022-04-10T09:25:17.194Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-04-10T09:25:17.787Z] ---> 870c6a2f5d6e [2022-04-10T09:25:17.787Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-04-10T09:25:18.380Z] ---> 2dca3d9560ff [2022-04-10T09:25:18.380Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-04-10T09:25:18.976Z] ---> c4b775ab0c52 [2022-04-10T09:25:18.976Z] Step 20/25 : EXPOSE 59910 [2022-04-10T09:25:18.976Z] ---> Running in 3fc4f5cf0309 [2022-04-10T09:25:19.249Z] Removing intermediate container 3fc4f5cf0309 [2022-04-10T09:25:19.249Z] ---> 398dfc5abf61 [2022-04-10T09:25:19.249Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-04-10T09:25:19.249Z] ---> Running in 32647895dc72 [2022-04-10T09:25:19.520Z] Removing intermediate container 32647895dc72 [2022-04-10T09:25:19.520Z] ---> 519fcbcb548c [2022-04-10T09:25:19.520Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-10T09:25:19.520Z] ---> Running in f84c9167b80c [2022-04-10T09:25:20.112Z] Removing intermediate container f84c9167b80c [2022-04-10T09:25:20.112Z] ---> d01320d31c82 [2022-04-10T09:25:20.113Z] Step 23/25 : LABEL arch=arm64 [2022-04-10T09:25:20.113Z] ---> Running in 71e7b52b637d [2022-04-10T09:25:20.386Z] Removing intermediate container 71e7b52b637d [2022-04-10T09:25:20.386Z] ---> 8a89e177aed3 [2022-04-10T09:25:20.386Z] Step 24/25 : LABEL git_sha=94adb527053bce16d38bbd2a78118972e9fb1c1f [2022-04-10T09:25:20.386Z] ---> Running in 2eb945ec68dd [2022-04-10T09:25:20.660Z] Removing intermediate container 2eb945ec68dd [2022-04-10T09:25:20.660Z] ---> f7c3b0f46806 [2022-04-10T09:25:20.660Z] Step 25/25 : LABEL version=0.0.0 [2022-04-10T09:25:20.660Z] ---> Running in a8c371faf516 [2022-04-10T09:25:20.946Z] Removing intermediate container a8c371faf516 [2022-04-10T09:25:20.946Z] ---> e7d7a16e04ab [2022-04-10T09:25:20.946Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2022-04-10T09:25:21.218Z] Successfully built e7d7a16e04ab [2022-04-10T09:25:21.218Z] Successfully tagged device-gpio-arm64:latest [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] sh [2022-04-10T09:25:21.661Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T09:25:21.661Z] [2022-04-10T09:25:21.661Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-10T09:25:22.013Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T09:25:22.289Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-10T09:25:22.289Z] 8998bd30e6a1: Pulling fs layer [2022-04-10T09:25:22.289Z] 04944245beec: Pulling fs layer [2022-04-10T09:25:22.289Z] 699f458cf7ca: Pulling fs layer [2022-04-10T09:25:22.289Z] 765212b225bb: Pulling fs layer [2022-04-10T09:25:22.289Z] f23df028b6ca: Pulling fs layer [2022-04-10T09:25:22.289Z] d65c8cfc05b1: Pulling fs layer [2022-04-10T09:25:22.289Z] 2437ff75d9bd: Pulling fs layer [2022-04-10T09:25:22.289Z] f23df028b6ca: Waiting [2022-04-10T09:25:22.289Z] d65c8cfc05b1: Waiting [2022-04-10T09:25:22.289Z] 2437ff75d9bd: Waiting [2022-04-10T09:25:22.289Z] 765212b225bb: Waiting [2022-04-10T09:25:22.289Z] 04944245beec: Verifying Checksum [2022-04-10T09:25:22.289Z] 04944245beec: Download complete [2022-04-10T09:25:22.289Z] 765212b225bb: Verifying Checksum [2022-04-10T09:25:22.289Z] 765212b225bb: Download complete [2022-04-10T09:25:22.289Z] f23df028b6ca: Verifying Checksum [2022-04-10T09:25:22.289Z] f23df028b6ca: Download complete [2022-04-10T09:25:22.289Z] d65c8cfc05b1: Verifying Checksum [2022-04-10T09:25:22.289Z] d65c8cfc05b1: Download complete [2022-04-10T09:25:22.566Z] 699f458cf7ca: Verifying Checksum [2022-04-10T09:25:22.566Z] 699f458cf7ca: Download complete [2022-04-10T09:25:22.841Z] 8998bd30e6a1: Verifying Checksum [2022-04-10T09:25:22.841Z] 8998bd30e6a1: Download complete [2022-04-10T09:25:25.467Z] 2437ff75d9bd: Download complete [2022-04-10T09:25:27.465Z] 8998bd30e6a1: Pull complete [2022-04-10T09:25:27.741Z] 04944245beec: Pull complete [2022-04-10T09:25:29.178Z] 699f458cf7ca: Pull complete [2022-04-10T09:25:29.452Z] 765212b225bb: Pull complete [2022-04-10T09:25:30.436Z] f23df028b6ca: Pull complete [2022-04-10T09:25:30.708Z] d65c8cfc05b1: Pull complete [2022-04-10T09:25:45.845Z] 2437ff75d9bd: Pull complete [2022-04-10T09:25:46.117Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-10T09:25:46.117Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T09:25:46.117Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-10T09:25:46.342Z] prd-ubuntu20.04-docker-arm64-4c-16g-11867 does not seem to be running inside a container [2022-04-10T09:25:46.433Z] $ 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/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-10T09:25:49.097Z] $ docker top 20d8e50ccaa2502ac4df4336bd7e76fce780942d801054509bb2e7f19d66c21f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T09:25:50.045Z] ---> job-cost.sh [2022-04-10T09:25:50.045Z] lf-activate-venv: SKIPPING [2022-04-10T09:25:50.045Z] INFO: No Stack... [2022-04-10T09:25:50.638Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-10T09:25:51.619Z] INFO: Archiving Costs [Pipeline] sh [2022-04-10T09:25:52.289Z] + cut -d, -f6 [2022-04-10T09:25:52.289Z] + cat /w/workspace/device-gpio/2/archives/cost.csv [Pipeline] lock [2022-04-10T09:25:52.322Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-24-2-stack-cost] [2022-04-10T09:25:52.328Z] Resource [jenkins-edgexfoundry-device-gpio-PR-24-2-stack-cost] did not exist. Created. [2022-04-10T09:25:52.328Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-24-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-10T09:25:53.004Z] /w/workspace/device-gpio/2@tmp/durable-7b387756/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-10T09:25:53.686Z] + echo total: 0.550000011920929 [Pipeline] stash [2022-04-10T09:25:53.716Z] Warning: overwriting stash ‘stack-cost’ [2022-04-10T09:25:53.764Z] Stashed 1 file(s) [Pipeline] } [2022-04-10T09:25:53.772Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-24-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-10T09:25:53.800Z] $ docker stop --time=1 20d8e50ccaa2502ac4df4336bd7e76fce780942d801054509bb2e7f19d66c21f [2022-04-10T09:25:55.326Z] $ docker rm -f 20d8e50ccaa2502ac4df4336bd7e76fce780942d801054509bb2e7f19d66c21f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-10T09:25:55.869Z] provisioning config files... [2022-04-10T09:25:55.878Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/config1853784195745447400tmp [Pipeline] { [Pipeline] sh [2022-04-10T09:25:56.178Z] + set +x [2022-04-10T09:25:56.178Z] + curl -s https://codecov.io/bash [2022-04-10T09:25:56.178Z] + bash -s -- [2022-04-10T09:25:56.178Z] [2022-04-10T09:25:56.178Z] _____ _ [2022-04-10T09:25:56.178Z] / ____| | | [2022-04-10T09:25:56.178Z] | | ___ __| | ___ ___ _____ __ [2022-04-10T09:25:56.178Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-10T09:25:56.178Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-10T09:25:56.178Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-10T09:25:56.178Z] Bash-1.0.6 [2022-04-10T09:25:56.178Z] [2022-04-10T09:25:56.178Z] [2022-04-10T09:25:56.178Z] ==> git version 2.25.1 found [2022-04-10T09:25:56.178Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-10T09:25:56.178Z] Release-Date: 2020-01-08 [2022-04-10T09:25:56.178Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-10T09:25:56.178Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-10T09:25:56.178Z] ==> Jenkins CI detected. [2022-04-10T09:25:56.178Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-24 [2022-04-10T09:25:56.178Z] project root: . [2022-04-10T09:25:56.178Z] --> token set from env [2022-04-10T09:25:56.178Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-10T09:25:56.178Z] ==> Running gcov in . (disable via -X gcov) [2022-04-10T09:25:56.178Z] ==> Python coveragepy not found [2022-04-10T09:25:56.178Z] ==> Searching for coverage reports in: [2022-04-10T09:25:56.178Z] + . [2022-04-10T09:25:56.178Z] -> Found 1 reports [2022-04-10T09:25:56.178Z] ==> Detecting git/mercurial file structure [2022-04-10T09:25:56.178Z] ==> Reading reports [2022-04-10T09:25:56.178Z] + ./coverage.out bytes=10 [2022-04-10T09:25:56.178Z] ==> Appending adjustments [2022-04-10T09:25:56.178Z] https://docs.codecov.io/docs/fixing-reports [2022-04-10T09:25:56.439Z] + Found adjustments [2022-04-10T09:25:56.439Z] ==> Gzipping contents [2022-04-10T09:25:56.439Z] 4.0K /tmp/codecov.Qdc4HL.gz [2022-04-10T09:25:56.439Z] ==> Uploading reports [2022-04-10T09:25:56.439Z] url: https://codecov.io [2022-04-10T09:25:56.439Z] query: branch=PR-24&commit=f1b39a6ee35ded058d2807cd415535bfab826972&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-24%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=24&job=&cmd_args= [2022-04-10T09:25:56.439Z] -> Pinging Codecov [2022-04-10T09:25:56.439Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-24&commit=f1b39a6ee35ded058d2807cd415535bfab826972&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-24%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=24&job=&cmd_args= [2022-04-10T09:25:56.699Z] -> Uploading to [2022-04-10T09:25:56.699Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-10/3EC07B1A8CA8AF9BCAA0BB9F0134797F/f1b39a6ee35ded058d2807cd415535bfab826972/ea5d3583-b07d-43cd-a6c3-cbd5ac885b75.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220410T092556Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=26b0a798ee1f8531093b7beb4ee9c63114bc7d18ff1f9977947ad2ee81e5b2fa [2022-04-10T09:25:56.699Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-10T09:25:56.699Z] Dload Upload Total Spent Left Speed [2022-04-10T09:25:56.959Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 813 0 0 100 813 0 4004 --:--:-- --:--:-- --:--:-- 3985 100 813 0 0 100 813 0 3401 --:--:-- --:--:-- --:--:-- 3401 [2022-04-10T09:25:56.959Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/f1b39a6ee35ded058d2807cd415535bfab826972 [Pipeline] } [2022-04-10T09:25:56.968Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-10T09:25:57.774Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-24/archives ] [2022-04-10T09:25:57.774Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-24/archives [2022-04-10T09:25:57.774Z] total 16 [2022-04-10T09:25:57.774Z] drwxr-xr-x 3 root root 4096 Apr 10 09:22 . [2022-04-10T09:25:57.774Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 09:22 .. [2022-04-10T09:25:57.774Z] drwxr-xr-x 2 root root 4096 Apr 10 09:22 cost [2022-04-10T09:25:57.774Z] -rw-r--r-- 1 root root 81 Apr 10 09:22 cost.csv [2022-04-10T09:25:57.774Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-24/archives [2022-04-10T09:25:57.774Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-24/archives [2022-04-10T09:25:57.774Z] total 16 [2022-04-10T09:25:57.774Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 09:22 . [2022-04-10T09:25:57.774Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 09:22 .. [2022-04-10T09:25:57.774Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 09:22 cost [2022-04-10T09:25:57.774Z] -rw-r--r-- 1 jenkins jenkins 81 Apr 10 09:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-10T09:25:58.102Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T09:25:58.699Z] ---> package-listing.sh [2022-04-10T09:25:58.699Z] ++ facter osfamily [2022-04-10T09:25:58.699Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-10T09:25:58.958Z] + OS_FAMILY=debian [2022-04-10T09:25:58.958Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-24 [2022-04-10T09:25:58.958Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-10T09:25:58.958Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-10T09:25:58.958Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-10T09:25:58.958Z] + PACKAGES=/tmp/packages_start.txt [2022-04-10T09:25:58.958Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-24 ']' [2022-04-10T09:25:58.958Z] + PACKAGES=/tmp/packages_end.txt [2022-04-10T09:25:58.958Z] + case "${OS_FAMILY}" in [2022-04-10T09:25:58.958Z] + dpkg -l [2022-04-10T09:25:58.958Z] + grep '^ii' [2022-04-10T09:25:58.958Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-10T09:25:58.958Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-10T09:25:58.958Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-10T09:25:58.958Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-24 ']' [2022-04-10T09:25:58.958Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-24/archives/ [2022-04-10T09:25:58.958Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-24/archives/ [Pipeline] echo [2022-04-10T09:25:58.971Z] 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-24/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-10T09:25:59.252Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-10T09:25:59.813Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T09:25:59.813Z] . [Pipeline] withDockerContainer [2022-04-10T09:25:59.881Z] prd-ubuntu20.04-docker-8c-8g-11873 does not seem to be running inside a container [2022-04-10T09:25:59.918Z] $ 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-24/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-24 -v /w/workspace/edgexfoundry_device-gpio_PR-24:/w/workspace/edgexfoundry_device-gpio_PR-24:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-24@tmp:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-10T09:26:00.176Z] $ docker top e6e70439f227b26b2a9d31f010af08eabce90e8ed07583102e4abf0da1c2c273 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T09:26:00.534Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-10T09:26:00.827Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-10T09:26:01.118Z] + ls /var/log/sa-host [2022-04-10T09:26:01.118Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T09:26:01.358Z] provisioning config files... [2022-04-10T09:26:01.369Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/config2732638097375482487tmp [Pipeline] { [Pipeline] echo [2022-04-10T09:26:01.384Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T09:26:01.676Z] ---> create-netrc.sh [Pipeline] } [2022-04-10T09:26:01.685Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-10T09:26:02.027Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-10T09:26:02.039Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T09:26:02.331Z] ---> sudo-logs.sh [2022-04-10T09:26:02.331Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-10T09:26:02.363Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T09:26:02.656Z] ---> job-cost.sh [2022-04-10T09:26:02.656Z] lf-activate-venv: SKIPPING [2022-04-10T09:26:02.656Z] DEBUG: total: 0.2199999988079071 [2022-04-10T09:26:02.656Z] INFO: Retrieving Stack Cost... [2022-04-10T09:26:03.227Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-10T09:26:03.488Z] INFO: Archiving Costs [Pipeline] echo [2022-04-10T09:26:03.504Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T09:26:03.792Z] ---> logs-deploy.sh [2022-04-10T09:26:03.793Z] lf-activate-venv: SKIPPING [2022-04-10T09:26:03.793Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-24/2 [2022-04-10T09:26:03.793Z] INFO: archiving workspace using pattern(s): [2022-04-10T09:26:04.733Z] Archives upload complete. [2022-04-10T09:26:04.733Z] INFO: archiving logs to Nexus