Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b9afc87bdaf6fb1a5adf70b8290df672557dec94 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-ssh12285492968064980896.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-ssh1497655184118665909.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5975921596478252109.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10035727827062771011.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14614970615653331849.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-20810 in /w/workspace/edgexfoundry_device-gpio_main [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_main # 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 Avoid second fetch Checking out Revision b9afc87bdaf6fb1a5adf70b8290df672557dec94 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f b9afc87bdaf6fb1a5adf70b8290df672557dec94 # timeout=10 Commit message: "fix: remove set of direction of a get GPIO or read (#24)" > git rev-list --no-walk 43183f3ae652bf6e70cde95040f0d9b44678e222 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-13T14:34:37.643Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-13T14:34:37.706Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-13T14:34:37.721Z] ========================================================= [2022-04-13T14:34:37.721Z] EdgeX Global Pipelines Version Info [2022-04-13T14:34:37.721Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-13T14:34:38.500Z] ------------------- [2022-04-13T14:34:38.500Z] stable info: [2022-04-13T14:34:38.500Z] ------------------- [2022-04-13T14:34:38.501Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-13T14:34:38.501Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-13T14:34:38.501Z] Message: update stable to v1.0.221 [2022-04-13T14:34:39.073Z] ------------------- [2022-04-13T14:34:39.073Z] experimental info: [2022-04-13T14:34:39.073Z] ------------------- [2022-04-13T14:34:39.073Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-13T14:34:39.073Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-13T14:34:39.074Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-13T14:34:39.201Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-04-13T14:34:39.218Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-04-13T14:34:39.234Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-13T14:34:39.245Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-13T14:34:39.258Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-13T14:34:39.269Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-13T14:34:39.281Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-13T14:34:39.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-13T14:34:39.312Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-13T14:34:39.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-13T14:34:39.336Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-13T14:34:39.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-04-13T14:34:39.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-13T14:34:39.373Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-13T14:34:39.389Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-13T14:34:39.402Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-13T14:34:39.414Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-13T14:34:39.427Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-13T14:34:39.439Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-13T14:34:39.451Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-13T14:34:39.461Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-13T14:34:39.476Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-13T14:34:39.488Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-13T14:34:39.501Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-13T14:34:39.518Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-13T14:34:39.536Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-13T14:34:39.551Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-13T14:34:39.572Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-13T14:34:39.585Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-13T14:34:39.600Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b9afc87bdaf6fb1a5adf70b8290df672557dec94 [Pipeline] echo [2022-04-13T14:34:39.615Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b9afc87 [Pipeline] echo [2022-04-13T14:34:39.639Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T14:34:39.686Z] provisioning config files... [2022-04-13T14:34:39.697Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3302415935194086972tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T14:34:40.015Z] ---> docker-login.sh [2022-04-13T14:34:40.016Z] nexus3.edgexfoundry.org:10001 [2022-04-13T14:34:40.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T14:34:40.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T14:34:40.277Z] Configure a credential helper to remove this warning. See [2022-04-13T14:34:40.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T14:34:40.277Z] [2022-04-13T14:34:40.277Z] Login Succeeded [2022-04-13T14:34:40.277Z] nexus3.edgexfoundry.org:10002 [2022-04-13T14:34:40.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T14:34:40.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T14:34:40.538Z] Configure a credential helper to remove this warning. See [2022-04-13T14:34:40.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T14:34:40.538Z] [2022-04-13T14:34:40.538Z] Login Succeeded [2022-04-13T14:34:40.538Z] nexus3.edgexfoundry.org:10003 [2022-04-13T14:34:40.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T14:34:40.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T14:34:40.538Z] Configure a credential helper to remove this warning. See [2022-04-13T14:34:40.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T14:34:40.538Z] [2022-04-13T14:34:40.538Z] Login Succeeded [2022-04-13T14:34:40.538Z] nexus3.edgexfoundry.org:10004 [2022-04-13T14:34:40.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T14:34:40.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T14:34:40.799Z] Configure a credential helper to remove this warning. See [2022-04-13T14:34:40.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T14:34:40.799Z] [2022-04-13T14:34:40.799Z] Login Succeeded [2022-04-13T14:34:40.799Z] docker.io [2022-04-13T14:34:40.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T14:34:41.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T14:34:41.060Z] Configure a credential helper to remove this warning. See [2022-04-13T14:34:41.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T14:34:41.060Z] [2022-04-13T14:34:41.060Z] Login Succeeded [2022-04-13T14:34:41.060Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T14:34:41.069Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-13T14:34:41.463Z] + git rev-list -1 --merges b9afc87bdaf6fb1a5adf70b8290df672557dec94~1..b9afc87bdaf6fb1a5adf70b8290df672557dec94 [Pipeline] echo [2022-04-13T14:34:41.596Z] -----------> git rev-list -1 --merges b9afc87bdaf6fb1a5adf70b8290df672557dec94~1..b9afc87bdaf6fb1a5adf70b8290df672557dec94 b9afc87bdaf6fb1a5adf70b8290df672557dec94 [false] [Pipeline] sh [2022-04-13T14:34:41.889Z] + git log --format=format:%s -1 b9afc87bdaf6fb1a5adf70b8290df672557dec94 [Pipeline] echo [2022-04-13T14:34:41.906Z] ========================================================= [2022-04-13T14:34:41.906Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-13T14:34:41.906Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T14:34:42.242Z] + git log --format=format:%s -1 b9afc87bdaf6fb1a5adf70b8290df672557dec94 [Pipeline] echo [2022-04-13T14:34:42.256Z] [semverPrep] GIT_COMMIT: b9afc87bdaf6fb1a5adf70b8290df672557dec94, Commit Message: fix: remove set of direction of a get GPIO or read (#24) [Pipeline] echo [2022-04-13T14:34:42.268Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-13T14:34:42.711Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-13T14:34:42.711Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-13T14:34:42.711Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-13T14:34:42.711Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-13T14:34:42.711Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-13T14:34:42.711Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-13T14:34:42.711Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:34:43.139Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T14:34:43.139Z] [2022-04-13T14:34:43.139Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:34:43.449Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T14:34:43.449Z] latest: Pulling from edgex-devops/git-semver [2022-04-13T14:34:43.449Z] a0d0a0d46f8b: Pulling fs layer [2022-04-13T14:34:43.449Z] 3e5f54012d9b: Pulling fs layer [2022-04-13T14:34:43.449Z] 4c7163046ea9: Pulling fs layer [2022-04-13T14:34:43.449Z] 0c2d73faf560: Pulling fs layer [2022-04-13T14:34:43.449Z] 0c2d73faf560: Waiting [2022-04-13T14:34:43.449Z] 3e5f54012d9b: Download complete [2022-04-13T14:34:43.449Z] a0d0a0d46f8b: Download complete [2022-04-13T14:34:43.449Z] 0c2d73faf560: Verifying Checksum [2022-04-13T14:34:43.449Z] 0c2d73faf560: Download complete [2022-04-13T14:34:43.710Z] 4c7163046ea9: Verifying Checksum [2022-04-13T14:34:43.710Z] 4c7163046ea9: Download complete [2022-04-13T14:34:43.710Z] a0d0a0d46f8b: Pull complete [2022-04-13T14:34:43.710Z] 3e5f54012d9b: Pull complete [2022-04-13T14:34:44.284Z] 4c7163046ea9: Pull complete [2022-04-13T14:34:44.284Z] 0c2d73faf560: Pull complete [2022-04-13T14:34:44.284Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-13T14:34:44.284Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T14:34:44.284Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-13T14:34:44.369Z] prd-ubuntu20.04-docker-8c-8g-20810 does not seem to be running inside a container [2022-04-13T14:34:44.412Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-13T14:34:45.114Z] $ docker top 6d8b6a5cdd1a2a8b3bbeca85ce3b7d37256659e6f06b5db30b97a7f1294c9129 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-13T14:34:45.224Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T14:34:45.224Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T14:34:45.358Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T14:34:45.364Z] $ docker exec 6d8b6a5cdd1a2a8b3bbeca85ce3b7d37256659e6f06b5db30b97a7f1294c9129 ssh-agent [2022-04-13T14:34:45.496Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiEPpog/agent.13 [2022-04-13T14:34:45.496Z] SSH_AGENT_PID=19 [2022-04-13T14:34:45.504Z] Running ssh-add (command line suppressed) [2022-04-13T14:34:45.631Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7939647469598867265.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7939647469598867265.key) [2022-04-13T14:34:45.644Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T14:34:45.940Z] + git tag --points-at HEAD [Pipeline] } [2022-04-13T14:34:45.957Z] $ docker exec --env ******** --env ******** 6d8b6a5cdd1a2a8b3bbeca85ce3b7d37256659e6f06b5db30b97a7f1294c9129 ssh-agent -k [2022-04-13T14:34:46.081Z] unset SSH_AUTH_SOCK; [2022-04-13T14:34:46.081Z] unset SSH_AGENT_PID; [2022-04-13T14:34:46.081Z] echo Agent pid 19 killed; [2022-04-13T14:34:46.092Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-13T14:34:46.113Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T14:34:46.113Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T14:34:46.245Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T14:34:46.252Z] $ docker exec 6d8b6a5cdd1a2a8b3bbeca85ce3b7d37256659e6f06b5db30b97a7f1294c9129 ssh-agent [2022-04-13T14:34:46.383Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKfpogn/agent.52 [2022-04-13T14:34:46.383Z] SSH_AGENT_PID=59 [2022-04-13T14:34:46.388Z] Running ssh-add (command line suppressed) [2022-04-13T14:34:46.506Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7063212540783728258.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7063212540783728258.key) [2022-04-13T14:34:46.522Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T14:34:46.814Z] + git semver init [2022-04-13T14:34:46.814Z] # -> Open(): unable to determine branch for HEAD [2022-04-13T14:34:46.814Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2022-04-13T14:34:46.814Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2022-04-13T14:34:46.814Z] # $SEMVER_REMOTE_NAME = origin [2022-04-13T14:34:46.814Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-13T14:34:46.814Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-13T14:34:46.814Z] # $SEMVER_BRANCH = main [2022-04-13T14:34:46.814Z] # $SEMVER_TEMP = /tmp/semver-805742442 [2022-04-13T14:34:46.814Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2022-04-13T14:34:47.757Z] # '/tmp/semver-805742442' -> '/w/workspace/edgexfoundry_device-gpio_main/.semver' [2022-04-13T14:34:47.757Z] # -> Force: false [2022-04-13T14:34:47.757Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } [2022-04-13T14:34:47.771Z] $ docker exec --env ******** --env ******** 6d8b6a5cdd1a2a8b3bbeca85ce3b7d37256659e6f06b5db30b97a7f1294c9129 ssh-agent -k [2022-04-13T14:34:47.883Z] unset SSH_AUTH_SOCK; [2022-04-13T14:34:47.883Z] unset SSH_AGENT_PID; [2022-04-13T14:34:47.883Z] echo Agent pid 59 killed; [2022-04-13T14:34:47.892Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-13T14:34:48.210Z] + git semver [Pipeline] } [2022-04-13T14:34:48.227Z] $ docker stop --time=1 6d8b6a5cdd1a2a8b3bbeca85ce3b7d37256659e6f06b5db30b97a7f1294c9129 [2022-04-13T14:34:49.630Z] $ docker rm -f 6d8b6a5cdd1a2a8b3bbeca85ce3b7d37256659e6f06b5db30b97a7f1294c9129 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T14:34:49.981Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-13T14:34:50.248Z] Stashed 1 file(s) [Pipeline] echo [2022-04-13T14:34:50.253Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.6 [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-13T14:34:50.402Z] provisioning config files... [2022-04-13T14:34:50.412Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6334251526602055078tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T14:34:50.717Z] ---> docker-login.sh [2022-04-13T14:34:50.717Z] nexus3.edgexfoundry.org:10001 [2022-04-13T14:34:50.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T14:34:50.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T14:34:50.717Z] Configure a credential helper to remove this warning. See [2022-04-13T14:34:50.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T14:34:50.717Z] [2022-04-13T14:34:50.717Z] Login Succeeded [2022-04-13T14:34:50.717Z] nexus3.edgexfoundry.org:10002 [2022-04-13T14:34:50.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T14:34:50.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T14:34:50.980Z] Configure a credential helper to remove this warning. See [2022-04-13T14:34:50.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T14:34:50.980Z] [2022-04-13T14:34:50.980Z] Login Succeeded [2022-04-13T14:34:50.980Z] nexus3.edgexfoundry.org:10003 [2022-04-13T14:34:50.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T14:34:50.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T14:34:50.980Z] Configure a credential helper to remove this warning. See [2022-04-13T14:34:50.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T14:34:50.980Z] [2022-04-13T14:34:50.980Z] Login Succeeded [2022-04-13T14:34:50.980Z] nexus3.edgexfoundry.org:10004 [2022-04-13T14:34:50.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T14:34:51.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T14:34:51.242Z] Configure a credential helper to remove this warning. See [2022-04-13T14:34:51.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T14:34:51.242Z] [2022-04-13T14:34:51.242Z] Login Succeeded [2022-04-13T14:34:51.242Z] docker.io [2022-04-13T14:34:51.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T14:34:51.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T14:34:51.503Z] Configure a credential helper to remove this warning. See [2022-04-13T14:34:51.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T14:34:51.503Z] [2022-04-13T14:34:51.503Z] Login Succeeded [2022-04-13T14:34:51.503Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T14:34:51.511Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-13T14:34:51.579Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T14:34:51.589Z] ========================================================= [2022-04-13T14:34:51.589Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-13T14:34:51.589Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:34:51.899Z] + 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-13T14:34:51.899Z] Sending build context to Docker daemon 11.09MB [2022-04-13T14:34:51.899Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T14:34:51.899Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-13T14:34:51.899Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-13T14:34:51.899Z] 59bf1c3509f3: Pulling fs layer [2022-04-13T14:34:51.899Z] 666ba61612fd: Pulling fs layer [2022-04-13T14:34:51.899Z] 8ed8ca486205: Pulling fs layer [2022-04-13T14:34:51.899Z] 4fe6c5a15a65: Pulling fs layer [2022-04-13T14:34:51.899Z] 22a0e8bec74d: Pulling fs layer [2022-04-13T14:34:51.899Z] 640e595b4fbd: Pulling fs layer [2022-04-13T14:34:51.899Z] 763cafe07f6e: Pulling fs layer [2022-04-13T14:34:51.899Z] 0c0b528cf693: Pulling fs layer [2022-04-13T14:34:51.899Z] 10935f4eaf8b: Pulling fs layer [2022-04-13T14:34:51.899Z] 640e595b4fbd: Waiting [2022-04-13T14:34:51.899Z] 763cafe07f6e: Waiting [2022-04-13T14:34:51.899Z] 0c0b528cf693: Waiting [2022-04-13T14:34:51.899Z] 10935f4eaf8b: Waiting [2022-04-13T14:34:51.899Z] 4fe6c5a15a65: Waiting [2022-04-13T14:34:51.899Z] 22a0e8bec74d: Waiting [2022-04-13T14:34:51.899Z] 8ed8ca486205: Verifying Checksum [2022-04-13T14:34:51.899Z] 8ed8ca486205: Download complete [2022-04-13T14:34:52.158Z] 666ba61612fd: Verifying Checksum [2022-04-13T14:34:52.158Z] 22a0e8bec74d: Verifying Checksum [2022-04-13T14:34:52.158Z] 22a0e8bec74d: Download complete [2022-04-13T14:34:52.158Z] 59bf1c3509f3: Verifying Checksum [2022-04-13T14:34:52.158Z] 59bf1c3509f3: Download complete [2022-04-13T14:34:52.158Z] 640e595b4fbd: Download complete [2022-04-13T14:34:52.158Z] 763cafe07f6e: Verifying Checksum [2022-04-13T14:34:52.158Z] 763cafe07f6e: Download complete [2022-04-13T14:34:52.158Z] 0c0b528cf693: Verifying Checksum [2022-04-13T14:34:52.158Z] 0c0b528cf693: Download complete [2022-04-13T14:34:52.158Z] 59bf1c3509f3: Pull complete [2022-04-13T14:34:52.419Z] 666ba61612fd: Pull complete [2022-04-13T14:34:52.419Z] 8ed8ca486205: Pull complete [2022-04-13T14:34:52.686Z] 10935f4eaf8b: Verifying Checksum [2022-04-13T14:34:52.686Z] 10935f4eaf8b: Download complete [2022-04-13T14:34:52.950Z] 4fe6c5a15a65: Verifying Checksum [2022-04-13T14:34:52.950Z] 4fe6c5a15a65: Download complete [2022-04-13T14:34:57.152Z] 4fe6c5a15a65: Pull complete [2022-04-13T14:34:57.152Z] 22a0e8bec74d: Pull complete [2022-04-13T14:34:57.152Z] 640e595b4fbd: Pull complete [2022-04-13T14:34:57.152Z] 763cafe07f6e: Pull complete [2022-04-13T14:34:57.152Z] 0c0b528cf693: Pull complete [2022-04-13T14:34:59.064Z] 10935f4eaf8b: Pull complete [2022-04-13T14:34:59.324Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-13T14:34:59.324Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-13T14:34:59.324Z] ---> 99d49a6021b9 [2022-04-13T14:34:59.324Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-13T14:35:00.707Z] ---> Running in d53f7757290f [2022-04-13T14:35:00.707Z] Removing intermediate container d53f7757290f [2022-04-13T14:35:00.707Z] ---> 9c2dc40b1ed0 [2022-04-13T14:35:00.707Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-04-13T14:35:00.707Z] ---> Running in e508fcd774f2 [2022-04-13T14:35:00.968Z] Removing intermediate container e508fcd774f2 [2022-04-13T14:35:00.968Z] ---> 416e3c8e6cb0 [2022-04-13T14:35:00.968Z] Step 5/11 : WORKDIR /device-gpio [2022-04-13T14:35:00.968Z] ---> Running in b2840869dbd7 [2022-04-13T14:35:00.968Z] Removing intermediate container b2840869dbd7 [2022-04-13T14:35:00.968Z] ---> 8805d7b4d2e4 [2022-04-13T14:35:00.968Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T14:35:01.230Z] ---> Running in 73fb8554c9d0 [2022-04-13T14:35:01.803Z] Removing intermediate container 73fb8554c9d0 [2022-04-13T14:35:01.803Z] ---> e9b2f5b5ec2c [2022-04-13T14:35:01.803Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-13T14:35:01.803Z] ---> Running in 8070afed7dd1 [2022-04-13T14:35:02.064Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-13T14:35:03.018Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-13T14:35:03.281Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-13T14:35:03.542Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-13T14:35:03.542Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-13T14:35:03.542Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-13T14:35:03.803Z] Executing busybox-1.34.1-r3.trigger [2022-04-13T14:35:03.803Z] OK: 224 MiB in 56 packages [2022-04-13T14:35:04.064Z] Removing intermediate container 8070afed7dd1 [2022-04-13T14:35:04.064Z] ---> 9f72cca249a1 [2022-04-13T14:35:04.064Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-13T14:35:04.324Z] ---> c11bbd4adc3d [2022-04-13T14:35:04.324Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T14:35:04.324Z] ---> Running in 8033a07c54c6 [2022-04-13T14:35:05.366Z] Still waiting to schedule task [2022-04-13T14:35:05.367Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-13T14:35:30.909Z] Removing intermediate container 8033a07c54c6 [2022-04-13T14:35:30.909Z] ---> d1430be9074b [2022-04-13T14:35:30.909Z] Step 10/11 : COPY . . [2022-04-13T14:35:30.909Z] ---> 2db3cb46acbb [2022-04-13T14:35:30.909Z] Step 11/11 : RUN ${MAKE} [2022-04-13T14:35:30.909Z] ---> Running in 39a3b1a42cc1 [2022-04-13T14:35:31.169Z] Removing intermediate container 39a3b1a42cc1 [2022-04-13T14:35:31.169Z] ---> ceb604201592 [2022-04-13T14:35:31.169Z] [Warning] One or more build-args [MAKE] were not consumed [2022-04-13T14:35:31.169Z] Successfully built ceb604201592 [2022-04-13T14:35:31.169Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:35:31.468Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-13T14:35:31.468Z] . [Pipeline] withDockerContainer [2022-04-13T14:35:31.536Z] prd-ubuntu20.04-docker-8c-8g-20810 does not seem to be running inside a container [2022-04-13T14:35:31.576Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** ci-base-image-x86_64 cat [2022-04-13T14:35:31.977Z] $ docker top 78c894cdd14ebab4f23b99cf7ebcee666c421ab9c4d5e57636c30c59dfb345e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T14:35:32.336Z] + go version [2022-04-13T14:35:32.336Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-13T14:35:32.351Z] $ docker stop --time=1 78c894cdd14ebab4f23b99cf7ebcee666c421ab9c4d5e57636c30c59dfb345e9 [2022-04-13T14:35:33.687Z] $ docker rm -f 78c894cdd14ebab4f23b99cf7ebcee666c421ab9c4d5e57636c30c59dfb345e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:35:34.111Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-13T14:35:34.111Z] . [Pipeline] withDockerContainer [2022-04-13T14:35:34.175Z] prd-ubuntu20.04-docker-8c-8g-20810 does not seem to be running inside a container [2022-04-13T14:35:34.211Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** ci-base-image-x86_64 cat [2022-04-13T14:35:34.573Z] $ docker top 390fb441d150e7ed3cdde1afc195a2371c95acf96832982e53cb0487d5f84ddd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-13T14:35:34.940Z] + make test [2022-04-13T14:35:34.940Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-13T14:35:35.199Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-04-13T14:35:41.770Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-04-13T14:35:41.770Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-04-13T14:35:46.126Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-13T14:35:48.665Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-13T14:35:48.665Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-13T14:35:48.665Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-13T14:35:48.940Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-13T14:35:48.958Z] $ docker stop --time=1 390fb441d150e7ed3cdde1afc195a2371c95acf96832982e53cb0487d5f84ddd [2022-04-13T14:35:50.628Z] $ docker rm -f 390fb441d150e7ed3cdde1afc195a2371c95acf96832982e53cb0487d5f84ddd [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T14:35:51.060Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-13T14:35:51.094Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-13T14:35:52.130Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-13T14:35:52.420Z] + ls -al . [2022-04-13T14:35:52.420Z] total 188 [2022-04-13T14:35:52.420Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 14:35 . [2022-04-13T14:35:52.420Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 14:34 .. [2022-04-13T14:35:52.420Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 13 14:34 .dockerignore [2022-04-13T14:35:52.420Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 14:34 .git [2022-04-13T14:35:52.420Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 14:34 .github [2022-04-13T14:35:52.420Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 13 14:34 .gitignore [2022-04-13T14:35:52.420Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 14:34 .golangci.yml [2022-04-13T14:35:52.420Z] drwx------ 3 jenkins jenkins 4096 Apr 13 14:34 .semver [2022-04-13T14:35:52.420Z] -rw-rw-r-- 1 jenkins jenkins 7772 Apr 13 14:34 Attribution.txt [2022-04-13T14:35:52.420Z] -rw-rw-r-- 1 jenkins jenkins 1846 Apr 13 14:34 Dockerfile [2022-04-13T14:35:52.420Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 14:34 GOVERNANCE.md [2022-04-13T14:35:52.420Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 13 14:34 Jenkinsfile [2022-04-13T14:35:52.421Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 14:34 LICENSE [2022-04-13T14:35:52.421Z] -rw-rw-r-- 1 jenkins jenkins 1876 Apr 13 14:34 Makefile [2022-04-13T14:35:52.421Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 13 14:34 OWNERS.md [2022-04-13T14:35:52.421Z] -rw-rw-r-- 1 jenkins jenkins 10844 Apr 13 14:34 README.md [2022-04-13T14:35:52.421Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 13 14:34 VERSION [2022-04-13T14:35:52.421Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 14:34 bin [2022-04-13T14:35:52.421Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 14:34 cmd [2022-04-13T14:35:52.421Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 13 14:35 coverage.out [2022-04-13T14:35:52.421Z] -rw-rw-r-- 1 jenkins jenkins 2794 Apr 13 14:34 go.mod [2022-04-13T14:35:52.421Z] -rw-rw-r-- 1 jenkins jenkins 70652 Apr 13 14:34 go.sum [2022-04-13T14:35:52.421Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 14:34 internal [2022-04-13T14:35:52.421Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 14:34 snap [2022-04-13T14:35:52.421Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 13 14:34 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:35:52.720Z] + 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=b9afc87bdaf6fb1a5adf70b8290df672557dec94 --label arch=amd64 --label version=2.0.0-dev.6 . [2022-04-13T14:35:52.720Z] Sending build context to Docker daemon 11.1MB [2022-04-13T14:35:52.720Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T14:35:52.720Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-13T14:35:52.720Z] ---> ceb604201592 [2022-04-13T14:35:52.720Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-13T14:35:52.981Z] ---> Running in 410ea8c288d8 [2022-04-13T14:35:52.981Z] Removing intermediate container 410ea8c288d8 [2022-04-13T14:35:52.981Z] ---> 3d603bbc71f9 [2022-04-13T14:35:52.981Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-13T14:35:52.981Z] ---> Running in a87b39c10036 [2022-04-13T14:35:52.981Z] Removing intermediate container a87b39c10036 [2022-04-13T14:35:52.981Z] ---> 926fa42a29cf [2022-04-13T14:35:52.981Z] Step 5/25 : WORKDIR /device-gpio [2022-04-13T14:35:53.241Z] ---> Running in c5c17b7fa0cc [2022-04-13T14:35:53.241Z] Removing intermediate container c5c17b7fa0cc [2022-04-13T14:35:53.241Z] ---> 25191c35b8d2 [2022-04-13T14:35:53.241Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T14:35:53.241Z] ---> Running in 165657b87b33 [2022-04-13T14:35:53.809Z] Removing intermediate container 165657b87b33 [2022-04-13T14:35:53.809Z] ---> 8a5a56d6173f [2022-04-13T14:35:53.809Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-13T14:35:54.069Z] ---> Running in 96cc6db60687 [2022-04-13T14:35:54.330Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-13T14:35:55.271Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-13T14:35:55.271Z] OK: 224 MiB in 56 packages [2022-04-13T14:35:55.841Z] Removing intermediate container 96cc6db60687 [2022-04-13T14:35:55.841Z] ---> 66f30ea5a6dd [2022-04-13T14:35:55.841Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-13T14:35:55.841Z] ---> a1e2e3df1fc4 [2022-04-13T14:35:55.841Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T14:35:55.841Z] ---> Running in 6749e6098560 [2022-04-13T14:35:56.411Z] Removing intermediate container 6749e6098560 [2022-04-13T14:35:56.411Z] ---> 7e8db8e853d8 [2022-04-13T14:35:56.411Z] Step 10/25 : COPY . . [2022-04-13T14:35:56.981Z] ---> 2163df88e9a2 [2022-04-13T14:35:56.981Z] Step 11/25 : RUN ${MAKE} [2022-04-13T14:35:56.981Z] ---> Running in 9c230d41093c [2022-04-13T14:35:57.551Z] Removing intermediate container 9c230d41093c [2022-04-13T14:35:57.551Z] ---> 5afd7524d998 [2022-04-13T14:35:57.551Z] Step 12/25 : FROM alpine:3.15 [2022-04-13T14:35:58.124Z] 3.15: Pulling from library/alpine [2022-04-13T14:35:58.124Z] df9b9388f04a: Pulling fs layer [2022-04-13T14:35:58.385Z] df9b9388f04a: Verifying Checksum [2022-04-13T14:35:58.385Z] df9b9388f04a: Download complete [2022-04-13T14:35:58.650Z] df9b9388f04a: Pull complete [2022-04-13T14:35:58.650Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-04-13T14:35:58.650Z] Status: Downloaded newer image for alpine:3.15 [2022-04-13T14:35:58.650Z] ---> 0ac33e5f5afa [2022-04-13T14:35:58.650Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-04-13T14:35:58.650Z] ---> Running in 616efb7f6d99 [2022-04-13T14:35:58.650Z] Removing intermediate container 616efb7f6d99 [2022-04-13T14:35:58.650Z] ---> 3af2d8cb523c [2022-04-13T14:35:58.650Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T14:35:58.650Z] ---> Running in a165a5141aeb [2022-04-13T14:35:59.221Z] Removing intermediate container a165a5141aeb [2022-04-13T14:35:59.221Z] ---> d98a603f282e [2022-04-13T14:35:59.221Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-13T14:35:59.481Z] ---> Running in 78da881bdac5 [2022-04-13T14:35:59.742Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-13T14:36:00.315Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-13T14:36:00.887Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-04-13T14:36:00.887Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-13T14:36:00.887Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-04-13T14:36:00.887Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-13T14:36:01.149Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-13T14:36:01.149Z] Executing busybox-1.34.1-r5.trigger [2022-04-13T14:36:01.149Z] OK: 8 MiB in 19 packages [2022-04-13T14:36:01.720Z] Removing intermediate container 78da881bdac5 [2022-04-13T14:36:01.720Z] ---> 2a4a57f6bffa [2022-04-13T14:36:01.720Z] Step 16/25 : WORKDIR / [2022-04-13T14:36:01.720Z] ---> Running in 0cd4a0c9ec56 [2022-04-13T14:36:01.720Z] Removing intermediate container 0cd4a0c9ec56 [2022-04-13T14:36:01.720Z] ---> 0a9e722b4620 [2022-04-13T14:36:01.720Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-04-13T14:36:01.981Z] ---> 9ecae58d151a [2022-04-13T14:36:01.981Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-04-13T14:36:01.981Z] ---> e0ff3ce11df4 [2022-04-13T14:36:01.981Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-04-13T14:36:02.245Z] ---> 2d8d732c0581 [2022-04-13T14:36:02.245Z] Step 20/25 : EXPOSE 59910 [2022-04-13T14:36:02.245Z] ---> Running in 9986080c5a02 [2022-04-13T14:36:02.245Z] Removing intermediate container 9986080c5a02 [2022-04-13T14:36:02.245Z] ---> f17516738add [2022-04-13T14:36:02.245Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-04-13T14:36:02.506Z] ---> Running in b746030fb4bc [2022-04-13T14:36:02.506Z] Removing intermediate container b746030fb4bc [2022-04-13T14:36:02.506Z] ---> a3c8dfcae61d [2022-04-13T14:36:02.506Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-13T14:36:02.506Z] ---> Running in 863763c4cda9 [2022-04-13T14:36:02.506Z] Removing intermediate container 863763c4cda9 [2022-04-13T14:36:02.506Z] ---> 557b4f7eac00 [2022-04-13T14:36:02.506Z] Step 23/25 : LABEL arch=amd64 [2022-04-13T14:36:02.769Z] ---> Running in 32540b47ccea [2022-04-13T14:36:02.769Z] Removing intermediate container 32540b47ccea [2022-04-13T14:36:02.769Z] ---> e90b78718ac3 [2022-04-13T14:36:02.769Z] Step 24/25 : LABEL git_sha=b9afc87bdaf6fb1a5adf70b8290df672557dec94 [2022-04-13T14:36:02.769Z] ---> Running in 030e873c5150 [2022-04-13T14:36:02.769Z] Removing intermediate container 030e873c5150 [2022-04-13T14:36:02.769Z] ---> ea5cd9a0fd07 [2022-04-13T14:36:02.769Z] Step 25/25 : LABEL version=2.0.0-dev.6 [2022-04-13T14:36:03.028Z] ---> Running in fbca58806910 [2022-04-13T14:36:03.028Z] Removing intermediate container fbca58806910 [2022-04-13T14:36:03.028Z] ---> 898a1dd30b30 [2022-04-13T14:36:03.028Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2022-04-13T14:36:03.028Z] Successfully built 898a1dd30b30 [2022-04-13T14:36:03.028Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T14:36:03.116Z] provisioning config files... [2022-04-13T14:36:03.126Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1272280042351513086tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T14:36:03.422Z] ---> docker-login.sh [2022-04-13T14:36:03.422Z] nexus3.edgexfoundry.org:10001 [2022-04-13T14:36:03.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T14:36:03.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T14:36:03.422Z] Configure a credential helper to remove this warning. See [2022-04-13T14:36:03.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T14:36:03.422Z] [2022-04-13T14:36:03.422Z] Login Succeeded [2022-04-13T14:36:03.422Z] nexus3.edgexfoundry.org:10002 [2022-04-13T14:36:03.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T14:36:03.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T14:36:03.683Z] Configure a credential helper to remove this warning. See [2022-04-13T14:36:03.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T14:36:03.683Z] [2022-04-13T14:36:03.683Z] Login Succeeded [2022-04-13T14:36:03.683Z] nexus3.edgexfoundry.org:10003 [2022-04-13T14:36:03.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T14:36:03.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T14:36:03.683Z] Configure a credential helper to remove this warning. See [2022-04-13T14:36:03.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T14:36:03.683Z] [2022-04-13T14:36:03.683Z] Login Succeeded [2022-04-13T14:36:03.683Z] nexus3.edgexfoundry.org:10004 [2022-04-13T14:36:03.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T14:36:03.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T14:36:03.945Z] Configure a credential helper to remove this warning. See [2022-04-13T14:36:03.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T14:36:03.945Z] [2022-04-13T14:36:03.946Z] Login Succeeded [2022-04-13T14:36:03.946Z] docker.io [2022-04-13T14:36:03.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T14:36:04.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T14:36:04.206Z] Configure a credential helper to remove this warning. See [2022-04-13T14:36:04.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T14:36:04.206Z] [2022-04-13T14:36:04.206Z] Login Succeeded [2022-04-13T14:36:04.206Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T14:36:04.215Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-13T14:36:04.253Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T14:36:04.278Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2022-04-13T14:36:04.278Z] b9afc87bdaf6fb1a5adf70b8290df672557dec94 [2022-04-13T14:36:04.278Z] latest [2022-04-13T14:36:04.278Z] 2.0.0-dev.6 [2022-04-13T14:36:04.278Z] b9afc87bdaf6fb1a5adf70b8290df672557dec94-2.0.0-dev.6 [2022-04-13T14:36:04.278Z] main [2022-04-13T14:36:04.278Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:36:04.591Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:b9afc87bdaf6fb1a5adf70b8290df672557dec94 [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:36:04.887Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:b9afc87bdaf6fb1a5adf70b8290df672557dec94 [2022-04-13T14:36:04.887Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-04-13T14:36:04.887Z] b93590eb0e81: Preparing [2022-04-13T14:36:04.887Z] 5199de825786: Preparing [2022-04-13T14:36:04.887Z] 2133dd3f05e3: Preparing [2022-04-13T14:36:04.887Z] 1a61405e85bd: Preparing [2022-04-13T14:36:04.887Z] f761cba5f20a: Preparing [2022-04-13T14:36:04.887Z] 4fc242d58285: Preparing [2022-04-13T14:36:04.887Z] 4fc242d58285: Waiting [2022-04-13T14:36:04.887Z] 2133dd3f05e3: Pushed [2022-04-13T14:36:04.887Z] f761cba5f20a: Pushed [2022-04-13T14:36:04.887Z] 5199de825786: Pushed [2022-04-13T14:36:04.887Z] b93590eb0e81: Pushed [2022-04-13T14:36:04.887Z] 4fc242d58285: Layer already exists [2022-04-13T14:36:05.146Z] 1a61405e85bd: Pushed [2022-04-13T14:36:05.406Z] b9afc87bdaf6fb1a5adf70b8290df672557dec94: digest: sha256:81cb74cd7d4da1125398544a85aefa8de9c2046cbf2e7d4c13dc951f0a498522 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:36:05.706Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:36:06.004Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2022-04-13T14:36:06.004Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-04-13T14:36:06.004Z] b93590eb0e81: Preparing [2022-04-13T14:36:06.004Z] 5199de825786: Preparing [2022-04-13T14:36:06.004Z] 2133dd3f05e3: Preparing [2022-04-13T14:36:06.004Z] 1a61405e85bd: Preparing [2022-04-13T14:36:06.004Z] f761cba5f20a: Preparing [2022-04-13T14:36:06.004Z] 4fc242d58285: Preparing [2022-04-13T14:36:06.004Z] 4fc242d58285: Waiting [2022-04-13T14:36:06.004Z] 2133dd3f05e3: Layer already exists [2022-04-13T14:36:06.004Z] f761cba5f20a: Layer already exists [2022-04-13T14:36:06.004Z] 5199de825786: Layer already exists [2022-04-13T14:36:06.004Z] b93590eb0e81: Layer already exists [2022-04-13T14:36:06.004Z] 1a61405e85bd: Layer already exists [2022-04-13T14:36:06.004Z] 4fc242d58285: Layer already exists [2022-04-13T14:36:06.004Z] latest: digest: sha256:81cb74cd7d4da1125398544a85aefa8de9c2046cbf2e7d4c13dc951f0a498522 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:36:06.305Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.6 [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:36:06.599Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.6 [2022-04-13T14:36:06.600Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-04-13T14:36:06.600Z] b93590eb0e81: Preparing [2022-04-13T14:36:06.600Z] 5199de825786: Preparing [2022-04-13T14:36:06.600Z] 2133dd3f05e3: Preparing [2022-04-13T14:36:06.600Z] 1a61405e85bd: Preparing [2022-04-13T14:36:06.600Z] f761cba5f20a: Preparing [2022-04-13T14:36:06.600Z] 4fc242d58285: Preparing [2022-04-13T14:36:06.600Z] 4fc242d58285: Waiting [2022-04-13T14:36:06.600Z] 5199de825786: Layer already exists [2022-04-13T14:36:06.600Z] f761cba5f20a: Layer already exists [2022-04-13T14:36:06.600Z] 2133dd3f05e3: Layer already exists [2022-04-13T14:36:06.600Z] b93590eb0e81: Layer already exists [2022-04-13T14:36:06.600Z] 1a61405e85bd: Layer already exists [2022-04-13T14:36:06.600Z] 4fc242d58285: Layer already exists [2022-04-13T14:36:06.600Z] 2.0.0-dev.6: digest: sha256:81cb74cd7d4da1125398544a85aefa8de9c2046cbf2e7d4c13dc951f0a498522 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:36:06.895Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:b9afc87bdaf6fb1a5adf70b8290df672557dec94-2.0.0-dev.6 [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:36:07.187Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:b9afc87bdaf6fb1a5adf70b8290df672557dec94-2.0.0-dev.6 [2022-04-13T14:36:07.188Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-04-13T14:36:07.188Z] b93590eb0e81: Preparing [2022-04-13T14:36:07.188Z] 5199de825786: Preparing [2022-04-13T14:36:07.188Z] 2133dd3f05e3: Preparing [2022-04-13T14:36:07.188Z] 1a61405e85bd: Preparing [2022-04-13T14:36:07.188Z] f761cba5f20a: Preparing [2022-04-13T14:36:07.188Z] 4fc242d58285: Preparing [2022-04-13T14:36:07.188Z] 4fc242d58285: Waiting [2022-04-13T14:36:07.188Z] 5199de825786: Layer already exists [2022-04-13T14:36:07.188Z] 2133dd3f05e3: Layer already exists [2022-04-13T14:36:07.188Z] b93590eb0e81: Layer already exists [2022-04-13T14:36:07.188Z] 1a61405e85bd: Layer already exists [2022-04-13T14:36:07.188Z] f761cba5f20a: Layer already exists [2022-04-13T14:36:07.188Z] 4fc242d58285: Layer already exists [2022-04-13T14:36:07.188Z] b9afc87bdaf6fb1a5adf70b8290df672557dec94-2.0.0-dev.6: digest: sha256:81cb74cd7d4da1125398544a85aefa8de9c2046cbf2e7d4c13dc951f0a498522 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:36:07.506Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:36:07.804Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2022-04-13T14:36:07.804Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-04-13T14:36:07.804Z] b93590eb0e81: Preparing [2022-04-13T14:36:07.804Z] 5199de825786: Preparing [2022-04-13T14:36:07.804Z] 2133dd3f05e3: Preparing [2022-04-13T14:36:07.804Z] 1a61405e85bd: Preparing [2022-04-13T14:36:07.804Z] f761cba5f20a: Preparing [2022-04-13T14:36:07.804Z] 4fc242d58285: Preparing [2022-04-13T14:36:07.804Z] 4fc242d58285: Waiting [2022-04-13T14:36:07.804Z] 2133dd3f05e3: Layer already exists [2022-04-13T14:36:07.804Z] b93590eb0e81: Layer already exists [2022-04-13T14:36:07.804Z] 1a61405e85bd: Layer already exists [2022-04-13T14:36:07.804Z] f761cba5f20a: Layer already exists [2022-04-13T14:36:07.804Z] 5199de825786: Layer already exists [2022-04-13T14:36:07.804Z] 4fc242d58285: Layer already exists [2022-04-13T14:36:07.804Z] main: digest: sha256:81cb74cd7d4da1125398544a85aefa8de9c2046cbf2e7d4c13dc951f0a498522 size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-13T14:36:07.849Z] ===================================================== [Pipeline] echo [2022-04-13T14:36:07.859Z] taggedImages: [2022-04-13T14:36:07.859Z] - nexus3.edgexfoundry.org:10004/device-gpio:b9afc87bdaf6fb1a5adf70b8290df672557dec94 [2022-04-13T14:36:07.859Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2022-04-13T14:36:07.859Z] - nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.6 [2022-04-13T14:36:07.859Z] - nexus3.edgexfoundry.org:10004/device-gpio:b9afc87bdaf6fb1a5adf70b8290df672557dec94-2.0.0-dev.6 [2022-04-13T14:36:07.859Z] - nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // script [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-13T14:36:08.244Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T14:36:08.244Z] [2022-04-13T14:36:08.244Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:36:08.562Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T14:36:08.562Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-13T14:36:08.562Z] 5eb5b503b376: Pulling fs layer [2022-04-13T14:36:08.562Z] 5c69ac0246d0: Pulling fs layer [2022-04-13T14:36:08.562Z] ec43610c2a17: Pulling fs layer [2022-04-13T14:36:08.562Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-13T14:36:08.562Z] 33b1e0a273af: Pulling fs layer [2022-04-13T14:36:08.562Z] 5d3b04190fa2: Pulling fs layer [2022-04-13T14:36:08.562Z] 2f39f015ded8: Pulling fs layer [2022-04-13T14:36:08.562Z] 3a2ae6a8a46f: Waiting [2022-04-13T14:36:08.562Z] 5d3b04190fa2: Waiting [2022-04-13T14:36:08.562Z] 33b1e0a273af: Waiting [2022-04-13T14:36:08.562Z] 5c69ac0246d0: Download complete [2022-04-13T14:36:08.562Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-13T14:36:08.562Z] 3a2ae6a8a46f: Download complete [2022-04-13T14:36:08.562Z] 33b1e0a273af: Verifying Checksum [2022-04-13T14:36:08.562Z] 33b1e0a273af: Download complete [2022-04-13T14:36:08.562Z] ec43610c2a17: Verifying Checksum [2022-04-13T14:36:08.562Z] ec43610c2a17: Download complete [2022-04-13T14:36:08.562Z] 5d3b04190fa2: Download complete [2022-04-13T14:36:08.822Z] 5eb5b503b376: Verifying Checksum [2022-04-13T14:36:08.822Z] 5eb5b503b376: Download complete [2022-04-13T14:36:09.390Z] 2f39f015ded8: Download complete [2022-04-13T14:36:09.960Z] 5eb5b503b376: Pull complete [2022-04-13T14:36:10.219Z] 5c69ac0246d0: Pull complete [2022-04-13T14:36:10.788Z] ec43610c2a17: Pull complete [2022-04-13T14:36:10.788Z] 3a2ae6a8a46f: Pull complete [2022-04-13T14:36:11.048Z] 33b1e0a273af: Pull complete [2022-04-13T14:36:11.048Z] 5d3b04190fa2: Pull complete [2022-04-13T14:36:16.327Z] 2f39f015ded8: Pull complete [2022-04-13T14:36:16.327Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-13T14:36:16.327Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T14:36:16.327Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-13T14:36:16.393Z] prd-ubuntu20.04-docker-8c-8g-20810 does not seem to be running inside a container [2022-04-13T14:36:16.428Z] $ 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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-13T14:36:17.973Z] $ docker top 946d353410cfe407a3b6773d87d26d76f7ad3ea7b113e115ec3697effafcf207 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T14:36:18.476Z] ---> job-cost.sh [2022-04-13T14:36:18.476Z] lf-activate-venv: SKIPPING [2022-04-13T14:36:18.476Z] INFO: No Stack... [2022-04-13T14:36:18.738Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-13T14:36:19.310Z] INFO: Archiving Costs [Pipeline] sh [2022-04-13T14:36:19.607Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2022-04-13T14:36:19.607Z] + cut -d, -f6 [Pipeline] lock [2022-04-13T14:36:19.625Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-17-stack-cost] [2022-04-13T14:36:19.632Z] Resource [jenkins-edgexfoundry-device-gpio-main-17-stack-cost] did not exist. Created. [2022-04-13T14:36:19.632Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-13T14:36:19.936Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-13T14:36:19.974Z] Stashed 1 file(s) [Pipeline] } [2022-04-13T14:36:19.983Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-17-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-13T14:36:20.001Z] $ docker stop --time=1 946d353410cfe407a3b6773d87d26d76f7ad3ea7b113e115ec3697effafcf207 [2022-04-13T14:36:21.179Z] $ docker rm -f 946d353410cfe407a3b6773d87d26d76f7ad3ea7b113e115ec3697effafcf207 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-13T14:36:40.014Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20811 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2022-04-13T14:36:40.027Z] Running in /w/workspace/device-gpio/17 [Pipeline] { [Pipeline] checkout [2022-04-13T14:36:40.290Z] The recommended git tool is: git [2022-04-13T14:36:47.761Z] using credential edgex-jenkins-ssh [2022-04-13T14:36:47.792Z] Cloning the remote Git repository [2022-04-13T14:36:47.864Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-04-13T14:36:47.979Z] > git init /w/workspace/device-gpio/17 # timeout=10 [2022-04-13T14:36:48.133Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-04-13T14:36:48.134Z] > git --version # timeout=10 [2022-04-13T14:36:48.158Z] > git --version # 'git version 2.25.1' [2022-04-13T14:36:48.160Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-13T14:36:48.255Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-13T14:36:49.675Z] Avoid second fetch [2022-04-13T14:36:49.675Z] Checking out Revision b9afc87bdaf6fb1a5adf70b8290df672557dec94 (main) [2022-04-13T14:36:49.614Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-04-13T14:36:49.658Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-13T14:36:49.703Z] > git config core.sparsecheckout # timeout=10 [2022-04-13T14:36:49.799Z] > git checkout -f b9afc87bdaf6fb1a5adf70b8290df672557dec94 # timeout=10 [2022-04-13T14:36:54.458Z] Commit message: "fix: remove set of direction of a get GPIO or read (#24)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T14:36:55.543Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-13T14:36:55.543Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-13T14:36:55.543Z] Dload Upload Total Spent Left Speed [2022-04-13T14:36:55.543Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47562 0 --:--:-- --:--:-- --:--:-- 47562 [Pipeline] sh [2022-04-13T14:36:56.119Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-13T14:36:56.474Z] + + sudo teesudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-13T14:36:56.474Z] /etc/docker/daemon.new [2022-04-13T14:36:56.474Z] { [2022-04-13T14:36:56.474Z] "registry-mirrors": [ [2022-04-13T14:36:56.474Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-13T14:36:56.474Z] ], [2022-04-13T14:36:56.474Z] "bip": "10.250.0.254/24", [2022-04-13T14:36:56.474Z] "hosts": [ [2022-04-13T14:36:56.474Z] "tcp://0.0.0.0:5555", [2022-04-13T14:36:56.474Z] "unix:///var/run/docker.sock" [2022-04-13T14:36:56.474Z] ], [2022-04-13T14:36:56.474Z] "mtu": 1458, [2022-04-13T14:36:56.474Z] "selinux-enabled": true, [2022-04-13T14:36:56.474Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-13T14:36:56.474Z] } [Pipeline] sh [2022-04-13T14:36:56.834Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-13T14:36:57.192Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T14:37:15.582Z] provisioning config files... [2022-04-13T14:37:15.608Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/17@tmp/config2523853746518580475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T14:37:15.981Z] ---> docker-login.sh [2022-04-13T14:37:15.981Z] nexus3.edgexfoundry.org:10001 [2022-04-13T14:37:16.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T14:37:16.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T14:37:16.876Z] Configure a credential helper to remove this warning. See [2022-04-13T14:37:16.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T14:37:16.876Z] [2022-04-13T14:37:16.876Z] Login Succeeded [2022-04-13T14:37:16.876Z] nexus3.edgexfoundry.org:10002 [2022-04-13T14:37:17.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T14:37:17.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T14:37:17.429Z] Configure a credential helper to remove this warning. See [2022-04-13T14:37:17.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T14:37:17.429Z] [2022-04-13T14:37:17.429Z] Login Succeeded [2022-04-13T14:37:17.429Z] nexus3.edgexfoundry.org:10003 [2022-04-13T14:37:17.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T14:37:17.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T14:37:17.705Z] Configure a credential helper to remove this warning. See [2022-04-13T14:37:17.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T14:37:17.705Z] [2022-04-13T14:37:17.705Z] Login Succeeded [2022-04-13T14:37:17.705Z] nexus3.edgexfoundry.org:10004 [2022-04-13T14:37:18.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T14:37:18.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T14:37:18.311Z] Configure a credential helper to remove this warning. See [2022-04-13T14:37:18.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T14:37:18.311Z] [2022-04-13T14:37:18.311Z] Login Succeeded [2022-04-13T14:37:18.311Z] docker.io [2022-04-13T14:37:18.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T14:37:18.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T14:37:18.868Z] Configure a credential helper to remove this warning. See [2022-04-13T14:37:18.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T14:37:18.868Z] [2022-04-13T14:37:18.868Z] Login Succeeded [2022-04-13T14:37:18.868Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T14:37:18.887Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-13T14:37:19.485Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T14:37:19.499Z] ========================================================= [2022-04-13T14:37:19.499Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-13T14:37:19.499Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:37:19.951Z] + 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-13T14:37:20.229Z] Sending build context to Docker daemon 5.624MB [2022-04-13T14:37:20.229Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T14:37:20.229Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-13T14:37:20.506Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-13T14:37:20.506Z] 9b3977197b4f: Pulling fs layer [2022-04-13T14:37:20.506Z] 1a89e8eeedd5: Pulling fs layer [2022-04-13T14:37:20.506Z] 94645a83ff95: Pulling fs layer [2022-04-13T14:37:20.506Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-13T14:37:20.506Z] 0c92f367c5e7: Pulling fs layer [2022-04-13T14:37:20.506Z] f7c0051592d6: Pulling fs layer [2022-04-13T14:37:20.506Z] a227ed2f7395: Pulling fs layer [2022-04-13T14:37:20.506Z] 7b1c46037f91: Pulling fs layer [2022-04-13T14:37:20.506Z] f7c0051592d6: Waiting [2022-04-13T14:37:20.506Z] a227ed2f7395: Waiting [2022-04-13T14:37:20.506Z] 3f3a8bcf1eab: Waiting [2022-04-13T14:37:20.506Z] 7b1c46037f91: Waiting [2022-04-13T14:37:20.506Z] 0c92f367c5e7: Waiting [2022-04-13T14:37:20.506Z] 94645a83ff95: Verifying Checksum [2022-04-13T14:37:20.507Z] 94645a83ff95: Download complete [2022-04-13T14:37:20.507Z] 1a89e8eeedd5: Verifying Checksum [2022-04-13T14:37:20.507Z] 1a89e8eeedd5: Download complete [2022-04-13T14:37:20.507Z] 0c92f367c5e7: Verifying Checksum [2022-04-13T14:37:20.507Z] 0c92f367c5e7: Download complete [2022-04-13T14:37:20.507Z] f7c0051592d6: Verifying Checksum [2022-04-13T14:37:20.507Z] f7c0051592d6: Download complete [2022-04-13T14:37:20.507Z] 9b3977197b4f: Download complete [2022-04-13T14:37:20.507Z] a227ed2f7395: Download complete [2022-04-13T14:37:21.506Z] 9b3977197b4f: Pull complete [2022-04-13T14:37:22.115Z] 1a89e8eeedd5: Pull complete [2022-04-13T14:37:22.392Z] 94645a83ff95: Pull complete [2022-04-13T14:37:22.670Z] 7b1c46037f91: Verifying Checksum [2022-04-13T14:37:22.670Z] 7b1c46037f91: Download complete [2022-04-13T14:37:23.274Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-13T14:37:23.274Z] 3f3a8bcf1eab: Download complete [2022-04-13T14:37:35.700Z] 3f3a8bcf1eab: Pull complete [2022-04-13T14:37:35.700Z] 0c92f367c5e7: Pull complete [2022-04-13T14:37:35.700Z] f7c0051592d6: Pull complete [2022-04-13T14:37:35.975Z] a227ed2f7395: Pull complete [2022-04-13T14:37:42.704Z] 7b1c46037f91: Pull complete [2022-04-13T14:37:42.704Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-13T14:37:42.704Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-13T14:37:42.704Z] ---> f79e39bc4007 [2022-04-13T14:37:42.704Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-13T14:37:43.305Z] ---> Running in 6b08e172f00b [2022-04-13T14:37:43.589Z] Removing intermediate container 6b08e172f00b [2022-04-13T14:37:43.589Z] ---> e52c6f756ae9 [2022-04-13T14:37:43.589Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-04-13T14:37:43.868Z] ---> Running in 29268a2362f4 [2022-04-13T14:37:44.143Z] Removing intermediate container 29268a2362f4 [2022-04-13T14:37:44.143Z] ---> 4d754e372599 [2022-04-13T14:37:44.143Z] Step 5/11 : WORKDIR /device-gpio [2022-04-13T14:37:44.143Z] ---> Running in c743e0d5b272 [2022-04-13T14:37:44.425Z] Removing intermediate container c743e0d5b272 [2022-04-13T14:37:44.425Z] ---> 398e37aab28a [2022-04-13T14:37:44.425Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T14:37:44.425Z] ---> Running in 63d802b381e6 [2022-04-13T14:37:46.426Z] Removing intermediate container 63d802b381e6 [2022-04-13T14:37:46.426Z] ---> 8468f0dc1fa8 [2022-04-13T14:37:46.426Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-13T14:37:46.426Z] ---> Running in 40581efe4cbf [2022-04-13T14:37:47.427Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-13T14:37:48.023Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-13T14:37:49.001Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-13T14:37:49.001Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-13T14:37:49.001Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-13T14:37:49.274Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-13T14:37:49.548Z] Executing busybox-1.34.1-r3.trigger [2022-04-13T14:37:49.548Z] OK: 224 MiB in 56 packages [2022-04-13T14:37:50.539Z] Removing intermediate container 40581efe4cbf [2022-04-13T14:37:50.539Z] ---> b76c77b06480 [2022-04-13T14:37:50.539Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-13T14:37:51.147Z] ---> 417fff7f1574 [2022-04-13T14:37:51.147Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T14:37:51.147Z] ---> Running in d71cd8bdf033 [2022-04-13T14:39:13.034Z] Removing intermediate container d71cd8bdf033 [2022-04-13T14:39:13.035Z] ---> a22966806606 [2022-04-13T14:39:13.035Z] Step 10/11 : COPY . . [2022-04-13T14:39:13.035Z] ---> d1d8e22b532d [2022-04-13T14:39:13.035Z] Step 11/11 : RUN ${MAKE} [2022-04-13T14:39:13.035Z] ---> Running in 185ac3d30dd9 [2022-04-13T14:39:13.035Z] Removing intermediate container 185ac3d30dd9 [2022-04-13T14:39:13.035Z] ---> 4ae8b5402ea4 [2022-04-13T14:39:13.035Z] [Warning] One or more build-args [MAKE] were not consumed [2022-04-13T14:39:13.035Z] Successfully built 4ae8b5402ea4 [2022-04-13T14:39:13.035Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:39:13.382Z] + docker inspect -f . ci-base-image-arm64 [2022-04-13T14:39:13.382Z] . [Pipeline] withDockerContainer [2022-04-13T14:39:13.607Z] prd-ubuntu20.04-docker-arm64-4c-16g-20811 does not seem to be running inside a container [2022-04-13T14:39:13.695Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/17 -v /w/workspace/device-gpio/17:/w/workspace/device-gpio/17:rw,z -v /w/workspace/device-gpio/17@tmp:/w/workspace/device-gpio/17@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 ******** ci-base-image-arm64 cat [2022-04-13T14:39:14.962Z] $ docker top 2fa2eb6bed00d698b0c919f6a4e200ffa7f297bb1ed5758c7ba587ba5f50792f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T14:39:15.841Z] + go version [2022-04-13T14:39:15.841Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-13T14:39:15.870Z] $ docker stop --time=1 2fa2eb6bed00d698b0c919f6a4e200ffa7f297bb1ed5758c7ba587ba5f50792f [2022-04-13T14:39:17.519Z] $ docker rm -f 2fa2eb6bed00d698b0c919f6a4e200ffa7f297bb1ed5758c7ba587ba5f50792f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:39:18.099Z] + docker inspect -f . ci-base-image-arm64 [2022-04-13T14:39:18.099Z] . [Pipeline] withDockerContainer [2022-04-13T14:39:18.334Z] prd-ubuntu20.04-docker-arm64-4c-16g-20811 does not seem to be running inside a container [2022-04-13T14:39:18.420Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/17 -v /w/workspace/device-gpio/17:/w/workspace/device-gpio/17:rw,z -v /w/workspace/device-gpio/17@tmp:/w/workspace/device-gpio/17@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 ******** ci-base-image-arm64 cat [2022-04-13T14:39:19.665Z] $ docker top 473c7485e33bcbdb0ed219c18276d214f98974e15be2bee69eb6c6fe844a1a8a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-13T14:39:20.588Z] + make test [2022-04-13T14:39:20.588Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-13T14:39:21.573Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-04-13T14:40:08.614Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-04-13T14:40:08.614Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-04-13T14:40:08.614Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-13T14:40:08.614Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-13T14:40:26.958Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-13T14:40:27.235Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-13T14:40:27.235Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-13T14:40:29.259Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-13T14:40:29.277Z] $ docker stop --time=1 473c7485e33bcbdb0ed219c18276d214f98974e15be2bee69eb6c6fe844a1a8a [2022-04-13T14:40:31.028Z] $ docker rm -f 473c7485e33bcbdb0ed219c18276d214f98974e15be2bee69eb6c6fe844a1a8a [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T14:40:31.811Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-13T14:40:31.837Z] Warning: overwriting stash ‘coverage-report’ [2022-04-13T14:40:32.269Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T14:40:32.692Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-13T14:40:33.027Z] + ls -al . [2022-04-13T14:40:33.027Z] total 184 [2022-04-13T14:40:33.027Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 14:40 . [2022-04-13T14:40:33.027Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 14:36 .. [2022-04-13T14:40:33.027Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 13 14:36 .dockerignore [2022-04-13T14:40:33.027Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 14:36 .git [2022-04-13T14:40:33.027Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 14:36 .github [2022-04-13T14:40:33.027Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 13 14:36 .gitignore [2022-04-13T14:40:33.027Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 14:36 .golangci.yml [2022-04-13T14:40:33.027Z] -rw-rw-r-- 1 jenkins jenkins 7772 Apr 13 14:36 Attribution.txt [2022-04-13T14:40:33.027Z] -rw-rw-r-- 1 jenkins jenkins 1846 Apr 13 14:36 Dockerfile [2022-04-13T14:40:33.027Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 14:36 GOVERNANCE.md [2022-04-13T14:40:33.027Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 13 14:36 Jenkinsfile [2022-04-13T14:40:33.027Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 14:36 LICENSE [2022-04-13T14:40:33.027Z] -rw-rw-r-- 1 jenkins jenkins 1876 Apr 13 14:36 Makefile [2022-04-13T14:40:33.027Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 13 14:36 OWNERS.md [2022-04-13T14:40:33.027Z] -rw-rw-r-- 1 jenkins jenkins 10844 Apr 13 14:36 README.md [2022-04-13T14:40:33.027Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 13 14:34 VERSION [2022-04-13T14:40:33.027Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 14:36 bin [2022-04-13T14:40:33.027Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 14:36 cmd [2022-04-13T14:40:33.027Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 13 14:39 coverage.out [2022-04-13T14:40:33.027Z] -rw-rw-r-- 1 jenkins jenkins 2794 Apr 13 14:36 go.mod [2022-04-13T14:40:33.027Z] -rw-rw-r-- 1 jenkins jenkins 70652 Apr 13 14:36 go.sum [2022-04-13T14:40:33.027Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 14:36 internal [2022-04-13T14:40:33.027Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 14:36 snap [2022-04-13T14:40:33.027Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 13 14:36 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:40:33.373Z] + 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=b9afc87bdaf6fb1a5adf70b8290df672557dec94 --label arch=arm64 --label version=2.0.0-dev.6 . [2022-04-13T14:40:33.977Z] Sending build context to Docker daemon 5.625MB [2022-04-13T14:40:33.977Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T14:40:33.977Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-13T14:40:33.977Z] ---> 4ae8b5402ea4 [2022-04-13T14:40:33.977Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-13T14:40:33.977Z] ---> Running in 9d5ec30504e0 [2022-04-13T14:40:34.250Z] Removing intermediate container 9d5ec30504e0 [2022-04-13T14:40:34.250Z] ---> bdea2082b15f [2022-04-13T14:40:34.250Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-13T14:40:34.250Z] ---> Running in f89efe4f395d [2022-04-13T14:40:34.524Z] Removing intermediate container f89efe4f395d [2022-04-13T14:40:34.524Z] ---> aea3ccc86301 [2022-04-13T14:40:34.524Z] Step 5/25 : WORKDIR /device-gpio [2022-04-13T14:40:34.804Z] ---> Running in 607153e4146e [2022-04-13T14:40:35.077Z] Removing intermediate container 607153e4146e [2022-04-13T14:40:35.077Z] ---> d4c5a2fd753f [2022-04-13T14:40:35.077Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T14:40:35.077Z] ---> Running in 70c27a603daf [2022-04-13T14:40:37.055Z] Removing intermediate container 70c27a603daf [2022-04-13T14:40:37.055Z] ---> 3cfe01cb904a [2022-04-13T14:40:37.056Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-13T14:40:37.056Z] ---> Running in 4fcdb10d69f2 [2022-04-13T14:40:37.650Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-13T14:40:38.632Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-13T14:40:39.622Z] OK: 224 MiB in 56 packages [2022-04-13T14:40:40.222Z] Removing intermediate container 4fcdb10d69f2 [2022-04-13T14:40:40.222Z] ---> d4069b857fb6 [2022-04-13T14:40:40.222Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-13T14:40:40.817Z] ---> d8f57a3688fb [2022-04-13T14:40:40.817Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T14:40:40.817Z] ---> Running in ab034086a184 [2022-04-13T14:40:42.795Z] Removing intermediate container ab034086a184 [2022-04-13T14:40:42.795Z] ---> ea6166985da8 [2022-04-13T14:40:42.795Z] Step 10/25 : COPY . . [2022-04-13T14:40:43.776Z] ---> dd9c71b24d92 [2022-04-13T14:40:43.776Z] Step 11/25 : RUN ${MAKE} [2022-04-13T14:40:43.776Z] ---> Running in 4bade433cb6b [2022-04-13T14:40:45.359Z] Removing intermediate container 4bade433cb6b [2022-04-13T14:40:45.359Z] ---> 471cc5f4a9a8 [2022-04-13T14:40:45.359Z] Step 12/25 : FROM alpine:3.15 [2022-04-13T14:40:46.379Z] 3.15: Pulling from library/alpine [2022-04-13T14:40:46.379Z] 9981e73032c8: Pulling fs layer [2022-04-13T14:40:46.676Z] 9981e73032c8: Verifying Checksum [2022-04-13T14:40:46.676Z] 9981e73032c8: Download complete [2022-04-13T14:40:47.273Z] 9981e73032c8: Pull complete [2022-04-13T14:40:47.273Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-04-13T14:40:47.273Z] Status: Downloaded newer image for alpine:3.15 [2022-04-13T14:40:47.273Z] ---> 3fb3c9af89a9 [2022-04-13T14:40:47.273Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-04-13T14:40:47.273Z] ---> Running in 5d4ea4a1d1d5 [2022-04-13T14:40:47.552Z] Removing intermediate container 5d4ea4a1d1d5 [2022-04-13T14:40:47.552Z] ---> 21a344e128f0 [2022-04-13T14:40:47.552Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T14:40:47.552Z] ---> Running in 0933ce15ca0d [2022-04-13T14:40:49.526Z] Removing intermediate container 0933ce15ca0d [2022-04-13T14:40:49.526Z] ---> 0af662541ee0 [2022-04-13T14:40:49.526Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-13T14:40:49.526Z] ---> Running in f5ee701fde34 [2022-04-13T14:40:50.120Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-13T14:40:51.097Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-13T14:40:52.081Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-04-13T14:40:52.081Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-13T14:40:52.081Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-04-13T14:40:52.081Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-13T14:40:52.356Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-13T14:40:52.356Z] Executing busybox-1.34.1-r5.trigger [2022-04-13T14:40:52.356Z] OK: 8 MiB in 19 packages [2022-04-13T14:40:53.343Z] Removing intermediate container f5ee701fde34 [2022-04-13T14:40:53.343Z] ---> 9d66c99458de [2022-04-13T14:40:53.343Z] Step 16/25 : WORKDIR / [2022-04-13T14:40:53.343Z] ---> Running in 32634fa4f948 [2022-04-13T14:40:53.616Z] Removing intermediate container 32634fa4f948 [2022-04-13T14:40:53.616Z] ---> f52e2aeb8a25 [2022-04-13T14:40:53.616Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-04-13T14:40:54.217Z] ---> 4c15e740cb60 [2022-04-13T14:40:54.217Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-04-13T14:40:54.491Z] ---> 1afdf64b39f9 [2022-04-13T14:40:54.491Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-04-13T14:40:55.099Z] ---> 52acc80a407a [2022-04-13T14:40:55.099Z] Step 20/25 : EXPOSE 59910 [2022-04-13T14:40:55.099Z] ---> Running in c9b9edf84f13 [2022-04-13T14:40:55.693Z] Removing intermediate container c9b9edf84f13 [2022-04-13T14:40:55.693Z] ---> 8e4ee5fbbbac [2022-04-13T14:40:55.693Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-04-13T14:40:55.693Z] ---> Running in 93cf8d69fcbf [2022-04-13T14:40:55.966Z] Removing intermediate container 93cf8d69fcbf [2022-04-13T14:40:55.966Z] ---> 2e5e7f8f0da2 [2022-04-13T14:40:55.966Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-13T14:40:55.966Z] ---> Running in 36efba874bea [2022-04-13T14:40:56.241Z] Removing intermediate container 36efba874bea [2022-04-13T14:40:56.241Z] ---> d09ceadaa543 [2022-04-13T14:40:56.241Z] Step 23/25 : LABEL arch=arm64 [2022-04-13T14:40:56.241Z] ---> Running in 0ab16e184c8e [2022-04-13T14:40:56.517Z] Removing intermediate container 0ab16e184c8e [2022-04-13T14:40:56.517Z] ---> 54bed25a282a [2022-04-13T14:40:56.517Z] Step 24/25 : LABEL git_sha=b9afc87bdaf6fb1a5adf70b8290df672557dec94 [2022-04-13T14:40:56.794Z] ---> Running in 53f2cb4c45b1 [2022-04-13T14:40:57.066Z] Removing intermediate container 53f2cb4c45b1 [2022-04-13T14:40:57.066Z] ---> ab6da33fef17 [2022-04-13T14:40:57.066Z] Step 25/25 : LABEL version=2.0.0-dev.6 [2022-04-13T14:40:57.066Z] ---> Running in 5ad2b566b97a [2022-04-13T14:40:57.344Z] Removing intermediate container 5ad2b566b97a [2022-04-13T14:40:57.344Z] ---> cb8584ba4393 [2022-04-13T14:40:57.344Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-04-13T14:40:57.344Z] Successfully built cb8584ba4393 [2022-04-13T14:40:57.344Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T14:40:57.432Z] provisioning config files... [2022-04-13T14:40:57.458Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/17@tmp/config330793824327424813tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T14:40:57.812Z] ---> docker-login.sh [2022-04-13T14:40:57.812Z] nexus3.edgexfoundry.org:10001 [2022-04-13T14:40:58.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T14:40:58.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T14:40:58.088Z] Configure a credential helper to remove this warning. See [2022-04-13T14:40:58.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T14:40:58.088Z] [2022-04-13T14:40:58.088Z] Login Succeeded [2022-04-13T14:40:58.088Z] nexus3.edgexfoundry.org:10002 [2022-04-13T14:40:58.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T14:40:58.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T14:40:58.646Z] Configure a credential helper to remove this warning. See [2022-04-13T14:40:58.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T14:40:58.646Z] [2022-04-13T14:40:58.646Z] Login Succeeded [2022-04-13T14:40:58.646Z] nexus3.edgexfoundry.org:10003 [2022-04-13T14:40:58.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T14:40:59.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T14:40:59.200Z] Configure a credential helper to remove this warning. See [2022-04-13T14:40:59.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T14:40:59.200Z] [2022-04-13T14:40:59.200Z] Login Succeeded [2022-04-13T14:40:59.200Z] nexus3.edgexfoundry.org:10004 [2022-04-13T14:40:59.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T14:40:59.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T14:40:59.477Z] Configure a credential helper to remove this warning. See [2022-04-13T14:40:59.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T14:40:59.477Z] [2022-04-13T14:40:59.477Z] Login Succeeded [2022-04-13T14:40:59.748Z] docker.io [2022-04-13T14:41:00.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T14:41:00.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T14:41:00.615Z] Configure a credential helper to remove this warning. See [2022-04-13T14:41:00.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T14:41:00.615Z] [2022-04-13T14:41:00.615Z] Login Succeeded [2022-04-13T14:41:00.615Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T14:41:00.632Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-13T14:41:00.669Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T14:41:00.690Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2022-04-13T14:41:00.690Z] b9afc87bdaf6fb1a5adf70b8290df672557dec94 [2022-04-13T14:41:00.690Z] latest [2022-04-13T14:41:00.690Z] 2.0.0-dev.6 [2022-04-13T14:41:00.690Z] b9afc87bdaf6fb1a5adf70b8290df672557dec94-2.0.0-dev.6 [2022-04-13T14:41:00.690Z] main [2022-04-13T14:41:00.690Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:41:01.042Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:b9afc87bdaf6fb1a5adf70b8290df672557dec94 [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:41:01.380Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:b9afc87bdaf6fb1a5adf70b8290df672557dec94 [2022-04-13T14:41:01.380Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-04-13T14:41:01.380Z] 2c21872a00df: Preparing [2022-04-13T14:41:01.380Z] ad412e4f9ca5: Preparing [2022-04-13T14:41:01.380Z] 9dd85a4671a0: Preparing [2022-04-13T14:41:01.380Z] 6a60d5a483d8: Preparing [2022-04-13T14:41:01.380Z] 08e384aa8255: Preparing [2022-04-13T14:41:01.380Z] 4f4ce317c6bb: Preparing [2022-04-13T14:41:01.380Z] 4f4ce317c6bb: Waiting [2022-04-13T14:41:01.666Z] 08e384aa8255: Pushed [2022-04-13T14:41:01.666Z] ad412e4f9ca5: Pushed [2022-04-13T14:41:01.666Z] 9dd85a4671a0: Pushed [2022-04-13T14:41:01.666Z] 2c21872a00df: Pushed [2022-04-13T14:41:01.666Z] 4f4ce317c6bb: Layer already exists [2022-04-13T14:41:02.258Z] 6a60d5a483d8: Pushed [2022-04-13T14:41:02.530Z] b9afc87bdaf6fb1a5adf70b8290df672557dec94: digest: sha256:0143f0eb98bc9f5678b2b0ffa22bc1085bf4120795471f700752108a85414681 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:41:02.877Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:41:03.204Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2022-04-13T14:41:03.204Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-04-13T14:41:03.204Z] 2c21872a00df: Preparing [2022-04-13T14:41:03.204Z] ad412e4f9ca5: Preparing [2022-04-13T14:41:03.204Z] 9dd85a4671a0: Preparing [2022-04-13T14:41:03.204Z] 6a60d5a483d8: Preparing [2022-04-13T14:41:03.204Z] 08e384aa8255: Preparing [2022-04-13T14:41:03.204Z] 4f4ce317c6bb: Preparing [2022-04-13T14:41:03.204Z] 2c21872a00df: Layer already exists [2022-04-13T14:41:03.204Z] 9dd85a4671a0: Layer already exists [2022-04-13T14:41:03.204Z] 6a60d5a483d8: Layer already exists [2022-04-13T14:41:03.204Z] 08e384aa8255: Layer already exists [2022-04-13T14:41:03.204Z] ad412e4f9ca5: Layer already exists [2022-04-13T14:41:03.204Z] 4f4ce317c6bb: Layer already exists [2022-04-13T14:41:03.475Z] latest: digest: sha256:0143f0eb98bc9f5678b2b0ffa22bc1085bf4120795471f700752108a85414681 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:41:03.820Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.6 [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:41:04.159Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.6 [2022-04-13T14:41:04.160Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-04-13T14:41:04.160Z] 2c21872a00df: Preparing [2022-04-13T14:41:04.160Z] ad412e4f9ca5: Preparing [2022-04-13T14:41:04.160Z] 9dd85a4671a0: Preparing [2022-04-13T14:41:04.160Z] 6a60d5a483d8: Preparing [2022-04-13T14:41:04.160Z] 08e384aa8255: Preparing [2022-04-13T14:41:04.160Z] 4f4ce317c6bb: Preparing [2022-04-13T14:41:04.160Z] 4f4ce317c6bb: Waiting [2022-04-13T14:41:04.160Z] 6a60d5a483d8: Layer already exists [2022-04-13T14:41:04.160Z] 08e384aa8255: Layer already exists [2022-04-13T14:41:04.160Z] ad412e4f9ca5: Layer already exists [2022-04-13T14:41:04.160Z] 2c21872a00df: Layer already exists [2022-04-13T14:41:04.160Z] 9dd85a4671a0: Layer already exists [2022-04-13T14:41:04.160Z] 4f4ce317c6bb: Layer already exists [2022-04-13T14:41:04.432Z] 2.0.0-dev.6: digest: sha256:0143f0eb98bc9f5678b2b0ffa22bc1085bf4120795471f700752108a85414681 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:41:04.778Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:b9afc87bdaf6fb1a5adf70b8290df672557dec94-2.0.0-dev.6 [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:41:05.111Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:b9afc87bdaf6fb1a5adf70b8290df672557dec94-2.0.0-dev.6 [2022-04-13T14:41:05.111Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-04-13T14:41:05.111Z] 2c21872a00df: Preparing [2022-04-13T14:41:05.111Z] ad412e4f9ca5: Preparing [2022-04-13T14:41:05.111Z] 9dd85a4671a0: Preparing [2022-04-13T14:41:05.111Z] 6a60d5a483d8: Preparing [2022-04-13T14:41:05.111Z] 08e384aa8255: Preparing [2022-04-13T14:41:05.111Z] 4f4ce317c6bb: Preparing [2022-04-13T14:41:05.111Z] 4f4ce317c6bb: Waiting [2022-04-13T14:41:05.111Z] 9dd85a4671a0: Layer already exists [2022-04-13T14:41:05.111Z] ad412e4f9ca5: Layer already exists [2022-04-13T14:41:05.111Z] 6a60d5a483d8: Layer already exists [2022-04-13T14:41:05.111Z] 2c21872a00df: Layer already exists [2022-04-13T14:41:05.111Z] 08e384aa8255: Layer already exists [2022-04-13T14:41:05.111Z] 4f4ce317c6bb: Layer already exists [2022-04-13T14:41:05.381Z] b9afc87bdaf6fb1a5adf70b8290df672557dec94-2.0.0-dev.6: digest: sha256:0143f0eb98bc9f5678b2b0ffa22bc1085bf4120795471f700752108a85414681 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:41:05.721Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:41:06.060Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2022-04-13T14:41:06.060Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-04-13T14:41:06.060Z] 2c21872a00df: Preparing [2022-04-13T14:41:06.060Z] ad412e4f9ca5: Preparing [2022-04-13T14:41:06.060Z] 9dd85a4671a0: Preparing [2022-04-13T14:41:06.060Z] 6a60d5a483d8: Preparing [2022-04-13T14:41:06.060Z] 08e384aa8255: Preparing [2022-04-13T14:41:06.060Z] 4f4ce317c6bb: Preparing [2022-04-13T14:41:06.060Z] 4f4ce317c6bb: Waiting [2022-04-13T14:41:06.060Z] 2c21872a00df: Layer already exists [2022-04-13T14:41:06.060Z] ad412e4f9ca5: Layer already exists [2022-04-13T14:41:06.060Z] 6a60d5a483d8: Layer already exists [2022-04-13T14:41:06.060Z] 9dd85a4671a0: Layer already exists [2022-04-13T14:41:06.060Z] 08e384aa8255: Layer already exists [2022-04-13T14:41:06.060Z] 4f4ce317c6bb: Layer already exists [2022-04-13T14:41:06.329Z] main: digest: sha256:0143f0eb98bc9f5678b2b0ffa22bc1085bf4120795471f700752108a85414681 size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-13T14:41:06.372Z] ===================================================== [Pipeline] echo [2022-04-13T14:41:06.383Z] taggedImages: [2022-04-13T14:41:06.383Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:b9afc87bdaf6fb1a5adf70b8290df672557dec94 [2022-04-13T14:41:06.383Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2022-04-13T14:41:06.383Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.6 [2022-04-13T14:41:06.383Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:b9afc87bdaf6fb1a5adf70b8290df672557dec94-2.0.0-dev.6 [2022-04-13T14:41:06.383Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:41:06.757Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T14:41:06.757Z] [2022-04-13T14:41:06.757Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:41:07.105Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T14:41:07.105Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-13T14:41:07.105Z] 8998bd30e6a1: Pulling fs layer [2022-04-13T14:41:07.105Z] 04944245beec: Pulling fs layer [2022-04-13T14:41:07.105Z] 699f458cf7ca: Pulling fs layer [2022-04-13T14:41:07.105Z] 765212b225bb: Pulling fs layer [2022-04-13T14:41:07.105Z] f23df028b6ca: Pulling fs layer [2022-04-13T14:41:07.105Z] d65c8cfc05b1: Pulling fs layer [2022-04-13T14:41:07.105Z] 2437ff75d9bd: Pulling fs layer [2022-04-13T14:41:07.105Z] 765212b225bb: Waiting [2022-04-13T14:41:07.105Z] f23df028b6ca: Waiting [2022-04-13T14:41:07.105Z] d65c8cfc05b1: Waiting [2022-04-13T14:41:07.105Z] 2437ff75d9bd: Waiting [2022-04-13T14:41:07.380Z] 04944245beec: Verifying Checksum [2022-04-13T14:41:07.380Z] 04944245beec: Download complete [2022-04-13T14:41:07.380Z] 765212b225bb: Verifying Checksum [2022-04-13T14:41:07.380Z] 765212b225bb: Download complete [2022-04-13T14:41:07.380Z] f23df028b6ca: Verifying Checksum [2022-04-13T14:41:07.380Z] f23df028b6ca: Download complete [2022-04-13T14:41:07.380Z] d65c8cfc05b1: Verifying Checksum [2022-04-13T14:41:07.380Z] d65c8cfc05b1: Download complete [2022-04-13T14:41:07.655Z] 699f458cf7ca: Verifying Checksum [2022-04-13T14:41:07.655Z] 699f458cf7ca: Download complete [2022-04-13T14:41:07.926Z] 8998bd30e6a1: Verifying Checksum [2022-04-13T14:41:07.926Z] 8998bd30e6a1: Download complete [2022-04-13T14:41:10.542Z] 2437ff75d9bd: Verifying Checksum [2022-04-13T14:41:10.542Z] 2437ff75d9bd: Download complete [2022-04-13T14:41:11.977Z] 8998bd30e6a1: Pull complete [2022-04-13T14:41:12.583Z] 04944245beec: Pull complete [2022-04-13T14:41:14.020Z] 699f458cf7ca: Pull complete [2022-04-13T14:41:14.293Z] 765212b225bb: Pull complete [2022-04-13T14:41:15.272Z] f23df028b6ca: Pull complete [2022-04-13T14:41:15.272Z] d65c8cfc05b1: Pull complete [2022-04-13T14:41:30.364Z] 2437ff75d9bd: Pull complete [2022-04-13T14:41:30.364Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-13T14:41:30.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T14:41:30.364Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-13T14:41:30.589Z] prd-ubuntu20.04-docker-arm64-4c-16g-20811 does not seem to be running inside a container [2022-04-13T14:41:30.683Z] $ 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/17 -v /w/workspace/device-gpio/17:/w/workspace/device-gpio/17:rw,z -v /w/workspace/device-gpio/17@tmp:/w/workspace/device-gpio/17@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-13T14:41:33.116Z] $ docker top c7d412fb44ec566a8c973d1700117b425480c030d054f8bb97a9bca0dc2bdee2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T14:41:34.016Z] ---> job-cost.sh [2022-04-13T14:41:34.016Z] lf-activate-venv: SKIPPING [2022-04-13T14:41:34.016Z] INFO: No Stack... [2022-04-13T14:41:34.288Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-13T14:41:35.263Z] INFO: Archiving Costs [Pipeline] sh [2022-04-13T14:41:35.927Z] + cat /w/workspace/device-gpio/17/archives/cost.csv [2022-04-13T14:41:35.927Z] + cut -d, -f6 [Pipeline] lock [2022-04-13T14:41:35.992Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-17-stack-cost] [2022-04-13T14:41:35.998Z] Resource [jenkins-edgexfoundry-device-gpio-main-17-stack-cost] did not exist. Created. [2022-04-13T14:41:35.998Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-13T14:41:36.677Z] /w/workspace/device-gpio/17@tmp/durable-db353cfc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-13T14:41:37.432Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-13T14:41:37.461Z] Warning: overwriting stash ‘stack-cost’ [2022-04-13T14:41:37.540Z] Stashed 1 file(s) [Pipeline] } [2022-04-13T14:41:37.588Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-17-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-13T14:41:37.613Z] $ docker stop --time=1 c7d412fb44ec566a8c973d1700117b425480c030d054f8bb97a9bca0dc2bdee2 [2022-04-13T14:41:39.156Z] $ docker rm -f c7d412fb44ec566a8c973d1700117b425480c030d054f8bb97a9bca0dc2bdee2 [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-13T14:41:39.694Z] provisioning config files... [2022-04-13T14:41:39.703Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5508923794887635865tmp [Pipeline] { [Pipeline] sh [2022-04-13T14:41:40.002Z] + set +x [2022-04-13T14:41:40.002Z] + curl -s https://codecov.io/bash [2022-04-13T14:41:40.002Z] + bash -s -- [2022-04-13T14:41:40.002Z] [2022-04-13T14:41:40.002Z] _____ _ [2022-04-13T14:41:40.002Z] / ____| | | [2022-04-13T14:41:40.002Z] | | ___ __| | ___ ___ _____ __ [2022-04-13T14:41:40.002Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-13T14:41:40.002Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-13T14:41:40.002Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-13T14:41:40.002Z] Bash-1.0.6 [2022-04-13T14:41:40.002Z] [2022-04-13T14:41:40.002Z] [2022-04-13T14:41:40.002Z] ==> git version 2.25.1 found [2022-04-13T14:41:40.002Z] ==> 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-13T14:41:40.002Z] Release-Date: 2020-01-08 [2022-04-13T14:41:40.002Z] 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-13T14:41:40.002Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-13T14:41:40.002Z] ==> Jenkins CI detected. [2022-04-13T14:41:40.002Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2022-04-13T14:41:40.002Z] project root: . [2022-04-13T14:41:40.002Z] --> token set from env [2022-04-13T14:41:40.002Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-13T14:41:40.002Z] ==> Running gcov in . (disable via -X gcov) [2022-04-13T14:41:40.002Z] ==> Python coveragepy not found [2022-04-13T14:41:40.002Z] ==> Searching for coverage reports in: [2022-04-13T14:41:40.002Z] + . [2022-04-13T14:41:40.002Z] -> Found 1 reports [2022-04-13T14:41:40.002Z] ==> Detecting git/mercurial file structure [2022-04-13T14:41:40.002Z] ==> Reading reports [2022-04-13T14:41:40.002Z] + ./coverage.out bytes=10 [2022-04-13T14:41:40.002Z] ==> Appending adjustments [2022-04-13T14:41:40.002Z] https://docs.codecov.io/docs/fixing-reports [2022-04-13T14:41:40.263Z] + Found adjustments [2022-04-13T14:41:40.263Z] ==> Gzipping contents [2022-04-13T14:41:40.263Z] 4.0K /tmp/codecov.fOuSNB.gz [2022-04-13T14:41:40.263Z] ==> Uploading reports [2022-04-13T14:41:40.263Z] url: https://codecov.io [2022-04-13T14:41:40.263Z] query: branch=main&commit=b9afc87bdaf6fb1a5adf70b8290df672557dec94&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-13T14:41:40.263Z] -> Pinging Codecov [2022-04-13T14:41:40.263Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=main&commit=b9afc87bdaf6fb1a5adf70b8290df672557dec94&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-13T14:41:40.524Z] -> Uploading to [2022-04-13T14:41:40.524Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-13/3EC07B1A8CA8AF9BCAA0BB9F0134797F/b9afc87bdaf6fb1a5adf70b8290df672557dec94/bcdd783d-c8d4-465e-9397-9860daa786dc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220413T144140Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d1291e88c552ca01655a9403522c7421351a66d21139bdaba9b61ae358c4a573 [2022-04-13T14:41:40.524Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-13T14:41:40.524Z] Dload Upload Total Spent Left Speed [2022-04-13T14:41:40.786Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 825 0 0 100 825 0 3801 --:--:-- --:--:-- --:--:-- 3784 [2022-04-13T14:41:40.786Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/b9afc87bdaf6fb1a5adf70b8290df672557dec94 [Pipeline] } [2022-04-13T14:41:40.795Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-13T14:41:41.039Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-13T14:41:41.050Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:41:41.342Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-13T14:41:41.342Z] [2022-04-13T14:41:41.342Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:41:41.647Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-13T14:41:41.647Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-13T14:41:41.647Z] 188c0c94c7c5: Pulling fs layer [2022-04-13T14:41:41.647Z] 0ef7d3d256c8: Pulling fs layer [2022-04-13T14:41:41.647Z] de9db76c5a1d: Pulling fs layer [2022-04-13T14:41:41.647Z] 0eba1c9be4d2: Pulling fs layer [2022-04-13T14:41:41.647Z] 0d57e429df01: Pulling fs layer [2022-04-13T14:41:41.647Z] 4e4be7b47b0d: Pulling fs layer [2022-04-13T14:41:41.647Z] e1f770b5df2f: Pulling fs layer [2022-04-13T14:41:41.647Z] 85a0685a4137: Pulling fs layer [2022-04-13T14:41:41.647Z] 0eba1c9be4d2: Waiting [2022-04-13T14:41:41.647Z] 0d57e429df01: Waiting [2022-04-13T14:41:41.647Z] 4e4be7b47b0d: Waiting [2022-04-13T14:41:41.647Z] e1f770b5df2f: Waiting [2022-04-13T14:41:41.647Z] 85a0685a4137: Waiting [2022-04-13T14:41:41.647Z] de9db76c5a1d: Verifying Checksum [2022-04-13T14:41:41.647Z] de9db76c5a1d: Download complete [2022-04-13T14:41:41.647Z] 0ef7d3d256c8: Download complete [2022-04-13T14:41:41.647Z] 0d57e429df01: Download complete [2022-04-13T14:41:41.647Z] 4e4be7b47b0d: Verifying Checksum [2022-04-13T14:41:41.647Z] 4e4be7b47b0d: Download complete [2022-04-13T14:41:41.647Z] 188c0c94c7c5: Verifying Checksum [2022-04-13T14:41:41.647Z] 188c0c94c7c5: Download complete [2022-04-13T14:41:41.908Z] 188c0c94c7c5: Pull complete [2022-04-13T14:41:41.908Z] e1f770b5df2f: Verifying Checksum [2022-04-13T14:41:41.908Z] e1f770b5df2f: Download complete [2022-04-13T14:41:41.908Z] 0ef7d3d256c8: Pull complete [2022-04-13T14:41:41.908Z] de9db76c5a1d: Pull complete [2022-04-13T14:41:42.478Z] 0eba1c9be4d2: Verifying Checksum [2022-04-13T14:41:42.478Z] 0eba1c9be4d2: Download complete [2022-04-13T14:41:42.737Z] 85a0685a4137: Download complete [2022-04-13T14:41:46.032Z] 0eba1c9be4d2: Pull complete [2022-04-13T14:41:46.032Z] 0d57e429df01: Pull complete [2022-04-13T14:41:46.032Z] 4e4be7b47b0d: Pull complete [2022-04-13T14:41:46.292Z] e1f770b5df2f: Pull complete [2022-04-13T14:41:49.589Z] 85a0685a4137: Pull complete [2022-04-13T14:41:49.589Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-13T14:41:49.589Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-13T14:41:49.589Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-13T14:41:49.662Z] prd-ubuntu20.04-docker-8c-8g-20810 does not seem to be running inside a container [2022-04-13T14:41:49.701Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-13T14:41:51.866Z] $ docker top 31c673765880228cdefdd04d6fd5030c47319a26b11c3acd956e80c1c5aeea3f -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-13T14:41:51.947Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-13T14:41:52.229Z] + set -o pipefail [2022-04-13T14:41:52.229Z] + snyk monitor '--org=edgex-jenkins' [2022-04-13T14:41:56.429Z] [2022-04-13T14:41:56.429Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2022-04-13T14:41:56.429Z] [2022-04-13T14:41:56.429Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/146faa62-a4b3-4f2d-b93b-755e4e5c21c3/history/70ee20ed-3e10-4dad-8c09-669803e12858 [2022-04-13T14:41:56.429Z] [2022-04-13T14:41:56.429Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-04-13T14:41:56.429Z] [2022-04-13T14:41:56.429Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-13T14:41:56.429Z] [2022-04-13T14:41:56.429Z] [Pipeline] } [2022-04-13T14:41:56.443Z] $ docker stop --time=1 31c673765880228cdefdd04d6fd5030c47319a26b11c3acd956e80c1c5aeea3f [2022-04-13T14:41:58.233Z] $ docker rm -f 31c673765880228cdefdd04d6fd5030c47319a26b11c3acd956e80c1c5aeea3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-13T14:41:58.894Z] + git log --format=format:%s -1 b9afc87bdaf6fb1a5adf70b8290df672557dec94 [Pipeline] sh [2022-04-13T14:41:59.193Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-13T14:41:59.193Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:41:59.493Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T14:41:59.493Z] . [Pipeline] withDockerContainer [2022-04-13T14:41:59.569Z] prd-ubuntu20.04-docker-8c-8g-20810 does not seem to be running inside a container [2022-04-13T14:41:59.608Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-13T14:42:00.024Z] $ docker top 5d0ec978077de3047d7b19faf39f4ea31fb572d94fd2e59c00f331cedc506a52 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-13T14:42:00.115Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T14:42:00.115Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T14:42:00.238Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T14:42:00.242Z] $ docker exec 5d0ec978077de3047d7b19faf39f4ea31fb572d94fd2e59c00f331cedc506a52 ssh-agent [2022-04-13T14:42:00.358Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmlagPe/agent.15 [2022-04-13T14:42:00.358Z] SSH_AGENT_PID=21 [2022-04-13T14:42:00.364Z] Running ssh-add (command line suppressed) [2022-04-13T14:42:00.474Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3058507419696472668.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3058507419696472668.key) [2022-04-13T14:42:00.487Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T14:42:00.782Z] + git semver tag [2022-04-13T14:42:00.782Z] # -> Open(): unable to determine branch for HEAD [2022-04-13T14:42:00.782Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2022-04-13T14:42:00.782Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2022-04-13T14:42:00.782Z] # $SEMVER_REMOTE_NAME = origin [2022-04-13T14:42:00.782Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-13T14:42:00.782Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-13T14:42:00.782Z] # $SEMVER_BRANCH = main [2022-04-13T14:42:00.782Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [2022-04-13T14:42:00.782Z] # b9afc87bdaf6fb1a5adf70b8290df672557dec94 HEAD [2022-04-13T14:42:00.782Z] # -> Force: false [2022-04-13T14:42:00.782Z] # 3be1a68c266b8bcf3726b5107ebb1e74a8dba965 refs/tags/v2.0.0-dev.6 [Pipeline] } [2022-04-13T14:42:00.793Z] $ docker exec --env ******** --env ******** 5d0ec978077de3047d7b19faf39f4ea31fb572d94fd2e59c00f331cedc506a52 ssh-agent -k [2022-04-13T14:42:00.904Z] unset SSH_AUTH_SOCK; [2022-04-13T14:42:00.904Z] unset SSH_AGENT_PID; [2022-04-13T14:42:00.904Z] echo Agent pid 21 killed; [2022-04-13T14:42:00.916Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-13T14:42:01.223Z] + git semver [Pipeline] } [2022-04-13T14:42:01.237Z] $ docker stop --time=1 5d0ec978077de3047d7b19faf39f4ea31fb572d94fd2e59c00f331cedc506a52 [2022-04-13T14:42:02.568Z] $ docker rm -f 5d0ec978077de3047d7b19faf39f4ea31fb572d94fd2e59c00f331cedc506a52 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:42:02.975Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-13T14:42:02.975Z] [2022-04-13T14:42:02.975Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:42:03.278Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-13T14:42:03.278Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-13T14:42:03.278Z] ab5ef0e58194: Pulling fs layer [2022-04-13T14:42:03.278Z] 9712f1f96733: Pulling fs layer [2022-04-13T14:42:03.278Z] 63f879dbbcfc: Pulling fs layer [2022-04-13T14:42:03.278Z] 0d9ebad4ef96: Pulling fs layer [2022-04-13T14:42:03.278Z] e9a5061849ea: Pulling fs layer [2022-04-13T14:42:03.278Z] d747dcd14b5f: Pulling fs layer [2022-04-13T14:42:03.278Z] 2de7ff778b66: Pulling fs layer [2022-04-13T14:42:03.278Z] 2de7ff778b66: Waiting [2022-04-13T14:42:03.278Z] e9a5061849ea: Waiting [2022-04-13T14:42:03.278Z] d747dcd14b5f: Waiting [2022-04-13T14:42:03.278Z] 0d9ebad4ef96: Waiting [2022-04-13T14:42:03.278Z] 9712f1f96733: Verifying Checksum [2022-04-13T14:42:03.278Z] 9712f1f96733: Download complete [2022-04-13T14:42:03.538Z] 63f879dbbcfc: Verifying Checksum [2022-04-13T14:42:03.538Z] 63f879dbbcfc: Download complete [2022-04-13T14:42:03.796Z] 0d9ebad4ef96: Verifying Checksum [2022-04-13T14:42:03.796Z] 0d9ebad4ef96: Download complete [2022-04-13T14:42:03.796Z] d747dcd14b5f: Download complete [2022-04-13T14:42:03.796Z] e9a5061849ea: Verifying Checksum [2022-04-13T14:42:03.796Z] e9a5061849ea: Download complete [2022-04-13T14:42:03.796Z] ab5ef0e58194: Verifying Checksum [2022-04-13T14:42:03.796Z] ab5ef0e58194: Download complete [2022-04-13T14:42:03.796Z] 2de7ff778b66: Download complete [2022-04-13T14:42:06.330Z] ab5ef0e58194: Pull complete [2022-04-13T14:42:06.589Z] 9712f1f96733: Pull complete [2022-04-13T14:42:07.158Z] 63f879dbbcfc: Pull complete [2022-04-13T14:42:11.355Z] 0d9ebad4ef96: Pull complete [2022-04-13T14:42:11.355Z] e9a5061849ea: Pull complete [2022-04-13T14:42:11.355Z] d747dcd14b5f: Pull complete [2022-04-13T14:42:11.926Z] 2de7ff778b66: Pull complete [2022-04-13T14:42:11.926Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-13T14:42:11.926Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-13T14:42:11.926Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-13T14:42:11.990Z] prd-ubuntu20.04-docker-8c-8g-20810 does not seem to be running inside a container [2022-04-13T14:42:12.061Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-13T14:42:13.994Z] $ docker top ed5e93abd30a8f8c83e63eb6aadb2139b3014ce6b9b4a49761348e174de01e93 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-13T14:42:14.080Z] provisioning config files... [2022-04-13T14:42:14.089Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5533882275720261551tmp [2022-04-13T14:42:14.101Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6812793037589959481tmp [2022-04-13T14:42:14.113Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3301332658228405127tmp [Pipeline] { [Pipeline] echo [2022-04-13T14:42:14.130Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T14:42:14.414Z] ---> sigul-configuration.sh [2022-04-13T14:42:14.414Z] gpg: directory `/root/.gnupg' created [2022-04-13T14:42:14.414Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-13T14:42:14.414Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-13T14:42:14.414Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-13T14:42:14.414Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-13T14:42:14.414Z] gpg: CAST5 encrypted data [2022-04-13T14:42:14.414Z] gpg: encrypted with 1 passphrase [2022-04-13T14:42:14.414Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-13T14:42:14.706Z] + mkdir /home/jenkins [2022-04-13T14:42:14.706Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-13T14:42:14.999Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-04-13T14:42:15.011Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T14:42:15.299Z] ---> sigul-install.sh [2022-04-13T14:42:15.299Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-13T14:42:15.590Z] + git tag --list [2022-04-13T14:42:15.590Z] v0.0.0 [2022-04-13T14:42:15.590Z] v1.0.0 [2022-04-13T14:42:15.590Z] v1.0.1-dev.1 [2022-04-13T14:42:15.590Z] v1.0.1-dev.2 [2022-04-13T14:42:15.590Z] v1.0.1-dev.3 [2022-04-13T14:42:15.590Z] v1.0.1-dev.4 [2022-04-13T14:42:15.590Z] v1.0.1-dev.5 [2022-04-13T14:42:15.590Z] v1.0.1-dev.6 [2022-04-13T14:42:15.590Z] v2.0.0-dev.1 [2022-04-13T14:42:15.590Z] v2.0.0-dev.2 [2022-04-13T14:42:15.590Z] v2.0.0-dev.3 [2022-04-13T14:42:15.590Z] v2.0.0-dev.4 [2022-04-13T14:42:15.590Z] v2.0.0-dev.5 [2022-04-13T14:42:15.590Z] v2.0.0-dev.6 [Pipeline] sh [2022-04-13T14:42:15.878Z] + lftools sign git-tag v2.0.0-dev.6 [2022-04-13T14:42:16.450Z] Signing Git tag with Sigul... [2022-04-13T14:42:16.450Z] Signing v2.0.0-dev.6 [Pipeline] echo [2022-04-13T14:42:16.722Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T14:42:17.013Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-13T14:42:17.022Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-13T14:42:17.044Z] $ docker stop --time=1 ed5e93abd30a8f8c83e63eb6aadb2139b3014ce6b9b4a49761348e174de01e93 [2022-04-13T14:42:18.336Z] $ docker rm -f ed5e93abd30a8f8c83e63eb6aadb2139b3014ce6b9b4a49761348e174de01e93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-13T14:42:18.753Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-13T14:42:18.753Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:42:19.050Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T14:42:19.050Z] . [Pipeline] withDockerContainer [2022-04-13T14:42:19.121Z] prd-ubuntu20.04-docker-8c-8g-20810 does not seem to be running inside a container [2022-04-13T14:42:19.158Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-13T14:42:19.559Z] $ docker top d30a69986d40d5fac1c96be858ba474e5e77a940036daad030fd83741b296cad -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-13T14:42:19.700Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T14:42:19.700Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T14:42:19.840Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T14:42:19.843Z] $ docker exec d30a69986d40d5fac1c96be858ba474e5e77a940036daad030fd83741b296cad ssh-agent [2022-04-13T14:42:19.983Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXENLped/agent.14 [2022-04-13T14:42:19.983Z] SSH_AGENT_PID=20 [2022-04-13T14:42:19.989Z] Running ssh-add (command line suppressed) [2022-04-13T14:42:20.109Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6792638499221570398.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6792638499221570398.key) [2022-04-13T14:42:20.129Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T14:42:20.428Z] + git semver bump pre [2022-04-13T14:42:20.429Z] # -> Open(): unable to determine branch for HEAD [2022-04-13T14:42:20.429Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2022-04-13T14:42:20.429Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2022-04-13T14:42:20.429Z] # $SEMVER_REMOTE_NAME = origin [2022-04-13T14:42:20.429Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-13T14:42:20.429Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-13T14:42:20.429Z] # $SEMVER_BRANCH = main [2022-04-13T14:42:20.429Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [2022-04-13T14:42:20.429Z] 2.0.0-dev.7 [Pipeline] } [2022-04-13T14:42:20.440Z] $ docker exec --env ******** --env ******** d30a69986d40d5fac1c96be858ba474e5e77a940036daad030fd83741b296cad ssh-agent -k [2022-04-13T14:42:20.557Z] unset SSH_AUTH_SOCK; [2022-04-13T14:42:20.557Z] unset SSH_AGENT_PID; [2022-04-13T14:42:20.557Z] echo Agent pid 20 killed; [2022-04-13T14:42:20.569Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-13T14:42:20.880Z] + git semver [Pipeline] } [2022-04-13T14:42:20.895Z] $ docker stop --time=1 d30a69986d40d5fac1c96be858ba474e5e77a940036daad030fd83741b296cad [2022-04-13T14:42:22.176Z] $ docker rm -f d30a69986d40d5fac1c96be858ba474e5e77a940036daad030fd83741b296cad [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T14:42:22.544Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-13T14:42:22.544Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:42:22.841Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T14:42:22.841Z] . [Pipeline] withDockerContainer [2022-04-13T14:42:22.912Z] prd-ubuntu20.04-docker-8c-8g-20810 does not seem to be running inside a container [2022-04-13T14:42:22.950Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-13T14:42:23.353Z] $ docker top 7d27818ed1315a65d5b5e995f7fd62f4275a2b8dc9fad13852e0f5e8a6e523a8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-13T14:42:23.467Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T14:42:23.467Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T14:42:23.590Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T14:42:23.593Z] $ docker exec 7d27818ed1315a65d5b5e995f7fd62f4275a2b8dc9fad13852e0f5e8a6e523a8 ssh-agent [2022-04-13T14:42:23.724Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaakaoK/agent.14 [2022-04-13T14:42:23.724Z] SSH_AGENT_PID=20 [2022-04-13T14:42:23.729Z] Running ssh-add (command line suppressed) [2022-04-13T14:42:23.843Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6537259384685759592.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6537259384685759592.key) [2022-04-13T14:42:23.859Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T14:42:24.150Z] + git semver push [2022-04-13T14:42:24.150Z] # -> Open(): unable to determine branch for HEAD [2022-04-13T14:42:24.150Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2022-04-13T14:42:24.150Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2022-04-13T14:42:24.150Z] # $SEMVER_REMOTE_NAME = origin [2022-04-13T14:42:24.150Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-13T14:42:24.150Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-13T14:42:24.150Z] # $SEMVER_BRANCH = main [2022-04-13T14:42:24.150Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } [2022-04-13T14:42:26.076Z] $ docker exec --env ******** --env ******** 7d27818ed1315a65d5b5e995f7fd62f4275a2b8dc9fad13852e0f5e8a6e523a8 ssh-agent -k [2022-04-13T14:42:26.187Z] unset SSH_AUTH_SOCK; [2022-04-13T14:42:26.187Z] unset SSH_AGENT_PID; [2022-04-13T14:42:26.187Z] echo Agent pid 20 killed; [2022-04-13T14:42:26.199Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-13T14:42:26.518Z] + git semver [Pipeline] } [2022-04-13T14:42:26.532Z] $ docker stop --time=1 7d27818ed1315a65d5b5e995f7fd62f4275a2b8dc9fad13852e0f5e8a6e523a8 [2022-04-13T14:42:27.818Z] $ docker rm -f 7d27818ed1315a65d5b5e995f7fd62f4275a2b8dc9fad13852e0f5e8a6e523a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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-13T14:42:28.431Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2022-04-13T14:42:28.431Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2022-04-13T14:42:28.431Z] total 16 [2022-04-13T14:42:28.431Z] drwxr-xr-x 3 root root 4096 Apr 13 14:36 . [2022-04-13T14:42:28.431Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 14:42 .. [2022-04-13T14:42:28.431Z] drwxr-xr-x 2 root root 4096 Apr 13 14:36 cost [2022-04-13T14:42:28.431Z] -rw-r--r-- 1 root root 81 Apr 13 14:36 cost.csv [2022-04-13T14:42:28.431Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2022-04-13T14:42:28.431Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2022-04-13T14:42:28.431Z] total 16 [2022-04-13T14:42:28.431Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 14:36 . [2022-04-13T14:42:28.431Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 14:42 .. [2022-04-13T14:42:28.431Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 14:36 cost [2022-04-13T14:42:28.431Z] -rw-r--r-- 1 jenkins jenkins 81 Apr 13 14:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-13T14:42:28.728Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T14:42:29.596Z] ---> package-listing.sh [2022-04-13T14:42:29.596Z] ++ facter osfamily [2022-04-13T14:42:29.596Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-13T14:42:29.856Z] + OS_FAMILY=debian [2022-04-13T14:42:29.856Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2022-04-13T14:42:29.857Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-13T14:42:29.857Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-13T14:42:29.857Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-13T14:42:29.857Z] + PACKAGES=/tmp/packages_start.txt [2022-04-13T14:42:29.857Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2022-04-13T14:42:29.857Z] + PACKAGES=/tmp/packages_end.txt [2022-04-13T14:42:29.857Z] + case "${OS_FAMILY}" in [2022-04-13T14:42:29.857Z] + dpkg -l [2022-04-13T14:42:29.857Z] + grep '^ii' [2022-04-13T14:42:29.857Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-13T14:42:29.857Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-13T14:42:29.857Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-13T14:42:29.857Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2022-04-13T14:42:29.857Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2022-04-13T14:42:29.857Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2022-04-13T14:42:29.869Z] 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-13T14:42:30.147Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-13T14:42:30.707Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T14:42:30.708Z] . [Pipeline] withDockerContainer [2022-04-13T14:42:30.776Z] prd-ubuntu20.04-docker-8c-8g-20810 does not seem to be running inside a container [2022-04-13T14:42:30.811Z] $ 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_main/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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-13T14:42:31.067Z] $ docker top e4e65b8f47a6e064fbbc80124cf663b45d92086b4380c6847053bb0ae56ddfb9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T14:42:31.438Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-13T14:42:31.726Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-13T14:42:32.015Z] + ls /var/log/sa-host [2022-04-13T14:42:32.015Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T14:42:32.242Z] provisioning config files... [2022-04-13T14:42:32.251Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2643235604506892650tmp [Pipeline] { [Pipeline] echo [2022-04-13T14:42:32.267Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T14:42:32.557Z] ---> create-netrc.sh [Pipeline] } [2022-04-13T14:42:32.564Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-13T14:42:32.908Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-13T14:42:32.918Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T14:42:33.205Z] ---> sudo-logs.sh [2022-04-13T14:42:33.205Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-13T14:42:33.238Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T14:42:33.526Z] ---> job-cost.sh [2022-04-13T14:42:33.526Z] lf-activate-venv: SKIPPING [2022-04-13T14:42:33.526Z] DEBUG: total: 0.2199999988079071 [2022-04-13T14:42:33.526Z] INFO: Retrieving Stack Cost... [2022-04-13T14:42:34.098Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-13T14:42:34.359Z] INFO: Archiving Costs [Pipeline] echo [2022-04-13T14:42:34.375Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T14:42:34.660Z] ---> logs-deploy.sh [2022-04-13T14:42:34.660Z] lf-activate-venv: SKIPPING [2022-04-13T14:42:34.660Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/17 [2022-04-13T14:42:34.660Z] INFO: archiving workspace using pattern(s): [2022-04-13T14:42:35.601Z] Archives upload complete. [2022-04-13T14:42:35.601Z] INFO: archiving logs to Nexus