Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9225b543fa42775eff825b7d98be0ff13d95165d 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-ssh9202807060778845439.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-ssh10433364331443691531.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-mqtt-go/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-mqtt-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10027227940306233957.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-ssh8392058924307254540.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-mqtt-go/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-mqtt-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9296084622258289076.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-mqtt-go, buildSnap:true] ========================================================= [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-mqtt-go-settings PROJECT: device-mqtt-go 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-mqtt 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: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8170 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.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-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9225b543fa42775eff825b7d98be0ff13d95165d (main) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.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 9225b543fa42775eff825b7d98be0ff13d95165d # timeout=10 Commit message: "test(snap): Add Github action to test the snap (#343)" > git rev-list --no-walk bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:30:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:30:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:30:10 ========================================================= 09:30:10 EdgeX Global Pipelines Version Info 09:30:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:30:11 ------------------- 09:30:11 stable info: 09:30:11 ------------------- 09:30:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:30:11 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 09:30:11 Message: update stable to v1.0.221 09:30:11 ------------------- 09:30:11 experimental info: 09:30:11 ------------------- 09:30:11 Commited By: **** collab-it+edgex@linuxfoundation.org 09:30:11 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 09:30:11 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9225b543fa42775eff825b7d98be0ff13d95165d [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9225b54 [Pipeline] echo 09:30:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:30:12 provisioning config files... 09:30:12 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6084408902725245784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:30:12 ---> docker-login.sh 09:30:12 nexus3.edgexfoundry.org:10001 09:30:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:13 Configure a credential helper to remove this warning. See 09:30:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:13 09:30:13 Login Succeeded 09:30:13 nexus3.edgexfoundry.org:10002 09:30:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:13 Configure a credential helper to remove this warning. See 09:30:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:13 09:30:13 Login Succeeded 09:30:13 nexus3.edgexfoundry.org:10003 09:30:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:13 Configure a credential helper to remove this warning. See 09:30:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:13 09:30:13 Login Succeeded 09:30:13 nexus3.edgexfoundry.org:10004 09:30:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:13 Configure a credential helper to remove this warning. See 09:30:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:13 09:30:13 Login Succeeded 09:30:13 docker.io 09:30:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:14 Configure a credential helper to remove this warning. See 09:30:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:14 09:30:14 Login Succeeded 09:30:14 ---> docker-login.sh ends [Pipeline] } 09:30:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:30:14 + git rev-list -1 --merges 9225b543fa42775eff825b7d98be0ff13d95165d~1..9225b543fa42775eff825b7d98be0ff13d95165d [Pipeline] echo 09:30:14 -----------> git rev-list -1 --merges 9225b543fa42775eff825b7d98be0ff13d95165d~1..9225b543fa42775eff825b7d98be0ff13d95165d 9225b543fa42775eff825b7d98be0ff13d95165d [false] [Pipeline] sh 09:30:15 + git log --format=format:%s -1 9225b543fa42775eff825b7d98be0ff13d95165d [Pipeline] echo 09:30:15 ========================================================= 09:30:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:30:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:30:15 + git log --format=format:%s -1 9225b543fa42775eff825b7d98be0ff13d95165d [Pipeline] echo 09:30:15 [semverPrep] GIT_COMMIT: 9225b543fa42775eff825b7d98be0ff13d95165d, Commit Message: test(snap): Add Github action to test the snap (#343) [Pipeline] echo 09:30:15 [semverPrep] This is not a build commit. [Pipeline] sh 09:30:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:30:15 + grep -v github /etc/ssh/ssh_known_hosts 09:30:15 + [ -e /tmp/ssh_known_hosts ] 09:30:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:30:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:30:15 + sudo tee -a /etc/ssh/ssh_known_hosts 09:30:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:30:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:30:16 09:30:16 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:30:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:30:16 latest: Pulling from edgex-devops/git-semver 09:30:16 a0d0a0d46f8b: Pulling fs layer 09:30:16 3e5f54012d9b: Pulling fs layer 09:30:16 4c7163046ea9: Pulling fs layer 09:30:16 0c2d73faf560: Pulling fs layer 09:30:16 0c2d73faf560: Waiting 09:30:16 3e5f54012d9b: Verifying Checksum 09:30:16 3e5f54012d9b: Download complete 09:30:16 a0d0a0d46f8b: Verifying Checksum 09:30:16 a0d0a0d46f8b: Download complete 09:30:16 0c2d73faf560: Verifying Checksum 09:30:16 0c2d73faf560: Download complete 09:30:16 4c7163046ea9: Download complete 09:30:16 a0d0a0d46f8b: Pull complete 09:30:16 3e5f54012d9b: Pull complete 09:30:17 4c7163046ea9: Pull complete 09:30:17 0c2d73faf560: Pull complete 09:30:17 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 09:30:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:30:17 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:30:17 prd-ubuntu20.04-docker-8c-8g-8170 does not seem to be running inside a container 09:30:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:30:18 $ docker top ad3aa8f2df636a1d219d04b21d6555e48d433cf3335605e06f8ed603f5d999a4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:30:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:30:18 [ssh-agent] Looking for ssh-agent implementation... 09:30:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:30:18 $ docker exec ad3aa8f2df636a1d219d04b21d6555e48d433cf3335605e06f8ed603f5d999a4 ssh-agent 09:30:18 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfHObIa/agent.14 09:30:18 SSH_AGENT_PID=20 09:30:18 Running ssh-add (command line suppressed) 09:30:18 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7114834509189500559.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7114834509189500559.key) 09:30:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:30:19 + git tag --points-at HEAD [Pipeline] } 09:30:19 $ docker exec --env ******** --env ******** ad3aa8f2df636a1d219d04b21d6555e48d433cf3335605e06f8ed603f5d999a4 ssh-agent -k 09:30:19 unset SSH_AUTH_SOCK; 09:30:19 unset SSH_AGENT_PID; 09:30:19 echo Agent pid 20 killed; 09:30:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:30:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:30:19 [ssh-agent] Looking for ssh-agent implementation... 09:30:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:30:19 $ docker exec ad3aa8f2df636a1d219d04b21d6555e48d433cf3335605e06f8ed603f5d999a4 ssh-agent 09:30:19 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoGIOpJ/agent.52 09:30:19 SSH_AGENT_PID=58 09:30:19 Running ssh-add (command line suppressed) 09:30:19 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1209874286808818311.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1209874286808818311.key) 09:30:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:30:19 + git semver init 09:30:19 # -> Open(): unable to determine branch for HEAD 09:30:19 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 09:30:19 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 09:30:19 # $SEMVER_REMOTE_NAME = origin 09:30:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:30:19 # $SEMVER_USER_NAME = edgex-jenkins 09:30:19 # $SEMVER_BRANCH = main 09:30:19 # $SEMVER_TEMP = /tmp/semver-701068659 09:30:19 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 09:30:20 # '/tmp/semver-701068659' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' 09:30:20 # -> Force: false 09:30:20 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 09:30:20 $ docker exec --env ******** --env ******** ad3aa8f2df636a1d219d04b21d6555e48d433cf3335605e06f8ed603f5d999a4 ssh-agent -k 09:30:20 unset SSH_AUTH_SOCK; 09:30:20 unset SSH_AGENT_PID; 09:30:20 echo Agent pid 58 killed; 09:30:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:30:21 + git semver [Pipeline] } 09:30:21 $ docker stop --time=1 ad3aa8f2df636a1d219d04b21d6555e48d433cf3335605e06f8ed603f5d999a4 09:30:22 $ docker rm -f ad3aa8f2df636a1d219d04b21d6555e48d433cf3335605e06f8ed603f5d999a4 [Pipeline] // withDockerContainer [Pipeline] sh 09:30:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:30:23 Stashed 1 file(s) [Pipeline] echo 09:30:23 [edgeXSemver]: initialized semver on version 2.2.0-dev.11 [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 09:30:23 provisioning config files... 09:30:23 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6350308410850308529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:30:23 ---> docker-login.sh 09:30:23 nexus3.edgexfoundry.org:10001 09:30:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:23 Configure a credential helper to remove this warning. See 09:30:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:23 09:30:23 Login Succeeded 09:30:23 nexus3.edgexfoundry.org:10002 09:30:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:24 Configure a credential helper to remove this warning. See 09:30:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:24 09:30:24 Login Succeeded 09:30:24 nexus3.edgexfoundry.org:10003 09:30:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:24 Configure a credential helper to remove this warning. See 09:30:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:24 09:30:24 Login Succeeded 09:30:24 nexus3.edgexfoundry.org:10004 09:30:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:24 Configure a credential helper to remove this warning. See 09:30:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:24 09:30:24 Login Succeeded 09:30:24 docker.io 09:30:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:24 Configure a credential helper to remove this warning. See 09:30:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:24 09:30:24 Login Succeeded 09:30:24 ---> docker-login.sh ends [Pipeline] } 09:30:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:30:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:30:24 ========================================================= 09:30:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 09:30:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:30:25 + 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 . 09:30:25 Sending build context to Docker daemon 5.751MB 09:30:25 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:30:25 Step 2/12 : FROM ${BASE} AS builder 09:30:25 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 09:30:25 59bf1c3509f3: Pulling fs layer 09:30:25 666ba61612fd: Pulling fs layer 09:30:25 8ed8ca486205: Pulling fs layer 09:30:25 4fe6c5a15a65: Pulling fs layer 09:30:25 22a0e8bec74d: Pulling fs layer 09:30:25 640e595b4fbd: Pulling fs layer 09:30:25 763cafe07f6e: Pulling fs layer 09:30:25 0c0b528cf693: Pulling fs layer 09:30:25 10935f4eaf8b: Pulling fs layer 09:30:25 640e595b4fbd: Waiting 09:30:25 10935f4eaf8b: Waiting 09:30:25 763cafe07f6e: Waiting 09:30:25 0c0b528cf693: Waiting 09:30:25 4fe6c5a15a65: Waiting 09:30:25 8ed8ca486205: Download complete 09:30:25 666ba61612fd: Download complete 09:30:25 22a0e8bec74d: Verifying Checksum 09:30:25 22a0e8bec74d: Download complete 09:30:25 59bf1c3509f3: Verifying Checksum 09:30:25 59bf1c3509f3: Download complete 09:30:25 763cafe07f6e: Verifying Checksum 09:30:25 763cafe07f6e: Download complete 09:30:25 640e595b4fbd: Download complete 09:30:25 0c0b528cf693: Verifying Checksum 09:30:25 0c0b528cf693: Download complete 09:30:25 59bf1c3509f3: Pull complete 09:30:25 666ba61612fd: Pull complete 09:30:25 8ed8ca486205: Pull complete 09:30:25 10935f4eaf8b: Verifying Checksum 09:30:26 4fe6c5a15a65: Verifying Checksum 09:30:26 4fe6c5a15a65: Download complete 09:30:30 4fe6c5a15a65: Pull complete 09:30:30 22a0e8bec74d: Pull complete 09:30:30 640e595b4fbd: Pull complete 09:30:30 763cafe07f6e: Pull complete 09:30:30 0c0b528cf693: Pull complete 09:30:33 10935f4eaf8b: Pull complete 09:30:33 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 09:30:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 09:30:33 ---> 99d49a6021b9 09:30:33 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:30:34 ---> Running in 5d43445209af 09:30:34 Removing intermediate container 5d43445209af 09:30:34 ---> 7ef00fc467f2 09:30:34 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:30:34 ---> Running in 29e2240f902d 09:30:34 Removing intermediate container 29e2240f902d 09:30:34 ---> c5e974c8f524 09:30:34 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:30:34 ---> Running in 6e7595da725a 09:30:35 Removing intermediate container 6e7595da725a 09:30:35 ---> 945714950945 09:30:35 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:30:35 ---> Running in d7f47792a1fe 09:30:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:30:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:30:36 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:30:36 (2/4) Installing libedit (20210910.3.1-r0) 09:30:36 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:30:36 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:30:36 Executing busybox-1.34.1-r3.trigger 09:30:36 OK: 224 MiB in 56 packages 09:30:37 Removing intermediate container d7f47792a1fe 09:30:37 ---> b3af80be8d3c 09:30:37 Step 7/12 : WORKDIR /device-mqtt-go 09:30:37 ---> Running in f57cec47a716 09:30:37 Removing intermediate container f57cec47a716 09:30:37 ---> 86881750c018 09:30:37 Step 8/12 : COPY go.mod vendor* ./ 09:30:37 ---> 814a8c26d174 09:30:37 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:30:37 ---> Running in 56f48753f3c6 09:30:38 Still waiting to schedule task 09:30:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:30:59 Removing intermediate container 56f48753f3c6 09:30:59 ---> d727c5f81ed1 09:30:59 Step 10/12 : COPY . . 09:30:59 ---> 596640fbc171 09:30:59 Step 11/12 : ARG MAKE='make build' 09:30:59 ---> Running in d641bafb877e 09:30:59 Removing intermediate container d641bafb877e 09:30:59 ---> b02483308cf2 09:30:59 Step 12/12 : RUN $MAKE 09:30:59 ---> Running in 81737fcdb2e7 09:30:59 noop 09:30:59 Removing intermediate container 81737fcdb2e7 09:30:59 ---> a55e7550a652 09:30:59 Successfully built a55e7550a652 09:30:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:30:59 + docker inspect -f . ci-base-image-x86_64 09:30:59 . [Pipeline] withDockerContainer 09:30:59 prd-ubuntu20.04-docker-8c-8g-8170 does not seem to be running inside a container 09:31:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:31:00 $ docker top 72d1639fbfd804e46d8d734d80b9dde620c69a12418574094fdac82184b11636 -eo pid,comm [Pipeline] { [Pipeline] sh 09:31:00 + go version 09:31:00 go version go1.17.6 linux/amd64 [Pipeline] } 09:31:00 $ docker stop --time=1 72d1639fbfd804e46d8d734d80b9dde620c69a12418574094fdac82184b11636 09:31:02 $ docker rm -f 72d1639fbfd804e46d8d734d80b9dde620c69a12418574094fdac82184b11636 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:31:02 + docker inspect -f . ci-base-image-x86_64 09:31:02 . [Pipeline] withDockerContainer 09:31:02 prd-ubuntu20.04-docker-8c-8g-8170 does not seem to be running inside a container 09:31:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:31:02 $ docker top 015f6e5e52e963c2ab32c38772d68c85f0056bc49209e214770143b13cbe99ce -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:31:03 + make test 09:31:03 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:31:03 ? github.com/edgexfoundry/device-mqtt-go [no test files] 09:31:10 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 09:31:10 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 22.5% of statements 09:31:10 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 09:31:10 GCO_ENABLED=1 GO111MODULE=on go vet ./... 09:31:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:31:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:31:13 ./bin/test-attribution-txt.sh [Pipeline] echo 09:31:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:31:13 $ docker stop --time=1 015f6e5e52e963c2ab32c38772d68c85f0056bc49209e214770143b13cbe99ce 09:31:15 $ docker rm -f 015f6e5e52e963c2ab32c38772d68c85f0056bc49209e214770143b13cbe99ce [Pipeline] // withDockerContainer [Pipeline] sh 09:31:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:31:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:31:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:31:17 + ls -al . 09:31:17 total 184 09:31:17 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 09:31 . 09:31:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 09:30 .. 09:31:17 -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 09:30 .dockerignore 09:31:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 09:30 .git 09:31:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 09:30 .github 09:31:17 -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 09:30 .gitignore 09:31:17 drwx------ 3 jenkins jenkins 4096 Mar 21 09:30 .semver 09:31:17 -rw-rw-r-- 1 jenkins jenkins 7384 Mar 21 09:30 Attribution.txt 09:31:17 -rw-rw-r-- 1 jenkins jenkins 7447 Mar 21 09:30 CHANGELOG.md 09:31:17 -rw-rw-r-- 1 jenkins jenkins 1930 Mar 21 09:30 Dockerfile 09:31:17 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 09:30 GOVERNANCE.md 09:31:17 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 09:30 Jenkinsfile 09:31:17 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 09:30 LICENSE 09:31:17 -rw-rw-r-- 1 jenkins jenkins 1030 Mar 21 09:30 Makefile 09:31:17 -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 09:30 OWNERS.md 09:31:17 -rw-rw-r-- 1 jenkins jenkins 2643 Mar 21 09:30 README.md 09:31:17 -rw-rw-r-- 1 jenkins jenkins 12 Mar 21 09:30 VERSION 09:31:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 09:30 bin 09:31:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 09:30 cmd 09:31:17 -rw-r--r-- 1 jenkins jenkins 17452 Mar 21 09:31 coverage.out 09:31:17 -rw-rw-r-- 1 jenkins jenkins 2884 Mar 21 09:30 go.mod 09:31:17 -rw-rw-r-- 1 jenkins jenkins 50572 Mar 21 09:30 go.sum 09:31:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 09:30 internal 09:31:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 09:30 mock 09:31:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 09:30 snap 09:31:17 -rw-rw-r-- 1 jenkins jenkins 227 Mar 21 09:30 version.go [Pipeline] isUnix [Pipeline] sh 09:31:17 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=9225b543fa42775eff825b7d98be0ff13d95165d --label arch=amd64 --label version=2.2.0-dev.11 . 09:31:17 Sending build context to Docker daemon 5.769MB 09:31:17 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 09:31:17 Step 2/24 : FROM ${BASE} AS builder 09:31:17 ---> a55e7550a652 09:31:17 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:31:17 ---> Running in 3e9609f6e698 09:31:17 Removing intermediate container 3e9609f6e698 09:31:17 ---> d90eb6658fd7 09:31:17 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 09:31:17 ---> Running in 4b79b20c7ef7 09:31:17 Removing intermediate container 4b79b20c7ef7 09:31:17 ---> 2c2ada56f4ff 09:31:17 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:31:17 ---> Running in 8fd78da9427b 09:31:18 Removing intermediate container 8fd78da9427b 09:31:18 ---> d5f80306fec2 09:31:18 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:31:18 ---> Running in be986927e0b9 09:31:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:31:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:31:19 OK: 224 MiB in 56 packages 09:31:19 Removing intermediate container be986927e0b9 09:31:19 ---> aa1a72518ab7 09:31:19 Step 7/24 : WORKDIR /device-mqtt-go 09:31:20 ---> Running in 9a5b11357d18 09:31:20 Removing intermediate container 9a5b11357d18 09:31:20 ---> 40091d1721dd 09:31:20 Step 8/24 : COPY go.mod vendor* ./ 09:31:20 ---> 6ee1219335e6 09:31:20 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:31:20 ---> Running in 848aded5da21 09:31:21 Removing intermediate container 848aded5da21 09:31:21 ---> 3731b12d6cc7 09:31:21 Step 10/24 : COPY . . 09:31:21 ---> 4ca7cf26cc92 09:31:21 Step 11/24 : ARG MAKE='make build' 09:31:21 ---> Running in 5f1fb79e586b 09:31:21 Removing intermediate container 5f1fb79e586b 09:31:21 ---> 77235abfcd7e 09:31:21 Step 12/24 : RUN $MAKE 09:31:21 ---> Running in 08df8b62027a 09:31:21 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.11" -o cmd/device-mqtt ./cmd 09:31:29 Removing intermediate container 08df8b62027a 09:31:29 ---> e2967053ca33 09:31:29 Step 13/24 : FROM alpine:3.14 09:31:29 3.14: Pulling from library/alpine 09:31:29 36ccefbf3d8a: Pulling fs layer 09:31:30 36ccefbf3d8a: Verifying Checksum 09:31:30 36ccefbf3d8a: Download complete 09:31:30 36ccefbf3d8a: Pull complete 09:31:30 Digest: sha256:beca83085fd7f5b2a2cc457ddb2ed180c090c13ad7e806530e4ef578cb5cfe7b 09:31:30 Status: Downloaded newer image for alpine:3.14 09:31:30 ---> a33ac4f1069a 09:31:30 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 09:31:30 ---> Running in fddbbbeea84a 09:31:30 Removing intermediate container fddbbbeea84a 09:31:30 ---> 595de8cb5118 09:31:30 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 09:31:30 ---> Running in da3ec05a68b8 09:31:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:31:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:31:31 (1/6) Installing dumb-init (1.2.5-r1) 09:31:31 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:31:31 (3/6) Installing libsodium (1.0.18-r0) 09:31:31 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:31:31 (5/6) Installing libzmq (4.3.4-r0) 09:31:31 (6/6) Installing zeromq (4.3.4-r0) 09:31:31 Executing busybox-1.33.1-r6.trigger 09:31:31 OK: 8 MiB in 20 packages 09:31:31 Removing intermediate container da3ec05a68b8 09:31:31 ---> 6cab8d07fca7 09:31:31 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 09:31:32 ---> 5e36a427e6a1 09:31:32 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 09:31:32 ---> ba2ada378197 09:31:32 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 09:31:32 ---> a585d89ab5db 09:31:32 Step 19/24 : EXPOSE 59982 09:31:32 ---> Running in e8e9457bf9ec 09:31:32 Removing intermediate container e8e9457bf9ec 09:31:32 ---> 1bba3a0a22fd 09:31:32 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 09:31:32 ---> Running in 610cde7ad296 09:31:32 Removing intermediate container 610cde7ad296 09:31:32 ---> 75f9e327e0d7 09:31:32 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:31:32 ---> Running in 0a9489a4c024 09:31:32 Removing intermediate container 0a9489a4c024 09:31:32 ---> 4d29ea53827a 09:31:32 Step 22/24 : LABEL arch=amd64 09:31:32 ---> Running in 7b7d4461d612 09:31:32 Removing intermediate container 7b7d4461d612 09:31:32 ---> 7687c9949fd0 09:31:32 Step 23/24 : LABEL git_sha=9225b543fa42775eff825b7d98be0ff13d95165d 09:31:32 ---> Running in 0ef6e3f45a77 09:31:32 Removing intermediate container 0ef6e3f45a77 09:31:32 ---> d1633fc9081f 09:31:32 Step 24/24 : LABEL version=2.2.0-dev.11 09:31:32 ---> Running in e6cb73256cc5 09:31:32 Removing intermediate container e6cb73256cc5 09:31:32 ---> 025662f5ef1b 09:31:32 [Warning] One or more build-args [ARCH] were not consumed 09:31:32 Successfully built 025662f5ef1b 09:31:32 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:31:33 provisioning config files... 09:31:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2059601183883103779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:31:33 ---> docker-login.sh 09:31:33 nexus3.edgexfoundry.org:10001 09:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:31:33 Configure a credential helper to remove this warning. See 09:31:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:31:33 09:31:33 Login Succeeded 09:31:33 nexus3.edgexfoundry.org:10002 09:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:31:33 Configure a credential helper to remove this warning. See 09:31:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:31:33 09:31:33 Login Succeeded 09:31:33 nexus3.edgexfoundry.org:10003 09:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:31:33 Configure a credential helper to remove this warning. See 09:31:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:31:33 09:31:33 Login Succeeded 09:31:33 nexus3.edgexfoundry.org:10004 09:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:31:33 Configure a credential helper to remove this warning. See 09:31:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:31:33 09:31:33 Login Succeeded 09:31:33 docker.io 09:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:31:34 Configure a credential helper to remove this warning. See 09:31:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:31:34 09:31:34 Login Succeeded 09:31:34 ---> docker-login.sh ends [Pipeline] } 09:31:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:31:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:31:34 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 09:31:34 9225b543fa42775eff825b7d98be0ff13d95165d 09:31:34 latest 09:31:34 2.2.0-dev.11 09:31:34 9225b543fa42775eff825b7d98be0ff13d95165d-2.2.0-dev.11 09:31:34 main 09:31:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:31:34 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:9225b543fa42775eff825b7d98be0ff13d95165d [Pipeline] isUnix [Pipeline] sh 09:31:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:9225b543fa42775eff825b7d98be0ff13d95165d 09:31:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 09:31:34 465a0aef9d97: Preparing 09:31:34 87823e9fe335: Preparing 09:31:34 5d1112e8ce0d: Preparing 09:31:34 ab4046d2ade3: Preparing 09:31:34 2e38978dfe40: Preparing 09:31:34 2e38978dfe40: Layer already exists 09:31:34 87823e9fe335: Pushed 09:31:34 465a0aef9d97: Pushed 09:31:35 ab4046d2ade3: Pushed 09:31:36 5d1112e8ce0d: Pushed 09:31:36 9225b543fa42775eff825b7d98be0ff13d95165d: digest: sha256:9fff5e85f6755c6043823785bc1888bd41ed02085b63c8969582491a2b7d6c92 size: 1366 [Pipeline] isUnix [Pipeline] sh 09:31:36 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 09:31:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 09:31:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 09:31:37 465a0aef9d97: Preparing 09:31:37 87823e9fe335: Preparing 09:31:37 5d1112e8ce0d: Preparing 09:31:37 ab4046d2ade3: Preparing 09:31:37 2e38978dfe40: Preparing 09:31:37 5d1112e8ce0d: Layer already exists 09:31:37 ab4046d2ade3: Layer already exists 09:31:37 2e38978dfe40: Layer already exists 09:31:37 465a0aef9d97: Layer already exists 09:31:37 87823e9fe335: Layer already exists 09:31:37 latest: digest: sha256:9fff5e85f6755c6043823785bc1888bd41ed02085b63c8969582491a2b7d6c92 size: 1366 [Pipeline] isUnix [Pipeline] sh 09:31:37 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh 09:31:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.11 09:31:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 09:31:37 465a0aef9d97: Preparing 09:31:37 87823e9fe335: Preparing 09:31:37 5d1112e8ce0d: Preparing 09:31:37 ab4046d2ade3: Preparing 09:31:37 2e38978dfe40: Preparing 09:31:37 465a0aef9d97: Layer already exists 09:31:37 87823e9fe335: Layer already exists 09:31:37 2e38978dfe40: Layer already exists 09:31:37 5d1112e8ce0d: Layer already exists 09:31:37 ab4046d2ade3: Layer already exists 09:31:37 2.2.0-dev.11: digest: sha256:9fff5e85f6755c6043823785bc1888bd41ed02085b63c8969582491a2b7d6c92 size: 1366 [Pipeline] isUnix [Pipeline] sh 09:31:37 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:9225b543fa42775eff825b7d98be0ff13d95165d-2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh 09:31:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:9225b543fa42775eff825b7d98be0ff13d95165d-2.2.0-dev.11 09:31:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 09:31:38 465a0aef9d97: Preparing 09:31:38 87823e9fe335: Preparing 09:31:38 5d1112e8ce0d: Preparing 09:31:38 ab4046d2ade3: Preparing 09:31:38 2e38978dfe40: Preparing 09:31:38 ab4046d2ade3: Layer already exists 09:31:38 87823e9fe335: Layer already exists 09:31:38 2e38978dfe40: Layer already exists 09:31:38 5d1112e8ce0d: Layer already exists 09:31:38 465a0aef9d97: Layer already exists 09:31:38 9225b543fa42775eff825b7d98be0ff13d95165d-2.2.0-dev.11: digest: sha256:9fff5e85f6755c6043823785bc1888bd41ed02085b63c8969582491a2b7d6c92 size: 1366 [Pipeline] isUnix [Pipeline] sh 09:31:38 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 09:31:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 09:31:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 09:31:38 465a0aef9d97: Preparing 09:31:38 87823e9fe335: Preparing 09:31:38 5d1112e8ce0d: Preparing 09:31:38 ab4046d2ade3: Preparing 09:31:38 2e38978dfe40: Preparing 09:31:38 465a0aef9d97: Layer already exists 09:31:38 2e38978dfe40: Layer already exists 09:31:38 87823e9fe335: Layer already exists 09:31:38 5d1112e8ce0d: Layer already exists 09:31:38 ab4046d2ade3: Layer already exists 09:31:38 main: digest: sha256:9fff5e85f6755c6043823785bc1888bd41ed02085b63c8969582491a2b7d6c92 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:31:38 ===================================================== [Pipeline] echo 09:31:38 taggedImages: 09:31:38 - nexus3.edgexfoundry.org:10004/device-mqtt:9225b543fa42775eff825b7d98be0ff13d95165d 09:31:38 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 09:31:38 - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.11 09:31:38 - nexus3.edgexfoundry.org:10004/device-mqtt:9225b543fa42775eff825b7d98be0ff13d95165d-2.2.0-dev.11 09:31:38 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:31:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:31:39 09:31:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:31:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:31:39 latest: Pulling from edgex-lftools-log-publisher 09:31:39 5eb5b503b376: Pulling fs layer 09:31:39 5c69ac0246d0: Pulling fs layer 09:31:39 ec43610c2a17: Pulling fs layer 09:31:39 3a2ae6a8a46f: Pulling fs layer 09:31:39 33b1e0a273af: Pulling fs layer 09:31:39 5d3b04190fa2: Pulling fs layer 09:31:39 2f39f015ded8: Pulling fs layer 09:31:39 3a2ae6a8a46f: Waiting 09:31:39 33b1e0a273af: Waiting 09:31:39 2f39f015ded8: Waiting 09:31:39 5d3b04190fa2: Waiting 09:31:39 5c69ac0246d0: Download complete 09:31:39 3a2ae6a8a46f: Verifying Checksum 09:31:39 3a2ae6a8a46f: Download complete 09:31:39 33b1e0a273af: Verifying Checksum 09:31:39 33b1e0a273af: Download complete 09:31:39 5d3b04190fa2: Verifying Checksum 09:31:39 5d3b04190fa2: Download complete 09:31:39 ec43610c2a17: Verifying Checksum 09:31:39 ec43610c2a17: Download complete 09:31:39 5eb5b503b376: Verifying Checksum 09:31:39 5eb5b503b376: Download complete 09:31:40 2f39f015ded8: Download complete 09:31:41 5eb5b503b376: Pull complete 09:31:41 5c69ac0246d0: Pull complete 09:31:41 ec43610c2a17: Pull complete 09:31:41 3a2ae6a8a46f: Pull complete 09:31:41 33b1e0a273af: Pull complete 09:31:42 5d3b04190fa2: Pull complete 09:31:46 2f39f015ded8: Pull complete 09:31:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:31:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:31:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:31:46 prd-ubuntu20.04-docker-8c-8g-8170 does not seem to be running inside a container 09:31:46 $ 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-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_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 09:31:48 $ docker top c486618a49d24941ae4d7ab71d477cb0df1a023300fc20f1e99b7cd1107203c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:31:48 ---> job-cost.sh 09:31:48 lf-activate-venv: SKIPPING 09:31:48 INFO: No Stack... 09:31:48 INFO: Retrieving Pricing Info for: v3-standard-8 09:31:49 INFO: Archiving Costs [Pipeline] sh 09:31:49 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 09:31:49 + cut -d, -f6 [Pipeline] lock 09:31:49 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-32-stack-cost] 09:31:49 Resource [jenkins-edgexfoundry-device-mqtt-go-main-32-stack-cost] did not exist. Created. 09:31:49 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:31:49 + echo total: 0.2199999988079071 [Pipeline] stash 09:31:50 Stashed 1 file(s) [Pipeline] } 09:31:50 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-32-stack-cost] [Pipeline] // lock [Pipeline] } 09:31:50 $ docker stop --time=1 c486618a49d24941ae4d7ab71d477cb0df1a023300fc20f1e99b7cd1107203c2 09:31:51 $ docker rm -f c486618a49d24941ae4d7ab71d477cb0df1a023300fc20f1e99b7cd1107203c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:32:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8171 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 09:32:21 Running in /w/workspace/device-mqtt-go/32 [Pipeline] { [Pipeline] checkout 09:32:21 Selected Git installation does not exist. Using Default 09:32:21 The recommended git tool is: NONE 09:32:29 using credential edgex-jenkins-ssh 09:32:29 Cloning the remote Git repository 09:32:29 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 09:32:29 > git init /w/workspace/device-mqtt-go/32 # timeout=10 09:32:29 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:32:29 > git --version # timeout=10 09:32:29 > git --version # 'git version 2.25.1' 09:32:29 using GIT_SSH to set credentials SSH Credentials for GitHub 09:32:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:32:31 Avoid second fetch 09:32:31 Checking out Revision 9225b543fa42775eff825b7d98be0ff13d95165d (main) 09:32:30 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:32:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:32:31 > git config core.sparsecheckout # timeout=10 09:32:31 > git checkout -f 9225b543fa42775eff825b7d98be0ff13d95165d # timeout=10 09:32:35 Commit message: "test(snap): Add Github action to test the snap (#343)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:32:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:32:36 % Total % Received % Xferd Average Speed Time Time Time Current 09:32:36 Dload Upload Total Spent Left Speed 09:32:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 44190 0 --:--:-- --:--:-- --:--:-- 44190 [Pipeline] sh 09:32:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:32:37 + sudo tee+ /etc/docker/daemon.new 09:32:37 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:32:37 { 09:32:37 "registry-mirrors": [ 09:32:37 "https://nexus3.edgexfoundry.org:10001" 09:32:37 ], 09:32:37 "bip": "10.250.0.254/24", 09:32:37 "hosts": [ 09:32:37 "tcp://0.0.0.0:5555", 09:32:37 "unix:///var/run/docker.sock" 09:32:37 ], 09:32:37 "mtu": 1458, 09:32:37 "selinux-enabled": true, 09:32:37 "seccomp-profile": "/etc/docker/seccomp.json" 09:32:37 } [Pipeline] sh 09:32:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:32:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:32:56 provisioning config files... 09:32:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/32@tmp/config3488642680792260791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:32:57 ---> docker-login.sh 09:32:57 nexus3.edgexfoundry.org:10001 09:32:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:32:57 Configure a credential helper to remove this warning. See 09:32:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:32:57 09:32:57 Login Succeeded 09:32:57 nexus3.edgexfoundry.org:10002 09:32:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:32:58 Configure a credential helper to remove this warning. See 09:32:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:32:58 09:32:58 Login Succeeded 09:32:58 nexus3.edgexfoundry.org:10003 09:32:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:32:58 Configure a credential helper to remove this warning. See 09:32:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:32:58 09:32:58 Login Succeeded 09:32:58 nexus3.edgexfoundry.org:10004 09:32:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:32:59 Configure a credential helper to remove this warning. See 09:32:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:32:59 09:32:59 Login Succeeded 09:32:59 docker.io 09:32:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:00 Configure a credential helper to remove this warning. See 09:33:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:00 09:33:00 Login Succeeded 09:33:00 ---> docker-login.sh ends [Pipeline] } 09:33:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:33:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:33:00 ========================================================= 09:33:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:33:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:33:01 + 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 . 09:33:01 Sending build context to Docker daemon 2.991MB 09:33:01 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:33:01 Step 2/12 : FROM ${BASE} AS builder 09:33:01 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:33:01 9b3977197b4f: Pulling fs layer 09:33:01 1a89e8eeedd5: Pulling fs layer 09:33:01 94645a83ff95: Pulling fs layer 09:33:01 3f3a8bcf1eab: Pulling fs layer 09:33:01 0c92f367c5e7: Pulling fs layer 09:33:01 f7c0051592d6: Pulling fs layer 09:33:01 a227ed2f7395: Pulling fs layer 09:33:01 7b1c46037f91: Pulling fs layer 09:33:01 f7c0051592d6: Waiting 09:33:01 a227ed2f7395: Waiting 09:33:01 7b1c46037f91: Waiting 09:33:01 0c92f367c5e7: Waiting 09:33:01 3f3a8bcf1eab: Waiting 09:33:01 94645a83ff95: Verifying Checksum 09:33:01 94645a83ff95: Download complete 09:33:01 1a89e8eeedd5: Verifying Checksum 09:33:01 1a89e8eeedd5: Download complete 09:33:01 0c92f367c5e7: Download complete 09:33:01 f7c0051592d6: Verifying Checksum 09:33:01 f7c0051592d6: Download complete 09:33:01 a227ed2f7395: Verifying Checksum 09:33:01 a227ed2f7395: Download complete 09:33:01 9b3977197b4f: Verifying Checksum 09:33:01 9b3977197b4f: Download complete 09:33:02 9b3977197b4f: Pull complete 09:33:03 1a89e8eeedd5: Pull complete 09:33:03 94645a83ff95: Pull complete 09:33:04 7b1c46037f91: Verifying Checksum 09:33:04 7b1c46037f91: Download complete 09:33:04 3f3a8bcf1eab: Verifying Checksum 09:33:04 3f3a8bcf1eab: Download complete 09:33:17 3f3a8bcf1eab: Pull complete 09:33:17 0c92f367c5e7: Pull complete 09:33:17 f7c0051592d6: Pull complete 09:33:17 a227ed2f7395: Pull complete 09:33:24 7b1c46037f91: Pull complete 09:33:24 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 09:33:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:33:24 ---> f79e39bc4007 09:33:24 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:33:24 ---> Running in be9fac51082f 09:33:24 Removing intermediate container be9fac51082f 09:33:24 ---> eaa52c914ff7 09:33:24 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:33:24 ---> Running in 15e817175fa4 09:33:25 Removing intermediate container 15e817175fa4 09:33:25 ---> 44f09f077909 09:33:25 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:33:25 ---> Running in 30652ac480d9 09:33:27 Removing intermediate container 30652ac480d9 09:33:27 ---> 9228544d5679 09:33:27 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:33:27 ---> Running in 18585755618d 09:33:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:33:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:33:29 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:33:29 (2/4) Installing libedit (20210910.3.1-r0) 09:33:29 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:33:30 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:33:30 Executing busybox-1.34.1-r3.trigger 09:33:30 OK: 224 MiB in 56 packages 09:33:30 Removing intermediate container 18585755618d 09:33:30 ---> 4258a6898b8f 09:33:30 Step 7/12 : WORKDIR /device-mqtt-go 09:33:30 ---> Running in 7b941c2db28f 09:33:31 Removing intermediate container 7b941c2db28f 09:33:31 ---> 1e0b71a87de1 09:33:31 Step 8/12 : COPY go.mod vendor* ./ 09:33:31 ---> 8058f81a1a2e 09:33:31 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:33:31 ---> Running in 144355257f0f 09:34:53 Removing intermediate container 144355257f0f 09:34:53 ---> eb19804b4071 09:34:53 Step 10/12 : COPY . . 09:34:53 ---> 0498d244007f 09:34:53 Step 11/12 : ARG MAKE='make build' 09:34:53 ---> Running in 44a561e93bd1 09:34:53 Removing intermediate container 44a561e93bd1 09:34:53 ---> cb6adb096cee 09:34:53 Step 12/12 : RUN $MAKE 09:34:53 ---> Running in eb493c08024c 09:34:53 noop 09:34:53 Removing intermediate container eb493c08024c 09:34:53 ---> ae0cf624525c 09:34:53 Successfully built ae0cf624525c 09:34:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:34:54 + docker inspect -f . ci-base-image-arm64 09:34:54 . [Pipeline] withDockerContainer 09:34:54 prd-ubuntu20.04-docker-arm64-4c-16g-8171 does not seem to be running inside a container 09:34:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/32 -v /w/workspace/device-mqtt-go/32:/w/workspace/device-mqtt-go/32:rw,z -v /w/workspace/device-mqtt-go/32@tmp:/w/workspace/device-mqtt-go/32@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 09:34:55 $ docker top cf5d43c27b7e04db704a215d97fdbaa03741558aa4abd3a978c639517334b366 -eo pid,comm [Pipeline] { [Pipeline] sh 09:34:56 + go version 09:34:56 go version go1.17.6 linux/arm64 [Pipeline] } 09:34:56 $ docker stop --time=1 cf5d43c27b7e04db704a215d97fdbaa03741558aa4abd3a978c639517334b366 09:34:58 $ docker rm -f cf5d43c27b7e04db704a215d97fdbaa03741558aa4abd3a978c639517334b366 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:34:58 + docker inspect -f . ci-base-image-arm64 09:34:58 . [Pipeline] withDockerContainer 09:34:59 prd-ubuntu20.04-docker-arm64-4c-16g-8171 does not seem to be running inside a container 09:34:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/32 -v /w/workspace/device-mqtt-go/32:/w/workspace/device-mqtt-go/32:rw,z -v /w/workspace/device-mqtt-go/32@tmp:/w/workspace/device-mqtt-go/32@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 09:35:00 $ docker top b53cc5666a65ab2402825c4f6d9f82ec283a34fb9f57e7ee153f8e65dc7213f1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:35:01 + make test 09:35:01 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:35:02 ? github.com/edgexfoundry/device-mqtt-go [no test files] 09:35:49 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 09:35:52 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.064s coverage: 22.5% of statements 09:35:52 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 09:35:52 GCO_ENABLED=1 GO111MODULE=on go vet ./... 09:36:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:36:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:36:10 ./bin/test-attribution-txt.sh [Pipeline] echo 09:36:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:36:11 $ docker stop --time=1 b53cc5666a65ab2402825c4f6d9f82ec283a34fb9f57e7ee153f8e65dc7213f1 09:36:13 $ docker rm -f b53cc5666a65ab2402825c4f6d9f82ec283a34fb9f57e7ee153f8e65dc7213f1 [Pipeline] // withDockerContainer [Pipeline] sh 09:36:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:36:14 Warning: overwriting stash ‘coverage-report’ 09:36:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:36:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:36:15 + ls -al . 09:36:15 total 180 09:36:15 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 09:36 . 09:36:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 09:32 .. 09:36:15 -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 09:32 .dockerignore 09:36:15 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 09:32 .git 09:36:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 09:32 .github 09:36:15 -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 09:32 .gitignore 09:36:15 -rw-rw-r-- 1 jenkins jenkins 7384 Mar 21 09:32 Attribution.txt 09:36:15 -rw-rw-r-- 1 jenkins jenkins 7447 Mar 21 09:32 CHANGELOG.md 09:36:15 -rw-rw-r-- 1 jenkins jenkins 1930 Mar 21 09:32 Dockerfile 09:36:15 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 09:32 GOVERNANCE.md 09:36:15 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 09:32 Jenkinsfile 09:36:15 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 09:32 LICENSE 09:36:15 -rw-rw-r-- 1 jenkins jenkins 1030 Mar 21 09:32 Makefile 09:36:15 -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 09:32 OWNERS.md 09:36:15 -rw-rw-r-- 1 jenkins jenkins 2643 Mar 21 09:32 README.md 09:36:15 -rw-rw-r-- 1 jenkins jenkins 12 Mar 21 09:30 VERSION 09:36:15 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 09:32 bin 09:36:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 09:32 cmd 09:36:15 -rw-r--r-- 1 jenkins jenkins 17452 Mar 21 09:35 coverage.out 09:36:15 -rw-rw-r-- 1 jenkins jenkins 2884 Mar 21 09:32 go.mod 09:36:15 -rw-rw-r-- 1 jenkins jenkins 50572 Mar 21 09:32 go.sum 09:36:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 09:32 internal 09:36:15 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 09:32 mock 09:36:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 09:32 snap 09:36:15 -rw-rw-r-- 1 jenkins jenkins 227 Mar 21 09:32 version.go [Pipeline] isUnix [Pipeline] sh 09:36:16 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=9225b543fa42775eff825b7d98be0ff13d95165d --label arch=arm64 --label version=2.2.0-dev.11 . 09:36:16 Sending build context to Docker daemon 3.009MB 09:36:16 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 09:36:16 Step 2/24 : FROM ${BASE} AS builder 09:36:16 ---> ae0cf624525c 09:36:16 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:36:16 ---> Running in 960c3730b4cf 09:36:16 Removing intermediate container 960c3730b4cf 09:36:16 ---> 85f85fc6ba59 09:36:16 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 09:36:16 ---> Running in 7e44c81655a2 09:36:17 Removing intermediate container 7e44c81655a2 09:36:17 ---> 86a81ef5f0b5 09:36:17 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:36:17 ---> Running in 76fda1e6b3fa 09:36:18 Removing intermediate container 76fda1e6b3fa 09:36:18 ---> 8b8ff9946a72 09:36:18 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:36:19 ---> Running in 46ec12ec6b38 09:36:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:36:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:36:21 OK: 224 MiB in 56 packages 09:36:22 Removing intermediate container 46ec12ec6b38 09:36:22 ---> 3ecac2eadadc 09:36:22 Step 7/24 : WORKDIR /device-mqtt-go 09:36:22 ---> Running in 17404d58339c 09:36:23 Removing intermediate container 17404d58339c 09:36:23 ---> 7dadf112f4a3 09:36:23 Step 8/24 : COPY go.mod vendor* ./ 09:36:23 ---> 3c600a758529 09:36:23 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:36:23 ---> Running in 95f8d4805189 09:36:25 Removing intermediate container 95f8d4805189 09:36:25 ---> 94fa90383f3d 09:36:25 Step 10/24 : COPY . . 09:36:26 ---> 45fa47f93ca9 09:36:26 Step 11/24 : ARG MAKE='make build' 09:36:26 ---> Running in ef3e73c87a95 09:36:26 Removing intermediate container ef3e73c87a95 09:36:26 ---> 2ee5cbe49761 09:36:26 Step 12/24 : RUN $MAKE 09:36:26 ---> Running in 1da58eab1119 09:36:27 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.11" -o cmd/device-mqtt ./cmd 09:37:14 Removing intermediate container 1da58eab1119 09:37:14 ---> 422c713b0bb8 09:37:14 Step 13/24 : FROM alpine:3.14 09:37:14 3.14: Pulling from library/alpine 09:37:14 93a1719cf261: Pulling fs layer 09:37:14 93a1719cf261: Verifying Checksum 09:37:14 93a1719cf261: Download complete 09:37:14 93a1719cf261: Pull complete 09:37:14 Digest: sha256:beca83085fd7f5b2a2cc457ddb2ed180c090c13ad7e806530e4ef578cb5cfe7b 09:37:14 Status: Downloaded newer image for alpine:3.14 09:37:14 ---> 71a2028e5025 09:37:14 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 09:37:14 ---> Running in 89b1f23a7251 09:37:14 Removing intermediate container 89b1f23a7251 09:37:14 ---> 0d70d697a043 09:37:14 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 09:37:14 ---> Running in c754fc58b848 09:37:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:37:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:37:14 (1/6) Installing dumb-init (1.2.5-r1) 09:37:14 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:37:14 (3/6) Installing libsodium (1.0.18-r0) 09:37:14 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:37:14 (5/6) Installing libzmq (4.3.4-r0) 09:37:14 (6/6) Installing zeromq (4.3.4-r0) 09:37:14 Executing busybox-1.33.1-r6.trigger 09:37:14 OK: 8 MiB in 20 packages 09:37:14 Removing intermediate container c754fc58b848 09:37:14 ---> 64306ae655ac 09:37:14 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 09:37:14 ---> 23325bb5d564 09:37:14 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 09:37:14 ---> 14f03829538c 09:37:14 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 09:37:14 ---> 8471d037a3c3 09:37:14 Step 19/24 : EXPOSE 59982 09:37:14 ---> Running in 8efa15e317d6 09:37:14 Removing intermediate container 8efa15e317d6 09:37:14 ---> eb14d4e71c29 09:37:14 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 09:37:15 ---> Running in e98facec63d2 09:37:15 Removing intermediate container e98facec63d2 09:37:15 ---> aeeae62fb717 09:37:15 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:37:15 ---> Running in acc596123c0c 09:37:15 Removing intermediate container acc596123c0c 09:37:15 ---> b9d50271af1e 09:37:15 Step 22/24 : LABEL arch=arm64 09:37:16 ---> Running in 7344a72ef360 09:37:16 Removing intermediate container 7344a72ef360 09:37:16 ---> 6dfa5217c8f0 09:37:16 Step 23/24 : LABEL git_sha=9225b543fa42775eff825b7d98be0ff13d95165d 09:37:16 ---> Running in c4d6a4e3d3cc 09:37:16 Removing intermediate container c4d6a4e3d3cc 09:37:16 ---> ac9a5c0679ad 09:37:16 Step 24/24 : LABEL version=2.2.0-dev.11 09:37:16 ---> Running in b0ce4b7f9834 09:37:16 Removing intermediate container b0ce4b7f9834 09:37:16 ---> 91292e7f3762 09:37:16 [Warning] One or more build-args [ARCH] were not consumed 09:37:17 Successfully built 91292e7f3762 09:37:17 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:37:17 provisioning config files... 09:37:17 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/32@tmp/config9131748301142149713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:37:17 ---> docker-login.sh 09:37:17 nexus3.edgexfoundry.org:10001 09:37:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:37:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:37:17 Configure a credential helper to remove this warning. See 09:37:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:37:17 09:37:17 Login Succeeded 09:37:17 nexus3.edgexfoundry.org:10002 09:37:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:37:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:37:18 Configure a credential helper to remove this warning. See 09:37:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:37:18 09:37:18 Login Succeeded 09:37:18 nexus3.edgexfoundry.org:10003 09:37:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:37:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:37:19 Configure a credential helper to remove this warning. See 09:37:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:37:19 09:37:19 Login Succeeded 09:37:19 nexus3.edgexfoundry.org:10004 09:37:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:37:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:37:19 Configure a credential helper to remove this warning. See 09:37:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:37:19 09:37:19 Login Succeeded 09:37:19 docker.io 09:37:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:37:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:37:20 Configure a credential helper to remove this warning. See 09:37:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:37:20 09:37:20 Login Succeeded 09:37:20 ---> docker-login.sh ends [Pipeline] } 09:37:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:37:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:37:20 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 09:37:20 9225b543fa42775eff825b7d98be0ff13d95165d 09:37:20 latest 09:37:20 2.2.0-dev.11 09:37:20 9225b543fa42775eff825b7d98be0ff13d95165d-2.2.0-dev.11 09:37:20 main 09:37:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:37:20 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9225b543fa42775eff825b7d98be0ff13d95165d [Pipeline] isUnix [Pipeline] sh 09:37:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9225b543fa42775eff825b7d98be0ff13d95165d 09:37:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 09:37:21 8ac27928916d: Preparing 09:37:21 ad66ecc8704f: Preparing 09:37:21 293382ddcf9b: Preparing 09:37:21 7dd715dca2bb: Preparing 09:37:21 49c7c6f6dc6c: Preparing 09:37:21 49c7c6f6dc6c: Layer already exists 09:37:21 ad66ecc8704f: Pushed 09:37:21 8ac27928916d: Pushed 09:37:22 7dd715dca2bb: Pushed 09:37:24 293382ddcf9b: Pushed 09:37:24 9225b543fa42775eff825b7d98be0ff13d95165d: digest: sha256:dbab945f097727e599ca80e8fd0db96b0d4ea0220c2fbf68764b2bebe79bfd1c size: 1365 [Pipeline] isUnix [Pipeline] sh 09:37:24 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:37:25 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 09:37:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 09:37:25 8ac27928916d: Preparing 09:37:25 ad66ecc8704f: Preparing 09:37:25 293382ddcf9b: Preparing 09:37:25 7dd715dca2bb: Preparing 09:37:25 49c7c6f6dc6c: Preparing 09:37:25 293382ddcf9b: Layer already exists 09:37:25 ad66ecc8704f: Layer already exists 09:37:25 7dd715dca2bb: Layer already exists 09:37:25 49c7c6f6dc6c: Layer already exists 09:37:25 8ac27928916d: Layer already exists 09:37:25 latest: digest: sha256:dbab945f097727e599ca80e8fd0db96b0d4ea0220c2fbf68764b2bebe79bfd1c size: 1365 [Pipeline] isUnix [Pipeline] sh 09:37:25 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh 09:37:26 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.11 09:37:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 09:37:26 8ac27928916d: Preparing 09:37:26 ad66ecc8704f: Preparing 09:37:26 293382ddcf9b: Preparing 09:37:26 7dd715dca2bb: Preparing 09:37:26 49c7c6f6dc6c: Preparing 09:37:26 8ac27928916d: Layer already exists 09:37:26 49c7c6f6dc6c: Layer already exists 09:37:26 293382ddcf9b: Layer already exists 09:37:26 7dd715dca2bb: Layer already exists 09:37:26 ad66ecc8704f: Layer already exists 09:37:26 2.2.0-dev.11: digest: sha256:dbab945f097727e599ca80e8fd0db96b0d4ea0220c2fbf68764b2bebe79bfd1c size: 1365 [Pipeline] isUnix [Pipeline] sh 09:37:26 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9225b543fa42775eff825b7d98be0ff13d95165d-2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh 09:37:26 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9225b543fa42775eff825b7d98be0ff13d95165d-2.2.0-dev.11 09:37:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 09:37:26 8ac27928916d: Preparing 09:37:26 ad66ecc8704f: Preparing 09:37:26 293382ddcf9b: Preparing 09:37:26 7dd715dca2bb: Preparing 09:37:26 49c7c6f6dc6c: Preparing 09:37:26 ad66ecc8704f: Layer already exists 09:37:26 293382ddcf9b: Layer already exists 09:37:26 7dd715dca2bb: Layer already exists 09:37:26 8ac27928916d: Layer already exists 09:37:26 49c7c6f6dc6c: Layer already exists 09:37:27 9225b543fa42775eff825b7d98be0ff13d95165d-2.2.0-dev.11: digest: sha256:dbab945f097727e599ca80e8fd0db96b0d4ea0220c2fbf68764b2bebe79bfd1c size: 1365 [Pipeline] isUnix [Pipeline] sh 09:37:27 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 09:37:27 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 09:37:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 09:37:27 8ac27928916d: Preparing 09:37:27 ad66ecc8704f: Preparing 09:37:27 293382ddcf9b: Preparing 09:37:27 7dd715dca2bb: Preparing 09:37:27 49c7c6f6dc6c: Preparing 09:37:27 ad66ecc8704f: Layer already exists 09:37:27 8ac27928916d: Layer already exists 09:37:27 7dd715dca2bb: Layer already exists 09:37:27 293382ddcf9b: Layer already exists 09:37:27 49c7c6f6dc6c: Layer already exists 09:37:28 main: digest: sha256:dbab945f097727e599ca80e8fd0db96b0d4ea0220c2fbf68764b2bebe79bfd1c size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:37:28 ===================================================== [Pipeline] echo 09:37:28 taggedImages: 09:37:28 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9225b543fa42775eff825b7d98be0ff13d95165d 09:37:28 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 09:37:28 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.11 09:37:28 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9225b543fa42775eff825b7d98be0ff13d95165d-2.2.0-dev.11 09:37:28 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:37:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:37:28 09:37:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:37:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:37:29 arm64: Pulling from edgex-lftools-log-publisher 09:37:29 8998bd30e6a1: Pulling fs layer 09:37:29 04944245beec: Pulling fs layer 09:37:29 699f458cf7ca: Pulling fs layer 09:37:29 765212b225bb: Pulling fs layer 09:37:29 f23df028b6ca: Pulling fs layer 09:37:29 d65c8cfc05b1: Pulling fs layer 09:37:29 2437ff75d9bd: Pulling fs layer 09:37:29 f23df028b6ca: Waiting 09:37:29 d65c8cfc05b1: Waiting 09:37:29 2437ff75d9bd: Waiting 09:37:29 765212b225bb: Waiting 09:37:29 04944245beec: Verifying Checksum 09:37:29 04944245beec: Download complete 09:37:29 765212b225bb: Download complete 09:37:29 f23df028b6ca: Verifying Checksum 09:37:29 f23df028b6ca: Download complete 09:37:29 d65c8cfc05b1: Download complete 09:37:29 699f458cf7ca: Verifying Checksum 09:37:29 699f458cf7ca: Download complete 09:37:29 8998bd30e6a1: Verifying Checksum 09:37:29 8998bd30e6a1: Download complete 09:37:32 2437ff75d9bd: Verifying Checksum 09:37:32 2437ff75d9bd: Download complete 09:37:34 8998bd30e6a1: Pull complete 09:37:34 04944245beec: Pull complete 09:37:36 699f458cf7ca: Pull complete 09:37:36 765212b225bb: Pull complete 09:37:37 f23df028b6ca: Pull complete 09:37:37 d65c8cfc05b1: Pull complete 09:37:52 2437ff75d9bd: Pull complete 09:37:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:37:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:37:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:37:52 prd-ubuntu20.04-docker-arm64-4c-16g-8171 does not seem to be running inside a container 09:37:52 $ 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-mqtt-go/32 -v /w/workspace/device-mqtt-go/32:/w/workspace/device-mqtt-go/32:rw,z -v /w/workspace/device-mqtt-go/32@tmp:/w/workspace/device-mqtt-go/32@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 09:37:55 $ docker top 40a476deb28198fd211121d85a909040bc73c7e527bd11e4fe86283312d2e30a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:37:56 ---> job-cost.sh 09:37:56 lf-activate-venv: SKIPPING 09:37:56 INFO: No Stack... 09:37:56 INFO: Retrieving Pricing Info for: v3-standard-4 09:37:57 INFO: Archiving Costs [Pipeline] sh 09:37:58 + cat /w/workspace/device-mqtt-go/32/archives/cost.csv 09:37:58 + cut -d, -f6 [Pipeline] lock 09:37:58 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-32-stack-cost] 09:37:58 Resource [jenkins-edgexfoundry-device-mqtt-go-main-32-stack-cost] did not exist. Created. 09:37:58 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:37:59 /w/workspace/device-mqtt-go/32@tmp/durable-c646f78e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:37:59 + echo total: 0.10999999940395355 [Pipeline] stash 09:37:59 Warning: overwriting stash ‘stack-cost’ 09:37:59 Stashed 1 file(s) [Pipeline] } 09:37:59 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-32-stack-cost] [Pipeline] // lock [Pipeline] } 09:37:59 $ docker stop --time=1 40a476deb28198fd211121d85a909040bc73c7e527bd11e4fe86283312d2e30a 09:38:01 $ docker rm -f 40a476deb28198fd211121d85a909040bc73c7e527bd11e4fe86283312d2e30a [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 09:38:02 provisioning config files... 09:38:02 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4994589934766110931tmp [Pipeline] { [Pipeline] sh 09:38:02 + set +x 09:38:02 + + bash -s -- 09:38:02 curl -s https://codecov.io/bash 09:38:02 09:38:02 _____ _ 09:38:02 / ____| | | 09:38:02 | | ___ __| | ___ ___ _____ __ 09:38:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:38:02 | |___| (_) | (_| | __/ (_| (_) \ V / 09:38:02 \_____\___/ \__,_|\___|\___\___/ \_/ 09:38:02 Bash-1.0.6 09:38:02 09:38:02 09:38:02 ==> git version 2.25.1 found 09:38:02 ==> 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 09:38:02 Release-Date: 2020-01-08 09:38:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:38:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:38:02 ==> Jenkins CI detected. 09:38:02 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 09:38:02 project root: . 09:38:02 --> token set from env 09:38:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:38:02 ==> Running gcov in . (disable via -X gcov) 09:38:02 ==> Python coveragepy not found 09:38:02 ==> Searching for coverage reports in: 09:38:02 + . 09:38:02 -> Found 1 reports 09:38:02 ==> Detecting git/mercurial file structure 09:38:02 ==> Reading reports 09:38:02 + ./coverage.out bytes=17452 09:38:02 ==> Appending adjustments 09:38:02 https://docs.codecov.io/docs/fixing-reports 09:38:02 + Found adjustments 09:38:02 ==> Gzipping contents 09:38:02 4.0K /tmp/codecov.Wgj1da.gz 09:38:02 ==> Uploading reports 09:38:02 url: https://codecov.io 09:38:02 query: branch=main&commit=9225b543fa42775eff825b7d98be0ff13d95165d&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:38:02 -> Pinging Codecov 09:38:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=main&commit=9225b543fa42775eff825b7d98be0ff13d95165d&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:38:02 -> Uploading to 09:38:02 https://storage.googleapis.com/codecov/v4/raw/2022-03-21/7D719EC7BBE17E464838252E33014C33/9225b543fa42775eff825b7d98be0ff13d95165d/9fdc1506-d077-4d41-ba66-8ba7f3a9036d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220321T093802Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4a91ec22e117fe0041b35ca885b6276660ba3f4796598c40342556fd6a506734 09:38:02 % Total % Received % Xferd Average Speed Time Time Time Current 09:38:02 Dload Upload Total Spent Left Speed 09:38:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3210 0 0 100 3210 0 11758 --:--:-- --:--:-- --:--:-- 11758 09:38:03 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/9225b543fa42775eff825b7d98be0ff13d95165d [Pipeline] } 09:38:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:38:03 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:38:03 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:38:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:38:03 09:38:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 09:38:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:38:04 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:38:04 188c0c94c7c5: Pulling fs layer 09:38:04 0ef7d3d256c8: Pulling fs layer 09:38:04 de9db76c5a1d: Pulling fs layer 09:38:04 0eba1c9be4d2: Pulling fs layer 09:38:04 0d57e429df01: Pulling fs layer 09:38:04 4e4be7b47b0d: Pulling fs layer 09:38:04 e1f770b5df2f: Pulling fs layer 09:38:04 85a0685a4137: Pulling fs layer 09:38:04 4e4be7b47b0d: Waiting 09:38:04 e1f770b5df2f: Waiting 09:38:04 85a0685a4137: Waiting 09:38:04 0eba1c9be4d2: Waiting 09:38:04 0d57e429df01: Waiting 09:38:04 de9db76c5a1d: Download complete 09:38:04 0ef7d3d256c8: Verifying Checksum 09:38:04 0ef7d3d256c8: Download complete 09:38:04 0d57e429df01: Download complete 09:38:04 4e4be7b47b0d: Verifying Checksum 09:38:04 4e4be7b47b0d: Download complete 09:38:04 188c0c94c7c5: Download complete 09:38:04 188c0c94c7c5: Pull complete 09:38:04 e1f770b5df2f: Verifying Checksum 09:38:04 e1f770b5df2f: Download complete 09:38:04 0ef7d3d256c8: Pull complete 09:38:04 de9db76c5a1d: Pull complete 09:38:04 0eba1c9be4d2: Download complete 09:38:04 85a0685a4137: Verifying Checksum 09:38:04 85a0685a4137: Download complete 09:38:08 0eba1c9be4d2: Pull complete 09:38:08 0d57e429df01: Pull complete 09:38:08 4e4be7b47b0d: Pull complete 09:38:08 e1f770b5df2f: Pull complete 09:38:11 85a0685a4137: Pull complete 09:38:11 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 09:38:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:38:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 09:38:11 prd-ubuntu20.04-docker-8c-8g-8170 does not seem to be running inside a container 09:38:11 $ 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-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 09:38:13 $ docker top a8668b1f4d9034ede632429b151d295a2984c86ec281c296d846b1909ea4e7f6 -eo pid,comm [Pipeline] { [Pipeline] echo 09:38:14 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 09:38:14 + set -o pipefail 09:38:14 + snyk monitor '--org=edgex-jenkins' 09:38:17 09:38:17 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 09:38:17 09:38:17 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/e98fd4b0-b623-403d-87a7-96c1013f0b3c 09:38:17 09:38:17 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 09:38:17 09:38:17 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:38:17 09:38:17 [Pipeline] } 09:38:17 $ docker stop --time=1 a8668b1f4d9034ede632429b151d295a2984c86ec281c296d846b1909ea4e7f6 09:38:19 $ docker rm -f a8668b1f4d9034ede632429b151d295a2984c86ec281c296d846b1909ea4e7f6 [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 09:38:20 + git log --format=format:%s -1 9225b543fa42775eff825b7d98be0ff13d95165d [Pipeline] sh 09:38:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:38:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:38:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:38:20 . [Pipeline] withDockerContainer 09:38:20 prd-ubuntu20.04-docker-8c-8g-8170 does not seem to be running inside a container 09:38:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:38:21 $ docker top 5737fb05cfacd6d0ac5fe450ba9cab8fda9ac624c874047dfe6a967af29684a9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:38:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:38:21 [ssh-agent] Looking for ssh-agent implementation... 09:38:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:38:21 $ docker exec 5737fb05cfacd6d0ac5fe450ba9cab8fda9ac624c874047dfe6a967af29684a9 ssh-agent 09:38:21 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPBfgOm/agent.14 09:38:21 SSH_AGENT_PID=20 09:38:21 Running ssh-add (command line suppressed) 09:38:21 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2106004408509563303.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2106004408509563303.key) 09:38:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:38:22 + git semver tag 09:38:22 # -> Open(): unable to determine branch for HEAD 09:38:22 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 09:38:22 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 09:38:22 # $SEMVER_REMOTE_NAME = origin 09:38:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:38:22 # $SEMVER_USER_NAME = edgex-jenkins 09:38:22 # $SEMVER_BRANCH = main 09:38:22 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 09:38:22 # 9225b543fa42775eff825b7d98be0ff13d95165d HEAD 09:38:22 # -> Force: false 09:38:22 # 3e0e98343a4ad49ed0f74ea9c396b7162c9235e5 refs/tags/v2.2.0-dev.11 [Pipeline] } 09:38:22 $ docker exec --env ******** --env ******** 5737fb05cfacd6d0ac5fe450ba9cab8fda9ac624c874047dfe6a967af29684a9 ssh-agent -k 09:38:22 unset SSH_AUTH_SOCK; 09:38:22 unset SSH_AGENT_PID; 09:38:22 echo Agent pid 20 killed; 09:38:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:38:22 + git semver [Pipeline] } 09:38:22 $ docker stop --time=1 5737fb05cfacd6d0ac5fe450ba9cab8fda9ac624c874047dfe6a967af29684a9 09:38:23 $ docker rm -f 5737fb05cfacd6d0ac5fe450ba9cab8fda9ac624c874047dfe6a967af29684a9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 09:38:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:38:24 09:38:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 09:38:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:38:24 0.23.1-centos7: Pulling from edgex-lftools 09:38:24 ab5ef0e58194: Pulling fs layer 09:38:24 9712f1f96733: Pulling fs layer 09:38:24 63f879dbbcfc: Pulling fs layer 09:38:24 0d9ebad4ef96: Pulling fs layer 09:38:24 e9a5061849ea: Pulling fs layer 09:38:24 d747dcd14b5f: Pulling fs layer 09:38:24 2de7ff778b66: Pulling fs layer 09:38:24 0d9ebad4ef96: Waiting 09:38:24 d747dcd14b5f: Waiting 09:38:24 2de7ff778b66: Waiting 09:38:24 e9a5061849ea: Waiting 09:38:24 9712f1f96733: Verifying Checksum 09:38:24 9712f1f96733: Download complete 09:38:24 63f879dbbcfc: Verifying Checksum 09:38:24 63f879dbbcfc: Download complete 09:38:25 0d9ebad4ef96: Verifying Checksum 09:38:25 0d9ebad4ef96: Download complete 09:38:25 e9a5061849ea: Verifying Checksum 09:38:25 e9a5061849ea: Download complete 09:38:25 d747dcd14b5f: Verifying Checksum 09:38:25 d747dcd14b5f: Download complete 09:38:25 ab5ef0e58194: Download complete 09:38:25 2de7ff778b66: Verifying Checksum 09:38:25 2de7ff778b66: Download complete 09:38:27 ab5ef0e58194: Pull complete 09:38:27 9712f1f96733: Pull complete 09:38:28 63f879dbbcfc: Pull complete 09:38:32 0d9ebad4ef96: Pull complete 09:38:32 e9a5061849ea: Pull complete 09:38:32 d747dcd14b5f: Pull complete 09:38:33 2de7ff778b66: Pull complete 09:38:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:38:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:38:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 09:38:34 prd-ubuntu20.04-docker-8c-8g-8170 does not seem to be running inside a container 09:38:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:38:36 $ docker top cb6784ca35a8d334644d9b4ce27a1489065d643d08455c54de4e935330f8a062 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:38:36 provisioning config files... 09:38:36 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4683745921261050799tmp 09:38:36 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6385339441386378643tmp 09:38:36 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9170511005360587674tmp [Pipeline] { [Pipeline] echo 09:38:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:38:36 ---> sigul-configuration.sh 09:38:36 gpg: directory `/root/.gnupg' created 09:38:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:38:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:38:36 gpg: keyring `/root/.gnupg/secring.gpg' created 09:38:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:38:36 gpg: CAST5 encrypted data 09:38:36 gpg: encrypted with 1 passphrase 09:38:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:38:36 + mkdir /home/jenkins 09:38:36 + mkdir /home/jenkins/sigul [Pipeline] sh 09:38:37 + 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 09:38:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:38:37 ---> sigul-install.sh 09:38:37 Sigul already installed; skipping installation. [Pipeline] sh 09:38:37 + git tag --list 09:38:37 0.7.1 09:38:37 v1.0.0 09:38:37 v1.1.0 09:38:37 v1.1.1 09:38:37 v1.2.2 09:38:37 v1.3.0 09:38:37 v1.3.1 09:38:37 v2.0.0 09:38:37 v2.0.1-dev.1 09:38:37 v2.0.1-dev.10 09:38:37 v2.0.1-dev.11 09:38:37 v2.0.1-dev.12 09:38:37 v2.0.1-dev.13 09:38:37 v2.0.1-dev.14 09:38:37 v2.0.1-dev.15 09:38:37 v2.0.1-dev.16 09:38:37 v2.0.1-dev.17 09:38:37 v2.0.1-dev.2 09:38:37 v2.0.1-dev.3 09:38:37 v2.0.1-dev.4 09:38:37 v2.0.1-dev.5 09:38:37 v2.0.1-dev.6 09:38:37 v2.0.1-dev.7 09:38:37 v2.0.1-dev.8 09:38:37 v2.0.1-dev.9 09:38:37 v2.1.0 09:38:37 v2.2.0-dev.1 09:38:37 v2.2.0-dev.10 09:38:37 v2.2.0-dev.11 09:38:37 v2.2.0-dev.2 09:38:37 v2.2.0-dev.3 09:38:37 v2.2.0-dev.4 09:38:37 v2.2.0-dev.5 09:38:37 v2.2.0-dev.6 09:38:37 v2.2.0-dev.7 09:38:37 v2.2.0-dev.8 09:38:37 v2.2.0-dev.9 [Pipeline] sh 09:38:37 + lftools sign git-tag v2.2.0-dev.11 09:38:38 Signing Git tag with Sigul... 09:38:38 Signing v2.2.0-dev.11 [Pipeline] echo 09:38:38 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:38:39 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:38:39 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:38:39 $ docker stop --time=1 cb6784ca35a8d334644d9b4ce27a1489065d643d08455c54de4e935330f8a062 09:38:40 $ docker rm -f cb6784ca35a8d334644d9b4ce27a1489065d643d08455c54de4e935330f8a062 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:38:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:38:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:38:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:38:41 . [Pipeline] withDockerContainer 09:38:41 prd-ubuntu20.04-docker-8c-8g-8170 does not seem to be running inside a container 09:38:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:38:41 $ docker top f827fab8435fc58281738415f6800d29242c07e489fa628c4e891b12b640a84d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:38:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:38:41 [ssh-agent] Looking for ssh-agent implementation... 09:38:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:38:41 $ docker exec f827fab8435fc58281738415f6800d29242c07e489fa628c4e891b12b640a84d ssh-agent 09:38:41 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoBLldg/agent.14 09:38:41 SSH_AGENT_PID=20 09:38:41 Running ssh-add (command line suppressed) 09:38:42 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1040916677602430499.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1040916677602430499.key) 09:38:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:38:42 + git semver bump pre 09:38:42 # -> Open(): unable to determine branch for HEAD 09:38:42 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 09:38:42 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 09:38:42 # $SEMVER_REMOTE_NAME = origin 09:38:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:38:42 # $SEMVER_USER_NAME = edgex-jenkins 09:38:42 # $SEMVER_BRANCH = main 09:38:42 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 09:38:42 2.2.0-dev.12 [Pipeline] } 09:38:42 $ docker exec --env ******** --env ******** f827fab8435fc58281738415f6800d29242c07e489fa628c4e891b12b640a84d ssh-agent -k 09:38:42 unset SSH_AUTH_SOCK; 09:38:42 unset SSH_AGENT_PID; 09:38:42 echo Agent pid 20 killed; 09:38:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:38:42 + git semver [Pipeline] } 09:38:42 $ docker stop --time=1 f827fab8435fc58281738415f6800d29242c07e489fa628c4e891b12b640a84d 09:38:44 $ docker rm -f f827fab8435fc58281738415f6800d29242c07e489fa628c4e891b12b640a84d [Pipeline] // withDockerContainer [Pipeline] sh 09:38:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:38:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:38:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:38:44 . [Pipeline] withDockerContainer 09:38:44 prd-ubuntu20.04-docker-8c-8g-8170 does not seem to be running inside a container 09:38:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:38:45 $ docker top e796217a8e2bb35928ba3b1dcfaeddaa7036ca84c5865d8be2d4c9ae2746bae3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:38:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:38:45 [ssh-agent] Looking for ssh-agent implementation... 09:38:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:38:45 $ docker exec e796217a8e2bb35928ba3b1dcfaeddaa7036ca84c5865d8be2d4c9ae2746bae3 ssh-agent 09:38:45 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXALKhnh/agent.13 09:38:45 SSH_AGENT_PID=19 09:38:45 Running ssh-add (command line suppressed) 09:38:45 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7726450127994303941.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7726450127994303941.key) 09:38:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:38:46 + git semver push 09:38:46 # -> Open(): unable to determine branch for HEAD 09:38:46 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 09:38:46 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 09:38:46 # $SEMVER_REMOTE_NAME = origin 09:38:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:38:46 # $SEMVER_USER_NAME = edgex-jenkins 09:38:46 # $SEMVER_BRANCH = main 09:38:46 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 09:38:47 $ docker exec --env ******** --env ******** e796217a8e2bb35928ba3b1dcfaeddaa7036ca84c5865d8be2d4c9ae2746bae3 ssh-agent -k 09:38:48 unset SSH_AUTH_SOCK; 09:38:48 unset SSH_AGENT_PID; 09:38:48 echo Agent pid 19 killed; 09:38:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:38:48 + git semver [Pipeline] } 09:38:48 $ docker stop --time=1 e796217a8e2bb35928ba3b1dcfaeddaa7036ca84c5865d8be2d4c9ae2746bae3 09:38:49 $ docker rm -f e796217a8e2bb35928ba3b1dcfaeddaa7036ca84c5865d8be2d4c9ae2746bae3 [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 09:38:50 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 09:38:50 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 09:38:50 total 16 09:38:50 drwxr-xr-x 3 root root 4096 Mar 21 09:31 . 09:38:50 drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 09:38 .. 09:38:50 drwxr-xr-x 2 root root 4096 Mar 21 09:31 cost 09:38:50 -rw-r--r-- 1 root root 84 Mar 21 09:31 cost.csv 09:38:50 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 09:38:50 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 09:38:50 total 16 09:38:50 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 09:31 . 09:38:50 drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 09:38 .. 09:38:50 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 09:31 cost 09:38:50 -rw-r--r-- 1 jenkins jenkins 84 Mar 21 09:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:38:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:38:51 ---> package-listing.sh 09:38:51 ++ facter osfamily 09:38:51 ++ tr '[:upper:]' '[:lower:]' 09:38:51 + OS_FAMILY=debian 09:38:51 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 09:38:51 + START_PACKAGES=/tmp/packages_start.txt 09:38:51 + END_PACKAGES=/tmp/packages_end.txt 09:38:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:38:51 + PACKAGES=/tmp/packages_start.txt 09:38:51 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 09:38:51 + PACKAGES=/tmp/packages_end.txt 09:38:51 + case "${OS_FAMILY}" in 09:38:51 + dpkg -l 09:38:51 + grep '^ii' 09:38:51 + '[' -f /tmp/packages_start.txt ']' 09:38:51 + '[' -f /tmp/packages_end.txt ']' 09:38:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:38:51 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 09:38:51 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 09:38:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 09:38:51 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-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:38:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:38:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:38:52 . [Pipeline] withDockerContainer 09:38:52 prd-ubuntu20.04-docker-8c-8g-8170 does not seem to be running inside a container 09:38:52 $ 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-mqtt-go_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-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:38:53 $ docker top d44c00d390572920c082bc82e1e427cfde6c34b298c1d5d532cc8921fa595481 -eo pid,comm [Pipeline] { [Pipeline] sh 09:38:53 + touch /tmp/pre-build-complete [Pipeline] sh 09:38:53 + mkdir -p /var/log/sysstat [Pipeline] sh 09:38:54 + ls /var/log/sa-host 09:38:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:38:54 provisioning config files... 09:38:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5212389019902732931tmp [Pipeline] { [Pipeline] echo 09:38:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:38:54 ---> create-netrc.sh [Pipeline] } 09:38:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:38:54 ---> python-tools-install.sh [Pipeline] echo 09:38:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:38:55 ---> sudo-logs.sh 09:38:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:38:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:38:55 ---> job-cost.sh 09:38:55 lf-activate-venv: SKIPPING 09:38:55 DEBUG: total: 0.2199999988079071 09:38:55 INFO: Retrieving Stack Cost... 09:38:55 INFO: Retrieving Pricing Info for: v3-standard-8 09:38:56 INFO: Archiving Costs [Pipeline] echo 09:38:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:38:56 ---> logs-deploy.sh 09:38:56 lf-activate-venv: SKIPPING 09:38:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/32 09:38:56 INFO: archiving workspace using pattern(s): 09:38:57 Archives upload complete. 09:38:57 INFO: archiving logs to Nexus