Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 43183f3ae652bf6e70cde95040f0d9b44678e222 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-ssh15580390953359638932.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-ssh7835909060560719867.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-ssh12552509414431032245.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-ssh1446435401698092714.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-ssh5299608698006641196.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 on ‘prd-ubuntu20.04-docker-8c-8g-20686’ Running on prd-ubuntu20.04-docker-8c-8g-20688 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 43183f3ae652bf6e70cde95040f0d9b44678e222 (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 43183f3ae652bf6e70cde95040f0d9b44678e222 # timeout=10 Commit message: "Merge pull request #22 from MonicaisHer/EDGEX-410-add-workflow" > git rev-list --no-walk 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-12T15:13:41.425Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-12T15:13:41.480Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-12T15:13:41.498Z] ========================================================= [2022-04-12T15:13:41.498Z] EdgeX Global Pipelines Version Info [2022-04-12T15:13:41.498Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-12T15:13:42.254Z] ------------------- [2022-04-12T15:13:42.254Z] stable info: [2022-04-12T15:13:42.254Z] ------------------- [2022-04-12T15:13:42.254Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-12T15:13:42.254Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-12T15:13:42.254Z] Message: update stable to v1.0.221 [2022-04-12T15:13:42.827Z] ------------------- [2022-04-12T15:13:42.827Z] experimental info: [2022-04-12T15:13:42.827Z] ------------------- [2022-04-12T15:13:42.827Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-12T15:13:42.827Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-12T15:13:42.827Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-12T15:13:42.975Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-04-12T15:13:42.988Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-04-12T15:13:43.005Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-12T15:13:43.022Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-12T15:13:43.039Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-12T15:13:43.056Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-12T15:13:43.084Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-12T15:13:43.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-12T15:13:43.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-12T15:13:43.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-12T15:13:43.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-12T15:13:43.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-04-12T15:13:43.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-12T15:13:43.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-12T15:13:43.216Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-12T15:13:43.238Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-12T15:13:43.256Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-12T15:13:43.272Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-12T15:13:43.292Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-12T15:13:43.310Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-12T15:13:43.323Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-12T15:13:43.339Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-12T15:13:43.356Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-12T15:13:43.376Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-12T15:13:43.400Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-12T15:13:43.418Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-12T15:13:43.435Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-12T15:13:43.451Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-12T15:13:43.467Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-12T15:13:43.482Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 43183f3ae652bf6e70cde95040f0d9b44678e222 [Pipeline] echo [2022-04-12T15:13:43.496Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 43183f3 [Pipeline] echo [2022-04-12T15:13:43.511Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T15:13:43.556Z] provisioning config files... [2022-04-12T15:13:43.569Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2299078996823707089tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T15:13:43.920Z] ---> docker-login.sh [2022-04-12T15:13:43.920Z] nexus3.edgexfoundry.org:10001 [2022-04-12T15:13:44.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T15:13:44.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T15:13:44.441Z] Configure a credential helper to remove this warning. See [2022-04-12T15:13:44.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T15:13:44.441Z] [2022-04-12T15:13:44.441Z] Login Succeeded [2022-04-12T15:13:44.441Z] nexus3.edgexfoundry.org:10002 [2022-04-12T15:13:44.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T15:13:44.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T15:13:44.441Z] Configure a credential helper to remove this warning. See [2022-04-12T15:13:44.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T15:13:44.441Z] [2022-04-12T15:13:44.441Z] Login Succeeded [2022-04-12T15:13:44.441Z] nexus3.edgexfoundry.org:10003 [2022-04-12T15:13:44.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T15:13:44.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T15:13:44.701Z] Configure a credential helper to remove this warning. See [2022-04-12T15:13:44.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T15:13:44.701Z] [2022-04-12T15:13:44.701Z] Login Succeeded [2022-04-12T15:13:44.701Z] nexus3.edgexfoundry.org:10004 [2022-04-12T15:13:44.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T15:13:44.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T15:13:44.701Z] Configure a credential helper to remove this warning. See [2022-04-12T15:13:44.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T15:13:44.701Z] [2022-04-12T15:13:44.701Z] Login Succeeded [2022-04-12T15:13:44.701Z] docker.io [2022-04-12T15:13:44.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T15:13:45.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T15:13:45.223Z] Configure a credential helper to remove this warning. See [2022-04-12T15:13:45.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T15:13:45.223Z] [2022-04-12T15:13:45.223Z] Login Succeeded [2022-04-12T15:13:45.223Z] ---> docker-login.sh ends [Pipeline] } [2022-04-12T15:13:45.234Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-12T15:13:45.608Z] + git rev-list -1 --merges 43183f3ae652bf6e70cde95040f0d9b44678e222~1..43183f3ae652bf6e70cde95040f0d9b44678e222 [Pipeline] echo [2022-04-12T15:13:45.729Z] -----------> git rev-list -1 --merges 43183f3ae652bf6e70cde95040f0d9b44678e222~1..43183f3ae652bf6e70cde95040f0d9b44678e222 43183f3ae652bf6e70cde95040f0d9b44678e222 [2022-04-12T15:13:45.729Z] 43183f3ae652bf6e70cde95040f0d9b44678e222 [false] [Pipeline] sh [2022-04-12T15:13:46.017Z] + git log --format=format:%s -1 43183f3ae652bf6e70cde95040f0d9b44678e222 [Pipeline] echo [2022-04-12T15:13:46.033Z] ========================================================= [2022-04-12T15:13:46.033Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-12T15:13:46.033Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-12T15:13:46.377Z] + git log --format=format:%s -1 43183f3ae652bf6e70cde95040f0d9b44678e222 [Pipeline] echo [2022-04-12T15:13:46.389Z] [semverPrep] GIT_COMMIT: 43183f3ae652bf6e70cde95040f0d9b44678e222, Commit Message: Merge pull request #22 from MonicaisHer/EDGEX-410-add-workflow [Pipeline] echo [2022-04-12T15:13:46.398Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-12T15:13:46.805Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-12T15:13:46.806Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-12T15:13:46.806Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-12T15:13:46.806Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-12T15:13:46.806Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-12T15:13:46.806Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-12T15:13:46.806Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:13:47.154Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T15:13:47.154Z] [2022-04-12T15:13:47.154Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:13:47.460Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T15:13:47.460Z] latest: Pulling from edgex-devops/git-semver [2022-04-12T15:13:47.460Z] a0d0a0d46f8b: Pulling fs layer [2022-04-12T15:13:47.460Z] 3e5f54012d9b: Pulling fs layer [2022-04-12T15:13:47.460Z] 4c7163046ea9: Pulling fs layer [2022-04-12T15:13:47.460Z] 0c2d73faf560: Pulling fs layer [2022-04-12T15:13:47.723Z] 3e5f54012d9b: Verifying Checksum [2022-04-12T15:13:47.723Z] 3e5f54012d9b: Download complete [2022-04-12T15:13:47.723Z] a0d0a0d46f8b: Verifying Checksum [2022-04-12T15:13:47.723Z] a0d0a0d46f8b: Download complete [2022-04-12T15:13:47.723Z] 4c7163046ea9: Download complete [2022-04-12T15:13:47.723Z] 0c2d73faf560: Verifying Checksum [2022-04-12T15:13:47.984Z] a0d0a0d46f8b: Pull complete [2022-04-12T15:13:47.984Z] 3e5f54012d9b: Pull complete [2022-04-12T15:13:48.244Z] 4c7163046ea9: Pull complete [2022-04-12T15:13:48.507Z] 0c2d73faf560: Pull complete [2022-04-12T15:13:48.507Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-12T15:13:48.507Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T15:13:48.507Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-12T15:13:48.590Z] prd-ubuntu20.04-docker-8c-8g-20688 does not seem to be running inside a container [2022-04-12T15:13:48.638Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-12T15:13:49.593Z] $ docker top ead8d3ec7e0ceaa831cbc7475204460e198ad3ebc95f99e548b955f655393f10 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-12T15:13:49.706Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-12T15:13:49.706Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-12T15:13:49.836Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-12T15:13:49.846Z] $ docker exec ead8d3ec7e0ceaa831cbc7475204460e198ad3ebc95f99e548b955f655393f10 ssh-agent [2022-04-12T15:13:49.971Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiojpCa/agent.14 [2022-04-12T15:13:49.971Z] SSH_AGENT_PID=20 [2022-04-12T15:13:49.978Z] Running ssh-add (command line suppressed) [2022-04-12T15:13:50.105Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3474090773414237002.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3474090773414237002.key) [2022-04-12T15:13:50.114Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-12T15:13:50.410Z] + git tag --points-at HEAD [Pipeline] } [2022-04-12T15:13:50.440Z] $ docker exec --env ******** --env ******** ead8d3ec7e0ceaa831cbc7475204460e198ad3ebc95f99e548b955f655393f10 ssh-agent -k [2022-04-12T15:13:50.580Z] unset SSH_AUTH_SOCK; [2022-04-12T15:13:50.580Z] unset SSH_AGENT_PID; [2022-04-12T15:13:50.580Z] echo Agent pid 20 killed; [2022-04-12T15:13:50.588Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-12T15:13:50.613Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-12T15:13:50.613Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-12T15:13:50.756Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-12T15:13:50.766Z] $ docker exec ead8d3ec7e0ceaa831cbc7475204460e198ad3ebc95f99e548b955f655393f10 ssh-agent [2022-04-12T15:13:50.888Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJKpOna/agent.54 [2022-04-12T15:13:50.888Z] SSH_AGENT_PID=61 [2022-04-12T15:13:50.894Z] Running ssh-add (command line suppressed) [2022-04-12T15:13:51.029Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4056807565114402820.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4056807565114402820.key) [2022-04-12T15:13:51.039Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-12T15:13:51.332Z] + git semver init [2022-04-12T15:13:51.332Z] # -> Open(): unable to determine branch for HEAD [2022-04-12T15:13:51.332Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2022-04-12T15:13:51.332Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2022-04-12T15:13:51.332Z] # $SEMVER_REMOTE_NAME = origin [2022-04-12T15:13:51.332Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-12T15:13:51.332Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-12T15:13:51.332Z] # $SEMVER_BRANCH = main [2022-04-12T15:13:51.332Z] # $SEMVER_TEMP = /tmp/semver-903921661 [2022-04-12T15:13:51.332Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2022-04-12T15:13:52.274Z] # '/tmp/semver-903921661' -> '/w/workspace/edgexfoundry_device-gpio_main/.semver' [2022-04-12T15:13:52.274Z] # -> Force: false [2022-04-12T15:13:52.274Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } [2022-04-12T15:13:52.291Z] $ docker exec --env ******** --env ******** ead8d3ec7e0ceaa831cbc7475204460e198ad3ebc95f99e548b955f655393f10 ssh-agent -k [2022-04-12T15:13:52.410Z] unset SSH_AUTH_SOCK; [2022-04-12T15:13:52.410Z] unset SSH_AGENT_PID; [2022-04-12T15:13:52.410Z] echo Agent pid 61 killed; [2022-04-12T15:13:52.416Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-12T15:13:52.718Z] + git semver [Pipeline] } [2022-04-12T15:13:52.739Z] $ docker stop --time=1 ead8d3ec7e0ceaa831cbc7475204460e198ad3ebc95f99e548b955f655393f10 [2022-04-12T15:13:54.114Z] $ docker rm -f ead8d3ec7e0ceaa831cbc7475204460e198ad3ebc95f99e548b955f655393f10 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-12T15:13:54.495Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-12T15:13:54.777Z] Stashed 1 file(s) [Pipeline] echo [2022-04-12T15:13:54.781Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.5 [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-12T15:13:54.939Z] provisioning config files... [2022-04-12T15:13:54.951Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1861101865442698251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T15:13:55.256Z] ---> docker-login.sh [2022-04-12T15:13:55.256Z] nexus3.edgexfoundry.org:10001 [2022-04-12T15:13:55.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T15:13:55.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T15:13:55.256Z] Configure a credential helper to remove this warning. See [2022-04-12T15:13:55.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T15:13:55.256Z] [2022-04-12T15:13:55.256Z] Login Succeeded [2022-04-12T15:13:55.256Z] nexus3.edgexfoundry.org:10002 [2022-04-12T15:13:55.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T15:13:55.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T15:13:55.516Z] Configure a credential helper to remove this warning. See [2022-04-12T15:13:55.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T15:13:55.516Z] [2022-04-12T15:13:55.516Z] Login Succeeded [2022-04-12T15:13:55.516Z] nexus3.edgexfoundry.org:10003 [2022-04-12T15:13:55.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T15:13:55.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T15:13:55.516Z] Configure a credential helper to remove this warning. See [2022-04-12T15:13:55.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T15:13:55.516Z] [2022-04-12T15:13:55.516Z] Login Succeeded [2022-04-12T15:13:55.516Z] nexus3.edgexfoundry.org:10004 [2022-04-12T15:13:55.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T15:13:55.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T15:13:55.776Z] Configure a credential helper to remove this warning. See [2022-04-12T15:13:55.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T15:13:55.776Z] [2022-04-12T15:13:55.776Z] Login Succeeded [2022-04-12T15:13:55.776Z] docker.io [2022-04-12T15:13:55.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T15:13:56.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T15:13:56.038Z] Configure a credential helper to remove this warning. See [2022-04-12T15:13:56.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T15:13:56.038Z] [2022-04-12T15:13:56.038Z] Login Succeeded [2022-04-12T15:13:56.038Z] ---> docker-login.sh ends [Pipeline] } [2022-04-12T15:13:56.046Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-12T15:13:56.114Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-12T15:13:56.124Z] ========================================================= [2022-04-12T15:13:56.124Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-12T15:13:56.124Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:13:56.441Z] + 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-12T15:13:56.441Z] Sending build context to Docker daemon 11.08MB [2022-04-12T15:13:56.441Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T15:13:56.441Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-12T15:13:56.441Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-12T15:13:56.441Z] 59bf1c3509f3: Pulling fs layer [2022-04-12T15:13:56.441Z] 666ba61612fd: Pulling fs layer [2022-04-12T15:13:56.441Z] 8ed8ca486205: Pulling fs layer [2022-04-12T15:13:56.441Z] 4fe6c5a15a65: Pulling fs layer [2022-04-12T15:13:56.441Z] 22a0e8bec74d: Pulling fs layer [2022-04-12T15:13:56.441Z] 640e595b4fbd: Pulling fs layer [2022-04-12T15:13:56.441Z] 763cafe07f6e: Pulling fs layer [2022-04-12T15:13:56.441Z] 0c0b528cf693: Pulling fs layer [2022-04-12T15:13:56.441Z] 10935f4eaf8b: Pulling fs layer [2022-04-12T15:13:56.441Z] 4fe6c5a15a65: Waiting [2022-04-12T15:13:56.441Z] 22a0e8bec74d: Waiting [2022-04-12T15:13:56.441Z] 640e595b4fbd: Waiting [2022-04-12T15:13:56.441Z] 0c0b528cf693: Waiting [2022-04-12T15:13:56.441Z] 10935f4eaf8b: Waiting [2022-04-12T15:13:56.441Z] 8ed8ca486205: Verifying Checksum [2022-04-12T15:13:56.441Z] 8ed8ca486205: Download complete [2022-04-12T15:13:56.704Z] 666ba61612fd: Download complete [2022-04-12T15:13:56.705Z] 22a0e8bec74d: Download complete [2022-04-12T15:13:56.705Z] 640e595b4fbd: Verifying Checksum [2022-04-12T15:13:56.705Z] 640e595b4fbd: Download complete [2022-04-12T15:13:56.705Z] 59bf1c3509f3: Download complete [2022-04-12T15:13:56.705Z] 763cafe07f6e: Verifying Checksum [2022-04-12T15:13:56.705Z] 763cafe07f6e: Download complete [2022-04-12T15:13:56.705Z] 0c0b528cf693: Verifying Checksum [2022-04-12T15:13:56.705Z] 0c0b528cf693: Download complete [2022-04-12T15:13:56.705Z] 59bf1c3509f3: Pull complete [2022-04-12T15:13:56.967Z] 666ba61612fd: Pull complete [2022-04-12T15:13:56.967Z] 8ed8ca486205: Pull complete [2022-04-12T15:13:57.228Z] 10935f4eaf8b: Verifying Checksum [2022-04-12T15:13:57.228Z] 10935f4eaf8b: Download complete [2022-04-12T15:13:57.228Z] 4fe6c5a15a65: Verifying Checksum [2022-04-12T15:13:57.228Z] 4fe6c5a15a65: Download complete [2022-04-12T15:14:01.436Z] 4fe6c5a15a65: Pull complete [2022-04-12T15:14:01.436Z] 22a0e8bec74d: Pull complete [2022-04-12T15:14:01.436Z] 640e595b4fbd: Pull complete [2022-04-12T15:14:01.436Z] 763cafe07f6e: Pull complete [2022-04-12T15:14:01.436Z] 0c0b528cf693: Pull complete [2022-04-12T15:14:03.355Z] 10935f4eaf8b: Pull complete [2022-04-12T15:14:03.355Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-12T15:14:03.355Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-12T15:14:03.355Z] ---> 99d49a6021b9 [2022-04-12T15:14:03.355Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-12T15:14:05.903Z] ---> Running in e17c48410e61 [2022-04-12T15:14:05.903Z] Removing intermediate container e17c48410e61 [2022-04-12T15:14:05.903Z] ---> 39395ac8fabb [2022-04-12T15:14:05.903Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-04-12T15:14:05.903Z] ---> Running in cbebcfc2dd0c [2022-04-12T15:14:05.903Z] Removing intermediate container cbebcfc2dd0c [2022-04-12T15:14:05.903Z] ---> e3db340711a1 [2022-04-12T15:14:05.903Z] Step 5/11 : WORKDIR /device-gpio [2022-04-12T15:14:05.903Z] ---> Running in c567d97a0ab1 [2022-04-12T15:14:05.903Z] Removing intermediate container c567d97a0ab1 [2022-04-12T15:14:05.903Z] ---> 875ccd77061d [2022-04-12T15:14:05.903Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T15:14:05.903Z] ---> Running in 6ea1e952d80e [2022-04-12T15:14:06.846Z] Removing intermediate container 6ea1e952d80e [2022-04-12T15:14:06.846Z] ---> 7897e2b15049 [2022-04-12T15:14:06.846Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-12T15:14:06.846Z] ---> Running in 53d906d8cbd9 [2022-04-12T15:14:07.105Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-12T15:14:08.046Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-12T15:14:08.307Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-12T15:14:08.307Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-12T15:14:08.307Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-12T15:14:08.568Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-12T15:14:08.568Z] Executing busybox-1.34.1-r3.trigger [2022-04-12T15:14:08.568Z] OK: 224 MiB in 56 packages [2022-04-12T15:14:09.140Z] Removing intermediate container 53d906d8cbd9 [2022-04-12T15:14:09.140Z] ---> 12b7b4bfd725 [2022-04-12T15:14:09.140Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-12T15:14:09.140Z] ---> 2ef1378f1850 [2022-04-12T15:14:09.140Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T15:14:09.140Z] ---> Running in 41f47c57ff1b [2022-04-12T15:14:09.889Z] Still waiting to schedule task [2022-04-12T15:14:09.889Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-20687’ is offline [2022-04-12T15:14:35.721Z] Removing intermediate container 41f47c57ff1b [2022-04-12T15:14:35.721Z] ---> d88502a32f07 [2022-04-12T15:14:35.721Z] Step 10/11 : COPY . . [2022-04-12T15:14:35.721Z] ---> 9c8b75f8ca67 [2022-04-12T15:14:35.721Z] Step 11/11 : RUN ${MAKE} [2022-04-12T15:14:35.721Z] ---> Running in 4454b7ca7533 [2022-04-12T15:14:35.990Z] Removing intermediate container 4454b7ca7533 [2022-04-12T15:14:35.990Z] ---> d4c43cd3b9c8 [2022-04-12T15:14:35.990Z] [Warning] One or more build-args [MAKE] were not consumed [2022-04-12T15:14:35.990Z] Successfully built d4c43cd3b9c8 [2022-04-12T15:14:35.990Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:14:36.292Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-12T15:14:36.292Z] . [Pipeline] withDockerContainer [2022-04-12T15:14:36.368Z] prd-ubuntu20.04-docker-8c-8g-20688 does not seem to be running inside a container [2022-04-12T15:14:36.408Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-04-12T15:14:36.806Z] $ docker top fe49019f46684b1d16a0b52d5c875cbc29296a127687449a1b17b7e74b70ba27 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-12T15:14:37.165Z] + go version [2022-04-12T15:14:37.165Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-12T15:14:37.181Z] $ docker stop --time=1 fe49019f46684b1d16a0b52d5c875cbc29296a127687449a1b17b7e74b70ba27 [2022-04-12T15:14:38.527Z] $ docker rm -f fe49019f46684b1d16a0b52d5c875cbc29296a127687449a1b17b7e74b70ba27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:14:38.942Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-12T15:14:38.942Z] . [Pipeline] withDockerContainer [2022-04-12T15:14:39.016Z] prd-ubuntu20.04-docker-8c-8g-20688 does not seem to be running inside a container [2022-04-12T15:14:39.057Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-04-12T15:14:39.475Z] $ docker top f2b7b35165e155016c61bf4e2e5f3ba91c15fc909b95f32429379c920e96402f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-12T15:14:39.845Z] + make test [2022-04-12T15:14:39.845Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-12T15:14:40.119Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-04-12T15:14:46.795Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-04-12T15:14:46.795Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-04-12T15:14:51.102Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-12T15:14:53.718Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-12T15:14:53.993Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-12T15:14:53.993Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-12T15:14:54.291Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-12T15:14:54.315Z] $ docker stop --time=1 f2b7b35165e155016c61bf4e2e5f3ba91c15fc909b95f32429379c920e96402f [2022-04-12T15:14:56.069Z] $ docker rm -f f2b7b35165e155016c61bf4e2e5f3ba91c15fc909b95f32429379c920e96402f [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-12T15:14:56.481Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-12T15:14:56.527Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-12T15:14:57.121Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-12T15:14:57.414Z] + ls -al . [2022-04-12T15:14:57.414Z] total 188 [2022-04-12T15:14:57.414Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 12 15:14 . [2022-04-12T15:14:57.414Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 15:13 .. [2022-04-12T15:14:57.414Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 12 15:13 .dockerignore [2022-04-12T15:14:57.414Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 15:13 .git [2022-04-12T15:14:57.414Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 15:13 .github [2022-04-12T15:14:57.414Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 12 15:13 .gitignore [2022-04-12T15:14:57.414Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 12 15:13 .golangci.yml [2022-04-12T15:14:57.414Z] drwx------ 3 jenkins jenkins 4096 Apr 12 15:13 .semver [2022-04-12T15:14:57.414Z] -rw-rw-r-- 1 jenkins jenkins 7772 Apr 12 15:13 Attribution.txt [2022-04-12T15:14:57.414Z] -rw-rw-r-- 1 jenkins jenkins 1846 Apr 12 15:13 Dockerfile [2022-04-12T15:14:57.414Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 15:13 GOVERNANCE.md [2022-04-12T15:14:57.414Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 12 15:13 Jenkinsfile [2022-04-12T15:14:57.414Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 12 15:13 LICENSE [2022-04-12T15:14:57.414Z] -rw-rw-r-- 1 jenkins jenkins 1876 Apr 12 15:13 Makefile [2022-04-12T15:14:57.414Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 12 15:13 OWNERS.md [2022-04-12T15:14:57.414Z] -rw-rw-r-- 1 jenkins jenkins 9578 Apr 12 15:13 README.md [2022-04-12T15:14:57.414Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 12 15:13 VERSION [2022-04-12T15:14:57.414Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 15:13 bin [2022-04-12T15:14:57.414Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 15:13 cmd [2022-04-12T15:14:57.414Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 12 15:14 coverage.out [2022-04-12T15:14:57.414Z] -rw-rw-r-- 1 jenkins jenkins 2794 Apr 12 15:13 go.mod [2022-04-12T15:14:57.414Z] -rw-rw-r-- 1 jenkins jenkins 70652 Apr 12 15:13 go.sum [2022-04-12T15:14:57.414Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 15:13 internal [2022-04-12T15:14:57.414Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 15:13 snap [2022-04-12T15:14:57.414Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 12 15:13 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:14:57.712Z] + 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=43183f3ae652bf6e70cde95040f0d9b44678e222 --label arch=amd64 --label version=2.0.0-dev.5 . [2022-04-12T15:14:57.713Z] Sending build context to Docker daemon 11.08MB [2022-04-12T15:14:57.713Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T15:14:57.713Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-12T15:14:57.713Z] ---> d4c43cd3b9c8 [2022-04-12T15:14:57.713Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-12T15:14:57.973Z] ---> Running in 27eab20ab083 [2022-04-12T15:14:57.973Z] Removing intermediate container 27eab20ab083 [2022-04-12T15:14:57.973Z] ---> a643948f70cc [2022-04-12T15:14:57.973Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-12T15:14:57.973Z] ---> Running in 1b08a98b60f5 [2022-04-12T15:14:58.232Z] Removing intermediate container 1b08a98b60f5 [2022-04-12T15:14:58.232Z] ---> 35952d2ae4ce [2022-04-12T15:14:58.232Z] Step 5/25 : WORKDIR /device-gpio [2022-04-12T15:14:58.232Z] ---> Running in bbd542e2cdb2 [2022-04-12T15:14:58.232Z] Removing intermediate container bbd542e2cdb2 [2022-04-12T15:14:58.232Z] ---> 56bc95ca3f15 [2022-04-12T15:14:58.232Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T15:14:58.232Z] ---> Running in b143261b33c5 [2022-04-12T15:14:58.803Z] Removing intermediate container b143261b33c5 [2022-04-12T15:14:58.803Z] ---> 5d99d878cac5 [2022-04-12T15:14:58.803Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-12T15:14:59.065Z] ---> Running in d25f8e4704de [2022-04-12T15:14:59.326Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-12T15:15:00.269Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-12T15:15:00.530Z] OK: 224 MiB in 56 packages [2022-04-12T15:15:00.790Z] Removing intermediate container d25f8e4704de [2022-04-12T15:15:00.790Z] ---> e716a28ec85d [2022-04-12T15:15:00.790Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-12T15:15:01.050Z] ---> b236513eae90 [2022-04-12T15:15:01.050Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T15:15:01.050Z] ---> Running in 0a25e85445b8 [2022-04-12T15:15:01.994Z] Removing intermediate container 0a25e85445b8 [2022-04-12T15:15:01.994Z] ---> 8394c471ded8 [2022-04-12T15:15:01.994Z] Step 10/25 : COPY . . [2022-04-12T15:15:02.570Z] ---> 2c7398e3c07e [2022-04-12T15:15:02.570Z] Step 11/25 : RUN ${MAKE} [2022-04-12T15:15:02.570Z] ---> Running in 8555efa9afd6 [2022-04-12T15:15:03.512Z] Removing intermediate container 8555efa9afd6 [2022-04-12T15:15:03.512Z] ---> a7d9f1a79b3a [2022-04-12T15:15:03.512Z] Step 12/25 : FROM alpine:3.15 [2022-04-12T15:15:04.086Z] 3.15: Pulling from library/alpine [2022-04-12T15:15:04.346Z] df9b9388f04a: Pulling fs layer [2022-04-12T15:15:04.346Z] df9b9388f04a: Verifying Checksum [2022-04-12T15:15:04.346Z] df9b9388f04a: Download complete [2022-04-12T15:15:04.606Z] df9b9388f04a: Pull complete [2022-04-12T15:15:04.606Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-04-12T15:15:04.606Z] Status: Downloaded newer image for alpine:3.15 [2022-04-12T15:15:04.606Z] ---> 0ac33e5f5afa [2022-04-12T15:15:04.606Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-04-12T15:15:04.866Z] ---> Running in e460729dcdad [2022-04-12T15:15:04.866Z] Removing intermediate container e460729dcdad [2022-04-12T15:15:04.866Z] ---> a7349e2c64c2 [2022-04-12T15:15:04.866Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T15:15:04.866Z] ---> Running in 6351e39ed316 [2022-04-12T15:15:05.804Z] Removing intermediate container 6351e39ed316 [2022-04-12T15:15:05.804Z] ---> b5053e9691d9 [2022-04-12T15:15:05.804Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-12T15:15:05.804Z] ---> Running in 81c92e4be024 [2022-04-12T15:15:05.804Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-12T15:15:06.747Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-12T15:15:07.008Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-04-12T15:15:07.270Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-12T15:15:07.270Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-04-12T15:15:07.270Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-12T15:15:07.530Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-12T15:15:07.530Z] Executing busybox-1.34.1-r5.trigger [2022-04-12T15:15:07.530Z] OK: 8 MiB in 19 packages [2022-04-12T15:15:08.100Z] Removing intermediate container 81c92e4be024 [2022-04-12T15:15:08.100Z] ---> 430654230354 [2022-04-12T15:15:08.100Z] Step 16/25 : WORKDIR / [2022-04-12T15:15:08.100Z] ---> Running in ae6e7cb47ca7 [2022-04-12T15:15:08.100Z] Removing intermediate container ae6e7cb47ca7 [2022-04-12T15:15:08.100Z] ---> 9456be3c0c4d [2022-04-12T15:15:08.100Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-04-12T15:15:08.361Z] ---> 7a667eb6264b [2022-04-12T15:15:08.361Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-04-12T15:15:08.361Z] ---> d685c5b83ec1 [2022-04-12T15:15:08.361Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-04-12T15:15:08.622Z] ---> fba9ebbc5f3d [2022-04-12T15:15:08.622Z] Step 20/25 : EXPOSE 59910 [2022-04-12T15:15:08.622Z] ---> Running in 335c0d02cde3 [2022-04-12T15:15:08.883Z] Removing intermediate container 335c0d02cde3 [2022-04-12T15:15:08.883Z] ---> 13ae78643b54 [2022-04-12T15:15:08.883Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-04-12T15:15:08.883Z] ---> Running in 5988ac11b953 [2022-04-12T15:15:08.883Z] Removing intermediate container 5988ac11b953 [2022-04-12T15:15:08.883Z] ---> 8ec6567f8d2a [2022-04-12T15:15:08.883Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-12T15:15:08.883Z] ---> Running in ef4bba2c74b1 [2022-04-12T15:15:09.144Z] Removing intermediate container ef4bba2c74b1 [2022-04-12T15:15:09.144Z] ---> 458e432cb7a4 [2022-04-12T15:15:09.144Z] Step 23/25 : LABEL arch=amd64 [2022-04-12T15:15:09.144Z] ---> Running in afac2944cb98 [2022-04-12T15:15:09.144Z] Removing intermediate container afac2944cb98 [2022-04-12T15:15:09.144Z] ---> deaa91cbde2f [2022-04-12T15:15:09.144Z] Step 24/25 : LABEL git_sha=43183f3ae652bf6e70cde95040f0d9b44678e222 [2022-04-12T15:15:09.404Z] ---> Running in b2f264e3c1a7 [2022-04-12T15:15:09.404Z] Removing intermediate container b2f264e3c1a7 [2022-04-12T15:15:09.404Z] ---> ea95db48b436 [2022-04-12T15:15:09.404Z] Step 25/25 : LABEL version=2.0.0-dev.5 [2022-04-12T15:15:09.404Z] ---> Running in 750b19a84325 [2022-04-12T15:15:09.404Z] Removing intermediate container 750b19a84325 [2022-04-12T15:15:09.404Z] ---> d3a46b62833f [2022-04-12T15:15:09.404Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-04-12T15:15:09.404Z] Successfully built d3a46b62833f [2022-04-12T15:15:09.665Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T15:15:09.765Z] provisioning config files... [2022-04-12T15:15:09.777Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2415209170619977135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T15:15:10.078Z] ---> docker-login.sh [2022-04-12T15:15:10.078Z] nexus3.edgexfoundry.org:10001 [2022-04-12T15:15:10.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T15:15:10.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T15:15:10.078Z] Configure a credential helper to remove this warning. See [2022-04-12T15:15:10.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T15:15:10.078Z] [2022-04-12T15:15:10.078Z] Login Succeeded [2022-04-12T15:15:10.078Z] nexus3.edgexfoundry.org:10002 [2022-04-12T15:15:10.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T15:15:10.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T15:15:10.078Z] Configure a credential helper to remove this warning. See [2022-04-12T15:15:10.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T15:15:10.078Z] [2022-04-12T15:15:10.078Z] Login Succeeded [2022-04-12T15:15:10.078Z] nexus3.edgexfoundry.org:10003 [2022-04-12T15:15:10.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T15:15:10.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T15:15:10.338Z] Configure a credential helper to remove this warning. See [2022-04-12T15:15:10.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T15:15:10.338Z] [2022-04-12T15:15:10.338Z] Login Succeeded [2022-04-12T15:15:10.338Z] nexus3.edgexfoundry.org:10004 [2022-04-12T15:15:10.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T15:15:10.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T15:15:10.338Z] Configure a credential helper to remove this warning. See [2022-04-12T15:15:10.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T15:15:10.338Z] [2022-04-12T15:15:10.338Z] Login Succeeded [2022-04-12T15:15:10.338Z] docker.io [2022-04-12T15:15:10.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T15:15:10.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T15:15:10.859Z] Configure a credential helper to remove this warning. See [2022-04-12T15:15:10.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T15:15:10.859Z] [2022-04-12T15:15:10.859Z] Login Succeeded [2022-04-12T15:15:10.859Z] ---> docker-login.sh ends [Pipeline] } [2022-04-12T15:15:10.867Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-12T15:15:10.905Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-12T15:15:10.992Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2022-04-12T15:15:10.992Z] 43183f3ae652bf6e70cde95040f0d9b44678e222 [2022-04-12T15:15:10.992Z] latest [2022-04-12T15:15:10.992Z] 2.0.0-dev.5 [2022-04-12T15:15:10.992Z] 43183f3ae652bf6e70cde95040f0d9b44678e222-2.0.0-dev.5 [2022-04-12T15:15:10.992Z] main [2022-04-12T15:15:10.992Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:15:11.311Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:43183f3ae652bf6e70cde95040f0d9b44678e222 [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:15:11.602Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:43183f3ae652bf6e70cde95040f0d9b44678e222 [2022-04-12T15:15:11.602Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-04-12T15:15:11.602Z] b420dedf6a8e: Preparing [2022-04-12T15:15:11.602Z] 16295000b580: Preparing [2022-04-12T15:15:11.602Z] 56774aa0718f: Preparing [2022-04-12T15:15:11.602Z] 445a38d71e84: Preparing [2022-04-12T15:15:11.602Z] d53d419142c5: Preparing [2022-04-12T15:15:11.602Z] 4fc242d58285: Preparing [2022-04-12T15:15:11.602Z] 4fc242d58285: Waiting [2022-04-12T15:15:11.602Z] b420dedf6a8e: Pushed [2022-04-12T15:15:11.602Z] 56774aa0718f: Pushed [2022-04-12T15:15:11.602Z] 16295000b580: Pushed [2022-04-12T15:15:11.602Z] d53d419142c5: Pushed [2022-04-12T15:15:11.602Z] 4fc242d58285: Layer already exists [2022-04-12T15:15:11.862Z] 445a38d71e84: Pushed [2022-04-12T15:15:11.862Z] 43183f3ae652bf6e70cde95040f0d9b44678e222: digest: sha256:2b772157b6438fd7642d551e9a3388c38cdc8a30cd59dfdca8ee8aa810a40cd0 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:15:12.425Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:15:12.719Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2022-04-12T15:15:12.719Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-04-12T15:15:12.719Z] b420dedf6a8e: Preparing [2022-04-12T15:15:12.719Z] 16295000b580: Preparing [2022-04-12T15:15:12.719Z] 56774aa0718f: Preparing [2022-04-12T15:15:12.719Z] 445a38d71e84: Preparing [2022-04-12T15:15:12.719Z] d53d419142c5: Preparing [2022-04-12T15:15:12.719Z] 4fc242d58285: Preparing [2022-04-12T15:15:12.719Z] 4fc242d58285: Waiting [2022-04-12T15:15:12.719Z] d53d419142c5: Layer already exists [2022-04-12T15:15:12.719Z] 445a38d71e84: Layer already exists [2022-04-12T15:15:12.719Z] b420dedf6a8e: Layer already exists [2022-04-12T15:15:12.719Z] 56774aa0718f: Layer already exists [2022-04-12T15:15:12.719Z] 16295000b580: Layer already exists [2022-04-12T15:15:12.719Z] 4fc242d58285: Layer already exists [2022-04-12T15:15:12.719Z] latest: digest: sha256:2b772157b6438fd7642d551e9a3388c38cdc8a30cd59dfdca8ee8aa810a40cd0 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:15:13.014Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.5 [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:15:13.312Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.5 [2022-04-12T15:15:13.312Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-04-12T15:15:13.312Z] b420dedf6a8e: Preparing [2022-04-12T15:15:13.312Z] 16295000b580: Preparing [2022-04-12T15:15:13.312Z] 56774aa0718f: Preparing [2022-04-12T15:15:13.312Z] 445a38d71e84: Preparing [2022-04-12T15:15:13.312Z] d53d419142c5: Preparing [2022-04-12T15:15:13.312Z] 4fc242d58285: Preparing [2022-04-12T15:15:13.312Z] 4fc242d58285: Waiting [2022-04-12T15:15:13.312Z] 56774aa0718f: Layer already exists [2022-04-12T15:15:13.312Z] b420dedf6a8e: Layer already exists [2022-04-12T15:15:13.312Z] 16295000b580: Layer already exists [2022-04-12T15:15:13.312Z] 445a38d71e84: Layer already exists [2022-04-12T15:15:13.312Z] d53d419142c5: Layer already exists [2022-04-12T15:15:13.312Z] 4fc242d58285: Layer already exists [2022-04-12T15:15:13.312Z] 2.0.0-dev.5: digest: sha256:2b772157b6438fd7642d551e9a3388c38cdc8a30cd59dfdca8ee8aa810a40cd0 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:15:13.613Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:43183f3ae652bf6e70cde95040f0d9b44678e222-2.0.0-dev.5 [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:15:13.906Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:43183f3ae652bf6e70cde95040f0d9b44678e222-2.0.0-dev.5 [2022-04-12T15:15:13.907Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-04-12T15:15:13.907Z] b420dedf6a8e: Preparing [2022-04-12T15:15:13.907Z] 16295000b580: Preparing [2022-04-12T15:15:13.907Z] 56774aa0718f: Preparing [2022-04-12T15:15:13.907Z] 445a38d71e84: Preparing [2022-04-12T15:15:13.907Z] d53d419142c5: Preparing [2022-04-12T15:15:13.907Z] 4fc242d58285: Preparing [2022-04-12T15:15:13.907Z] 56774aa0718f: Layer already exists [2022-04-12T15:15:13.907Z] 445a38d71e84: Layer already exists [2022-04-12T15:15:13.907Z] 16295000b580: Layer already exists [2022-04-12T15:15:13.907Z] d53d419142c5: Layer already exists [2022-04-12T15:15:13.907Z] b420dedf6a8e: Layer already exists [2022-04-12T15:15:13.907Z] 4fc242d58285: Layer already exists [2022-04-12T15:15:13.907Z] 43183f3ae652bf6e70cde95040f0d9b44678e222-2.0.0-dev.5: digest: sha256:2b772157b6438fd7642d551e9a3388c38cdc8a30cd59dfdca8ee8aa810a40cd0 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:15:14.203Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:15:14.498Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2022-04-12T15:15:14.498Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-04-12T15:15:14.498Z] b420dedf6a8e: Preparing [2022-04-12T15:15:14.498Z] 16295000b580: Preparing [2022-04-12T15:15:14.498Z] 56774aa0718f: Preparing [2022-04-12T15:15:14.498Z] 445a38d71e84: Preparing [2022-04-12T15:15:14.498Z] d53d419142c5: Preparing [2022-04-12T15:15:14.498Z] 4fc242d58285: Preparing [2022-04-12T15:15:14.498Z] 4fc242d58285: Waiting [2022-04-12T15:15:14.498Z] b420dedf6a8e: Layer already exists [2022-04-12T15:15:14.498Z] 16295000b580: Layer already exists [2022-04-12T15:15:14.498Z] 445a38d71e84: Layer already exists [2022-04-12T15:15:14.498Z] 56774aa0718f: Layer already exists [2022-04-12T15:15:14.498Z] d53d419142c5: Layer already exists [2022-04-12T15:15:14.498Z] 4fc242d58285: Layer already exists [2022-04-12T15:15:14.498Z] main: digest: sha256:2b772157b6438fd7642d551e9a3388c38cdc8a30cd59dfdca8ee8aa810a40cd0 size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-12T15:15:14.533Z] ===================================================== [Pipeline] echo [2022-04-12T15:15:14.542Z] taggedImages: [2022-04-12T15:15:14.542Z] - nexus3.edgexfoundry.org:10004/device-gpio:43183f3ae652bf6e70cde95040f0d9b44678e222 [2022-04-12T15:15:14.542Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2022-04-12T15:15:14.542Z] - nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.5 [2022-04-12T15:15:14.542Z] - nexus3.edgexfoundry.org:10004/device-gpio:43183f3ae652bf6e70cde95040f0d9b44678e222-2.0.0-dev.5 [2022-04-12T15:15:14.542Z] - 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-12T15:15:14.888Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T15:15:14.888Z] [2022-04-12T15:15:14.888Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:15:15.193Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T15:15:15.193Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-12T15:15:15.193Z] 5eb5b503b376: Pulling fs layer [2022-04-12T15:15:15.193Z] 5c69ac0246d0: Pulling fs layer [2022-04-12T15:15:15.193Z] ec43610c2a17: Pulling fs layer [2022-04-12T15:15:15.193Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-12T15:15:15.193Z] 33b1e0a273af: Pulling fs layer [2022-04-12T15:15:15.193Z] 5d3b04190fa2: Pulling fs layer [2022-04-12T15:15:15.193Z] 2f39f015ded8: Pulling fs layer [2022-04-12T15:15:15.193Z] 3a2ae6a8a46f: Waiting [2022-04-12T15:15:15.193Z] 5d3b04190fa2: Waiting [2022-04-12T15:15:15.193Z] 33b1e0a273af: Waiting [2022-04-12T15:15:15.193Z] 2f39f015ded8: Waiting [2022-04-12T15:15:15.193Z] 5c69ac0246d0: Verifying Checksum [2022-04-12T15:15:15.193Z] 5c69ac0246d0: Download complete [2022-04-12T15:15:15.193Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-12T15:15:15.193Z] 3a2ae6a8a46f: Download complete [2022-04-12T15:15:15.193Z] 33b1e0a273af: Verifying Checksum [2022-04-12T15:15:15.193Z] 33b1e0a273af: Download complete [2022-04-12T15:15:15.453Z] ec43610c2a17: Verifying Checksum [2022-04-12T15:15:15.453Z] ec43610c2a17: Download complete [2022-04-12T15:15:15.453Z] 5d3b04190fa2: Verifying Checksum [2022-04-12T15:15:15.453Z] 5d3b04190fa2: Download complete [2022-04-12T15:15:15.453Z] 5eb5b503b376: Verifying Checksum [2022-04-12T15:15:15.453Z] 5eb5b503b376: Download complete [2022-04-12T15:15:16.021Z] 2f39f015ded8: Download complete [2022-04-12T15:15:16.589Z] 5eb5b503b376: Pull complete [2022-04-12T15:15:16.850Z] 5c69ac0246d0: Pull complete [2022-04-12T15:15:17.420Z] ec43610c2a17: Pull complete [2022-04-12T15:15:17.420Z] 3a2ae6a8a46f: Pull complete [2022-04-12T15:15:17.680Z] 33b1e0a273af: Pull complete [2022-04-12T15:15:17.680Z] 5d3b04190fa2: Pull complete [2022-04-12T15:15:21.874Z] 2f39f015ded8: Pull complete [2022-04-12T15:15:21.874Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-12T15:15:21.874Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T15:15:21.874Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-12T15:15:21.995Z] prd-ubuntu20.04-docker-8c-8g-20688 does not seem to be running inside a container [2022-04-12T15:15:22.052Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-12T15:15:26.413Z] $ docker top a90f4cc600fdfe454e736bbba6588e80346c4fa6c9654767fe19a580af71e070 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T15:15:26.810Z] ---> job-cost.sh [2022-04-12T15:15:26.810Z] lf-activate-venv: SKIPPING [2022-04-12T15:15:26.810Z] INFO: No Stack... [2022-04-12T15:15:27.382Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-12T15:15:27.641Z] INFO: Archiving Costs [Pipeline] sh [2022-04-12T15:15:27.935Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2022-04-12T15:15:27.935Z] + cut -d, -f6 [Pipeline] lock [2022-04-12T15:15:27.952Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-16-stack-cost] [2022-04-12T15:15:27.961Z] Resource [jenkins-edgexfoundry-device-gpio-main-16-stack-cost] did not exist. Created. [2022-04-12T15:15:27.961Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-12T15:15:28.272Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-12T15:15:28.306Z] Stashed 1 file(s) [Pipeline] } [2022-04-12T15:15:28.313Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-16-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-12T15:15:28.337Z] $ docker stop --time=1 a90f4cc600fdfe454e736bbba6588e80346c4fa6c9654767fe19a580af71e070 [2022-04-12T15:15:29.538Z] $ docker rm -f a90f4cc600fdfe454e736bbba6588e80346c4fa6c9654767fe19a580af71e070 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-12T15:15:47.226Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20690 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2022-04-12T15:15:47.240Z] Running in /w/workspace/device-gpio/16 [Pipeline] { [Pipeline] checkout [2022-04-12T15:15:47.469Z] The recommended git tool is: git [2022-04-12T15:15:54.448Z] using credential edgex-jenkins-ssh [2022-04-12T15:15:54.467Z] Cloning the remote Git repository [2022-04-12T15:15:54.540Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-04-12T15:15:54.629Z] > git init /w/workspace/device-gpio/16 # timeout=10 [2022-04-12T15:15:54.740Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-04-12T15:15:54.741Z] > git --version # timeout=10 [2022-04-12T15:15:54.775Z] > git --version # 'git version 2.25.1' [2022-04-12T15:15:54.777Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-12T15:15:54.906Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-12T15:15:56.322Z] Avoid second fetch [2022-04-12T15:15:56.322Z] Checking out Revision 43183f3ae652bf6e70cde95040f0d9b44678e222 (main) [2022-04-12T15:15:56.250Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-04-12T15:15:56.305Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-12T15:15:56.360Z] > git config core.sparsecheckout # timeout=10 [2022-04-12T15:15:56.388Z] > git checkout -f 43183f3ae652bf6e70cde95040f0d9b44678e222 # timeout=10 [2022-04-12T15:16:01.133Z] Commit message: "Merge pull request #22 from MonicaisHer/EDGEX-410-add-workflow" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-12T15:16:02.068Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-12T15:16:02.068Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-12T15:16:02.068Z] Dload Upload Total Spent Left Speed [2022-04-12T15:16:02.068Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 44690 0 --:--:-- --:--:-- --:--:-- 44690 [Pipeline] sh [2022-04-12T15:16:02.594Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-12T15:16:02.938Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-12T15:16:02.938Z] + sudo tee /etc/docker/daemon.new [2022-04-12T15:16:02.938Z] { [2022-04-12T15:16:02.938Z] "registry-mirrors": [ [2022-04-12T15:16:02.938Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-12T15:16:02.938Z] ], [2022-04-12T15:16:02.938Z] "bip": "10.250.0.254/24", [2022-04-12T15:16:02.938Z] "hosts": [ [2022-04-12T15:16:02.938Z] "tcp://0.0.0.0:5555", [2022-04-12T15:16:02.938Z] "unix:///var/run/docker.sock" [2022-04-12T15:16:02.938Z] ], [2022-04-12T15:16:02.938Z] "mtu": 1458, [2022-04-12T15:16:02.938Z] "selinux-enabled": true, [2022-04-12T15:16:02.938Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-12T15:16:02.938Z] } [Pipeline] sh [2022-04-12T15:16:03.299Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-12T15:16:03.642Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T15:16:21.990Z] provisioning config files... [2022-04-12T15:16:22.016Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/16@tmp/config4714569543666435697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T15:16:22.390Z] ---> docker-login.sh [2022-04-12T15:16:22.390Z] nexus3.edgexfoundry.org:10001 [2022-04-12T15:16:22.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T15:16:23.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T15:16:23.264Z] Configure a credential helper to remove this warning. See [2022-04-12T15:16:23.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T15:16:23.264Z] [2022-04-12T15:16:23.264Z] Login Succeeded [2022-04-12T15:16:23.264Z] nexus3.edgexfoundry.org:10002 [2022-04-12T15:16:23.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T15:16:23.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T15:16:23.819Z] Configure a credential helper to remove this warning. See [2022-04-12T15:16:23.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T15:16:23.819Z] [2022-04-12T15:16:23.819Z] Login Succeeded [2022-04-12T15:16:23.819Z] nexus3.edgexfoundry.org:10003 [2022-04-12T15:16:24.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T15:16:24.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T15:16:24.375Z] Configure a credential helper to remove this warning. See [2022-04-12T15:16:24.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T15:16:24.375Z] [2022-04-12T15:16:24.375Z] Login Succeeded [2022-04-12T15:16:24.375Z] nexus3.edgexfoundry.org:10004 [2022-04-12T15:16:24.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T15:16:24.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T15:16:24.928Z] Configure a credential helper to remove this warning. See [2022-04-12T15:16:24.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T15:16:24.928Z] [2022-04-12T15:16:24.928Z] Login Succeeded [2022-04-12T15:16:24.928Z] docker.io [2022-04-12T15:16:25.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T15:16:25.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T15:16:25.807Z] Configure a credential helper to remove this warning. See [2022-04-12T15:16:25.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T15:16:25.807Z] [2022-04-12T15:16:25.807Z] Login Succeeded [2022-04-12T15:16:25.807Z] ---> docker-login.sh ends [Pipeline] } [2022-04-12T15:16:25.826Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-12T15:16:26.440Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-12T15:16:26.453Z] ========================================================= [2022-04-12T15:16:26.453Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-12T15:16:26.453Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:16:26.892Z] + 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-12T15:16:27.173Z] Sending build context to Docker daemon 5.617MB [2022-04-12T15:16:27.451Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T15:16:27.451Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-12T15:16:27.451Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-12T15:16:27.451Z] 9b3977197b4f: Pulling fs layer [2022-04-12T15:16:27.451Z] 1a89e8eeedd5: Pulling fs layer [2022-04-12T15:16:27.451Z] 94645a83ff95: Pulling fs layer [2022-04-12T15:16:27.451Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-12T15:16:27.451Z] 0c92f367c5e7: Pulling fs layer [2022-04-12T15:16:27.451Z] f7c0051592d6: Pulling fs layer [2022-04-12T15:16:27.451Z] a227ed2f7395: Pulling fs layer [2022-04-12T15:16:27.451Z] 7b1c46037f91: Pulling fs layer [2022-04-12T15:16:27.451Z] 3f3a8bcf1eab: Waiting [2022-04-12T15:16:27.451Z] 0c92f367c5e7: Waiting [2022-04-12T15:16:27.451Z] f7c0051592d6: Waiting [2022-04-12T15:16:27.451Z] a227ed2f7395: Waiting [2022-04-12T15:16:27.451Z] 7b1c46037f91: Waiting [2022-04-12T15:16:27.451Z] 94645a83ff95: Verifying Checksum [2022-04-12T15:16:27.451Z] 94645a83ff95: Download complete [2022-04-12T15:16:27.451Z] 1a89e8eeedd5: Download complete [2022-04-12T15:16:27.451Z] 0c92f367c5e7: Verifying Checksum [2022-04-12T15:16:27.451Z] 0c92f367c5e7: Download complete [2022-04-12T15:16:27.732Z] 9b3977197b4f: Verifying Checksum [2022-04-12T15:16:27.732Z] 9b3977197b4f: Download complete [2022-04-12T15:16:27.732Z] f7c0051592d6: Verifying Checksum [2022-04-12T15:16:27.732Z] f7c0051592d6: Download complete [2022-04-12T15:16:27.732Z] a227ed2f7395: Download complete [2022-04-12T15:16:28.357Z] 9b3977197b4f: Pull complete [2022-04-12T15:16:28.986Z] 1a89e8eeedd5: Pull complete [2022-04-12T15:16:29.263Z] 94645a83ff95: Pull complete [2022-04-12T15:16:29.539Z] 7b1c46037f91: Verifying Checksum [2022-04-12T15:16:29.539Z] 7b1c46037f91: Download complete [2022-04-12T15:16:30.133Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-12T15:16:30.133Z] 3f3a8bcf1eab: Download complete [2022-04-12T15:16:42.560Z] 3f3a8bcf1eab: Pull complete [2022-04-12T15:16:42.560Z] 0c92f367c5e7: Pull complete [2022-04-12T15:16:42.560Z] f7c0051592d6: Pull complete [2022-04-12T15:16:42.560Z] a227ed2f7395: Pull complete [2022-04-12T15:16:49.301Z] 7b1c46037f91: Pull complete [2022-04-12T15:16:49.301Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-12T15:16:49.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-12T15:16:49.301Z] ---> f79e39bc4007 [2022-04-12T15:16:49.301Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-12T15:16:49.574Z] ---> Running in ed54a9e53053 [2022-04-12T15:16:49.865Z] Removing intermediate container ed54a9e53053 [2022-04-12T15:16:49.865Z] ---> b8e2752f218e [2022-04-12T15:16:49.865Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-04-12T15:16:49.865Z] ---> Running in 7738c4218282 [2022-04-12T15:16:50.157Z] Removing intermediate container 7738c4218282 [2022-04-12T15:16:50.157Z] ---> b1833d363a53 [2022-04-12T15:16:50.157Z] Step 5/11 : WORKDIR /device-gpio [2022-04-12T15:16:50.157Z] ---> Running in 04ecd97723b8 [2022-04-12T15:16:50.762Z] Removing intermediate container 04ecd97723b8 [2022-04-12T15:16:50.762Z] ---> dcd428798709 [2022-04-12T15:16:50.762Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T15:16:50.762Z] ---> Running in 2c7c3a684611 [2022-04-12T15:16:52.751Z] Removing intermediate container 2c7c3a684611 [2022-04-12T15:16:52.751Z] ---> 07923a64dbf4 [2022-04-12T15:16:52.751Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-12T15:16:52.751Z] ---> Running in 23b25cc7936c [2022-04-12T15:16:53.349Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-12T15:16:54.332Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-12T15:16:55.320Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-12T15:16:55.320Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-12T15:16:55.320Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-12T15:16:55.598Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-12T15:16:55.598Z] Executing busybox-1.34.1-r3.trigger [2022-04-12T15:16:55.598Z] OK: 224 MiB in 56 packages [2022-04-12T15:16:56.590Z] Removing intermediate container 23b25cc7936c [2022-04-12T15:16:56.590Z] ---> 1537bb744ba6 [2022-04-12T15:16:56.590Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-12T15:16:57.207Z] ---> 2b5942fed9a0 [2022-04-12T15:16:57.207Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T15:16:57.207Z] ---> Running in 54cb95d6521f [2022-04-12T15:18:19.044Z] Removing intermediate container 54cb95d6521f [2022-04-12T15:18:19.044Z] ---> fb1c248c873d [2022-04-12T15:18:19.044Z] Step 10/11 : COPY . . [2022-04-12T15:18:19.044Z] ---> b1aca8b727f6 [2022-04-12T15:18:19.044Z] Step 11/11 : RUN ${MAKE} [2022-04-12T15:18:19.044Z] ---> Running in 79cef35e73d7 [2022-04-12T15:18:19.044Z] Removing intermediate container 79cef35e73d7 [2022-04-12T15:18:19.044Z] ---> 9ae0d540877f [2022-04-12T15:18:19.044Z] [Warning] One or more build-args [MAKE] were not consumed [2022-04-12T15:18:19.044Z] Successfully built 9ae0d540877f [2022-04-12T15:18:19.044Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:18:19.387Z] + docker inspect -f . ci-base-image-arm64 [2022-04-12T15:18:19.387Z] . [Pipeline] withDockerContainer [2022-04-12T15:18:19.627Z] prd-ubuntu20.04-docker-arm64-4c-16g-20690 does not seem to be running inside a container [2022-04-12T15:18:19.709Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/16 -v /w/workspace/device-gpio/16:/w/workspace/device-gpio/16:rw,z -v /w/workspace/device-gpio/16@tmp:/w/workspace/device-gpio/16@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-12T15:18:20.932Z] $ docker top c8f4279c6e5c1fe63f78acc559f10732899b3d223e8f89e7b7291804241a0805 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-12T15:18:21.846Z] + go version [2022-04-12T15:18:21.846Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-12T15:18:21.871Z] $ docker stop --time=1 c8f4279c6e5c1fe63f78acc559f10732899b3d223e8f89e7b7291804241a0805 [2022-04-12T15:18:23.539Z] $ docker rm -f c8f4279c6e5c1fe63f78acc559f10732899b3d223e8f89e7b7291804241a0805 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:18:24.171Z] + docker inspect -f . ci-base-image-arm64 [2022-04-12T15:18:24.171Z] . [Pipeline] withDockerContainer [2022-04-12T15:18:24.410Z] prd-ubuntu20.04-docker-arm64-4c-16g-20690 does not seem to be running inside a container [2022-04-12T15:18:24.505Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/16 -v /w/workspace/device-gpio/16:/w/workspace/device-gpio/16:rw,z -v /w/workspace/device-gpio/16@tmp:/w/workspace/device-gpio/16@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-12T15:18:25.876Z] $ docker top 810923ec2ca8621bb986f1cc78b184496ae6f6e7f9456a8fa3409df44f80eb70 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-12T15:18:26.818Z] + make test [2022-04-12T15:18:26.818Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-12T15:18:28.262Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-04-12T15:19:24.874Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-04-12T15:19:24.874Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-04-12T15:19:24.874Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-12T15:19:24.874Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-12T15:19:37.352Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-12T15:19:37.352Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-12T15:19:37.352Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-12T15:19:38.814Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-12T15:19:38.832Z] $ docker stop --time=1 810923ec2ca8621bb986f1cc78b184496ae6f6e7f9456a8fa3409df44f80eb70 [2022-04-12T15:19:40.627Z] $ docker rm -f 810923ec2ca8621bb986f1cc78b184496ae6f6e7f9456a8fa3409df44f80eb70 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-12T15:19:41.465Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-12T15:19:41.484Z] Warning: overwriting stash ‘coverage-report’ [2022-04-12T15:19:41.943Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-12T15:19:42.349Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-12T15:19:42.695Z] + ls -al . [2022-04-12T15:19:42.695Z] total 184 [2022-04-12T15:19:42.695Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 15:19 . [2022-04-12T15:19:42.695Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 15:15 .. [2022-04-12T15:19:42.695Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 12 15:15 .dockerignore [2022-04-12T15:19:42.695Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 15:16 .git [2022-04-12T15:19:42.695Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 15:15 .github [2022-04-12T15:19:42.695Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 12 15:15 .gitignore [2022-04-12T15:19:42.695Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 12 15:15 .golangci.yml [2022-04-12T15:19:42.695Z] -rw-rw-r-- 1 jenkins jenkins 7772 Apr 12 15:15 Attribution.txt [2022-04-12T15:19:42.695Z] -rw-rw-r-- 1 jenkins jenkins 1846 Apr 12 15:15 Dockerfile [2022-04-12T15:19:42.695Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 15:15 GOVERNANCE.md [2022-04-12T15:19:42.695Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 12 15:15 Jenkinsfile [2022-04-12T15:19:42.695Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 12 15:15 LICENSE [2022-04-12T15:19:42.695Z] -rw-rw-r-- 1 jenkins jenkins 1876 Apr 12 15:15 Makefile [2022-04-12T15:19:42.695Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 12 15:15 OWNERS.md [2022-04-12T15:19:42.695Z] -rw-rw-r-- 1 jenkins jenkins 9578 Apr 12 15:15 README.md [2022-04-12T15:19:42.695Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 12 15:13 VERSION [2022-04-12T15:19:42.695Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 15:15 bin [2022-04-12T15:19:42.695Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 15:15 cmd [2022-04-12T15:19:42.695Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 12 15:18 coverage.out [2022-04-12T15:19:42.695Z] -rw-rw-r-- 1 jenkins jenkins 2794 Apr 12 15:15 go.mod [2022-04-12T15:19:42.695Z] -rw-rw-r-- 1 jenkins jenkins 70652 Apr 12 15:15 go.sum [2022-04-12T15:19:42.695Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 15:15 internal [2022-04-12T15:19:42.695Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 15:15 snap [2022-04-12T15:19:42.695Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 12 15:15 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:19:43.053Z] + 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=43183f3ae652bf6e70cde95040f0d9b44678e222 --label arch=arm64 --label version=2.0.0-dev.5 . [2022-04-12T15:19:43.329Z] Sending build context to Docker daemon 5.618MB [2022-04-12T15:19:43.329Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T15:19:43.329Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-12T15:19:43.329Z] ---> 9ae0d540877f [2022-04-12T15:19:43.329Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-12T15:19:43.606Z] ---> Running in d78d82376b24 [2022-04-12T15:19:43.882Z] Removing intermediate container d78d82376b24 [2022-04-12T15:19:43.882Z] ---> f1b694068e9b [2022-04-12T15:19:43.882Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-12T15:19:43.882Z] ---> Running in e87d515a5aed [2022-04-12T15:19:44.160Z] Removing intermediate container e87d515a5aed [2022-04-12T15:19:44.160Z] ---> ec36d3fe1fb8 [2022-04-12T15:19:44.160Z] Step 5/25 : WORKDIR /device-gpio [2022-04-12T15:19:44.436Z] ---> Running in 6889ac10e815 [2022-04-12T15:19:44.715Z] Removing intermediate container 6889ac10e815 [2022-04-12T15:19:44.715Z] ---> 58be11b34af0 [2022-04-12T15:19:44.715Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T15:19:44.715Z] ---> Running in 8df8a9732d7a [2022-04-12T15:19:46.700Z] Removing intermediate container 8df8a9732d7a [2022-04-12T15:19:46.700Z] ---> 5ce3c760408f [2022-04-12T15:19:46.700Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-12T15:19:46.700Z] ---> Running in 6ffaf223eb04 [2022-04-12T15:19:47.682Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-12T15:19:48.661Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-12T15:19:49.258Z] OK: 224 MiB in 56 packages [2022-04-12T15:19:50.256Z] Removing intermediate container 6ffaf223eb04 [2022-04-12T15:19:50.256Z] ---> 504f2b179bf6 [2022-04-12T15:19:50.256Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-12T15:19:50.858Z] ---> d3296ba68a86 [2022-04-12T15:19:50.858Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T15:19:50.858Z] ---> Running in 23eab5a9bc99 [2022-04-12T15:19:52.838Z] Removing intermediate container 23eab5a9bc99 [2022-04-12T15:19:52.838Z] ---> e1d666d53a0a [2022-04-12T15:19:52.838Z] Step 10/25 : COPY . . [2022-04-12T15:19:53.907Z] ---> 85ebcea6f112 [2022-04-12T15:19:53.907Z] Step 11/25 : RUN ${MAKE} [2022-04-12T15:19:53.907Z] ---> Running in 085e8333355c [2022-04-12T15:19:55.946Z] Removing intermediate container 085e8333355c [2022-04-12T15:19:55.946Z] ---> fe9e74b23423 [2022-04-12T15:19:55.946Z] Step 12/25 : FROM alpine:3.15 [2022-04-12T15:19:56.550Z] 3.15: Pulling from library/alpine [2022-04-12T15:19:56.550Z] 9981e73032c8: Pulling fs layer [2022-04-12T15:19:56.840Z] 9981e73032c8: Verifying Checksum [2022-04-12T15:19:56.840Z] 9981e73032c8: Download complete [2022-04-12T15:19:57.442Z] 9981e73032c8: Pull complete [2022-04-12T15:19:57.442Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-04-12T15:19:57.442Z] Status: Downloaded newer image for alpine:3.15 [2022-04-12T15:19:57.442Z] ---> 3fb3c9af89a9 [2022-04-12T15:19:57.442Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-04-12T15:19:57.442Z] ---> Running in 0f75ee41e4be [2022-04-12T15:19:57.725Z] Removing intermediate container 0f75ee41e4be [2022-04-12T15:19:57.725Z] ---> 950bd3077dc1 [2022-04-12T15:19:57.725Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T15:19:58.001Z] ---> Running in 95f563083130 [2022-04-12T15:19:59.447Z] Removing intermediate container 95f563083130 [2022-04-12T15:19:59.447Z] ---> a0c33fafebe8 [2022-04-12T15:19:59.447Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-12T15:19:59.447Z] ---> Running in a6c32ea1bea6 [2022-04-12T15:20:00.436Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-12T15:20:01.420Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-12T15:20:02.421Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-04-12T15:20:02.421Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-12T15:20:02.421Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-04-12T15:20:02.693Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-12T15:20:02.693Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-12T15:20:02.967Z] Executing busybox-1.34.1-r5.trigger [2022-04-12T15:20:02.967Z] OK: 8 MiB in 19 packages [2022-04-12T15:20:03.960Z] Removing intermediate container a6c32ea1bea6 [2022-04-12T15:20:03.960Z] ---> 6bfe027b392d [2022-04-12T15:20:03.960Z] Step 16/25 : WORKDIR / [2022-04-12T15:20:03.960Z] ---> Running in fb9125e368b4 [2022-04-12T15:20:04.235Z] Removing intermediate container fb9125e368b4 [2022-04-12T15:20:04.235Z] ---> 97c8e2ae8296 [2022-04-12T15:20:04.235Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-04-12T15:20:04.834Z] ---> 13e4e4d0f474 [2022-04-12T15:20:04.834Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-04-12T15:20:05.432Z] ---> 1748942efcbb [2022-04-12T15:20:05.432Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-04-12T15:20:06.032Z] ---> e8cbffbdf49a [2022-04-12T15:20:06.032Z] Step 20/25 : EXPOSE 59910 [2022-04-12T15:20:06.032Z] ---> Running in 4aecfe66d908 [2022-04-12T15:20:06.631Z] Removing intermediate container 4aecfe66d908 [2022-04-12T15:20:06.631Z] ---> d5cfb97a84c8 [2022-04-12T15:20:06.631Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-04-12T15:20:06.631Z] ---> Running in b5f5b79611a8 [2022-04-12T15:20:06.906Z] Removing intermediate container b5f5b79611a8 [2022-04-12T15:20:06.906Z] ---> f376a982acf1 [2022-04-12T15:20:06.906Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-12T15:20:06.906Z] ---> Running in e280426f0f57 [2022-04-12T15:20:07.504Z] Removing intermediate container e280426f0f57 [2022-04-12T15:20:07.504Z] ---> 7e01e18db977 [2022-04-12T15:20:07.504Z] Step 23/25 : LABEL arch=arm64 [2022-04-12T15:20:07.504Z] ---> Running in 605e84d0e10a [2022-04-12T15:20:07.784Z] Removing intermediate container 605e84d0e10a [2022-04-12T15:20:07.784Z] ---> 458ba8ba4959 [2022-04-12T15:20:07.784Z] Step 24/25 : LABEL git_sha=43183f3ae652bf6e70cde95040f0d9b44678e222 [2022-04-12T15:20:07.784Z] ---> Running in c8c58c1f5040 [2022-04-12T15:20:08.063Z] Removing intermediate container c8c58c1f5040 [2022-04-12T15:20:08.063Z] ---> 5786fc65d5c4 [2022-04-12T15:20:08.063Z] Step 25/25 : LABEL version=2.0.0-dev.5 [2022-04-12T15:20:08.063Z] ---> Running in faaed920c044 [2022-04-12T15:20:08.666Z] Removing intermediate container faaed920c044 [2022-04-12T15:20:08.666Z] ---> 75f6dacf643e [2022-04-12T15:20:08.666Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-04-12T15:20:08.666Z] Successfully built 75f6dacf643e [2022-04-12T15:20:08.666Z] 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-12T15:20:08.776Z] provisioning config files... [2022-04-12T15:20:08.798Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/16@tmp/config126486525843423273tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T15:20:09.163Z] ---> docker-login.sh [2022-04-12T15:20:09.164Z] nexus3.edgexfoundry.org:10001 [2022-04-12T15:20:09.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T15:20:09.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T15:20:09.436Z] Configure a credential helper to remove this warning. See [2022-04-12T15:20:09.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T15:20:09.436Z] [2022-04-12T15:20:09.436Z] Login Succeeded [2022-04-12T15:20:09.436Z] nexus3.edgexfoundry.org:10002 [2022-04-12T15:20:10.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T15:20:10.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T15:20:10.032Z] Configure a credential helper to remove this warning. See [2022-04-12T15:20:10.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T15:20:10.032Z] [2022-04-12T15:20:10.032Z] Login Succeeded [2022-04-12T15:20:10.032Z] nexus3.edgexfoundry.org:10003 [2022-04-12T15:20:10.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T15:20:10.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T15:20:10.627Z] Configure a credential helper to remove this warning. See [2022-04-12T15:20:10.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T15:20:10.627Z] [2022-04-12T15:20:10.627Z] Login Succeeded [2022-04-12T15:20:10.627Z] nexus3.edgexfoundry.org:10004 [2022-04-12T15:20:10.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T15:20:11.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T15:20:11.180Z] Configure a credential helper to remove this warning. See [2022-04-12T15:20:11.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T15:20:11.180Z] [2022-04-12T15:20:11.180Z] Login Succeeded [2022-04-12T15:20:11.180Z] docker.io [2022-04-12T15:20:11.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T15:20:12.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T15:20:12.051Z] Configure a credential helper to remove this warning. See [2022-04-12T15:20:12.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T15:20:12.051Z] [2022-04-12T15:20:12.051Z] Login Succeeded [2022-04-12T15:20:12.051Z] ---> docker-login.sh ends [Pipeline] } [2022-04-12T15:20:12.069Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-12T15:20:12.101Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-12T15:20:12.128Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2022-04-12T15:20:12.128Z] 43183f3ae652bf6e70cde95040f0d9b44678e222 [2022-04-12T15:20:12.128Z] latest [2022-04-12T15:20:12.128Z] 2.0.0-dev.5 [2022-04-12T15:20:12.128Z] 43183f3ae652bf6e70cde95040f0d9b44678e222-2.0.0-dev.5 [2022-04-12T15:20:12.128Z] main [2022-04-12T15:20:12.128Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:20:12.506Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:43183f3ae652bf6e70cde95040f0d9b44678e222 [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:20:12.862Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:43183f3ae652bf6e70cde95040f0d9b44678e222 [2022-04-12T15:20:12.862Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-04-12T15:20:12.862Z] ef8d480284de: Preparing [2022-04-12T15:20:12.862Z] 7848e6a01ed9: Preparing [2022-04-12T15:20:12.862Z] cf016944e08f: Preparing [2022-04-12T15:20:12.862Z] ae9ba82e8f9d: Preparing [2022-04-12T15:20:12.862Z] 8f4a4c1cebe0: Preparing [2022-04-12T15:20:12.862Z] 4f4ce317c6bb: Preparing [2022-04-12T15:20:12.862Z] 4f4ce317c6bb: Waiting [2022-04-12T15:20:13.141Z] 8f4a4c1cebe0: Pushed [2022-04-12T15:20:13.141Z] ef8d480284de: Pushed [2022-04-12T15:20:13.141Z] cf016944e08f: Pushed [2022-04-12T15:20:13.141Z] 7848e6a01ed9: Pushed [2022-04-12T15:20:13.141Z] 4f4ce317c6bb: Layer already exists [2022-04-12T15:20:13.736Z] ae9ba82e8f9d: Pushed [2022-04-12T15:20:14.010Z] 43183f3ae652bf6e70cde95040f0d9b44678e222: digest: sha256:1b0277cda35bd76e9c8a12b220726725a0ceac5966f120fc5b7115c7e434b143 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:20:14.369Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:20:14.716Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2022-04-12T15:20:14.716Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-04-12T15:20:14.716Z] ef8d480284de: Preparing [2022-04-12T15:20:14.716Z] 7848e6a01ed9: Preparing [2022-04-12T15:20:14.716Z] cf016944e08f: Preparing [2022-04-12T15:20:14.716Z] ae9ba82e8f9d: Preparing [2022-04-12T15:20:14.716Z] 8f4a4c1cebe0: Preparing [2022-04-12T15:20:14.716Z] 4f4ce317c6bb: Preparing [2022-04-12T15:20:14.716Z] 4f4ce317c6bb: Waiting [2022-04-12T15:20:14.716Z] 8f4a4c1cebe0: Layer already exists [2022-04-12T15:20:14.716Z] 7848e6a01ed9: Layer already exists [2022-04-12T15:20:14.716Z] ef8d480284de: Layer already exists [2022-04-12T15:20:14.716Z] ae9ba82e8f9d: Layer already exists [2022-04-12T15:20:14.716Z] cf016944e08f: Layer already exists [2022-04-12T15:20:14.988Z] 4f4ce317c6bb: Layer already exists [2022-04-12T15:20:14.988Z] latest: digest: sha256:1b0277cda35bd76e9c8a12b220726725a0ceac5966f120fc5b7115c7e434b143 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:20:15.345Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.5 [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:20:15.692Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.5 [2022-04-12T15:20:15.692Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-04-12T15:20:15.692Z] ef8d480284de: Preparing [2022-04-12T15:20:15.692Z] 7848e6a01ed9: Preparing [2022-04-12T15:20:15.692Z] cf016944e08f: Preparing [2022-04-12T15:20:15.692Z] ae9ba82e8f9d: Preparing [2022-04-12T15:20:15.692Z] 8f4a4c1cebe0: Preparing [2022-04-12T15:20:15.692Z] 4f4ce317c6bb: Preparing [2022-04-12T15:20:15.693Z] 4f4ce317c6bb: Waiting [2022-04-12T15:20:15.693Z] ef8d480284de: Layer already exists [2022-04-12T15:20:15.693Z] 7848e6a01ed9: Layer already exists [2022-04-12T15:20:15.693Z] 8f4a4c1cebe0: Layer already exists [2022-04-12T15:20:15.693Z] ae9ba82e8f9d: Layer already exists [2022-04-12T15:20:15.965Z] cf016944e08f: Layer already exists [2022-04-12T15:20:15.965Z] 4f4ce317c6bb: Layer already exists [2022-04-12T15:20:15.965Z] 2.0.0-dev.5: digest: sha256:1b0277cda35bd76e9c8a12b220726725a0ceac5966f120fc5b7115c7e434b143 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:20:16.318Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:43183f3ae652bf6e70cde95040f0d9b44678e222-2.0.0-dev.5 [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:20:16.667Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:43183f3ae652bf6e70cde95040f0d9b44678e222-2.0.0-dev.5 [2022-04-12T15:20:16.667Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-04-12T15:20:16.667Z] ef8d480284de: Preparing [2022-04-12T15:20:16.667Z] 7848e6a01ed9: Preparing [2022-04-12T15:20:16.667Z] cf016944e08f: Preparing [2022-04-12T15:20:16.667Z] ae9ba82e8f9d: Preparing [2022-04-12T15:20:16.667Z] 8f4a4c1cebe0: Preparing [2022-04-12T15:20:16.667Z] 4f4ce317c6bb: Preparing [2022-04-12T15:20:16.667Z] 4f4ce317c6bb: Waiting [2022-04-12T15:20:16.667Z] 7848e6a01ed9: Layer already exists [2022-04-12T15:20:16.667Z] cf016944e08f: Layer already exists [2022-04-12T15:20:16.667Z] ef8d480284de: Layer already exists [2022-04-12T15:20:16.667Z] 8f4a4c1cebe0: Layer already exists [2022-04-12T15:20:16.667Z] ae9ba82e8f9d: Layer already exists [2022-04-12T15:20:16.947Z] 4f4ce317c6bb: Layer already exists [2022-04-12T15:20:16.947Z] 43183f3ae652bf6e70cde95040f0d9b44678e222-2.0.0-dev.5: digest: sha256:1b0277cda35bd76e9c8a12b220726725a0ceac5966f120fc5b7115c7e434b143 size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:20:17.311Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:20:17.659Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2022-04-12T15:20:17.659Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-04-12T15:20:17.659Z] ef8d480284de: Preparing [2022-04-12T15:20:17.659Z] 7848e6a01ed9: Preparing [2022-04-12T15:20:17.659Z] cf016944e08f: Preparing [2022-04-12T15:20:17.659Z] ae9ba82e8f9d: Preparing [2022-04-12T15:20:17.659Z] 8f4a4c1cebe0: Preparing [2022-04-12T15:20:17.659Z] 4f4ce317c6bb: Preparing [2022-04-12T15:20:17.659Z] 4f4ce317c6bb: Waiting [2022-04-12T15:20:17.659Z] 8f4a4c1cebe0: Layer already exists [2022-04-12T15:20:17.659Z] ef8d480284de: Layer already exists [2022-04-12T15:20:17.659Z] 7848e6a01ed9: Layer already exists [2022-04-12T15:20:17.659Z] cf016944e08f: Layer already exists [2022-04-12T15:20:17.659Z] ae9ba82e8f9d: Layer already exists [2022-04-12T15:20:17.659Z] 4f4ce317c6bb: Layer already exists [2022-04-12T15:20:17.930Z] main: digest: sha256:1b0277cda35bd76e9c8a12b220726725a0ceac5966f120fc5b7115c7e434b143 size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-12T15:20:17.982Z] ===================================================== [Pipeline] echo [2022-04-12T15:20:17.994Z] taggedImages: [2022-04-12T15:20:17.994Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:43183f3ae652bf6e70cde95040f0d9b44678e222 [2022-04-12T15:20:17.994Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2022-04-12T15:20:17.994Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.5 [2022-04-12T15:20:17.994Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:43183f3ae652bf6e70cde95040f0d9b44678e222-2.0.0-dev.5 [2022-04-12T15:20:17.994Z] - 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-12T15:20:18.371Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-12T15:20:18.371Z] [2022-04-12T15:20:18.371Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:20:18.735Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-12T15:20:19.019Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-12T15:20:19.019Z] 8998bd30e6a1: Pulling fs layer [2022-04-12T15:20:19.019Z] 04944245beec: Pulling fs layer [2022-04-12T15:20:19.019Z] 699f458cf7ca: Pulling fs layer [2022-04-12T15:20:19.019Z] 765212b225bb: Pulling fs layer [2022-04-12T15:20:19.019Z] f23df028b6ca: Pulling fs layer [2022-04-12T15:20:19.019Z] d65c8cfc05b1: Pulling fs layer [2022-04-12T15:20:19.019Z] 2437ff75d9bd: Pulling fs layer [2022-04-12T15:20:19.019Z] 765212b225bb: Waiting [2022-04-12T15:20:19.019Z] f23df028b6ca: Waiting [2022-04-12T15:20:19.019Z] d65c8cfc05b1: Waiting [2022-04-12T15:20:19.019Z] 2437ff75d9bd: Waiting [2022-04-12T15:20:19.019Z] 04944245beec: Verifying Checksum [2022-04-12T15:20:19.019Z] 04944245beec: Download complete [2022-04-12T15:20:19.019Z] 765212b225bb: Verifying Checksum [2022-04-12T15:20:19.019Z] 765212b225bb: Download complete [2022-04-12T15:20:19.019Z] f23df028b6ca: Verifying Checksum [2022-04-12T15:20:19.019Z] f23df028b6ca: Download complete [2022-04-12T15:20:19.294Z] d65c8cfc05b1: Verifying Checksum [2022-04-12T15:20:19.294Z] d65c8cfc05b1: Download complete [2022-04-12T15:20:19.294Z] 699f458cf7ca: Verifying Checksum [2022-04-12T15:20:19.294Z] 699f458cf7ca: Download complete [2022-04-12T15:20:19.565Z] 8998bd30e6a1: Download complete [2022-04-12T15:20:22.206Z] 2437ff75d9bd: Verifying Checksum [2022-04-12T15:20:22.206Z] 2437ff75d9bd: Download complete [2022-04-12T15:20:24.182Z] 8998bd30e6a1: Pull complete [2022-04-12T15:20:24.458Z] 04944245beec: Pull complete [2022-04-12T15:20:25.901Z] 699f458cf7ca: Pull complete [2022-04-12T15:20:26.174Z] 765212b225bb: Pull complete [2022-04-12T15:20:27.155Z] f23df028b6ca: Pull complete [2022-04-12T15:20:27.155Z] d65c8cfc05b1: Pull complete [2022-04-12T15:20:42.260Z] 2437ff75d9bd: Pull complete [2022-04-12T15:20:42.260Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-12T15:20:42.260Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-12T15:20:42.260Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-12T15:20:42.502Z] prd-ubuntu20.04-docker-arm64-4c-16g-20690 does not seem to be running inside a container [2022-04-12T15:20:42.605Z] $ 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/16 -v /w/workspace/device-gpio/16:/w/workspace/device-gpio/16:rw,z -v /w/workspace/device-gpio/16@tmp:/w/workspace/device-gpio/16@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-12T15:20:45.160Z] $ docker top 364a5cbc49974c0f7338ffe6a7fc850ab79603513f871c673667b6e6afa6b143 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T15:20:46.098Z] ---> job-cost.sh [2022-04-12T15:20:46.098Z] lf-activate-venv: SKIPPING [2022-04-12T15:20:46.098Z] INFO: No Stack... [2022-04-12T15:20:46.369Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-12T15:20:47.352Z] INFO: Archiving Costs [Pipeline] sh [2022-04-12T15:20:48.060Z] + cat /w/workspace/device-gpio/16/archives/cost.csv [2022-04-12T15:20:48.060Z] + cut -d, -f6 [Pipeline] lock [2022-04-12T15:20:48.145Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-16-stack-cost] [2022-04-12T15:20:48.151Z] Resource [jenkins-edgexfoundry-device-gpio-main-16-stack-cost] did not exist. Created. [2022-04-12T15:20:48.151Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-12T15:20:48.878Z] /w/workspace/device-gpio/16@tmp/durable-4c7b7da7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-12T15:20:49.626Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-12T15:20:49.647Z] Warning: overwriting stash ‘stack-cost’ [2022-04-12T15:20:49.701Z] Stashed 1 file(s) [Pipeline] } [2022-04-12T15:20:49.710Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-16-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-12T15:20:49.731Z] $ docker stop --time=1 364a5cbc49974c0f7338ffe6a7fc850ab79603513f871c673667b6e6afa6b143 [2022-04-12T15:20:51.319Z] $ docker rm -f 364a5cbc49974c0f7338ffe6a7fc850ab79603513f871c673667b6e6afa6b143 [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-12T15:20:51.851Z] provisioning config files... [2022-04-12T15:20:51.861Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3825544179451089937tmp [Pipeline] { [Pipeline] sh [2022-04-12T15:20:52.155Z] + set +x [2022-04-12T15:20:52.155Z] + curl -s https://codecov.io/bash [2022-04-12T15:20:52.155Z] + bash -s -- [2022-04-12T15:20:52.155Z] [2022-04-12T15:20:52.155Z] _____ _ [2022-04-12T15:20:52.155Z] / ____| | | [2022-04-12T15:20:52.155Z] | | ___ __| | ___ ___ _____ __ [2022-04-12T15:20:52.155Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-12T15:20:52.155Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-12T15:20:52.155Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-12T15:20:52.155Z] Bash-1.0.6 [2022-04-12T15:20:52.155Z] [2022-04-12T15:20:52.155Z] [2022-04-12T15:20:52.155Z] ==> git version 2.25.1 found [2022-04-12T15:20:52.155Z] ==> 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-12T15:20:52.155Z] Release-Date: 2020-01-08 [2022-04-12T15:20:52.155Z] 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-12T15:20:52.155Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-12T15:20:52.155Z] ==> Jenkins CI detected. [2022-04-12T15:20:52.155Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2022-04-12T15:20:52.155Z] project root: . [2022-04-12T15:20:52.155Z] --> token set from env [2022-04-12T15:20:52.155Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-12T15:20:52.155Z] ==> Running gcov in . (disable via -X gcov) [2022-04-12T15:20:52.155Z] ==> Python coveragepy not found [2022-04-12T15:20:52.155Z] ==> Searching for coverage reports in: [2022-04-12T15:20:52.155Z] + . [2022-04-12T15:20:52.155Z] -> Found 1 reports [2022-04-12T15:20:52.155Z] ==> Detecting git/mercurial file structure [2022-04-12T15:20:52.155Z] ==> Reading reports [2022-04-12T15:20:52.155Z] + ./coverage.out bytes=10 [2022-04-12T15:20:52.155Z] ==> Appending adjustments [2022-04-12T15:20:52.155Z] https://docs.codecov.io/docs/fixing-reports [2022-04-12T15:20:52.417Z] + Found adjustments [2022-04-12T15:20:52.417Z] ==> Gzipping contents [2022-04-12T15:20:52.417Z] 4.0K /tmp/codecov.v0bY0S.gz [2022-04-12T15:20:52.417Z] ==> Uploading reports [2022-04-12T15:20:52.417Z] url: https://codecov.io [2022-04-12T15:20:52.417Z] query: branch=main&commit=43183f3ae652bf6e70cde95040f0d9b44678e222&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-12T15:20:52.417Z] -> Pinging Codecov [2022-04-12T15:20:52.417Z] 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=43183f3ae652bf6e70cde95040f0d9b44678e222&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-12T15:20:52.678Z] -> Uploading to [2022-04-12T15:20:52.678Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-12/3EC07B1A8CA8AF9BCAA0BB9F0134797F/43183f3ae652bf6e70cde95040f0d9b44678e222/fa775930-9840-4358-bba4-410d61a21fec.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220412%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220412T152052Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a66eda1be99a219f15b88c616a80f0536a85062384d5de5b1845ec13bc1808b0 [2022-04-12T15:20:52.678Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-12T15:20:52.678Z] Dload Upload Total Spent Left Speed [2022-04-12T15:20:52.939Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 816 0 0 100 816 0 3760 --:--:-- --:--:-- --:--:-- 3760 [2022-04-12T15:20:52.939Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/43183f3ae652bf6e70cde95040f0d9b44678e222 [Pipeline] } [2022-04-12T15:20:52.946Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-12T15:20:53.219Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-12T15:20:53.231Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:20:53.522Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-12T15:20:53.522Z] [2022-04-12T15:20:53.522Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:20:53.832Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-12T15:20:53.832Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-12T15:20:53.832Z] 188c0c94c7c5: Pulling fs layer [2022-04-12T15:20:53.832Z] 0ef7d3d256c8: Pulling fs layer [2022-04-12T15:20:53.832Z] de9db76c5a1d: Pulling fs layer [2022-04-12T15:20:53.832Z] 0eba1c9be4d2: Pulling fs layer [2022-04-12T15:20:53.832Z] 0d57e429df01: Pulling fs layer [2022-04-12T15:20:53.832Z] 4e4be7b47b0d: Pulling fs layer [2022-04-12T15:20:53.832Z] e1f770b5df2f: Pulling fs layer [2022-04-12T15:20:53.832Z] 85a0685a4137: Pulling fs layer [2022-04-12T15:20:53.832Z] 0eba1c9be4d2: Waiting [2022-04-12T15:20:53.832Z] 0d57e429df01: Waiting [2022-04-12T15:20:53.832Z] 4e4be7b47b0d: Waiting [2022-04-12T15:20:53.832Z] e1f770b5df2f: Waiting [2022-04-12T15:20:53.832Z] de9db76c5a1d: Verifying Checksum [2022-04-12T15:20:53.832Z] de9db76c5a1d: Download complete [2022-04-12T15:20:53.832Z] 0ef7d3d256c8: Download complete [2022-04-12T15:20:53.832Z] 0d57e429df01: Verifying Checksum [2022-04-12T15:20:53.832Z] 0d57e429df01: Download complete [2022-04-12T15:20:53.832Z] 4e4be7b47b0d: Verifying Checksum [2022-04-12T15:20:53.832Z] 4e4be7b47b0d: Download complete [2022-04-12T15:20:53.832Z] 188c0c94c7c5: Verifying Checksum [2022-04-12T15:20:53.832Z] 188c0c94c7c5: Download complete [2022-04-12T15:20:54.098Z] 188c0c94c7c5: Pull complete [2022-04-12T15:20:54.098Z] e1f770b5df2f: Verifying Checksum [2022-04-12T15:20:54.098Z] e1f770b5df2f: Download complete [2022-04-12T15:20:54.098Z] 0ef7d3d256c8: Pull complete [2022-04-12T15:20:54.098Z] de9db76c5a1d: Pull complete [2022-04-12T15:20:54.681Z] 0eba1c9be4d2: Verifying Checksum [2022-04-12T15:20:54.681Z] 0eba1c9be4d2: Download complete [2022-04-12T15:20:54.681Z] 85a0685a4137: Verifying Checksum [2022-04-12T15:20:54.681Z] 85a0685a4137: Download complete [2022-04-12T15:20:57.970Z] 0eba1c9be4d2: Pull complete [2022-04-12T15:20:57.970Z] 0d57e429df01: Pull complete [2022-04-12T15:20:57.970Z] 4e4be7b47b0d: Pull complete [2022-04-12T15:20:58.537Z] e1f770b5df2f: Pull complete [2022-04-12T15:21:01.828Z] 85a0685a4137: Pull complete [2022-04-12T15:21:01.829Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-12T15:21:01.829Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-12T15:21:01.829Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-12T15:21:01.900Z] prd-ubuntu20.04-docker-8c-8g-20688 does not seem to be running inside a container [2022-04-12T15:21:01.947Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-12T15:21:04.316Z] $ docker top 4daca1561442dab561ed8870ac4fda7b90295cbc724c9e4e787e98f2b89e385d -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-12T15:21:04.390Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-12T15:21:04.676Z] + set -o pipefail [2022-04-12T15:21:04.676Z] + snyk monitor '--org=edgex-jenkins' [2022-04-12T15:21:08.879Z] [2022-04-12T15:21:08.879Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2022-04-12T15:21:08.879Z] [2022-04-12T15:21:08.879Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/146faa62-a4b3-4f2d-b93b-755e4e5c21c3/history/6edcf9ba-fe10-4387-8125-fe6c501853d0 [2022-04-12T15:21:08.879Z] [2022-04-12T15:21:08.879Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-04-12T15:21:08.879Z] [2022-04-12T15:21:08.879Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-12T15:21:08.879Z] [2022-04-12T15:21:09.142Z] [Pipeline] } [2022-04-12T15:21:09.159Z] $ docker stop --time=1 4daca1561442dab561ed8870ac4fda7b90295cbc724c9e4e787e98f2b89e385d [2022-04-12T15:21:10.956Z] $ docker rm -f 4daca1561442dab561ed8870ac4fda7b90295cbc724c9e4e787e98f2b89e385d [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-12T15:21:11.639Z] + git log --format=format:%s -1 43183f3ae652bf6e70cde95040f0d9b44678e222 [Pipeline] sh [2022-04-12T15:21:11.937Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-12T15:21:11.937Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:21:12.233Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T15:21:12.233Z] . [Pipeline] withDockerContainer [2022-04-12T15:21:12.302Z] prd-ubuntu20.04-docker-8c-8g-20688 does not seem to be running inside a container [2022-04-12T15:21:12.343Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-12T15:21:12.801Z] $ docker top d9a3478626b2445b5fb6390f5e8d8ed1b0a42f97ac79801ae9ba4b1ef94f6014 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-12T15:21:12.902Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-12T15:21:12.902Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-12T15:21:13.024Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-12T15:21:13.031Z] $ docker exec d9a3478626b2445b5fb6390f5e8d8ed1b0a42f97ac79801ae9ba4b1ef94f6014 ssh-agent [2022-04-12T15:21:13.149Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCKenAF/agent.14 [2022-04-12T15:21:13.149Z] SSH_AGENT_PID=20 [2022-04-12T15:21:13.155Z] Running ssh-add (command line suppressed) [2022-04-12T15:21:13.281Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6889595811734564146.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6889595811734564146.key) [2022-04-12T15:21:13.292Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-12T15:21:13.583Z] + git semver tag [2022-04-12T15:21:13.583Z] # -> Open(): unable to determine branch for HEAD [2022-04-12T15:21:13.583Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2022-04-12T15:21:13.583Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2022-04-12T15:21:13.583Z] # $SEMVER_REMOTE_NAME = origin [2022-04-12T15:21:13.583Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-12T15:21:13.583Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-12T15:21:13.583Z] # $SEMVER_BRANCH = main [2022-04-12T15:21:13.583Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [2022-04-12T15:21:13.583Z] # 43183f3ae652bf6e70cde95040f0d9b44678e222 HEAD [2022-04-12T15:21:13.583Z] # -> Force: false [2022-04-12T15:21:13.583Z] # 459b08e49f5207c3e6474965bf08236f5465b546 refs/tags/v2.0.0-dev.5 [Pipeline] } [2022-04-12T15:21:13.599Z] $ docker exec --env ******** --env ******** d9a3478626b2445b5fb6390f5e8d8ed1b0a42f97ac79801ae9ba4b1ef94f6014 ssh-agent -k [2022-04-12T15:21:13.721Z] unset SSH_AUTH_SOCK; [2022-04-12T15:21:13.721Z] unset SSH_AGENT_PID; [2022-04-12T15:21:13.722Z] echo Agent pid 20 killed; [2022-04-12T15:21:13.729Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-12T15:21:14.042Z] + git semver [Pipeline] } [2022-04-12T15:21:14.060Z] $ docker stop --time=1 d9a3478626b2445b5fb6390f5e8d8ed1b0a42f97ac79801ae9ba4b1ef94f6014 [2022-04-12T15:21:15.355Z] $ docker rm -f d9a3478626b2445b5fb6390f5e8d8ed1b0a42f97ac79801ae9ba4b1ef94f6014 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:21:15.757Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-12T15:21:15.757Z] [2022-04-12T15:21:15.757Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:21:16.067Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-12T15:21:16.067Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-12T15:21:16.067Z] ab5ef0e58194: Pulling fs layer [2022-04-12T15:21:16.067Z] 9712f1f96733: Pulling fs layer [2022-04-12T15:21:16.067Z] 63f879dbbcfc: Pulling fs layer [2022-04-12T15:21:16.067Z] 0d9ebad4ef96: Pulling fs layer [2022-04-12T15:21:16.067Z] e9a5061849ea: Pulling fs layer [2022-04-12T15:21:16.067Z] d747dcd14b5f: Pulling fs layer [2022-04-12T15:21:16.067Z] 2de7ff778b66: Pulling fs layer [2022-04-12T15:21:16.067Z] 2de7ff778b66: Waiting [2022-04-12T15:21:16.067Z] d747dcd14b5f: Waiting [2022-04-12T15:21:16.067Z] 0d9ebad4ef96: Waiting [2022-04-12T15:21:16.067Z] e9a5061849ea: Waiting [2022-04-12T15:21:16.067Z] 9712f1f96733: Verifying Checksum [2022-04-12T15:21:16.067Z] 9712f1f96733: Download complete [2022-04-12T15:21:16.337Z] 63f879dbbcfc: Verifying Checksum [2022-04-12T15:21:16.337Z] 63f879dbbcfc: Download complete [2022-04-12T15:21:16.596Z] 0d9ebad4ef96: Verifying Checksum [2022-04-12T15:21:16.596Z] 0d9ebad4ef96: Download complete [2022-04-12T15:21:16.596Z] e9a5061849ea: Verifying Checksum [2022-04-12T15:21:16.596Z] e9a5061849ea: Download complete [2022-04-12T15:21:16.596Z] d747dcd14b5f: Download complete [2022-04-12T15:21:16.596Z] ab5ef0e58194: Verifying Checksum [2022-04-12T15:21:16.596Z] ab5ef0e58194: Download complete [2022-04-12T15:21:16.596Z] 2de7ff778b66: Verifying Checksum [2022-04-12T15:21:16.596Z] 2de7ff778b66: Download complete [2022-04-12T15:21:19.968Z] ab5ef0e58194: Pull complete [2022-04-12T15:21:19.968Z] 9712f1f96733: Pull complete [2022-04-12T15:21:20.535Z] 63f879dbbcfc: Pull complete [2022-04-12T15:21:23.822Z] 0d9ebad4ef96: Pull complete [2022-04-12T15:21:24.388Z] e9a5061849ea: Pull complete [2022-04-12T15:21:24.388Z] d747dcd14b5f: Pull complete [2022-04-12T15:21:25.324Z] 2de7ff778b66: Pull complete [2022-04-12T15:21:25.324Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-12T15:21:25.324Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-12T15:21:25.324Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-12T15:21:25.391Z] prd-ubuntu20.04-docker-8c-8g-20688 does not seem to be running inside a container [2022-04-12T15:21:25.426Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-12T15:21:27.961Z] $ docker top 21822e11214b17240d4fd924e49baf55c7e43e4eb0501fe040350f169b069caf -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-12T15:21:28.054Z] provisioning config files... [2022-04-12T15:21:28.064Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config9206059960299795170tmp [2022-04-12T15:21:28.076Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5168918944961671915tmp [2022-04-12T15:21:28.086Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config9220981685689476899tmp [Pipeline] { [Pipeline] echo [2022-04-12T15:21:28.101Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T15:21:28.390Z] ---> sigul-configuration.sh [2022-04-12T15:21:28.390Z] gpg: directory `/root/.gnupg' created [2022-04-12T15:21:28.390Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-12T15:21:28.390Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-12T15:21:28.390Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-12T15:21:28.390Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-12T15:21:28.390Z] gpg: CAST5 encrypted data [2022-04-12T15:21:28.390Z] gpg: encrypted with 1 passphrase [2022-04-12T15:21:28.390Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-12T15:21:28.686Z] + mkdir /home/jenkins [2022-04-12T15:21:28.686Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-12T15:21:28.978Z] + 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-12T15:21:28.989Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T15:21:29.279Z] ---> sigul-install.sh [2022-04-12T15:21:29.279Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-12T15:21:29.581Z] + git tag --list [2022-04-12T15:21:29.581Z] v0.0.0 [2022-04-12T15:21:29.581Z] v1.0.0 [2022-04-12T15:21:29.581Z] v1.0.1-dev.1 [2022-04-12T15:21:29.581Z] v1.0.1-dev.2 [2022-04-12T15:21:29.581Z] v1.0.1-dev.3 [2022-04-12T15:21:29.581Z] v1.0.1-dev.4 [2022-04-12T15:21:29.581Z] v1.0.1-dev.5 [2022-04-12T15:21:29.581Z] v1.0.1-dev.6 [2022-04-12T15:21:29.581Z] v2.0.0-dev.1 [2022-04-12T15:21:29.581Z] v2.0.0-dev.2 [2022-04-12T15:21:29.581Z] v2.0.0-dev.3 [2022-04-12T15:21:29.581Z] v2.0.0-dev.4 [2022-04-12T15:21:29.581Z] v2.0.0-dev.5 [Pipeline] sh [2022-04-12T15:21:29.875Z] + lftools sign git-tag v2.0.0-dev.5 [2022-04-12T15:21:30.481Z] Signing Git tag with Sigul... [2022-04-12T15:21:30.481Z] Signing v2.0.0-dev.5 [Pipeline] echo [2022-04-12T15:21:30.753Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T15:21:31.054Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-12T15:21:31.063Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-12T15:21:31.092Z] $ docker stop --time=1 21822e11214b17240d4fd924e49baf55c7e43e4eb0501fe040350f169b069caf [2022-04-12T15:21:32.399Z] $ docker rm -f 21822e11214b17240d4fd924e49baf55c7e43e4eb0501fe040350f169b069caf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-12T15:21:32.826Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-12T15:21:32.826Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:21:33.133Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T15:21:33.133Z] . [Pipeline] withDockerContainer [2022-04-12T15:21:33.205Z] prd-ubuntu20.04-docker-8c-8g-20688 does not seem to be running inside a container [2022-04-12T15:21:33.247Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-12T15:21:33.633Z] $ docker top 609497bbe18b925be9e538cef36860241ea3d3d19cdd2ab5f824fe21ebdc6588 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-12T15:21:33.735Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-12T15:21:33.735Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-12T15:21:33.870Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-12T15:21:33.878Z] $ docker exec 609497bbe18b925be9e538cef36860241ea3d3d19cdd2ab5f824fe21ebdc6588 ssh-agent [2022-04-12T15:21:34.007Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIBEhGN/agent.14 [2022-04-12T15:21:34.007Z] SSH_AGENT_PID=21 [2022-04-12T15:21:34.013Z] Running ssh-add (command line suppressed) [2022-04-12T15:21:34.128Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6998507778058156183.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6998507778058156183.key) [2022-04-12T15:21:34.141Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-12T15:21:34.432Z] + git semver bump pre [2022-04-12T15:21:34.432Z] # -> Open(): unable to determine branch for HEAD [2022-04-12T15:21:34.432Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2022-04-12T15:21:34.432Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2022-04-12T15:21:34.432Z] # $SEMVER_REMOTE_NAME = origin [2022-04-12T15:21:34.432Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-12T15:21:34.432Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-12T15:21:34.432Z] # $SEMVER_BRANCH = main [2022-04-12T15:21:34.432Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [2022-04-12T15:21:34.432Z] 2.0.0-dev.6 [Pipeline] } [2022-04-12T15:21:34.448Z] $ docker exec --env ******** --env ******** 609497bbe18b925be9e538cef36860241ea3d3d19cdd2ab5f824fe21ebdc6588 ssh-agent -k [2022-04-12T15:21:34.565Z] unset SSH_AUTH_SOCK; [2022-04-12T15:21:34.566Z] unset SSH_AGENT_PID; [2022-04-12T15:21:34.566Z] echo Agent pid 21 killed; [2022-04-12T15:21:34.572Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-12T15:21:34.874Z] + git semver [Pipeline] } [2022-04-12T15:21:34.894Z] $ docker stop --time=1 609497bbe18b925be9e538cef36860241ea3d3d19cdd2ab5f824fe21ebdc6588 [2022-04-12T15:21:36.193Z] $ docker rm -f 609497bbe18b925be9e538cef36860241ea3d3d19cdd2ab5f824fe21ebdc6588 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-12T15:21:36.544Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-12T15:21:36.544Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:21:36.840Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T15:21:36.840Z] . [Pipeline] withDockerContainer [2022-04-12T15:21:36.902Z] prd-ubuntu20.04-docker-8c-8g-20688 does not seem to be running inside a container [2022-04-12T15:21:36.941Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-12T15:21:37.305Z] $ docker top c8d598eaedbb891c1db9a430d4acbb2f7d889665646535f5c692076d4a153984 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-12T15:21:37.397Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-12T15:21:37.397Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-12T15:21:37.528Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-12T15:21:37.536Z] $ docker exec c8d598eaedbb891c1db9a430d4acbb2f7d889665646535f5c692076d4a153984 ssh-agent [2022-04-12T15:21:37.648Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJHbKCf/agent.13 [2022-04-12T15:21:37.648Z] SSH_AGENT_PID=19 [2022-04-12T15:21:37.653Z] Running ssh-add (command line suppressed) [2022-04-12T15:21:37.774Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_632976558896970477.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_632976558896970477.key) [2022-04-12T15:21:37.782Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-12T15:21:38.071Z] + git semver push [2022-04-12T15:21:38.071Z] # -> Open(): unable to determine branch for HEAD [2022-04-12T15:21:38.071Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2022-04-12T15:21:38.071Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2022-04-12T15:21:38.071Z] # $SEMVER_REMOTE_NAME = origin [2022-04-12T15:21:38.071Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-12T15:21:38.071Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-12T15:21:38.071Z] # $SEMVER_BRANCH = main [2022-04-12T15:21:38.071Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } [2022-04-12T15:21:39.997Z] $ docker exec --env ******** --env ******** c8d598eaedbb891c1db9a430d4acbb2f7d889665646535f5c692076d4a153984 ssh-agent -k [2022-04-12T15:21:40.113Z] unset SSH_AUTH_SOCK; [2022-04-12T15:21:40.113Z] unset SSH_AGENT_PID; [2022-04-12T15:21:40.113Z] echo Agent pid 19 killed; [2022-04-12T15:21:40.124Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-12T15:21:40.441Z] + git semver [Pipeline] } [2022-04-12T15:21:40.491Z] $ docker stop --time=1 c8d598eaedbb891c1db9a430d4acbb2f7d889665646535f5c692076d4a153984 [2022-04-12T15:21:41.819Z] $ docker rm -f c8d598eaedbb891c1db9a430d4acbb2f7d889665646535f5c692076d4a153984 [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-12T15:21:42.444Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2022-04-12T15:21:42.444Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2022-04-12T15:21:42.444Z] total 16 [2022-04-12T15:21:42.444Z] drwxr-xr-x 3 root root 4096 Apr 12 15:15 . [2022-04-12T15:21:42.444Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 15:21 .. [2022-04-12T15:21:42.444Z] drwxr-xr-x 2 root root 4096 Apr 12 15:15 cost [2022-04-12T15:21:42.444Z] -rw-r--r-- 1 root root 81 Apr 12 15:15 cost.csv [2022-04-12T15:21:42.444Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2022-04-12T15:21:42.444Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2022-04-12T15:21:42.444Z] total 16 [2022-04-12T15:21:42.444Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 15:15 . [2022-04-12T15:21:42.444Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 15:21 .. [2022-04-12T15:21:42.444Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 15:15 cost [2022-04-12T15:21:42.444Z] -rw-r--r-- 1 jenkins jenkins 81 Apr 12 15:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-12T15:21:42.738Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T15:21:43.604Z] ---> package-listing.sh [2022-04-12T15:21:43.604Z] ++ facter osfamily [2022-04-12T15:21:43.604Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-12T15:21:43.865Z] + OS_FAMILY=debian [2022-04-12T15:21:43.865Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2022-04-12T15:21:43.865Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-12T15:21:43.865Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-12T15:21:43.865Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-12T15:21:43.865Z] + PACKAGES=/tmp/packages_start.txt [2022-04-12T15:21:43.865Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2022-04-12T15:21:43.865Z] + PACKAGES=/tmp/packages_end.txt [2022-04-12T15:21:43.865Z] + case "${OS_FAMILY}" in [2022-04-12T15:21:43.865Z] + dpkg -l [2022-04-12T15:21:43.865Z] + grep '^ii' [2022-04-12T15:21:43.865Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-12T15:21:43.865Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-12T15:21:43.865Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-12T15:21:43.865Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2022-04-12T15:21:43.865Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2022-04-12T15:21:43.865Z] + 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-12T15:21:43.878Z] 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-12T15:21:44.158Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-12T15:21:44.716Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T15:21:44.716Z] . [Pipeline] withDockerContainer [2022-04-12T15:21:44.788Z] prd-ubuntu20.04-docker-8c-8g-20688 does not seem to be running inside a container [2022-04-12T15:21:44.832Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-12T15:21:45.115Z] $ docker top 4092904a0818e87bd61314c6e229cb7e244eba40bdea88c771c367a13cc2c564 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-12T15:21:45.480Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-12T15:21:45.770Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-12T15:21:46.060Z] + ls /var/log/sa-host [2022-04-12T15:21:46.060Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T15:21:46.154Z] provisioning config files... [2022-04-12T15:21:46.162Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4828398161759898062tmp [Pipeline] { [Pipeline] echo [2022-04-12T15:21:46.176Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T15:21:46.462Z] ---> create-netrc.sh [Pipeline] } [2022-04-12T15:21:46.470Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-12T15:21:46.804Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-12T15:21:46.814Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T15:21:47.101Z] ---> sudo-logs.sh [2022-04-12T15:21:47.101Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-12T15:21:47.137Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T15:21:47.429Z] ---> job-cost.sh [2022-04-12T15:21:47.429Z] lf-activate-venv: SKIPPING [2022-04-12T15:21:47.429Z] DEBUG: total: 0.2199999988079071 [2022-04-12T15:21:47.429Z] INFO: Retrieving Stack Cost... [2022-04-12T15:21:47.690Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-12T15:21:48.264Z] INFO: Archiving Costs [Pipeline] echo [2022-04-12T15:21:48.279Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T15:21:48.565Z] ---> logs-deploy.sh [2022-04-12T15:21:48.565Z] lf-activate-venv: SKIPPING [2022-04-12T15:21:48.565Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/16 [2022-04-12T15:21:48.565Z] INFO: archiving workspace using pattern(s): [2022-04-12T15:21:49.505Z] Archives upload complete. [2022-04-12T15:21:49.505Z] INFO: archiving logs to Nexus