Pull request #22 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-gpio Loading trusted files from base branch main at 7aa6e8d2ece6f8845c7be1a34beaad087fba176e rather than c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 Obtained Jenkinsfile from 7aa6e8d2ece6f8845c7be1a34beaad087fba176e 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-ssh16094077520036946089.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-ssh5217707013259907643.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-22/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-22/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4967348122470253654.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-22/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7005358275297419076.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh10519832107221241858.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-22/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-22/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14867788971135527727.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-10632 in /w/workspace/edgexfoundry_device-gpio_PR-22 [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-22 # 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 7aa6e8d2ece6f8845c7be1a34beaad087fba176e into PR head commit c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 Merge succeeded, producing c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 Checking out Revision c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 (PR-22) > 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/22/head:refs/remotes/origin/PR-22 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 # 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 7aa6e8d2ece6f8845c7be1a34beaad087fba176e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 # timeout=10 Commit message: "test(snap): add CI workflow, disable jenkins snap build" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-04T07:43:45.061Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-04T07:43:45.258Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-04T07:43:45.354Z] ========================================================= [2022-04-04T07:43:45.354Z] EdgeX Global Pipelines Version Info [2022-04-04T07:43:45.354Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-04T07:43:46.253Z] ------------------- [2022-04-04T07:43:46.253Z] stable info: [2022-04-04T07:43:46.253Z] ------------------- [2022-04-04T07:43:46.253Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-04T07:43:46.253Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-04T07:43:46.253Z] Message: update stable to v1.0.221 [2022-04-04T07:43:46.827Z] ------------------- [2022-04-04T07:43:46.827Z] experimental info: [2022-04-04T07:43:46.827Z] ------------------- [2022-04-04T07:43:46.827Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-04T07:43:46.827Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-04T07:43:46.827Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-04T07:43:47.089Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-04-04T07:43:47.128Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-04-04T07:43:47.168Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-04T07:43:47.206Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-04T07:43:47.250Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-04T07:43:47.290Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-04T07:43:47.333Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-04T07:43:47.375Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-04T07:43:47.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-04T07:43:47.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-04T07:43:47.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-04T07:43:47.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-04-04T07:43:47.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-04T07:43:47.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-04T07:43:47.706Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-04T07:43:47.745Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-04T07:43:47.784Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-04T07:43:47.826Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-04T07:43:47.861Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-04T07:43:47.895Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-04T07:43:47.930Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-04T07:43:47.973Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-04T07:43:48.005Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-04T07:43:48.041Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-04T07:43:48.080Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-04T07:43:48.114Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-04T07:43:48.150Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-22 [Pipeline] echo [2022-04-04T07:43:48.188Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-22 [Pipeline] echo [2022-04-04T07:43:48.224Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-22 [Pipeline] echo [2022-04-04T07:43:48.260Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 [Pipeline] echo [2022-04-04T07:43:48.297Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c625a46 [Pipeline] echo [2022-04-04T07:43:48.334Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T07:43:48.440Z] provisioning config files... [2022-04-04T07:43:48.455Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/config2253985816255887381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T07:43:48.801Z] ---> docker-login.sh [2022-04-04T07:43:48.801Z] nexus3.edgexfoundry.org:10001 [2022-04-04T07:43:49.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T07:43:49.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T07:43:49.327Z] Configure a credential helper to remove this warning. See [2022-04-04T07:43:49.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T07:43:49.327Z] [2022-04-04T07:43:49.327Z] Login Succeeded [2022-04-04T07:43:49.327Z] nexus3.edgexfoundry.org:10002 [2022-04-04T07:43:49.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T07:43:49.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T07:43:49.327Z] Configure a credential helper to remove this warning. See [2022-04-04T07:43:49.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T07:43:49.327Z] [2022-04-04T07:43:49.327Z] Login Succeeded [2022-04-04T07:43:49.327Z] nexus3.edgexfoundry.org:10003 [2022-04-04T07:43:49.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T07:43:49.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T07:43:49.590Z] Configure a credential helper to remove this warning. See [2022-04-04T07:43:49.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T07:43:49.590Z] [2022-04-04T07:43:49.590Z] Login Succeeded [2022-04-04T07:43:49.590Z] nexus3.edgexfoundry.org:10004 [2022-04-04T07:43:49.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T07:43:49.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T07:43:49.590Z] Configure a credential helper to remove this warning. See [2022-04-04T07:43:49.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T07:43:49.590Z] [2022-04-04T07:43:49.590Z] Login Succeeded [2022-04-04T07:43:49.590Z] docker.io [2022-04-04T07:43:49.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T07:43:50.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T07:43:50.113Z] Configure a credential helper to remove this warning. See [2022-04-04T07:43:50.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T07:43:50.113Z] [2022-04-04T07:43:50.113Z] Login Succeeded [2022-04-04T07:43:50.113Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T07:43:50.140Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-04T07:43:50.787Z] + git rev-list -1 --merges c625a4628d04d5db75e7e1cdcd2e8ca41966cf48~1..c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 [Pipeline] echo [2022-04-04T07:43:50.834Z] -----------> git rev-list -1 --merges c625a4628d04d5db75e7e1cdcd2e8ca41966cf48~1..c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 [false] [Pipeline] sh [2022-04-04T07:43:51.153Z] + git log --format=format:%s -1 c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 [Pipeline] echo [2022-04-04T07:43:51.190Z] ========================================================= [2022-04-04T07:43:51.190Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-04T07:43:51.190Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-04T07:43:51.622Z] + git log --format=format:%s -1 c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 [Pipeline] echo [2022-04-04T07:43:51.655Z] [semverPrep] GIT_COMMIT: c625a4628d04d5db75e7e1cdcd2e8ca41966cf48, Commit Message: test(snap): add CI workflow, disable jenkins snap build [Pipeline] echo [2022-04-04T07:43:51.687Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-04T07:43:52.154Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-04T07:43:52.154Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-04T07:43:52.154Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-04T07:43:52.154Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-04T07:43:52.154Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-04T07:43:52.154Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-04T07:43:52.154Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-04T07:43:52.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T07:43:52.618Z] [2022-04-04T07:43:52.618Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T07:43:52.963Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T07:43:52.964Z] latest: Pulling from edgex-devops/git-semver [2022-04-04T07:43:52.964Z] a0d0a0d46f8b: Pulling fs layer [2022-04-04T07:43:52.964Z] 3e5f54012d9b: Pulling fs layer [2022-04-04T07:43:52.964Z] 4c7163046ea9: Pulling fs layer [2022-04-04T07:43:52.964Z] 0c2d73faf560: Pulling fs layer [2022-04-04T07:43:52.964Z] 0c2d73faf560: Waiting [2022-04-04T07:43:52.964Z] 3e5f54012d9b: Verifying Checksum [2022-04-04T07:43:52.964Z] 3e5f54012d9b: Download complete [2022-04-04T07:43:52.964Z] a0d0a0d46f8b: Download complete [2022-04-04T07:43:52.964Z] 0c2d73faf560: Verifying Checksum [2022-04-04T07:43:52.964Z] 0c2d73faf560: Download complete [2022-04-04T07:43:52.964Z] 4c7163046ea9: Verifying Checksum [2022-04-04T07:43:52.964Z] 4c7163046ea9: Download complete [2022-04-04T07:43:53.224Z] a0d0a0d46f8b: Pull complete [2022-04-04T07:43:53.224Z] 3e5f54012d9b: Pull complete [2022-04-04T07:43:53.483Z] 4c7163046ea9: Pull complete [2022-04-04T07:43:53.745Z] 0c2d73faf560: Pull complete [2022-04-04T07:43:53.745Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-04T07:43:53.745Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T07:43:53.745Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-04T07:43:53.853Z] prd-ubuntu20.04-docker-8c-8g-10632 does not seem to be running inside a container [2022-04-04T07:43:53.895Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-22 -v /w/workspace/edgexfoundry_device-gpio_PR-22:/w/workspace/edgexfoundry_device-gpio_PR-22:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-22@tmp:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-04T07:43:54.589Z] $ docker top 03662caa633d00179a5c88b9a5bfdaf6350dce7f5cfd66dd9701f2a45357525d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-04T07:43:54.780Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-04T07:43:54.780Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-04T07:43:54.906Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-04T07:43:54.915Z] $ docker exec 03662caa633d00179a5c88b9a5bfdaf6350dce7f5cfd66dd9701f2a45357525d ssh-agent [2022-04-04T07:43:55.046Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdfIhbj/agent.14 [2022-04-04T07:43:55.046Z] SSH_AGENT_PID=20 [2022-04-04T07:43:55.055Z] Running ssh-add (command line suppressed) [2022-04-04T07:43:55.188Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-22@tmp/private_key_4302363540575092955.key (/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/private_key_4302363540575092955.key) [2022-04-04T07:43:55.201Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-04T07:43:55.539Z] + git tag --points-at HEAD [Pipeline] } [2022-04-04T07:43:55.569Z] $ docker exec --env ******** --env ******** 03662caa633d00179a5c88b9a5bfdaf6350dce7f5cfd66dd9701f2a45357525d ssh-agent -k [2022-04-04T07:43:55.678Z] unset SSH_AUTH_SOCK; [2022-04-04T07:43:55.679Z] unset SSH_AGENT_PID; [2022-04-04T07:43:55.679Z] echo Agent pid 20 killed; [2022-04-04T07:43:55.684Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-04T07:43:55.763Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-04T07:43:55.763Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-04T07:43:55.897Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-04T07:43:55.907Z] $ docker exec 03662caa633d00179a5c88b9a5bfdaf6350dce7f5cfd66dd9701f2a45357525d ssh-agent [2022-04-04T07:43:56.023Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGiOKKJ/agent.52 [2022-04-04T07:43:56.023Z] SSH_AGENT_PID=58 [2022-04-04T07:43:56.028Z] Running ssh-add (command line suppressed) [2022-04-04T07:43:56.154Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-22@tmp/private_key_3650594423665642697.key (/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/private_key_3650594423665642697.key) [2022-04-04T07:43:56.168Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-04T07:43:56.504Z] + git semver init [2022-04-04T07:43:56.504Z] # -> Open(): unable to determine branch for HEAD [2022-04-04T07:43:56.504Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-22/.git [2022-04-04T07:43:56.504Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-22 [2022-04-04T07:43:56.504Z] # $SEMVER_REMOTE_NAME = origin [2022-04-04T07:43:56.504Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-04T07:43:56.504Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-04T07:43:56.504Z] # $SEMVER_BRANCH = PR-22 [2022-04-04T07:43:56.504Z] # $SEMVER_TEMP = /tmp/semver-682484270 [2022-04-04T07:43:56.504Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2022-04-04T07:43:57.444Z] # '/tmp/semver-682484270' -> '/w/workspace/edgexfoundry_device-gpio_PR-22/.semver' [2022-04-04T07:43:57.444Z] # -> Force: false [2022-04-04T07:43:57.444Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-22/.semver [Pipeline] } [2022-04-04T07:43:57.477Z] $ docker exec --env ******** --env ******** 03662caa633d00179a5c88b9a5bfdaf6350dce7f5cfd66dd9701f2a45357525d ssh-agent -k [2022-04-04T07:43:57.605Z] unset SSH_AUTH_SOCK; [2022-04-04T07:43:57.605Z] unset SSH_AGENT_PID; [2022-04-04T07:43:57.605Z] echo Agent pid 58 killed; [2022-04-04T07:43:57.610Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-04T07:43:58.040Z] + git semver [Pipeline] } [2022-04-04T07:43:58.077Z] $ docker stop --time=1 03662caa633d00179a5c88b9a5bfdaf6350dce7f5cfd66dd9701f2a45357525d [2022-04-04T07:43:59.511Z] $ docker rm -f 03662caa633d00179a5c88b9a5bfdaf6350dce7f5cfd66dd9701f2a45357525d [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-04T07:43:59.934Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-04T07:44:00.237Z] Stashed 1 file(s) [Pipeline] echo [2022-04-04T07:44:00.257Z] [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-04T07:44:00.814Z] provisioning config files... [2022-04-04T07:44:00.826Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/config6542291260871617960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T07:44:01.173Z] ---> docker-login.sh [2022-04-04T07:44:01.173Z] nexus3.edgexfoundry.org:10001 [2022-04-04T07:44:01.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T07:44:01.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T07:44:01.174Z] Configure a credential helper to remove this warning. See [2022-04-04T07:44:01.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T07:44:01.174Z] [2022-04-04T07:44:01.174Z] Login Succeeded [2022-04-04T07:44:01.174Z] nexus3.edgexfoundry.org:10002 [2022-04-04T07:44:01.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T07:44:01.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T07:44:01.437Z] Configure a credential helper to remove this warning. See [2022-04-04T07:44:01.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T07:44:01.437Z] [2022-04-04T07:44:01.437Z] Login Succeeded [2022-04-04T07:44:01.437Z] nexus3.edgexfoundry.org:10003 [2022-04-04T07:44:01.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T07:44:01.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T07:44:01.437Z] Configure a credential helper to remove this warning. See [2022-04-04T07:44:01.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T07:44:01.437Z] [2022-04-04T07:44:01.437Z] Login Succeeded [2022-04-04T07:44:01.437Z] nexus3.edgexfoundry.org:10004 [2022-04-04T07:44:01.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T07:44:01.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T07:44:01.699Z] Configure a credential helper to remove this warning. See [2022-04-04T07:44:01.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T07:44:01.699Z] [2022-04-04T07:44:01.699Z] Login Succeeded [2022-04-04T07:44:01.699Z] docker.io [2022-04-04T07:44:01.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T07:44:01.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T07:44:01.959Z] Configure a credential helper to remove this warning. See [2022-04-04T07:44:01.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T07:44:01.959Z] [2022-04-04T07:44:01.959Z] Login Succeeded [2022-04-04T07:44:01.959Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T07:44:01.987Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-04T07:44:02.175Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-04T07:44:02.208Z] ========================================================= [2022-04-04T07:44:02.208Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-04T07:44:02.208Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-04T07:44:02.610Z] + 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-04T07:44:02.610Z] Sending build context to Docker daemon 11.08MB [2022-04-04T07:44:02.610Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T07:44:02.610Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-04T07:44:02.610Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-04T07:44:02.610Z] 59bf1c3509f3: Pulling fs layer [2022-04-04T07:44:02.610Z] 666ba61612fd: Pulling fs layer [2022-04-04T07:44:02.610Z] 8ed8ca486205: Pulling fs layer [2022-04-04T07:44:02.610Z] 4fe6c5a15a65: Pulling fs layer [2022-04-04T07:44:02.610Z] 22a0e8bec74d: Pulling fs layer [2022-04-04T07:44:02.610Z] 640e595b4fbd: Pulling fs layer [2022-04-04T07:44:02.610Z] 763cafe07f6e: Pulling fs layer [2022-04-04T07:44:02.610Z] 0c0b528cf693: Pulling fs layer [2022-04-04T07:44:02.610Z] 10935f4eaf8b: Pulling fs layer [2022-04-04T07:44:02.610Z] 640e595b4fbd: Waiting [2022-04-04T07:44:02.610Z] 22a0e8bec74d: Waiting [2022-04-04T07:44:02.610Z] 0c0b528cf693: Waiting [2022-04-04T07:44:02.610Z] 4fe6c5a15a65: Waiting [2022-04-04T07:44:02.610Z] 10935f4eaf8b: Waiting [2022-04-04T07:44:02.872Z] 8ed8ca486205: Download complete [2022-04-04T07:44:02.872Z] 666ba61612fd: Verifying Checksum [2022-04-04T07:44:02.872Z] 666ba61612fd: Download complete [2022-04-04T07:44:02.872Z] 22a0e8bec74d: Verifying Checksum [2022-04-04T07:44:02.872Z] 22a0e8bec74d: Download complete [2022-04-04T07:44:02.872Z] 640e595b4fbd: Download complete [2022-04-04T07:44:02.872Z] 59bf1c3509f3: Verifying Checksum [2022-04-04T07:44:02.872Z] 59bf1c3509f3: Download complete [2022-04-04T07:44:02.872Z] 763cafe07f6e: Download complete [2022-04-04T07:44:02.872Z] 0c0b528cf693: Verifying Checksum [2022-04-04T07:44:02.872Z] 0c0b528cf693: Download complete [2022-04-04T07:44:02.872Z] 59bf1c3509f3: Pull complete [2022-04-04T07:44:03.135Z] 666ba61612fd: Pull complete [2022-04-04T07:44:03.135Z] 8ed8ca486205: Pull complete [2022-04-04T07:44:03.399Z] 10935f4eaf8b: Verifying Checksum [2022-04-04T07:44:03.658Z] 4fe6c5a15a65: Verifying Checksum [2022-04-04T07:44:03.658Z] 4fe6c5a15a65: Download complete [2022-04-04T07:44:07.857Z] 4fe6c5a15a65: Pull complete [2022-04-04T07:44:07.857Z] 22a0e8bec74d: Pull complete [2022-04-04T07:44:07.857Z] 640e595b4fbd: Pull complete [2022-04-04T07:44:07.857Z] 763cafe07f6e: Pull complete [2022-04-04T07:44:07.857Z] 0c0b528cf693: Pull complete [2022-04-04T07:44:09.764Z] 10935f4eaf8b: Pull complete [2022-04-04T07:44:09.764Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-04T07:44:09.764Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-04T07:44:09.764Z] ---> 99d49a6021b9 [2022-04-04T07:44:09.764Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T07:44:11.150Z] ---> Running in d171ae1dab15 [2022-04-04T07:44:11.150Z] Removing intermediate container d171ae1dab15 [2022-04-04T07:44:11.150Z] ---> 5ad5d638f6ca [2022-04-04T07:44:11.150Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T07:44:11.150Z] ---> Running in 2fc389aad11a [2022-04-04T07:44:11.150Z] Removing intermediate container 2fc389aad11a [2022-04-04T07:44:11.150Z] ---> 14ab96e2b0e9 [2022-04-04T07:44:11.150Z] Step 5/11 : WORKDIR /device-gpio [2022-04-04T07:44:11.150Z] ---> Running in 45b6b022ec15 [2022-04-04T07:44:11.411Z] Removing intermediate container 45b6b022ec15 [2022-04-04T07:44:11.411Z] ---> 4bd2a7bc9da4 [2022-04-04T07:44:11.411Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T07:44:11.411Z] ---> Running in 91d2cf625393 [2022-04-04T07:44:12.353Z] Removing intermediate container 91d2cf625393 [2022-04-04T07:44:12.353Z] ---> deb0672d051e [2022-04-04T07:44:12.353Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T07:44:12.353Z] ---> Running in 9a5a27b03ee6 [2022-04-04T07:44:12.353Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-04T07:44:13.296Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-04T07:44:13.556Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-04T07:44:13.818Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-04T07:44:13.818Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-04T07:44:13.818Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-04T07:44:14.078Z] Executing busybox-1.34.1-r3.trigger [2022-04-04T07:44:14.078Z] OK: 224 MiB in 56 packages [2022-04-04T07:44:14.338Z] Removing intermediate container 9a5a27b03ee6 [2022-04-04T07:44:14.338Z] ---> 3f50a2528e34 [2022-04-04T07:44:14.338Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-04T07:44:14.598Z] ---> 705c5c7d62ed [2022-04-04T07:44:14.598Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T07:44:14.598Z] ---> Running in db55bf5a6056 [2022-04-04T07:44:15.657Z] Still waiting to schedule task [2022-04-04T07:44:15.657Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-04T07:44:41.240Z] Removing intermediate container db55bf5a6056 [2022-04-04T07:44:41.240Z] ---> c3b96b8272b3 [2022-04-04T07:44:41.240Z] Step 10/11 : COPY . . [2022-04-04T07:44:41.504Z] ---> 81e59d51862f [2022-04-04T07:44:41.504Z] Step 11/11 : RUN ${MAKE} [2022-04-04T07:44:41.504Z] ---> Running in a3abf3c29826 [2022-04-04T07:44:42.086Z] Removing intermediate container a3abf3c29826 [2022-04-04T07:44:42.086Z] ---> 3d631064fa4d [2022-04-04T07:44:42.086Z] [Warning] One or more build-args [MAKE] were not consumed [2022-04-04T07:44:42.086Z] Successfully built 3d631064fa4d [2022-04-04T07:44:42.086Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T07:44:42.416Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-04T07:44:42.416Z] . [Pipeline] withDockerContainer [2022-04-04T07:44:42.506Z] prd-ubuntu20.04-docker-8c-8g-10632 does not seem to be running inside a container [2022-04-04T07:44:42.545Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-22 -v /w/workspace/edgexfoundry_device-gpio_PR-22:/w/workspace/edgexfoundry_device-gpio_PR-22:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-22@tmp:/w/workspace/edgexfoundry_device-gpio_PR-22@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 ******** ci-base-image-x86_64 cat [2022-04-04T07:44:42.942Z] $ docker top fbb34e16ce54150b031ee4cecd22a1c1490a11af834d7414ebb8abae20ed37a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-04T07:44:43.345Z] + go version [2022-04-04T07:44:43.345Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-04T07:44:43.382Z] $ docker stop --time=1 fbb34e16ce54150b031ee4cecd22a1c1490a11af834d7414ebb8abae20ed37a7 [2022-04-04T07:44:44.704Z] $ docker rm -f fbb34e16ce54150b031ee4cecd22a1c1490a11af834d7414ebb8abae20ed37a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T07:44:45.379Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-04T07:44:45.379Z] . [Pipeline] withDockerContainer [2022-04-04T07:44:45.471Z] prd-ubuntu20.04-docker-8c-8g-10632 does not seem to be running inside a container [2022-04-04T07:44:45.516Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-22 -v /w/workspace/edgexfoundry_device-gpio_PR-22:/w/workspace/edgexfoundry_device-gpio_PR-22:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-22@tmp:/w/workspace/edgexfoundry_device-gpio_PR-22@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 ******** ci-base-image-x86_64 cat [2022-04-04T07:44:45.966Z] $ docker top 6fb1e0fb5c313d52a6e3db5677fc236eaa1709d9fb22bdda37d2bfa9828fd647 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-04T07:44:46.416Z] + make test [2022-04-04T07:44:46.416Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-04T07:44:46.676Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-04-04T07:44:53.251Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-04-04T07:44:53.251Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-04-04T07:44:53.251Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-04T07:44:55.790Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-04T07:44:55.791Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-04T07:44:55.791Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-04T07:44:56.078Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-04T07:44:56.113Z] $ docker stop --time=1 6fb1e0fb5c313d52a6e3db5677fc236eaa1709d9fb22bdda37d2bfa9828fd647 [2022-04-04T07:44:57.681Z] $ docker rm -f 6fb1e0fb5c313d52a6e3db5677fc236eaa1709d9fb22bdda37d2bfa9828fd647 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-04T07:44:58.125Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-04T07:44:58.181Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-04T07:44:59.342Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-04T07:44:59.655Z] + ls -al . [2022-04-04T07:44:59.655Z] total 184 [2022-04-04T07:44:59.655Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 4 07:44 . [2022-04-04T07:44:59.655Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 07:43 .. [2022-04-04T07:44:59.655Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 4 07:43 .dockerignore [2022-04-04T07:44:59.655Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 07:43 .git [2022-04-04T07:44:59.655Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 07:43 .github [2022-04-04T07:44:59.655Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 4 07:43 .gitignore [2022-04-04T07:44:59.655Z] drwx------ 3 jenkins jenkins 4096 Apr 4 07:43 .semver [2022-04-04T07:44:59.655Z] -rw-rw-r-- 1 jenkins jenkins 7772 Apr 4 07:43 Attribution.txt [2022-04-04T07:44:59.655Z] -rw-rw-r-- 1 jenkins jenkins 1846 Apr 4 07:43 Dockerfile [2022-04-04T07:44:59.655Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 4 07:43 GOVERNANCE.md [2022-04-04T07:44:59.655Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 4 07:43 Jenkinsfile [2022-04-04T07:44:59.655Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 4 07:43 LICENSE [2022-04-04T07:44:59.655Z] -rw-rw-r-- 1 jenkins jenkins 992 Apr 4 07:43 Makefile [2022-04-04T07:44:59.655Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 4 07:43 OWNERS.md [2022-04-04T07:44:59.655Z] -rw-rw-r-- 1 jenkins jenkins 9578 Apr 4 07:43 README.md [2022-04-04T07:44:59.655Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 07:43 VERSION [2022-04-04T07:44:59.655Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 07:43 bin [2022-04-04T07:44:59.655Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 07:43 cmd [2022-04-04T07:44:59.655Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 4 07:44 coverage.out [2022-04-04T07:44:59.655Z] -rw-rw-r-- 1 jenkins jenkins 2794 Apr 4 07:43 go.mod [2022-04-04T07:44:59.655Z] -rw-rw-r-- 1 jenkins jenkins 70652 Apr 4 07:43 go.sum [2022-04-04T07:44:59.655Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 07:43 internal [2022-04-04T07:44:59.655Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 07:43 snap [2022-04-04T07:44:59.655Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 4 07:43 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-04T07:44:59.988Z] + 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=c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 --label arch=amd64 --label version=0.0.0 . [2022-04-04T07:44:59.989Z] Sending build context to Docker daemon 11.08MB [2022-04-04T07:44:59.989Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T07:44:59.989Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-04T07:44:59.989Z] ---> 3d631064fa4d [2022-04-04T07:44:59.989Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T07:44:59.989Z] ---> Running in 41e57e745008 [2022-04-04T07:45:00.249Z] Removing intermediate container 41e57e745008 [2022-04-04T07:45:00.249Z] ---> c6d5233eac71 [2022-04-04T07:45:00.249Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T07:45:00.249Z] ---> Running in ba127dcb5b76 [2022-04-04T07:45:00.249Z] Removing intermediate container ba127dcb5b76 [2022-04-04T07:45:00.249Z] ---> 71ff1531c248 [2022-04-04T07:45:00.249Z] Step 5/25 : WORKDIR /device-gpio [2022-04-04T07:45:00.249Z] ---> Running in a714c7554638 [2022-04-04T07:45:00.509Z] Removing intermediate container a714c7554638 [2022-04-04T07:45:00.509Z] ---> c42714b740a5 [2022-04-04T07:45:00.509Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T07:45:00.509Z] ---> Running in bfc3d263a814 [2022-04-04T07:45:01.078Z] Removing intermediate container bfc3d263a814 [2022-04-04T07:45:01.078Z] ---> 4b8579a68753 [2022-04-04T07:45:01.078Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T07:45:01.078Z] ---> Running in c83fa4121c02 [2022-04-04T07:45:01.338Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-04T07:45:02.279Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-04T07:45:02.279Z] OK: 224 MiB in 56 packages [2022-04-04T07:45:02.848Z] Removing intermediate container c83fa4121c02 [2022-04-04T07:45:02.848Z] ---> a311bb6a1a26 [2022-04-04T07:45:02.848Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-04T07:45:02.848Z] ---> 83a1c6f0da32 [2022-04-04T07:45:02.848Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T07:45:02.848Z] ---> Running in 4f6e5aed5db6 [2022-04-04T07:45:03.416Z] Removing intermediate container 4f6e5aed5db6 [2022-04-04T07:45:03.416Z] ---> fe51a14e7d1b [2022-04-04T07:45:03.416Z] Step 10/25 : COPY . . [2022-04-04T07:45:03.677Z] ---> 4e764b795da8 [2022-04-04T07:45:03.677Z] Step 11/25 : RUN ${MAKE} [2022-04-04T07:45:03.937Z] ---> Running in f153c159725e [2022-04-04T07:45:04.507Z] Removing intermediate container f153c159725e [2022-04-04T07:45:04.507Z] ---> c848a2174948 [2022-04-04T07:45:04.507Z] Step 12/25 : FROM alpine:3.15 [2022-04-04T07:45:05.079Z] 3.15: Pulling from library/alpine [2022-04-04T07:45:05.079Z] 40e059520d19: Pulling fs layer [2022-04-04T07:45:05.341Z] 40e059520d19: Verifying Checksum [2022-04-04T07:45:05.341Z] 40e059520d19: Download complete [2022-04-04T07:45:05.341Z] 40e059520d19: Pull complete [2022-04-04T07:45:05.341Z] Digest: sha256:f22945d45ee2eb4dd463ed5a431d9f04fcd80ca768bb1acf898d91ce51f7bf04 [2022-04-04T07:45:05.341Z] Status: Downloaded newer image for alpine:3.15 [2022-04-04T07:45:05.341Z] ---> 76c8fb57b6fc [2022-04-04T07:45:05.341Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-04-04T07:45:05.602Z] ---> Running in abcde1961093 [2022-04-04T07:45:05.602Z] Removing intermediate container abcde1961093 [2022-04-04T07:45:05.602Z] ---> bfcc0e8e6694 [2022-04-04T07:45:05.602Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T07:45:05.602Z] ---> Running in 764e79adf800 [2022-04-04T07:45:06.175Z] Removing intermediate container 764e79adf800 [2022-04-04T07:45:06.175Z] ---> 95af1fbf6713 [2022-04-04T07:45:06.175Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-04T07:45:06.175Z] ---> Running in e4ad4da161e1 [2022-04-04T07:45:06.437Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-04T07:45:07.377Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-04T07:45:07.667Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-04-04T07:45:07.667Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-04T07:45:07.667Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-04-04T07:45:07.929Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-04T07:45:07.929Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-04T07:45:07.929Z] Executing busybox-1.34.1-r4.trigger [2022-04-04T07:45:07.929Z] OK: 8 MiB in 19 packages [2022-04-04T07:45:08.498Z] Removing intermediate container e4ad4da161e1 [2022-04-04T07:45:08.498Z] ---> 2e4517906530 [2022-04-04T07:45:08.498Z] Step 16/25 : WORKDIR / [2022-04-04T07:45:08.498Z] ---> Running in 137ba60d2be8 [2022-04-04T07:45:08.498Z] Removing intermediate container 137ba60d2be8 [2022-04-04T07:45:08.498Z] ---> 75b2d04e5fe2 [2022-04-04T07:45:08.498Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-04-04T07:45:08.758Z] ---> 9aac668f8388 [2022-04-04T07:45:08.758Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-04-04T07:45:08.758Z] ---> 2282491af2bb [2022-04-04T07:45:08.758Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-04-04T07:45:09.017Z] ---> cbb0d1c0db84 [2022-04-04T07:45:09.017Z] Step 20/25 : EXPOSE 59910 [2022-04-04T07:45:09.017Z] ---> Running in 121d3faa6a49 [2022-04-04T07:45:09.017Z] Removing intermediate container 121d3faa6a49 [2022-04-04T07:45:09.017Z] ---> 251fa4f3a236 [2022-04-04T07:45:09.017Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-04-04T07:45:09.017Z] ---> Running in f13607f3c6ca [2022-04-04T07:45:09.277Z] Removing intermediate container f13607f3c6ca [2022-04-04T07:45:09.277Z] ---> 6bbccf4a523d [2022-04-04T07:45:09.277Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-04T07:45:09.277Z] ---> Running in f152591444a7 [2022-04-04T07:45:09.277Z] Removing intermediate container f152591444a7 [2022-04-04T07:45:09.277Z] ---> 4d49261d6604 [2022-04-04T07:45:09.277Z] Step 23/25 : LABEL arch=amd64 [2022-04-04T07:45:09.277Z] ---> Running in 9a2c83acbaaf [2022-04-04T07:45:09.536Z] Removing intermediate container 9a2c83acbaaf [2022-04-04T07:45:09.536Z] ---> 52c373f9ddc7 [2022-04-04T07:45:09.536Z] Step 24/25 : LABEL git_sha=c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 [2022-04-04T07:45:09.536Z] ---> Running in 2a62e575127d [2022-04-04T07:45:09.536Z] Removing intermediate container 2a62e575127d [2022-04-04T07:45:09.536Z] ---> b2087abd2bb2 [2022-04-04T07:45:09.536Z] Step 25/25 : LABEL version=0.0.0 [2022-04-04T07:45:09.536Z] ---> Running in ac4532c2e780 [2022-04-04T07:45:09.797Z] Removing intermediate container ac4532c2e780 [2022-04-04T07:45:09.797Z] ---> 024f1f6d8b14 [2022-04-04T07:45:09.797Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-04-04T07:45:09.797Z] Successfully built 024f1f6d8b14 [2022-04-04T07:45:09.797Z] 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-04T07:45:10.561Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T07:45:10.561Z] [2022-04-04T07:45:10.561Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T07:45:10.901Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T07:45:10.901Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-04T07:45:10.901Z] 5eb5b503b376: Pulling fs layer [2022-04-04T07:45:10.901Z] 5c69ac0246d0: Pulling fs layer [2022-04-04T07:45:10.901Z] ec43610c2a17: Pulling fs layer [2022-04-04T07:45:10.901Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-04T07:45:10.901Z] 33b1e0a273af: Pulling fs layer [2022-04-04T07:45:10.901Z] 5d3b04190fa2: Pulling fs layer [2022-04-04T07:45:10.901Z] 2f39f015ded8: Pulling fs layer [2022-04-04T07:45:10.901Z] 3a2ae6a8a46f: Waiting [2022-04-04T07:45:10.901Z] 5d3b04190fa2: Waiting [2022-04-04T07:45:10.901Z] 33b1e0a273af: Waiting [2022-04-04T07:45:10.901Z] 2f39f015ded8: Waiting [2022-04-04T07:45:10.901Z] 5c69ac0246d0: Download complete [2022-04-04T07:45:10.901Z] 3a2ae6a8a46f: Download complete [2022-04-04T07:45:10.901Z] 33b1e0a273af: Verifying Checksum [2022-04-04T07:45:10.901Z] 33b1e0a273af: Download complete [2022-04-04T07:45:10.901Z] 5d3b04190fa2: Download complete [2022-04-04T07:45:10.901Z] ec43610c2a17: Verifying Checksum [2022-04-04T07:45:10.901Z] ec43610c2a17: Download complete [2022-04-04T07:45:11.160Z] 5eb5b503b376: Download complete [2022-04-04T07:45:11.731Z] 2f39f015ded8: Verifying Checksum [2022-04-04T07:45:11.731Z] 2f39f015ded8: Download complete [2022-04-04T07:45:12.300Z] 5eb5b503b376: Pull complete [2022-04-04T07:45:12.300Z] 5c69ac0246d0: Pull complete [2022-04-04T07:45:12.868Z] ec43610c2a17: Pull complete [2022-04-04T07:45:12.868Z] 3a2ae6a8a46f: Pull complete [2022-04-04T07:45:13.127Z] 33b1e0a273af: Pull complete [2022-04-04T07:45:13.127Z] 5d3b04190fa2: Pull complete [2022-04-04T07:45:17.321Z] 2f39f015ded8: Pull complete [2022-04-04T07:45:17.321Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-04T07:45:17.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T07:45:17.321Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-04T07:45:17.409Z] prd-ubuntu20.04-docker-8c-8g-10632 does not seem to be running inside a container [2022-04-04T07:45:17.446Z] $ 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-22 -v /w/workspace/edgexfoundry_device-gpio_PR-22:/w/workspace/edgexfoundry_device-gpio_PR-22:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-22@tmp:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-04T07:45:18.954Z] $ docker top ba3477cd74355d626038611ea17db941156985ae1d13a9a1d1aeb7abbfe455f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T07:45:19.448Z] ---> job-cost.sh [2022-04-04T07:45:19.448Z] lf-activate-venv: SKIPPING [2022-04-04T07:45:19.448Z] INFO: No Stack... [2022-04-04T07:45:19.708Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-04T07:45:20.280Z] INFO: Archiving Costs [Pipeline] sh [2022-04-04T07:45:20.604Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-22/archives/cost.csv [2022-04-04T07:45:20.604Z] + cut -d, -f6 [Pipeline] lock [2022-04-04T07:45:20.646Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-22-1-stack-cost] [2022-04-04T07:45:20.651Z] Resource [jenkins-edgexfoundry-device-gpio-PR-22-1-stack-cost] did not exist. Created. [2022-04-04T07:45:20.651Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-22-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-04T07:45:21.044Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-04T07:45:21.102Z] Stashed 1 file(s) [Pipeline] } [2022-04-04T07:45:21.127Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-22-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-04T07:45:21.206Z] $ docker stop --time=1 ba3477cd74355d626038611ea17db941156985ae1d13a9a1d1aeb7abbfe455f7 [2022-04-04T07:45:22.367Z] $ docker rm -f ba3477cd74355d626038611ea17db941156985ae1d13a9a1d1aeb7abbfe455f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-04T07:45:48.801Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10633 in /w/workspace/edgexfoundry_device-gpio_PR-22 [Pipeline] { [Pipeline] ws [2022-04-04T07:45:48.843Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2022-04-04T07:45:49.102Z] The recommended git tool is: git [2022-04-04T07:45:56.152Z] using credential edgex-jenkins-ssh [2022-04-04T07:45:56.182Z] Cloning the remote Git repository [2022-04-04T07:45:56.270Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-04-04T07:45:56.358Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2022-04-04T07:45:56.555Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-04-04T07:45:56.556Z] > git --version # timeout=10 [2022-04-04T07:45:56.597Z] > git --version # 'git version 2.25.1' [2022-04-04T07:45:56.600Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T07:45:56.713Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-04T07:45:58.996Z] Merging remotes/origin/main commit 7aa6e8d2ece6f8845c7be1a34beaad087fba176e into PR head commit c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 [2022-04-04T07:45:59.276Z] Merge succeeded, producing c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 [2022-04-04T07:45:59.276Z] Checking out Revision c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 (PR-22) [2022-04-04T07:45:58.226Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-04-04T07:45:58.258Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-04T07:45:58.299Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-04-04T07:45:58.374Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-04-04T07:45:58.375Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T07:45:58.396Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/22/head:refs/remotes/origin/PR-22 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-04T07:45:59.019Z] > git config core.sparsecheckout # timeout=10 [2022-04-04T07:45:59.048Z] > git checkout -f c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 # timeout=10 [2022-04-04T07:45:59.172Z] > git remote # timeout=10 [2022-04-04T07:45:59.193Z] > git config --get remote.origin.url # timeout=10 [2022-04-04T07:45:59.217Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T07:45:59.231Z] > git merge 7aa6e8d2ece6f8845c7be1a34beaad087fba176e # timeout=10 [2022-04-04T07:45:59.263Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-04T07:45:59.286Z] > git config core.sparsecheckout # timeout=10 [2022-04-04T07:45:59.308Z] > git checkout -f c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 # timeout=10 [2022-04-04T07:46:03.669Z] Commit message: "test(snap): add CI workflow, disable jenkins snap build" [2022-04-04T07:46:03.733Z] > git --version # timeout=10 [2022-04-04T07:46:03.744Z] > git --version # 'git version 2.25.1' [2022-04-04T07:46:03.757Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-04T07:46:04.920Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-04T07:46:04.920Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-04T07:46:04.920Z] Dload Upload Total Spent Left Speed [2022-04-04T07:46:04.920Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46443 0 --:--:-- --:--:-- --:--:-- 46625 [Pipeline] sh [2022-04-04T07:46:05.464Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-04T07:46:05.827Z] + sudo tee /etc/docker/daemon.new [2022-04-04T07:46:05.827Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-04T07:46:05.827Z] { [2022-04-04T07:46:05.827Z] "registry-mirrors": [ [2022-04-04T07:46:05.827Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-04T07:46:05.827Z] ], [2022-04-04T07:46:05.827Z] "bip": "10.250.0.254/24", [2022-04-04T07:46:05.827Z] "hosts": [ [2022-04-04T07:46:05.827Z] "tcp://0.0.0.0:5555", [2022-04-04T07:46:05.827Z] "unix:///var/run/docker.sock" [2022-04-04T07:46:05.827Z] ], [2022-04-04T07:46:05.827Z] "mtu": 1458, [2022-04-04T07:46:05.827Z] "selinux-enabled": true, [2022-04-04T07:46:05.827Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-04T07:46:05.827Z] } [Pipeline] sh [2022-04-04T07:46:06.201Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-04T07:46:06.618Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T07:46:25.018Z] provisioning config files... [2022-04-04T07:46:25.047Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config1141626318724733396tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T07:46:25.717Z] ---> docker-login.sh [2022-04-04T07:46:25.717Z] nexus3.edgexfoundry.org:10001 [2022-04-04T07:46:26.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T07:46:26.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T07:46:26.589Z] Configure a credential helper to remove this warning. See [2022-04-04T07:46:26.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T07:46:26.589Z] [2022-04-04T07:46:26.589Z] Login Succeeded [2022-04-04T07:46:26.589Z] nexus3.edgexfoundry.org:10002 [2022-04-04T07:46:26.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T07:46:26.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T07:46:26.866Z] Configure a credential helper to remove this warning. See [2022-04-04T07:46:26.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T07:46:26.866Z] [2022-04-04T07:46:26.866Z] Login Succeeded [2022-04-04T07:46:26.866Z] nexus3.edgexfoundry.org:10003 [2022-04-04T07:46:27.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T07:46:27.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T07:46:27.470Z] Configure a credential helper to remove this warning. See [2022-04-04T07:46:27.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T07:46:27.470Z] [2022-04-04T07:46:27.470Z] Login Succeeded [2022-04-04T07:46:27.470Z] nexus3.edgexfoundry.org:10004 [2022-04-04T07:46:27.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T07:46:27.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T07:46:27.743Z] Configure a credential helper to remove this warning. See [2022-04-04T07:46:27.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T07:46:27.743Z] [2022-04-04T07:46:27.743Z] Login Succeeded [2022-04-04T07:46:28.017Z] docker.io [2022-04-04T07:46:28.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T07:46:28.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T07:46:28.562Z] Configure a credential helper to remove this warning. See [2022-04-04T07:46:28.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T07:46:28.562Z] [2022-04-04T07:46:28.562Z] Login Succeeded [2022-04-04T07:46:28.562Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T07:46:28.593Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-04T07:46:28.986Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-04T07:46:29.015Z] ========================================================= [2022-04-04T07:46:29.015Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-04T07:46:29.015Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-04T07:46:29.454Z] + 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-04T07:46:29.737Z] Sending build context to Docker daemon 5.617MB [2022-04-04T07:46:29.737Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T07:46:29.737Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-04T07:46:30.014Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-04T07:46:30.014Z] 9b3977197b4f: Pulling fs layer [2022-04-04T07:46:30.014Z] 1a89e8eeedd5: Pulling fs layer [2022-04-04T07:46:30.014Z] 94645a83ff95: Pulling fs layer [2022-04-04T07:46:30.014Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-04T07:46:30.014Z] 0c92f367c5e7: Pulling fs layer [2022-04-04T07:46:30.014Z] f7c0051592d6: Pulling fs layer [2022-04-04T07:46:30.014Z] a227ed2f7395: Pulling fs layer [2022-04-04T07:46:30.014Z] 7b1c46037f91: Pulling fs layer [2022-04-04T07:46:30.014Z] 3f3a8bcf1eab: Waiting [2022-04-04T07:46:30.014Z] 0c92f367c5e7: Waiting [2022-04-04T07:46:30.014Z] f7c0051592d6: Waiting [2022-04-04T07:46:30.014Z] a227ed2f7395: Waiting [2022-04-04T07:46:30.014Z] 7b1c46037f91: Waiting [2022-04-04T07:46:30.014Z] 94645a83ff95: Verifying Checksum [2022-04-04T07:46:30.014Z] 94645a83ff95: Download complete [2022-04-04T07:46:30.014Z] 1a89e8eeedd5: Verifying Checksum [2022-04-04T07:46:30.014Z] 1a89e8eeedd5: Download complete [2022-04-04T07:46:30.014Z] 0c92f367c5e7: Verifying Checksum [2022-04-04T07:46:30.014Z] 0c92f367c5e7: Download complete [2022-04-04T07:46:30.014Z] f7c0051592d6: Verifying Checksum [2022-04-04T07:46:30.014Z] f7c0051592d6: Download complete [2022-04-04T07:46:30.014Z] 9b3977197b4f: Verifying Checksum [2022-04-04T07:46:30.014Z] 9b3977197b4f: Download complete [2022-04-04T07:46:30.014Z] a227ed2f7395: Verifying Checksum [2022-04-04T07:46:30.014Z] a227ed2f7395: Download complete [2022-04-04T07:46:30.616Z] 9b3977197b4f: Pull complete [2022-04-04T07:46:31.223Z] 1a89e8eeedd5: Pull complete [2022-04-04T07:46:31.506Z] 94645a83ff95: Pull complete [2022-04-04T07:46:32.119Z] 7b1c46037f91: Verifying Checksum [2022-04-04T07:46:32.119Z] 7b1c46037f91: Download complete [2022-04-04T07:46:32.715Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-04T07:46:32.715Z] 3f3a8bcf1eab: Download complete [2022-04-04T07:46:45.129Z] 3f3a8bcf1eab: Pull complete [2022-04-04T07:46:45.129Z] 0c92f367c5e7: Pull complete [2022-04-04T07:46:45.129Z] f7c0051592d6: Pull complete [2022-04-04T07:46:45.129Z] a227ed2f7395: Pull complete [2022-04-04T07:46:51.869Z] 7b1c46037f91: Pull complete [2022-04-04T07:46:51.869Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-04T07:46:51.869Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-04T07:46:51.869Z] ---> f79e39bc4007 [2022-04-04T07:46:51.869Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T07:46:51.869Z] ---> Running in 109bf656035c [2022-04-04T07:46:52.478Z] Removing intermediate container 109bf656035c [2022-04-04T07:46:52.478Z] ---> c79f7655f844 [2022-04-04T07:46:52.478Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T07:46:52.478Z] ---> Running in 8660927fe4ff [2022-04-04T07:46:52.751Z] Removing intermediate container 8660927fe4ff [2022-04-04T07:46:52.751Z] ---> f3217f05e779 [2022-04-04T07:46:52.752Z] Step 5/11 : WORKDIR /device-gpio [2022-04-04T07:46:52.752Z] ---> Running in cc8231a7f273 [2022-04-04T07:46:53.039Z] Removing intermediate container cc8231a7f273 [2022-04-04T07:46:53.039Z] ---> d914a572f213 [2022-04-04T07:46:53.039Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T07:46:53.039Z] ---> Running in 1c3f5ff4ee78 [2022-04-04T07:46:55.019Z] Removing intermediate container 1c3f5ff4ee78 [2022-04-04T07:46:55.019Z] ---> 0165b157d607 [2022-04-04T07:46:55.019Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T07:46:55.019Z] ---> Running in e7a9514818b2 [2022-04-04T07:46:56.001Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-04T07:46:56.979Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-04T07:46:57.572Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-04T07:46:57.572Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-04T07:46:57.843Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-04T07:46:58.117Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-04T07:46:58.117Z] Executing busybox-1.34.1-r3.trigger [2022-04-04T07:46:58.117Z] OK: 224 MiB in 56 packages [2022-04-04T07:46:59.102Z] Removing intermediate container e7a9514818b2 [2022-04-04T07:46:59.102Z] ---> d5fee44ca007 [2022-04-04T07:46:59.102Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-04T07:46:59.708Z] ---> 8fdd56077e1b [2022-04-04T07:46:59.708Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T07:46:59.708Z] ---> Running in 0e60716dceec [2022-04-04T07:48:21.554Z] Removing intermediate container 0e60716dceec [2022-04-04T07:48:21.554Z] ---> db68c4613053 [2022-04-04T07:48:21.555Z] Step 10/11 : COPY . . [2022-04-04T07:48:21.555Z] ---> 21d8b8e9bf8a [2022-04-04T07:48:21.555Z] Step 11/11 : RUN ${MAKE} [2022-04-04T07:48:21.555Z] ---> Running in 4a46808a156a [2022-04-04T07:48:21.555Z] Removing intermediate container 4a46808a156a [2022-04-04T07:48:21.555Z] ---> 4382eee7556b [2022-04-04T07:48:21.555Z] [Warning] One or more build-args [MAKE] were not consumed [2022-04-04T07:48:21.555Z] Successfully built 4382eee7556b [2022-04-04T07:48:21.555Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T07:48:21.934Z] + docker inspect -f . ci-base-image-arm64 [2022-04-04T07:48:21.934Z] . [Pipeline] withDockerContainer [2022-04-04T07:48:22.177Z] prd-ubuntu20.04-docker-arm64-4c-16g-10633 does not seem to be running inside a container [2022-04-04T07:48:22.258Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-04T07:48:23.488Z] $ docker top 9d559774f3ec9da70c49f6da21d92f609e4eb1e5888edcb3d1f205ac70e1d32e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-04T07:48:24.424Z] + go version [2022-04-04T07:48:24.424Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-04T07:48:24.459Z] $ docker stop --time=1 9d559774f3ec9da70c49f6da21d92f609e4eb1e5888edcb3d1f205ac70e1d32e [2022-04-04T07:48:26.116Z] $ docker rm -f 9d559774f3ec9da70c49f6da21d92f609e4eb1e5888edcb3d1f205ac70e1d32e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T07:48:26.997Z] + docker inspect -f . ci-base-image-arm64 [2022-04-04T07:48:26.997Z] . [Pipeline] withDockerContainer [2022-04-04T07:48:27.220Z] prd-ubuntu20.04-docker-arm64-4c-16g-10633 does not seem to be running inside a container [2022-04-04T07:48:27.302Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-04T07:48:28.526Z] $ docker top 1c1226114d66ec413ba32f0fec6f7820f2fe781c3f3f8080814da0b58f63e294 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-04T07:48:29.496Z] + make test [2022-04-04T07:48:29.496Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-04T07:48:30.942Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-04-04T07:49:18.001Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-04-04T07:49:18.001Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-04-04T07:49:18.001Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-04T07:49:36.338Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-04T07:49:36.338Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-04T07:49:36.338Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-04T07:49:39.003Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-04T07:49:39.037Z] $ docker stop --time=1 1c1226114d66ec413ba32f0fec6f7820f2fe781c3f3f8080814da0b58f63e294 [2022-04-04T07:49:40.757Z] $ docker rm -f 1c1226114d66ec413ba32f0fec6f7820f2fe781c3f3f8080814da0b58f63e294 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-04T07:49:41.644Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-04T07:49:41.683Z] Warning: overwriting stash ‘coverage-report’ [2022-04-04T07:49:42.114Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-04T07:49:42.717Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-04T07:49:43.062Z] + ls -al . [2022-04-04T07:49:43.062Z] total 180 [2022-04-04T07:49:43.062Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 07:49 . [2022-04-04T07:49:43.062Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 07:45 .. [2022-04-04T07:49:43.062Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 4 07:45 .dockerignore [2022-04-04T07:49:43.062Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 07:46 .git [2022-04-04T07:49:43.062Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 07:45 .github [2022-04-04T07:49:43.062Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 4 07:45 .gitignore [2022-04-04T07:49:43.062Z] -rw-rw-r-- 1 jenkins jenkins 7772 Apr 4 07:45 Attribution.txt [2022-04-04T07:49:43.062Z] -rw-rw-r-- 1 jenkins jenkins 1846 Apr 4 07:45 Dockerfile [2022-04-04T07:49:43.062Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 4 07:45 GOVERNANCE.md [2022-04-04T07:49:43.062Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 4 07:45 Jenkinsfile [2022-04-04T07:49:43.062Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 4 07:45 LICENSE [2022-04-04T07:49:43.062Z] -rw-rw-r-- 1 jenkins jenkins 992 Apr 4 07:45 Makefile [2022-04-04T07:49:43.062Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 4 07:45 OWNERS.md [2022-04-04T07:49:43.062Z] -rw-rw-r-- 1 jenkins jenkins 9578 Apr 4 07:45 README.md [2022-04-04T07:49:43.062Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 07:43 VERSION [2022-04-04T07:49:43.062Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 07:45 bin [2022-04-04T07:49:43.062Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 07:45 cmd [2022-04-04T07:49:43.062Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 4 07:48 coverage.out [2022-04-04T07:49:43.062Z] -rw-rw-r-- 1 jenkins jenkins 2794 Apr 4 07:45 go.mod [2022-04-04T07:49:43.062Z] -rw-rw-r-- 1 jenkins jenkins 70652 Apr 4 07:45 go.sum [2022-04-04T07:49:43.062Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 07:45 internal [2022-04-04T07:49:43.062Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 07:45 snap [2022-04-04T07:49:43.062Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 4 07:45 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-04T07:49:43.444Z] + 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=c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 --label arch=arm64 --label version=0.0.0 . [2022-04-04T07:49:43.718Z] Sending build context to Docker daemon 5.618MB [2022-04-04T07:49:43.718Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T07:49:43.718Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-04T07:49:43.718Z] ---> 4382eee7556b [2022-04-04T07:49:43.718Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T07:49:43.994Z] ---> Running in bf95de59e021 [2022-04-04T07:49:44.269Z] Removing intermediate container bf95de59e021 [2022-04-04T07:49:44.269Z] ---> 22f40809d39f [2022-04-04T07:49:44.269Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T07:49:44.269Z] ---> Running in dcde27191ec5 [2022-04-04T07:49:44.542Z] Removing intermediate container dcde27191ec5 [2022-04-04T07:49:44.542Z] ---> 33817f40cf81 [2022-04-04T07:49:44.542Z] Step 5/25 : WORKDIR /device-gpio [2022-04-04T07:49:44.815Z] ---> Running in a580e9f7d528 [2022-04-04T07:49:45.090Z] Removing intermediate container a580e9f7d528 [2022-04-04T07:49:45.090Z] ---> ea9387c0fb72 [2022-04-04T07:49:45.090Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T07:49:45.090Z] ---> Running in 3a862c64bfd4 [2022-04-04T07:49:47.085Z] Removing intermediate container 3a862c64bfd4 [2022-04-04T07:49:47.085Z] ---> e2ed36abd8fa [2022-04-04T07:49:47.085Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T07:49:47.085Z] ---> Running in ec2e3b449fe7 [2022-04-04T07:49:47.682Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-04T07:49:48.665Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-04T07:49:49.648Z] OK: 224 MiB in 56 packages [2022-04-04T07:49:50.247Z] Removing intermediate container ec2e3b449fe7 [2022-04-04T07:49:50.247Z] ---> e7ef43a0f217 [2022-04-04T07:49:50.247Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-04T07:49:50.843Z] ---> 84f50ff80d05 [2022-04-04T07:49:50.843Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T07:49:50.843Z] ---> Running in 3738c5f7afa7 [2022-04-04T07:49:52.824Z] Removing intermediate container 3738c5f7afa7 [2022-04-04T07:49:52.824Z] ---> 6a6d91f856d5 [2022-04-04T07:49:52.824Z] Step 10/25 : COPY . . [2022-04-04T07:49:53.809Z] ---> 7d98c532f41a [2022-04-04T07:49:53.809Z] Step 11/25 : RUN ${MAKE} [2022-04-04T07:49:53.809Z] ---> Running in e3fb4af6c463 [2022-04-04T07:49:55.245Z] Removing intermediate container e3fb4af6c463 [2022-04-04T07:49:55.245Z] ---> 3ddfa434d7f9 [2022-04-04T07:49:55.245Z] Step 12/25 : FROM alpine:3.15 [2022-04-04T07:49:56.219Z] 3.15: Pulling from library/alpine [2022-04-04T07:49:56.219Z] 80fa7f07ec7b: Pulling fs layer [2022-04-04T07:49:56.492Z] 80fa7f07ec7b: Verifying Checksum [2022-04-04T07:49:56.492Z] 80fa7f07ec7b: Download complete [2022-04-04T07:49:56.764Z] 80fa7f07ec7b: Pull complete [2022-04-04T07:49:57.038Z] Digest: sha256:f22945d45ee2eb4dd463ed5a431d9f04fcd80ca768bb1acf898d91ce51f7bf04 [2022-04-04T07:49:57.038Z] Status: Downloaded newer image for alpine:3.15 [2022-04-04T07:49:57.038Z] ---> 03078ca19a05 [2022-04-04T07:49:57.038Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-04-04T07:49:57.038Z] ---> Running in 4b5c68b44197 [2022-04-04T07:49:57.311Z] Removing intermediate container 4b5c68b44197 [2022-04-04T07:49:57.312Z] ---> dfbf531b8dfc [2022-04-04T07:49:57.312Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T07:49:57.312Z] ---> Running in f7f1cf457243 [2022-04-04T07:49:59.296Z] Removing intermediate container f7f1cf457243 [2022-04-04T07:49:59.296Z] ---> 0b078bbb1f06 [2022-04-04T07:49:59.296Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-04T07:49:59.296Z] ---> Running in bc66f58f8644 [2022-04-04T07:49:59.893Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-04T07:50:00.870Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-04T07:50:01.845Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-04-04T07:50:01.845Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-04T07:50:01.845Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-04-04T07:50:01.845Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-04T07:50:02.119Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-04T07:50:02.119Z] Executing busybox-1.34.1-r4.trigger [2022-04-04T07:50:02.119Z] OK: 8 MiB in 19 packages [2022-04-04T07:50:03.103Z] Removing intermediate container bc66f58f8644 [2022-04-04T07:50:03.103Z] ---> 30b0dc75e167 [2022-04-04T07:50:03.103Z] Step 16/25 : WORKDIR / [2022-04-04T07:50:03.103Z] ---> Running in f75812f5f2b3 [2022-04-04T07:50:03.381Z] Removing intermediate container f75812f5f2b3 [2022-04-04T07:50:03.381Z] ---> 274ba24f35ad [2022-04-04T07:50:03.381Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-04-04T07:50:03.979Z] ---> 0cf63d545b1b [2022-04-04T07:50:03.979Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-04-04T07:50:04.581Z] ---> 8e4599fae927 [2022-04-04T07:50:04.581Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-04-04T07:50:05.181Z] ---> 059ca4d9fac6 [2022-04-04T07:50:05.181Z] Step 20/25 : EXPOSE 59910 [2022-04-04T07:50:05.181Z] ---> Running in 73198ae04ed8 [2022-04-04T07:50:05.454Z] Removing intermediate container 73198ae04ed8 [2022-04-04T07:50:05.454Z] ---> 1bef9832806b [2022-04-04T07:50:05.454Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-04-04T07:50:05.454Z] ---> Running in dfe6adb485ed [2022-04-04T07:50:06.050Z] Removing intermediate container dfe6adb485ed [2022-04-04T07:50:06.050Z] ---> f86a82e678d0 [2022-04-04T07:50:06.050Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-04T07:50:06.050Z] ---> Running in 928d7a6f4272 [2022-04-04T07:50:06.323Z] Removing intermediate container 928d7a6f4272 [2022-04-04T07:50:06.323Z] ---> 9722fa59056e [2022-04-04T07:50:06.323Z] Step 23/25 : LABEL arch=arm64 [2022-04-04T07:50:06.323Z] ---> Running in 856b5fe22f3a [2022-04-04T07:50:06.597Z] Removing intermediate container 856b5fe22f3a [2022-04-04T07:50:06.597Z] ---> 66e4ac21eda2 [2022-04-04T07:50:06.597Z] Step 24/25 : LABEL git_sha=c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 [2022-04-04T07:50:06.597Z] ---> Running in 78090b41b402 [2022-04-04T07:50:07.198Z] Removing intermediate container 78090b41b402 [2022-04-04T07:50:07.198Z] ---> b9ef9442e480 [2022-04-04T07:50:07.198Z] Step 25/25 : LABEL version=0.0.0 [2022-04-04T07:50:07.198Z] ---> Running in f7333d65878d [2022-04-04T07:50:07.472Z] Removing intermediate container f7333d65878d [2022-04-04T07:50:07.472Z] ---> 06f221408d33 [2022-04-04T07:50:07.472Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-04-04T07:50:07.472Z] Successfully built 06f221408d33 [2022-04-04T07:50:07.472Z] 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-04T07:50:08.177Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T07:50:08.177Z] [2022-04-04T07:50:08.177Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-04T07:50:08.551Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T07:50:08.830Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-04T07:50:08.830Z] 8998bd30e6a1: Pulling fs layer [2022-04-04T07:50:08.830Z] 04944245beec: Pulling fs layer [2022-04-04T07:50:08.830Z] 699f458cf7ca: Pulling fs layer [2022-04-04T07:50:08.830Z] 765212b225bb: Pulling fs layer [2022-04-04T07:50:08.830Z] f23df028b6ca: Pulling fs layer [2022-04-04T07:50:08.830Z] d65c8cfc05b1: Pulling fs layer [2022-04-04T07:50:08.830Z] 2437ff75d9bd: Pulling fs layer [2022-04-04T07:50:08.830Z] f23df028b6ca: Waiting [2022-04-04T07:50:08.830Z] 765212b225bb: Waiting [2022-04-04T07:50:08.830Z] d65c8cfc05b1: Waiting [2022-04-04T07:50:08.830Z] 2437ff75d9bd: Waiting [2022-04-04T07:50:08.830Z] 04944245beec: Verifying Checksum [2022-04-04T07:50:08.830Z] 04944245beec: Download complete [2022-04-04T07:50:08.830Z] 765212b225bb: Verifying Checksum [2022-04-04T07:50:08.830Z] 765212b225bb: Download complete [2022-04-04T07:50:08.830Z] f23df028b6ca: Verifying Checksum [2022-04-04T07:50:08.830Z] f23df028b6ca: Download complete [2022-04-04T07:50:08.830Z] d65c8cfc05b1: Download complete [2022-04-04T07:50:09.107Z] 699f458cf7ca: Verifying Checksum [2022-04-04T07:50:09.107Z] 699f458cf7ca: Download complete [2022-04-04T07:50:09.384Z] 8998bd30e6a1: Verifying Checksum [2022-04-04T07:50:09.384Z] 8998bd30e6a1: Download complete [2022-04-04T07:50:11.368Z] 2437ff75d9bd: Verifying Checksum [2022-04-04T07:50:11.368Z] 2437ff75d9bd: Download complete [2022-04-04T07:50:13.994Z] 8998bd30e6a1: Pull complete [2022-04-04T07:50:14.271Z] 04944245beec: Pull complete [2022-04-04T07:50:15.711Z] 699f458cf7ca: Pull complete [2022-04-04T07:50:15.987Z] 765212b225bb: Pull complete [2022-04-04T07:50:16.970Z] f23df028b6ca: Pull complete [2022-04-04T07:50:16.970Z] d65c8cfc05b1: Pull complete [2022-04-04T07:50:32.067Z] 2437ff75d9bd: Pull complete [2022-04-04T07:50:32.067Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-04T07:50:32.067Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T07:50:32.068Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-04T07:50:32.303Z] prd-ubuntu20.04-docker-arm64-4c-16g-10633 does not seem to be running inside a container [2022-04-04T07:50:32.393Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-04T07:50:34.860Z] $ docker top a9a61cf6203301e8ac713aee20e0f130401adb205380c90abed9ed88fd0dfa7b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T07:50:35.819Z] ---> job-cost.sh [2022-04-04T07:50:35.819Z] lf-activate-venv: SKIPPING [2022-04-04T07:50:35.819Z] INFO: No Stack... [2022-04-04T07:50:36.413Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-04T07:50:37.388Z] INFO: Archiving Costs [Pipeline] sh [2022-04-04T07:50:38.069Z] + cut -d, -f6 [2022-04-04T07:50:38.069Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [Pipeline] lock [2022-04-04T07:50:38.152Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-22-1-stack-cost] [2022-04-04T07:50:38.157Z] Resource [jenkins-edgexfoundry-device-gpio-PR-22-1-stack-cost] did not exist. Created. [2022-04-04T07:50:38.157Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-22-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-04T07:50:38.903Z] /w/workspace/device-gpio/1@tmp/durable-84bdddee/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-04T07:50:39.601Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-04T07:50:39.638Z] Warning: overwriting stash ‘stack-cost’ [2022-04-04T07:50:39.683Z] Stashed 1 file(s) [Pipeline] } [2022-04-04T07:50:39.700Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-22-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-04T07:50:39.778Z] $ docker stop --time=1 a9a61cf6203301e8ac713aee20e0f130401adb205380c90abed9ed88fd0dfa7b [2022-04-04T07:50:41.247Z] $ docker rm -f a9a61cf6203301e8ac713aee20e0f130401adb205380c90abed9ed88fd0dfa7b [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-04T07:50:42.297Z] provisioning config files... [2022-04-04T07:50:42.323Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/config2951655875393879992tmp [Pipeline] { [Pipeline] sh [2022-04-04T07:50:42.649Z] + set +x [2022-04-04T07:50:42.649Z] + curl -s https://codecov.io/bash [2022-04-04T07:50:42.649Z] + bash -s -- [2022-04-04T07:50:42.649Z] [2022-04-04T07:50:42.649Z] _____ _ [2022-04-04T07:50:42.649Z] / ____| | | [2022-04-04T07:50:42.649Z] | | ___ __| | ___ ___ _____ __ [2022-04-04T07:50:42.649Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-04T07:50:42.649Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-04T07:50:42.649Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-04T07:50:42.649Z] Bash-1.0.6 [2022-04-04T07:50:42.649Z] [2022-04-04T07:50:42.649Z] [2022-04-04T07:50:42.649Z] ==> git version 2.25.1 found [2022-04-04T07:50:42.649Z] ==> 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-04T07:50:42.649Z] Release-Date: 2020-01-08 [2022-04-04T07:50:42.649Z] 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-04T07:50:42.649Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-04T07:50:42.649Z] ==> Jenkins CI detected. [2022-04-04T07:50:42.649Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-22 [2022-04-04T07:50:42.649Z] project root: . [2022-04-04T07:50:42.649Z] --> token set from env [2022-04-04T07:50:42.649Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-04T07:50:42.649Z] ==> Running gcov in . (disable via -X gcov) [2022-04-04T07:50:42.649Z] ==> Python coveragepy not found [2022-04-04T07:50:42.649Z] ==> Searching for coverage reports in: [2022-04-04T07:50:42.649Z] + . [2022-04-04T07:50:42.649Z] -> Found 1 reports [2022-04-04T07:50:42.649Z] ==> Detecting git/mercurial file structure [2022-04-04T07:50:42.649Z] ==> Reading reports [2022-04-04T07:50:42.649Z] + ./coverage.out bytes=10 [2022-04-04T07:50:42.649Z] ==> Appending adjustments [2022-04-04T07:50:42.649Z] https://docs.codecov.io/docs/fixing-reports [2022-04-04T07:50:42.909Z] + Found adjustments [2022-04-04T07:50:42.909Z] ==> Gzipping contents [2022-04-04T07:50:42.909Z] 4.0K /tmp/codecov.gDIhK3.gz [2022-04-04T07:50:42.909Z] ==> Uploading reports [2022-04-04T07:50:42.909Z] url: https://codecov.io [2022-04-04T07:50:42.909Z] query: branch=PR-22&commit=c625a4628d04d5db75e7e1cdcd2e8ca41966cf48&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-22%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=22&job=&cmd_args= [2022-04-04T07:50:42.909Z] -> Pinging Codecov [2022-04-04T07:50:42.909Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-22&commit=c625a4628d04d5db75e7e1cdcd2e8ca41966cf48&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-22%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=22&job=&cmd_args= [2022-04-04T07:50:43.170Z] -> Uploading to [2022-04-04T07:50:43.170Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-04/3EC07B1A8CA8AF9BCAA0BB9F0134797F/c625a4628d04d5db75e7e1cdcd2e8ca41966cf48/fa3ecc61-2aca-4df8-8bd9-b4cc2587389e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220404%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220404T075042Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=305330a2458123e100242d00401750bb0240cc3a1800571a74912be4ea0e3f69 [2022-04-04T07:50:43.170Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-04T07:50:43.170Z] Dload Upload Total Spent Left Speed [2022-04-04T07:50:43.170Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 822 0 0 100 822 0 3341 --:--:-- --:--:-- --:--:-- 3327 100 822 0 0 100 822 0 3341 --:--:-- --:--:-- --:--:-- 3327 [2022-04-04T07:50:43.432Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 [Pipeline] } [2022-04-04T07:50:43.458Z] 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-04T07:50:45.405Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-22/archives ] [2022-04-04T07:50:45.405Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-22/archives [2022-04-04T07:50:45.405Z] total 16 [2022-04-04T07:50:45.405Z] drwxr-xr-x 3 root root 4096 Apr 4 07:45 . [2022-04-04T07:50:45.405Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 07:45 .. [2022-04-04T07:50:45.405Z] drwxr-xr-x 2 root root 4096 Apr 4 07:45 cost [2022-04-04T07:50:45.405Z] -rw-r--r-- 1 root root 81 Apr 4 07:45 cost.csv [2022-04-04T07:50:45.405Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-22/archives [2022-04-04T07:50:45.405Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-22/archives [2022-04-04T07:50:45.405Z] total 16 [2022-04-04T07:50:45.405Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 4 07:45 . [2022-04-04T07:50:45.405Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 07:45 .. [2022-04-04T07:50:45.405Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 4 07:45 cost [2022-04-04T07:50:45.405Z] -rw-r--r-- 1 jenkins jenkins 81 Apr 4 07:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-04T07:50:45.740Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T07:50:46.633Z] ---> package-listing.sh [2022-04-04T07:50:46.633Z] ++ facter osfamily [2022-04-04T07:50:46.633Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-04T07:50:46.895Z] + OS_FAMILY=debian [2022-04-04T07:50:46.896Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-22 [2022-04-04T07:50:46.896Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-04T07:50:46.896Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-04T07:50:46.896Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-04T07:50:46.896Z] + PACKAGES=/tmp/packages_start.txt [2022-04-04T07:50:46.896Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-22 ']' [2022-04-04T07:50:46.896Z] + PACKAGES=/tmp/packages_end.txt [2022-04-04T07:50:46.896Z] + case "${OS_FAMILY}" in [2022-04-04T07:50:46.896Z] + dpkg -l [2022-04-04T07:50:46.896Z] + grep '^ii' [2022-04-04T07:50:46.896Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-04T07:50:46.896Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-04T07:50:46.896Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-04T07:50:46.896Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-22 ']' [2022-04-04T07:50:46.896Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-22/archives/ [2022-04-04T07:50:46.896Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-22/archives/ [Pipeline] echo [2022-04-04T07:50:46.925Z] 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-22/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-04T07:50:47.219Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-04T07:50:47.805Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T07:50:47.805Z] . [Pipeline] withDockerContainer [2022-04-04T07:50:47.895Z] prd-ubuntu20.04-docker-8c-8g-10632 does not seem to be running inside a container [2022-04-04T07:50:47.931Z] $ 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-22/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-22 -v /w/workspace/edgexfoundry_device-gpio_PR-22:/w/workspace/edgexfoundry_device-gpio_PR-22:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-22@tmp:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-04T07:50:48.130Z] $ docker top 31c20afd5f36547c274f0460ce4d59a4ba72a4187faf5274b77e9413a6281f6a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-04T07:50:48.523Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-04T07:50:48.832Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-04T07:50:49.142Z] + ls /var/log/sa-host [2022-04-04T07:50:49.142Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T07:50:49.413Z] provisioning config files... [2022-04-04T07:50:49.424Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/config2053769987734068491tmp [Pipeline] { [Pipeline] echo [2022-04-04T07:50:49.470Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T07:50:49.788Z] ---> create-netrc.sh [Pipeline] } [2022-04-04T07:50:49.815Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-04T07:50:50.238Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-04T07:50:50.269Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T07:50:50.585Z] ---> sudo-logs.sh [2022-04-04T07:50:50.585Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-04T07:50:50.669Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T07:50:50.982Z] ---> job-cost.sh [2022-04-04T07:50:50.982Z] lf-activate-venv: SKIPPING [2022-04-04T07:50:50.982Z] DEBUG: total: 0.2199999988079071 [2022-04-04T07:50:50.982Z] INFO: Retrieving Stack Cost... [2022-04-04T07:50:51.551Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-04T07:50:52.121Z] INFO: Archiving Costs [Pipeline] echo [2022-04-04T07:50:52.157Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T07:50:52.477Z] ---> logs-deploy.sh [2022-04-04T07:50:52.477Z] lf-activate-venv: SKIPPING [2022-04-04T07:50:52.477Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-22/1 [2022-04-04T07:50:52.477Z] INFO: archiving workspace using pattern(s): [2022-04-04T07:50:53.419Z] Archives upload complete. [2022-04-04T07:50:53.419Z] INFO: archiving logs to Nexus