Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6a0d17f3443cfc2038c22736989c6b24159166ee 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-ssh15238336341336606319.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-ssh7607472746760467821.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-ssh13027849535223252036.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-ssh18365335732707020969.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-ssh3493482706273336516.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:false] ========================================================= [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: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-10766 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 6a0d17f3443cfc2038c22736989c6b24159166ee (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 6a0d17f3443cfc2038c22736989c6b24159166ee # timeout=10 Commit message: "feat: enable gosec and default linter set (#353)" > git rev-list --no-walk a7b844beee09313a8b0584ee433be2eeca10ef2f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:06:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:06:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:06:50 ========================================================= 20:06:50 EdgeX Global Pipelines Version Info 20:06:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:06:50 ------------------- 20:06:50 stable info: 20:06:50 ------------------- 20:06:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:06:50 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 20:06:50 Message: update stable to v1.0.221 20:06:51 ------------------- 20:06:51 experimental info: 20:06:51 ------------------- 20:06:51 Commited By: **** collab-it+edgex@linuxfoundation.org 20:06:51 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 20:06:51 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:06:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:06:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6a0d17f3443cfc2038c22736989c6b24159166ee [Pipeline] echo 20:06:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6a0d17f [Pipeline] echo 20:06:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:06:52 provisioning config files... 20:06:52 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8994670344081635360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:06:52 ---> docker-login.sh 20:06:52 nexus3.edgexfoundry.org:10001 20:06:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:52 Configure a credential helper to remove this warning. See 20:06:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:52 20:06:52 Login Succeeded 20:06:52 nexus3.edgexfoundry.org:10002 20:06:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:52 Configure a credential helper to remove this warning. See 20:06:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:52 20:06:52 Login Succeeded 20:06:52 nexus3.edgexfoundry.org:10003 20:06:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:52 Configure a credential helper to remove this warning. See 20:06:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:52 20:06:52 Login Succeeded 20:06:52 nexus3.edgexfoundry.org:10004 20:06:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:53 Configure a credential helper to remove this warning. See 20:06:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:53 20:06:53 Login Succeeded 20:06:53 docker.io 20:06:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:53 Configure a credential helper to remove this warning. See 20:06:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:53 20:06:53 Login Succeeded 20:06:53 ---> docker-login.sh ends [Pipeline] } 20:06:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:06:54 + git rev-list -1 --merges 6a0d17f3443cfc2038c22736989c6b24159166ee~1..6a0d17f3443cfc2038c22736989c6b24159166ee [Pipeline] echo 20:06:54 -----------> git rev-list -1 --merges 6a0d17f3443cfc2038c22736989c6b24159166ee~1..6a0d17f3443cfc2038c22736989c6b24159166ee 6a0d17f3443cfc2038c22736989c6b24159166ee [false] [Pipeline] sh 20:06:54 + git log --format=format:%s -1 6a0d17f3443cfc2038c22736989c6b24159166ee [Pipeline] echo 20:06:54 ========================================================= 20:06:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:06:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:06:54 + git log --format=format:%s -1 6a0d17f3443cfc2038c22736989c6b24159166ee [Pipeline] echo 20:06:54 [semverPrep] GIT_COMMIT: 6a0d17f3443cfc2038c22736989c6b24159166ee, Commit Message: feat: enable gosec and default linter set (#353) [Pipeline] echo 20:06:54 [semverPrep] This is not a build commit. [Pipeline] sh 20:06:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:06:55 + grep -v github /etc/ssh/ssh_known_hosts 20:06:55 + [ -e /tmp/ssh_known_hosts ] 20:06:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:06:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:06:55 + sudo tee -a /etc/ssh/ssh_known_hosts 20:06:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:06:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:06:55 20:06:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:06:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:06:56 latest: Pulling from edgex-devops/git-semver 20:06:56 a0d0a0d46f8b: Pulling fs layer 20:06:56 3e5f54012d9b: Pulling fs layer 20:06:56 4c7163046ea9: Pulling fs layer 20:06:56 0c2d73faf560: Pulling fs layer 20:06:56 0c2d73faf560: Waiting 20:06:56 3e5f54012d9b: Verifying Checksum 20:06:56 3e5f54012d9b: Download complete 20:06:56 a0d0a0d46f8b: Download complete 20:06:56 0c2d73faf560: Verifying Checksum 20:06:56 0c2d73faf560: Download complete 20:06:56 4c7163046ea9: Verifying Checksum 20:06:56 4c7163046ea9: Download complete 20:06:56 a0d0a0d46f8b: Pull complete 20:06:56 3e5f54012d9b: Pull complete 20:06:56 4c7163046ea9: Pull complete 20:06:56 0c2d73faf560: Pull complete 20:06:56 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:06:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:06:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:06:56 prd-ubuntu20.04-docker-8c-8g-10766 does not seem to be running inside a container 20:06:56 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:06:57 $ docker top 0827947d86260f4d1675fe6677a153dd1163142aff3368b856a70ba366493721 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:06:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:06:57 [ssh-agent] Looking for ssh-agent implementation... 20:06:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:06:57 $ docker exec 0827947d86260f4d1675fe6677a153dd1163142aff3368b856a70ba366493721 ssh-agent 20:06:57 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFkfgiH/agent.13 20:06:57 SSH_AGENT_PID=19 20:06:57 Running ssh-add (command line suppressed) 20:06:58 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1773725588552950034.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1773725588552950034.key) 20:06:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:06:58 + git tag --points-at HEAD [Pipeline] } 20:06:58 $ docker exec --env ******** --env ******** 0827947d86260f4d1675fe6677a153dd1163142aff3368b856a70ba366493721 ssh-agent -k 20:06:58 unset SSH_AUTH_SOCK; 20:06:58 unset SSH_AGENT_PID; 20:06:58 echo Agent pid 19 killed; 20:06:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:06:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:06:58 [ssh-agent] Looking for ssh-agent implementation... 20:06:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:06:58 $ docker exec 0827947d86260f4d1675fe6677a153dd1163142aff3368b856a70ba366493721 ssh-agent 20:06:58 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhbNnOB/agent.52 20:06:58 SSH_AGENT_PID=59 20:06:58 Running ssh-add (command line suppressed) 20:06:58 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4811447463423851665.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4811447463423851665.key) 20:06:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:06:59 + git semver init 20:06:59 # -> Open(): unable to determine branch for HEAD 20:06:59 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 20:06:59 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 20:06:59 # $SEMVER_REMOTE_NAME = origin 20:06:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:06:59 # $SEMVER_USER_NAME = edgex-jenkins 20:06:59 # $SEMVER_BRANCH = main 20:06:59 # $SEMVER_TEMP = /tmp/semver-845533081 20:06:59 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 20:07:00 # '/tmp/semver-845533081' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' 20:07:00 # -> Force: false 20:07:00 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 20:07:00 $ docker exec --env ******** --env ******** 0827947d86260f4d1675fe6677a153dd1163142aff3368b856a70ba366493721 ssh-agent -k 20:07:00 unset SSH_AUTH_SOCK; 20:07:00 unset SSH_AGENT_PID; 20:07:00 echo Agent pid 59 killed; 20:07:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:07:00 + git semver [Pipeline] } 20:07:00 $ docker stop --time=1 0827947d86260f4d1675fe6677a153dd1163142aff3368b856a70ba366493721 20:07:01 $ docker rm -f 0827947d86260f4d1675fe6677a153dd1163142aff3368b856a70ba366493721 [Pipeline] // withDockerContainer [Pipeline] sh 20:07:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:07:02 Stashed 1 file(s) [Pipeline] echo 20:07:02 [edgeXSemver]: initialized semver on version 2.2.0-dev.13 [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 20:07:02 provisioning config files... 20:07:02 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config967230476805128147tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:07:03 ---> docker-login.sh 20:07:03 nexus3.edgexfoundry.org:10001 20:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:03 Configure a credential helper to remove this warning. See 20:07:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:03 20:07:03 Login Succeeded 20:07:03 nexus3.edgexfoundry.org:10002 20:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:03 Configure a credential helper to remove this warning. See 20:07:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:03 20:07:03 Login Succeeded 20:07:03 nexus3.edgexfoundry.org:10003 20:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:03 Configure a credential helper to remove this warning. See 20:07:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:03 20:07:03 Login Succeeded 20:07:03 nexus3.edgexfoundry.org:10004 20:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:03 Configure a credential helper to remove this warning. See 20:07:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:03 20:07:03 Login Succeeded 20:07:03 docker.io 20:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:03 Configure a credential helper to remove this warning. See 20:07:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:03 20:07:03 Login Succeeded 20:07:03 ---> docker-login.sh ends [Pipeline] } 20:07:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:07:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:07:03 ========================================================= 20:07:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:07:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:07:04 + 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 . 20:07:04 Sending build context to Docker daemon 5.792MB 20:07:04 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:07:04 Step 2/12 : FROM ${BASE} AS builder 20:07:04 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:07:04 59bf1c3509f3: Pulling fs layer 20:07:04 666ba61612fd: Pulling fs layer 20:07:04 8ed8ca486205: Pulling fs layer 20:07:04 4fe6c5a15a65: Pulling fs layer 20:07:04 22a0e8bec74d: Pulling fs layer 20:07:04 640e595b4fbd: Pulling fs layer 20:07:04 763cafe07f6e: Pulling fs layer 20:07:04 0c0b528cf693: Pulling fs layer 20:07:04 10935f4eaf8b: Pulling fs layer 20:07:04 22a0e8bec74d: Waiting 20:07:04 640e595b4fbd: Waiting 20:07:04 763cafe07f6e: Waiting 20:07:04 0c0b528cf693: Waiting 20:07:04 10935f4eaf8b: Waiting 20:07:04 4fe6c5a15a65: Waiting 20:07:04 8ed8ca486205: Verifying Checksum 20:07:04 8ed8ca486205: Download complete 20:07:04 666ba61612fd: Verifying Checksum 20:07:04 666ba61612fd: Download complete 20:07:04 22a0e8bec74d: Verifying Checksum 20:07:04 22a0e8bec74d: Download complete 20:07:04 640e595b4fbd: Verifying Checksum 20:07:04 640e595b4fbd: Download complete 20:07:04 59bf1c3509f3: Verifying Checksum 20:07:04 59bf1c3509f3: Download complete 20:07:04 763cafe07f6e: Verifying Checksum 20:07:04 763cafe07f6e: Download complete 20:07:04 0c0b528cf693: Verifying Checksum 20:07:04 0c0b528cf693: Download complete 20:07:04 59bf1c3509f3: Pull complete 20:07:04 666ba61612fd: Pull complete 20:07:04 8ed8ca486205: Pull complete 20:07:05 4fe6c5a15a65: Download complete 20:07:05 10935f4eaf8b: Verifying Checksum 20:07:05 10935f4eaf8b: Download complete 20:07:09 4fe6c5a15a65: Pull complete 20:07:09 22a0e8bec74d: Pull complete 20:07:09 640e595b4fbd: Pull complete 20:07:09 763cafe07f6e: Pull complete 20:07:09 0c0b528cf693: Pull complete 20:07:11 10935f4eaf8b: Pull complete 20:07:11 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 20:07:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:07:11 ---> 99d49a6021b9 20:07:11 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:07:12 ---> Running in a771be988063 20:07:12 Removing intermediate container a771be988063 20:07:12 ---> 8e6a723d610f 20:07:12 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:07:12 ---> Running in 04ff9a0b1fef 20:07:12 Removing intermediate container 04ff9a0b1fef 20:07:12 ---> e29cfd285a89 20:07:12 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:07:12 ---> Running in 11fc17bc0e5a 20:07:13 Removing intermediate container 11fc17bc0e5a 20:07:13 ---> 4753bb391a2c 20:07:13 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:07:13 ---> Running in cc2c76c19562 20:07:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:07:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:07:15 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:07:15 (2/4) Installing libedit (20210910.3.1-r0) 20:07:15 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:07:15 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:07:15 Executing busybox-1.34.1-r3.trigger 20:07:15 OK: 224 MiB in 56 packages 20:07:15 Removing intermediate container cc2c76c19562 20:07:15 ---> 82c1f48938ea 20:07:15 Step 7/12 : WORKDIR /device-mqtt-go 20:07:15 ---> Running in 7f5831aad7c4 20:07:15 Removing intermediate container 7f5831aad7c4 20:07:15 ---> 91435118dfb1 20:07:15 Step 8/12 : COPY go.mod vendor* ./ 20:07:16 ---> c5930636f30b 20:07:16 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:07:16 ---> Running in eb8173f3aecd 20:07:17 Still waiting to schedule task 20:07:17 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:07:42 Removing intermediate container eb8173f3aecd 20:07:42 ---> 4ea1ebe4b648 20:07:42 Step 10/12 : COPY . . 20:07:42 ---> 0217a4d3329b 20:07:42 Step 11/12 : ARG MAKE='make build' 20:07:42 ---> Running in c1a856e0a564 20:07:42 Removing intermediate container c1a856e0a564 20:07:42 ---> 94541182f798 20:07:42 Step 12/12 : RUN $MAKE 20:07:42 ---> Running in 0f327c2bab00 20:07:42 noop 20:07:42 Removing intermediate container 0f327c2bab00 20:07:42 ---> 65853fe21fbf 20:07:42 Successfully built 65853fe21fbf 20:07:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:07:43 + docker inspect -f . ci-base-image-x86_64 20:07:43 . [Pipeline] withDockerContainer 20:07:43 prd-ubuntu20.04-docker-8c-8g-10766 does not seem to be running inside a container 20:07:43 $ 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 ******** -e ******** ci-base-image-x86_64 cat 20:07:43 $ docker top 98060e1535bb7ad6e187a1e3447bf9e6d85dd66231189ded0dac8226a75ddaae -eo pid,comm [Pipeline] { [Pipeline] sh 20:07:44 + go version 20:07:44 go version go1.17.6 linux/amd64 [Pipeline] } 20:07:44 $ docker stop --time=1 98060e1535bb7ad6e187a1e3447bf9e6d85dd66231189ded0dac8226a75ddaae 20:07:45 $ docker rm -f 98060e1535bb7ad6e187a1e3447bf9e6d85dd66231189ded0dac8226a75ddaae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:07:45 + docker inspect -f . ci-base-image-x86_64 20:07:45 . [Pipeline] withDockerContainer 20:07:45 prd-ubuntu20.04-docker-8c-8g-10766 does not seem to be running inside a container 20:07:45 $ 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 ******** -e ******** ci-base-image-x86_64 cat 20:07:46 $ docker top 807243f6dbecb8126b7826844eff262baae2072ceecb83cb6007749546c50bca -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:07:46 + make test 20:07:46 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:07:46 ? github.com/edgexfoundry/device-mqtt-go [no test files] 20:07:53 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 20:07:53 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements 20:07:53 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 20:07:57 GCO_ENABLED=1 GO111MODULE=on go vet ./... 20:08:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:08:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:08:00 ./bin/test-attribution-txt.sh [Pipeline] echo 20:08:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:08:01 $ docker stop --time=1 807243f6dbecb8126b7826844eff262baae2072ceecb83cb6007749546c50bca 20:08:02 $ docker rm -f 807243f6dbecb8126b7826844eff262baae2072ceecb83cb6007749546c50bca [Pipeline] // withDockerContainer [Pipeline] sh 20:08:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:08:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:08:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:08:04 + ls -al . 20:08:04 total 188 20:08:04 drwxrwxr-x 10 jenkins jenkins 4096 Apr 5 20:08 . 20:08:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 20:06 .. 20:08:04 -rw-rw-r-- 1 jenkins jenkins 140 Apr 5 20:06 .dockerignore 20:08:04 drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 20:06 .git 20:08:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:06 .github 20:08:04 -rw-rw-r-- 1 jenkins jenkins 329 Apr 5 20:06 .gitignore 20:08:04 -rw-rw-r-- 1 jenkins jenkins 41 Apr 5 20:06 .golangci.yml 20:08:04 drwx------ 3 jenkins jenkins 4096 Apr 5 20:06 .semver 20:08:04 -rw-rw-r-- 1 jenkins jenkins 7384 Apr 5 20:06 Attribution.txt 20:08:04 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 5 20:06 CHANGELOG.md 20:08:04 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 5 20:06 Dockerfile 20:08:04 -rw-rw-r-- 1 jenkins jenkins 677 Apr 5 20:06 GOVERNANCE.md 20:08:04 -rw-rw-r-- 1 jenkins jenkins 678 Apr 5 20:06 Jenkinsfile 20:08:04 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 5 20:06 LICENSE 20:08:04 -rw-rw-r-- 1 jenkins jenkins 1531 Apr 5 20:06 Makefile 20:08:04 -rw-rw-r-- 1 jenkins jenkins 620 Apr 5 20:06 OWNERS.md 20:08:04 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 5 20:06 README.md 20:08:04 -rw-rw-r-- 1 jenkins jenkins 12 Apr 5 20:07 VERSION 20:08:04 drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:06 bin 20:08:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:06 cmd 20:08:04 -rw-r--r-- 1 jenkins jenkins 17887 Apr 5 20:07 coverage.out 20:08:04 -rw-rw-r-- 1 jenkins jenkins 2884 Apr 5 20:06 go.mod 20:08:04 -rw-rw-r-- 1 jenkins jenkins 50572 Apr 5 20:06 go.sum 20:08:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:06 internal 20:08:04 drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:06 mock 20:08:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 20:06 snap 20:08:04 -rw-rw-r-- 1 jenkins jenkins 227 Apr 5 20:06 version.go [Pipeline] isUnix [Pipeline] sh 20:08:04 + 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=6a0d17f3443cfc2038c22736989c6b24159166ee --label arch=amd64 --label version=2.2.0-dev.13 . 20:08:04 Sending build context to Docker daemon 5.811MB 20:08:04 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 20:08:04 Step 2/24 : FROM ${BASE} AS builder 20:08:04 ---> 65853fe21fbf 20:08:04 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:08:04 ---> Running in 8c822a50e276 20:08:04 Removing intermediate container 8c822a50e276 20:08:04 ---> 77c198b3f8f9 20:08:04 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 20:08:04 ---> Running in 870629ca1581 20:08:04 Removing intermediate container 870629ca1581 20:08:04 ---> 24b714757628 20:08:04 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:08:04 ---> Running in 937f51d93be3 20:08:05 Removing intermediate container 937f51d93be3 20:08:05 ---> 27bea8e8eaac 20:08:05 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:08:05 ---> Running in f0dd6fc90dcd 20:08:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:08:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:08:07 OK: 224 MiB in 56 packages 20:08:07 Removing intermediate container f0dd6fc90dcd 20:08:07 ---> 89410f6f75fb 20:08:07 Step 7/24 : WORKDIR /device-mqtt-go 20:08:07 ---> Running in 37f0fe444edd 20:08:07 Removing intermediate container 37f0fe444edd 20:08:07 ---> 2eba40bf6eef 20:08:07 Step 8/24 : COPY go.mod vendor* ./ 20:08:07 ---> b2d461851652 20:08:07 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:08:07 ---> Running in 72f9aa6914bb 20:08:08 Removing intermediate container 72f9aa6914bb 20:08:08 ---> a14985ef6093 20:08:08 Step 10/24 : COPY . . 20:08:08 ---> b052fe2edddb 20:08:08 Step 11/24 : ARG MAKE='make build' 20:08:08 ---> Running in eb38030970eb 20:08:08 Removing intermediate container eb38030970eb 20:08:08 ---> 8959b7b03e5d 20:08:08 Step 12/24 : RUN $MAKE 20:08:08 ---> Running in 06a798d7cf61 20:08:09 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.13" -o cmd/device-mqtt ./cmd 20:08:17 Removing intermediate container 06a798d7cf61 20:08:17 ---> 57f48518fa2c 20:08:17 Step 13/24 : FROM alpine:3.14 20:08:17 3.14: Pulling from library/alpine 20:08:17 8663204ce13b: Pulling fs layer 20:08:17 8663204ce13b: Verifying Checksum 20:08:17 8663204ce13b: Download complete 20:08:17 8663204ce13b: Pull complete 20:08:17 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:08:17 Status: Downloaded newer image for alpine:3.14 20:08:17 ---> e04c818066af 20:08:17 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 20:08:17 ---> Running in ef4157844aee 20:08:17 Removing intermediate container ef4157844aee 20:08:17 ---> 68f20358f010 20:08:17 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 20:08:17 ---> Running in 3bdf1d789246 20:08:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:08:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:08:17 (1/6) Installing dumb-init (1.2.5-r1) 20:08:17 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:08:17 (3/6) Installing libsodium (1.0.18-r0) 20:08:17 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:08:17 (5/6) Installing libzmq (4.3.4-r0) 20:08:17 (6/6) Installing zeromq (4.3.4-r0) 20:08:17 Executing busybox-1.33.1-r7.trigger 20:08:17 OK: 8 MiB in 20 packages 20:08:18 Removing intermediate container 3bdf1d789246 20:08:18 ---> 74701706efb0 20:08:18 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 20:08:18 ---> c15e3794e18f 20:08:18 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 20:08:18 ---> f15175b6e8d0 20:08:18 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 20:08:18 ---> 31a52369bca8 20:08:18 Step 19/24 : EXPOSE 59982 20:08:19 ---> Running in cd01a93cda54 20:08:19 Removing intermediate container cd01a93cda54 20:08:19 ---> ad2a64314284 20:08:19 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 20:08:19 ---> Running in f9cde6a0fd5d 20:08:19 Removing intermediate container f9cde6a0fd5d 20:08:19 ---> b73d54e03348 20:08:19 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:08:19 ---> Running in 77e1eba4baa6 20:08:19 Removing intermediate container 77e1eba4baa6 20:08:19 ---> 9ca2b1f6cf47 20:08:19 Step 22/24 : LABEL arch=amd64 20:08:19 ---> Running in 49d2de089a4e 20:08:19 Removing intermediate container 49d2de089a4e 20:08:19 ---> 791720ea0a7d 20:08:19 Step 23/24 : LABEL git_sha=6a0d17f3443cfc2038c22736989c6b24159166ee 20:08:19 ---> Running in 1fe4a6ac1f83 20:08:19 Removing intermediate container 1fe4a6ac1f83 20:08:19 ---> bbcb24038a33 20:08:19 Step 24/24 : LABEL version=2.2.0-dev.13 20:08:19 ---> Running in 40dcb897affe 20:08:19 Removing intermediate container 40dcb897affe 20:08:19 ---> 493d8ef6016a 20:08:19 [Warning] One or more build-args [ARCH] were not consumed 20:08:19 Successfully built 493d8ef6016a 20:08:19 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:08:19 provisioning config files... 20:08:19 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5176956006395211953tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:08:19 ---> docker-login.sh 20:08:19 nexus3.edgexfoundry.org:10001 20:08:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:19 Configure a credential helper to remove this warning. See 20:08:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:19 20:08:19 Login Succeeded 20:08:19 nexus3.edgexfoundry.org:10002 20:08:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:20 Configure a credential helper to remove this warning. See 20:08:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:20 20:08:20 Login Succeeded 20:08:20 nexus3.edgexfoundry.org:10003 20:08:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:20 Configure a credential helper to remove this warning. See 20:08:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:20 20:08:20 Login Succeeded 20:08:20 nexus3.edgexfoundry.org:10004 20:08:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:20 Configure a credential helper to remove this warning. See 20:08:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:20 20:08:20 Login Succeeded 20:08:20 docker.io 20:08:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:20 Configure a credential helper to remove this warning. See 20:08:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:20 20:08:20 Login Succeeded 20:08:20 ---> docker-login.sh ends [Pipeline] } 20:08:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:08:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:08:20 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 20:08:20 6a0d17f3443cfc2038c22736989c6b24159166ee 20:08:20 latest 20:08:20 2.2.0-dev.13 20:08:20 6a0d17f3443cfc2038c22736989c6b24159166ee-2.2.0-dev.13 20:08:20 main 20:08:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:08:21 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:6a0d17f3443cfc2038c22736989c6b24159166ee [Pipeline] isUnix [Pipeline] sh 20:08:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:6a0d17f3443cfc2038c22736989c6b24159166ee 20:08:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:08:21 942b48f3b08f: Preparing 20:08:21 073c325799fa: Preparing 20:08:21 c018f4f9f30b: Preparing 20:08:21 90ab4940b6cd: Preparing 20:08:21 b541d28bf3b4: Preparing 20:08:21 073c325799fa: Pushed 20:08:21 942b48f3b08f: Pushed 20:08:21 90ab4940b6cd: Pushed 20:08:22 b541d28bf3b4: Pushed 20:08:22 c018f4f9f30b: Pushed 20:08:22 6a0d17f3443cfc2038c22736989c6b24159166ee: digest: sha256:ddc4d0b993386a48459065a9b0596ce1a814b22cb6803d6c7904b2d9a1da77a6 size: 1366 [Pipeline] isUnix [Pipeline] sh 20:08:23 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 20:08:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 20:08:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:08:23 942b48f3b08f: Preparing 20:08:23 073c325799fa: Preparing 20:08:23 c018f4f9f30b: Preparing 20:08:23 90ab4940b6cd: Preparing 20:08:23 b541d28bf3b4: Preparing 20:08:23 942b48f3b08f: Layer already exists 20:08:23 90ab4940b6cd: Layer already exists 20:08:23 b541d28bf3b4: Layer already exists 20:08:23 c018f4f9f30b: Layer already exists 20:08:23 073c325799fa: Layer already exists 20:08:23 latest: digest: sha256:ddc4d0b993386a48459065a9b0596ce1a814b22cb6803d6c7904b2d9a1da77a6 size: 1366 [Pipeline] isUnix [Pipeline] sh 20:08:23 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh 20:08:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.13 20:08:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:08:23 942b48f3b08f: Preparing 20:08:23 073c325799fa: Preparing 20:08:23 c018f4f9f30b: Preparing 20:08:23 90ab4940b6cd: Preparing 20:08:23 b541d28bf3b4: Preparing 20:08:23 b541d28bf3b4: Layer already exists 20:08:23 942b48f3b08f: Layer already exists 20:08:23 073c325799fa: Layer already exists 20:08:23 90ab4940b6cd: Layer already exists 20:08:23 c018f4f9f30b: Layer already exists 20:08:23 2.2.0-dev.13: digest: sha256:ddc4d0b993386a48459065a9b0596ce1a814b22cb6803d6c7904b2d9a1da77a6 size: 1366 [Pipeline] isUnix [Pipeline] sh 20:08:24 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:6a0d17f3443cfc2038c22736989c6b24159166ee-2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh 20:08:24 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:6a0d17f3443cfc2038c22736989c6b24159166ee-2.2.0-dev.13 20:08:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:08:24 942b48f3b08f: Preparing 20:08:24 073c325799fa: Preparing 20:08:24 c018f4f9f30b: Preparing 20:08:24 90ab4940b6cd: Preparing 20:08:24 b541d28bf3b4: Preparing 20:08:24 c018f4f9f30b: Layer already exists 20:08:24 90ab4940b6cd: Layer already exists 20:08:24 942b48f3b08f: Layer already exists 20:08:24 073c325799fa: Layer already exists 20:08:24 b541d28bf3b4: Layer already exists 20:08:24 6a0d17f3443cfc2038c22736989c6b24159166ee-2.2.0-dev.13: digest: sha256:ddc4d0b993386a48459065a9b0596ce1a814b22cb6803d6c7904b2d9a1da77a6 size: 1366 [Pipeline] isUnix [Pipeline] sh 20:08:24 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 20:08:25 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 20:08:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:08:25 942b48f3b08f: Preparing 20:08:25 073c325799fa: Preparing 20:08:25 c018f4f9f30b: Preparing 20:08:25 90ab4940b6cd: Preparing 20:08:25 b541d28bf3b4: Preparing 20:08:25 942b48f3b08f: Layer already exists 20:08:25 b541d28bf3b4: Layer already exists 20:08:25 90ab4940b6cd: Layer already exists 20:08:25 073c325799fa: Layer already exists 20:08:25 c018f4f9f30b: Layer already exists 20:08:25 main: digest: sha256:ddc4d0b993386a48459065a9b0596ce1a814b22cb6803d6c7904b2d9a1da77a6 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:08:25 ===================================================== [Pipeline] echo 20:08:25 taggedImages: 20:08:25 - nexus3.edgexfoundry.org:10004/device-mqtt:6a0d17f3443cfc2038c22736989c6b24159166ee 20:08:25 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 20:08:25 - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.13 20:08:25 - nexus3.edgexfoundry.org:10004/device-mqtt:6a0d17f3443cfc2038c22736989c6b24159166ee-2.2.0-dev.13 20:08:25 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:08:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:08:25 20:08:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:08:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:08:25 latest: Pulling from edgex-lftools-log-publisher 20:08:25 5eb5b503b376: Pulling fs layer 20:08:25 5c69ac0246d0: Pulling fs layer 20:08:25 ec43610c2a17: Pulling fs layer 20:08:25 3a2ae6a8a46f: Pulling fs layer 20:08:25 33b1e0a273af: Pulling fs layer 20:08:25 5d3b04190fa2: Pulling fs layer 20:08:25 2f39f015ded8: Pulling fs layer 20:08:25 3a2ae6a8a46f: Waiting 20:08:25 33b1e0a273af: Waiting 20:08:25 5d3b04190fa2: Waiting 20:08:25 2f39f015ded8: Waiting 20:08:25 5c69ac0246d0: Download complete 20:08:25 3a2ae6a8a46f: Verifying Checksum 20:08:25 3a2ae6a8a46f: Download complete 20:08:25 33b1e0a273af: Verifying Checksum 20:08:25 33b1e0a273af: Download complete 20:08:25 5d3b04190fa2: Verifying Checksum 20:08:25 5d3b04190fa2: Download complete 20:08:25 ec43610c2a17: Verifying Checksum 20:08:25 ec43610c2a17: Download complete 20:08:26 5eb5b503b376: Verifying Checksum 20:08:26 5eb5b503b376: Download complete 20:08:26 2f39f015ded8: Verifying Checksum 20:08:26 2f39f015ded8: Download complete 20:08:27 5eb5b503b376: Pull complete 20:08:27 5c69ac0246d0: Pull complete 20:08:27 ec43610c2a17: Pull complete 20:08:27 3a2ae6a8a46f: Pull complete 20:08:28 33b1e0a273af: Pull complete 20:08:28 5d3b04190fa2: Pull complete 20:08:32 2f39f015ded8: Pull complete 20:08:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:08:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:08:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:08:32 prd-ubuntu20.04-docker-8c-8g-10766 does not seem to be running inside a container 20:08:32 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:08:34 $ docker top 4c72fec33ef1e2bff359ad51f1ea69af417fe46333de52fd11c9cc40b14638de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:08:34 ---> job-cost.sh 20:08:34 lf-activate-venv: SKIPPING 20:08:34 INFO: No Stack... 20:08:34 INFO: Retrieving Pricing Info for: v3-standard-8 20:08:35 INFO: Archiving Costs [Pipeline] sh 20:08:35 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 20:08:35 + cut -d, -f6 [Pipeline] lock 20:08:35 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-34-stack-cost] 20:08:35 Resource [jenkins-edgexfoundry-device-mqtt-go-main-34-stack-cost] did not exist. Created. 20:08:35 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:08:36 + echo total: 0.2199999988079071 [Pipeline] stash 20:08:36 Stashed 1 file(s) [Pipeline] } 20:08:36 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-34-stack-cost] [Pipeline] // lock [Pipeline] } 20:08:36 $ docker stop --time=1 4c72fec33ef1e2bff359ad51f1ea69af417fe46333de52fd11c9cc40b14638de 20:08:37 $ docker rm -f 4c72fec33ef1e2bff359ad51f1ea69af417fe46333de52fd11c9cc40b14638de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:08:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10768 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 20:08:58 Running in /w/workspace/device-mqtt-go/34 [Pipeline] { [Pipeline] checkout 20:08:58 Selected Git installation does not exist. Using Default 20:08:58 The recommended git tool is: NONE 20:09:04 using credential edgex-jenkins-ssh 20:09:04 Cloning the remote Git repository 20:09:05 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 20:09:05 > git init /w/workspace/device-mqtt-go/34 # timeout=10 20:09:05 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 20:09:05 > git --version # timeout=10 20:09:05 > git --version # 'git version 2.25.1' 20:09:05 using GIT_SSH to set credentials SSH Credentials for GitHub 20:09:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:09:06 Avoid second fetch 20:09:06 Checking out Revision 6a0d17f3443cfc2038c22736989c6b24159166ee (main) 20:09:06 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 20:09:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:09:06 > git config core.sparsecheckout # timeout=10 20:09:06 > git checkout -f 6a0d17f3443cfc2038c22736989c6b24159166ee # timeout=10 20:09:11 Commit message: "feat: enable gosec and default linter set (#353)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:09:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:09:12 % Total % Received % Xferd Average Speed Time Time Time Current 20:09:12 Dload Upload Total Spent Left Speed 20:09:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46261 0 --:--:-- --:--:-- --:--:-- 46261 [Pipeline] sh 20:09:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:09:13 + sudo tee /etc/docker/daemon.new 20:09:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:09:13 { 20:09:13 "registry-mirrors": [ 20:09:13 "https://nexus3.edgexfoundry.org:10001" 20:09:13 ], 20:09:13 "bip": "10.250.0.254/24", 20:09:13 "hosts": [ 20:09:13 "tcp://0.0.0.0:5555", 20:09:13 "unix:///var/run/docker.sock" 20:09:13 ], 20:09:13 "mtu": 1458, 20:09:13 "selinux-enabled": true, 20:09:13 "seccomp-profile": "/etc/docker/seccomp.json" 20:09:13 } [Pipeline] sh 20:09:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:09:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:09:32 provisioning config files... 20:09:32 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/34@tmp/config861343275604170129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:09:32 ---> docker-login.sh 20:09:32 nexus3.edgexfoundry.org:10001 20:09:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:33 Configure a credential helper to remove this warning. See 20:09:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:33 20:09:33 Login Succeeded 20:09:33 nexus3.edgexfoundry.org:10002 20:09:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:33 Configure a credential helper to remove this warning. See 20:09:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:33 20:09:33 Login Succeeded 20:09:34 nexus3.edgexfoundry.org:10003 20:09:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:34 Configure a credential helper to remove this warning. See 20:09:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:34 20:09:34 Login Succeeded 20:09:34 nexus3.edgexfoundry.org:10004 20:09:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:34 Configure a credential helper to remove this warning. See 20:09:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:34 20:09:34 Login Succeeded 20:09:34 docker.io 20:09:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:35 Configure a credential helper to remove this warning. See 20:09:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:35 20:09:35 Login Succeeded 20:09:35 ---> docker-login.sh ends [Pipeline] } 20:09:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:09:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:09:36 ========================================================= 20:09:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:09:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:09:36 + 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 . 20:09:36 Sending build context to Docker daemon 3.025MB 20:09:36 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:09:36 Step 2/12 : FROM ${BASE} AS builder 20:09:37 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:09:37 9b3977197b4f: Pulling fs layer 20:09:37 1a89e8eeedd5: Pulling fs layer 20:09:37 94645a83ff95: Pulling fs layer 20:09:37 3f3a8bcf1eab: Pulling fs layer 20:09:37 0c92f367c5e7: Pulling fs layer 20:09:37 f7c0051592d6: Pulling fs layer 20:09:37 a227ed2f7395: Pulling fs layer 20:09:37 7b1c46037f91: Pulling fs layer 20:09:37 3f3a8bcf1eab: Waiting 20:09:37 0c92f367c5e7: Waiting 20:09:37 f7c0051592d6: Waiting 20:09:37 a227ed2f7395: Waiting 20:09:37 94645a83ff95: Verifying Checksum 20:09:37 94645a83ff95: Download complete 20:09:37 1a89e8eeedd5: Verifying Checksum 20:09:37 1a89e8eeedd5: Download complete 20:09:37 0c92f367c5e7: Verifying Checksum 20:09:37 0c92f367c5e7: Download complete 20:09:37 f7c0051592d6: Verifying Checksum 20:09:37 f7c0051592d6: Download complete 20:09:37 9b3977197b4f: Verifying Checksum 20:09:37 9b3977197b4f: Download complete 20:09:37 a227ed2f7395: Verifying Checksum 20:09:37 a227ed2f7395: Download complete 20:09:38 9b3977197b4f: Pull complete 20:09:38 1a89e8eeedd5: Pull complete 20:09:39 94645a83ff95: Pull complete 20:09:39 7b1c46037f91: Verifying Checksum 20:09:39 7b1c46037f91: Download complete 20:09:39 3f3a8bcf1eab: Verifying Checksum 20:09:39 3f3a8bcf1eab: Download complete 20:09:52 3f3a8bcf1eab: Pull complete 20:09:52 0c92f367c5e7: Pull complete 20:09:52 f7c0051592d6: Pull complete 20:09:52 a227ed2f7395: Pull complete 20:09:59 7b1c46037f91: Pull complete 20:09:59 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 20:09:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:09:59 ---> f79e39bc4007 20:09:59 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:09:59 ---> Running in b5513536548b 20:10:00 Removing intermediate container b5513536548b 20:10:00 ---> b87932d5de9f 20:10:00 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:10:00 ---> Running in bbfd380d8e99 20:10:00 Removing intermediate container bbfd380d8e99 20:10:00 ---> 0d4d95dfa514 20:10:00 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:10:00 ---> Running in c5ae39c10e9e 20:10:02 Removing intermediate container c5ae39c10e9e 20:10:02 ---> 16fbd7d8d085 20:10:02 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:10:02 ---> Running in a9e9ea1fc291 20:10:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:10:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:10:05 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:10:05 (2/4) Installing libedit (20210910.3.1-r0) 20:10:05 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:10:05 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:10:05 Executing busybox-1.34.1-r3.trigger 20:10:05 OK: 224 MiB in 56 packages 20:10:06 Removing intermediate container a9e9ea1fc291 20:10:06 ---> 1463390443bb 20:10:06 Step 7/12 : WORKDIR /device-mqtt-go 20:10:06 ---> Running in 5c09794fc1be 20:10:07 Removing intermediate container 5c09794fc1be 20:10:07 ---> 7b92c98d4bcf 20:10:07 Step 8/12 : COPY go.mod vendor* ./ 20:10:07 ---> b950f5bf4578 20:10:07 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:10:07 ---> Running in ed1cdf45914d 20:11:29 Removing intermediate container ed1cdf45914d 20:11:29 ---> ef44c842b754 20:11:29 Step 10/12 : COPY . . 20:11:29 ---> b1cfb6b8509e 20:11:29 Step 11/12 : ARG MAKE='make build' 20:11:29 ---> Running in 4550a10eefb5 20:11:29 Removing intermediate container 4550a10eefb5 20:11:29 ---> fd23c046f9df 20:11:29 Step 12/12 : RUN $MAKE 20:11:29 ---> Running in 24f8d74a5c11 20:11:29 noop 20:11:30 Removing intermediate container 24f8d74a5c11 20:11:30 ---> 1ca28031887c 20:11:30 Successfully built 1ca28031887c 20:11:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:11:31 + docker inspect -f . ci-base-image-arm64 20:11:31 . [Pipeline] withDockerContainer 20:11:31 prd-ubuntu20.04-docker-arm64-4c-16g-10768 does not seem to be running inside a container 20:11:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/34 -v /w/workspace/device-mqtt-go/34:/w/workspace/device-mqtt-go/34:rw,z -v /w/workspace/device-mqtt-go/34@tmp:/w/workspace/device-mqtt-go/34@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-arm64 cat 20:11:32 $ docker top e785768aac7476b5e5395025f6d42bcb32b6c9fbf7213141be84e488962510ce -eo pid,comm [Pipeline] { [Pipeline] sh 20:11:33 + go version 20:11:33 go version go1.17.6 linux/arm64 [Pipeline] } 20:11:33 $ docker stop --time=1 e785768aac7476b5e5395025f6d42bcb32b6c9fbf7213141be84e488962510ce 20:11:35 $ docker rm -f e785768aac7476b5e5395025f6d42bcb32b6c9fbf7213141be84e488962510ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:11:36 + docker inspect -f . ci-base-image-arm64 20:11:36 . [Pipeline] withDockerContainer 20:11:36 prd-ubuntu20.04-docker-arm64-4c-16g-10768 does not seem to be running inside a container 20:11:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/34 -v /w/workspace/device-mqtt-go/34:/w/workspace/device-mqtt-go/34:rw,z -v /w/workspace/device-mqtt-go/34@tmp:/w/workspace/device-mqtt-go/34@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-arm64 cat 20:11:37 $ docker top 17a50e2edd73ac4535670df30e5798ea7959723d208498f92890dc4c5d6b6ace -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:11:38 + make test 20:11:38 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:11:40 ? github.com/edgexfoundry/device-mqtt-go [no test files] 20:12:36 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 20:12:39 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.072s coverage: 21.8% of statements 20:12:39 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 20:12:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:12:40 GCO_ENABLED=1 GO111MODULE=on go vet ./... 20:13:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:13:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:13:07 ./bin/test-attribution-txt.sh [Pipeline] echo 20:13:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:13:09 $ docker stop --time=1 17a50e2edd73ac4535670df30e5798ea7959723d208498f92890dc4c5d6b6ace 20:13:11 $ docker rm -f 17a50e2edd73ac4535670df30e5798ea7959723d208498f92890dc4c5d6b6ace [Pipeline] // withDockerContainer [Pipeline] sh 20:13:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:13:12 Warning: overwriting stash ‘coverage-report’ 20:13:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:13:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:13:14 + ls -al . 20:13:14 total 184 20:13:14 drwxrwxr-x 9 jenkins jenkins 4096 Apr 5 20:13 . 20:13:14 drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 20:09 .. 20:13:14 -rw-rw-r-- 1 jenkins jenkins 140 Apr 5 20:09 .dockerignore 20:13:14 drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 20:09 .git 20:13:14 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:09 .github 20:13:14 -rw-rw-r-- 1 jenkins jenkins 329 Apr 5 20:09 .gitignore 20:13:14 -rw-rw-r-- 1 jenkins jenkins 41 Apr 5 20:09 .golangci.yml 20:13:14 -rw-rw-r-- 1 jenkins jenkins 7384 Apr 5 20:09 Attribution.txt 20:13:14 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 5 20:09 CHANGELOG.md 20:13:14 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 5 20:09 Dockerfile 20:13:14 -rw-rw-r-- 1 jenkins jenkins 677 Apr 5 20:09 GOVERNANCE.md 20:13:14 -rw-rw-r-- 1 jenkins jenkins 678 Apr 5 20:09 Jenkinsfile 20:13:14 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 5 20:09 LICENSE 20:13:14 -rw-rw-r-- 1 jenkins jenkins 1531 Apr 5 20:09 Makefile 20:13:14 -rw-rw-r-- 1 jenkins jenkins 620 Apr 5 20:09 OWNERS.md 20:13:14 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 5 20:09 README.md 20:13:14 -rw-rw-r-- 1 jenkins jenkins 12 Apr 5 20:07 VERSION 20:13:14 drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:09 bin 20:13:14 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:09 cmd 20:13:14 -rw-r--r-- 1 jenkins jenkins 17887 Apr 5 20:12 coverage.out 20:13:14 -rw-rw-r-- 1 jenkins jenkins 2884 Apr 5 20:09 go.mod 20:13:14 -rw-rw-r-- 1 jenkins jenkins 50572 Apr 5 20:09 go.sum 20:13:14 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:09 internal 20:13:14 drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:09 mock 20:13:14 drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 20:09 snap 20:13:14 -rw-rw-r-- 1 jenkins jenkins 227 Apr 5 20:09 version.go [Pipeline] isUnix [Pipeline] sh 20:13:14 + 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=6a0d17f3443cfc2038c22736989c6b24159166ee --label arch=arm64 --label version=2.2.0-dev.13 . 20:13:15 Sending build context to Docker daemon 3.044MB 20:13:15 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 20:13:15 Step 2/24 : FROM ${BASE} AS builder 20:13:15 ---> 1ca28031887c 20:13:15 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:13:15 ---> Running in 522f78e59cc3 20:13:15 Removing intermediate container 522f78e59cc3 20:13:15 ---> 2428bb5420e1 20:13:15 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 20:13:15 ---> Running in a76e87fab9e6 20:13:16 Removing intermediate container a76e87fab9e6 20:13:16 ---> 59d6ac5219d3 20:13:16 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:13:16 ---> Running in 908fab83e3ff 20:13:18 Removing intermediate container 908fab83e3ff 20:13:18 ---> 1091832da183 20:13:18 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:13:18 ---> Running in 65aa3a949643 20:13:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:13:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:13:21 OK: 224 MiB in 56 packages 20:13:22 Removing intermediate container 65aa3a949643 20:13:22 ---> e6b2749f3845 20:13:22 Step 7/24 : WORKDIR /device-mqtt-go 20:13:22 ---> Running in 86cca185ca1e 20:13:22 Removing intermediate container 86cca185ca1e 20:13:22 ---> a72f4208aff9 20:13:22 Step 8/24 : COPY go.mod vendor* ./ 20:13:23 ---> 26338ecce2d0 20:13:23 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:13:23 ---> Running in fe58f4ccefdd 20:13:25 Removing intermediate container fe58f4ccefdd 20:13:25 ---> b209375e3ad1 20:13:25 Step 10/24 : COPY . . 20:13:26 ---> 7101d7b2cc29 20:13:26 Step 11/24 : ARG MAKE='make build' 20:13:26 ---> Running in a924ac3416a2 20:13:27 Removing intermediate container a924ac3416a2 20:13:27 ---> 9b32f826c32d 20:13:27 Step 12/24 : RUN $MAKE 20:13:27 ---> Running in 298ef5fdfa24 20:13:28 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.13" -o cmd/device-mqtt ./cmd 20:14:24 Removing intermediate container 298ef5fdfa24 20:14:24 ---> f773169a2868 20:14:24 Step 13/24 : FROM alpine:3.14 20:14:24 3.14: Pulling from library/alpine 20:14:24 455c02918c45: Pulling fs layer 20:14:24 455c02918c45: Verifying Checksum 20:14:24 455c02918c45: Pull complete 20:14:24 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:14:24 Status: Downloaded newer image for alpine:3.14 20:14:24 ---> ac73e934f311 20:14:24 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 20:14:24 ---> Running in 36fb14214b67 20:14:24 Removing intermediate container 36fb14214b67 20:14:24 ---> e7afd7d2fb91 20:14:24 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 20:14:24 ---> Running in 96834da741bb 20:14:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:14:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:14:24 (1/6) Installing dumb-init (1.2.5-r1) 20:14:24 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:14:24 (3/6) Installing libsodium (1.0.18-r0) 20:14:24 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:14:24 (5/6) Installing libzmq (4.3.4-r0) 20:14:24 (6/6) Installing zeromq (4.3.4-r0) 20:14:24 Executing busybox-1.33.1-r7.trigger 20:14:24 OK: 8 MiB in 20 packages 20:14:24 Removing intermediate container 96834da741bb 20:14:24 ---> 1112060245d6 20:14:24 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 20:14:24 ---> 0cebc7480675 20:14:24 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 20:14:24 ---> 6132e2f5bdd1 20:14:24 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 20:14:24 ---> 41ea410604c6 20:14:24 Step 19/24 : EXPOSE 59982 20:14:24 ---> Running in d867d911a0c3 20:14:24 Removing intermediate container d867d911a0c3 20:14:24 ---> bc1d0587fdc4 20:14:24 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 20:14:24 ---> Running in fbef60b85019 20:14:24 Removing intermediate container fbef60b85019 20:14:24 ---> 1ee39159f44d 20:14:24 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:14:24 ---> Running in ccf6ae5a2953 20:14:24 Removing intermediate container ccf6ae5a2953 20:14:24 ---> 9d00a48b0dc5 20:14:24 Step 22/24 : LABEL arch=arm64 20:14:24 ---> Running in f4ca2560a9fa 20:14:25 Removing intermediate container f4ca2560a9fa 20:14:25 ---> 44c2e80a6a1e 20:14:25 Step 23/24 : LABEL git_sha=6a0d17f3443cfc2038c22736989c6b24159166ee 20:14:25 ---> Running in ab5418865cc7 20:14:25 Removing intermediate container ab5418865cc7 20:14:25 ---> af71fc8d658b 20:14:25 Step 24/24 : LABEL version=2.2.0-dev.13 20:14:25 ---> Running in c02b48d78353 20:14:25 Removing intermediate container c02b48d78353 20:14:25 ---> bd3952c8a0a0 20:14:25 [Warning] One or more build-args [ARCH] were not consumed 20:14:25 Successfully built bd3952c8a0a0 20:14:25 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 20:14:25 provisioning config files... 20:14:25 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/34@tmp/config5842537212552683493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:26 ---> docker-login.sh 20:14:26 nexus3.edgexfoundry.org:10001 20:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:26 Configure a credential helper to remove this warning. See 20:14:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:26 20:14:26 Login Succeeded 20:14:26 nexus3.edgexfoundry.org:10002 20:14:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:27 Configure a credential helper to remove this warning. See 20:14:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:27 20:14:27 Login Succeeded 20:14:27 nexus3.edgexfoundry.org:10003 20:14:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:27 Configure a credential helper to remove this warning. See 20:14:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:27 20:14:27 Login Succeeded 20:14:27 nexus3.edgexfoundry.org:10004 20:14:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:28 Configure a credential helper to remove this warning. See 20:14:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:28 20:14:28 Login Succeeded 20:14:28 docker.io 20:14:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:28 Configure a credential helper to remove this warning. See 20:14:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:28 20:14:28 Login Succeeded 20:14:28 ---> docker-login.sh ends [Pipeline] } 20:14:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:14:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:14:28 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 20:14:28 6a0d17f3443cfc2038c22736989c6b24159166ee 20:14:28 latest 20:14:28 2.2.0-dev.13 20:14:28 6a0d17f3443cfc2038c22736989c6b24159166ee-2.2.0-dev.13 20:14:28 main 20:14:28 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:14:29 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6a0d17f3443cfc2038c22736989c6b24159166ee [Pipeline] isUnix [Pipeline] sh 20:14:29 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6a0d17f3443cfc2038c22736989c6b24159166ee 20:14:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:14:29 4a74e29bad97: Preparing 20:14:29 942e34f71ac7: Preparing 20:14:29 535c29c41afc: Preparing 20:14:29 46788182fd3a: Preparing 20:14:29 f73e7dbfee58: Preparing 20:14:29 942e34f71ac7: Pushed 20:14:29 4a74e29bad97: Pushed 20:14:30 46788182fd3a: Pushed 20:14:31 f73e7dbfee58: Pushed 20:14:32 535c29c41afc: Pushed 20:14:33 6a0d17f3443cfc2038c22736989c6b24159166ee: digest: sha256:970a1bcd984199e0053ab796ac3c91cb4f8a8d29b3dce40600c4e65ae04569a8 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:14:33 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:14:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 20:14:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:14:33 4a74e29bad97: Preparing 20:14:33 942e34f71ac7: Preparing 20:14:33 535c29c41afc: Preparing 20:14:33 46788182fd3a: Preparing 20:14:33 f73e7dbfee58: Preparing 20:14:33 f73e7dbfee58: Layer already exists 20:14:33 4a74e29bad97: Layer already exists 20:14:33 942e34f71ac7: Layer already exists 20:14:33 46788182fd3a: Layer already exists 20:14:33 535c29c41afc: Layer already exists 20:14:34 latest: digest: sha256:970a1bcd984199e0053ab796ac3c91cb4f8a8d29b3dce40600c4e65ae04569a8 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:14:34 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh 20:14:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.13 20:14:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:14:34 4a74e29bad97: Preparing 20:14:34 942e34f71ac7: Preparing 20:14:34 535c29c41afc: Preparing 20:14:34 46788182fd3a: Preparing 20:14:34 f73e7dbfee58: Preparing 20:14:34 f73e7dbfee58: Layer already exists 20:14:34 46788182fd3a: Layer already exists 20:14:34 4a74e29bad97: Layer already exists 20:14:34 535c29c41afc: Layer already exists 20:14:34 942e34f71ac7: Layer already exists 20:14:35 2.2.0-dev.13: digest: sha256:970a1bcd984199e0053ab796ac3c91cb4f8a8d29b3dce40600c4e65ae04569a8 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:14:35 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6a0d17f3443cfc2038c22736989c6b24159166ee-2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh 20:14:35 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6a0d17f3443cfc2038c22736989c6b24159166ee-2.2.0-dev.13 20:14:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:14:35 4a74e29bad97: Preparing 20:14:35 942e34f71ac7: Preparing 20:14:35 535c29c41afc: Preparing 20:14:35 46788182fd3a: Preparing 20:14:35 f73e7dbfee58: Preparing 20:14:35 535c29c41afc: Layer already exists 20:14:35 4a74e29bad97: Layer already exists 20:14:35 f73e7dbfee58: Layer already exists 20:14:35 942e34f71ac7: Layer already exists 20:14:35 46788182fd3a: Layer already exists 20:14:36 6a0d17f3443cfc2038c22736989c6b24159166ee-2.2.0-dev.13: digest: sha256:970a1bcd984199e0053ab796ac3c91cb4f8a8d29b3dce40600c4e65ae04569a8 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:14:36 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 20:14:36 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 20:14:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:14:36 4a74e29bad97: Preparing 20:14:36 942e34f71ac7: Preparing 20:14:36 535c29c41afc: Preparing 20:14:36 46788182fd3a: Preparing 20:14:36 f73e7dbfee58: Preparing 20:14:36 f73e7dbfee58: Layer already exists 20:14:36 942e34f71ac7: Layer already exists 20:14:36 4a74e29bad97: Layer already exists 20:14:36 46788182fd3a: Layer already exists 20:14:36 535c29c41afc: Layer already exists 20:14:36 main: digest: sha256:970a1bcd984199e0053ab796ac3c91cb4f8a8d29b3dce40600c4e65ae04569a8 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:14:37 ===================================================== [Pipeline] echo 20:14:37 taggedImages: 20:14:37 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6a0d17f3443cfc2038c22736989c6b24159166ee 20:14:37 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 20:14:37 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.13 20:14:37 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6a0d17f3443cfc2038c22736989c6b24159166ee-2.2.0-dev.13 20:14:37 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:14:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:14:37 20:14:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:14:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:14:38 arm64: Pulling from edgex-lftools-log-publisher 20:14:38 8998bd30e6a1: Pulling fs layer 20:14:38 04944245beec: Pulling fs layer 20:14:38 699f458cf7ca: Pulling fs layer 20:14:38 765212b225bb: Pulling fs layer 20:14:38 f23df028b6ca: Pulling fs layer 20:14:38 d65c8cfc05b1: Pulling fs layer 20:14:38 2437ff75d9bd: Pulling fs layer 20:14:38 765212b225bb: Waiting 20:14:38 f23df028b6ca: Waiting 20:14:38 d65c8cfc05b1: Waiting 20:14:38 2437ff75d9bd: Waiting 20:14:38 04944245beec: Verifying Checksum 20:14:38 04944245beec: Download complete 20:14:38 765212b225bb: Download complete 20:14:38 f23df028b6ca: Verifying Checksum 20:14:38 f23df028b6ca: Download complete 20:14:38 d65c8cfc05b1: Verifying Checksum 20:14:38 d65c8cfc05b1: Download complete 20:14:38 699f458cf7ca: Verifying Checksum 20:14:38 699f458cf7ca: Download complete 20:14:38 8998bd30e6a1: Verifying Checksum 20:14:38 8998bd30e6a1: Download complete 20:14:41 2437ff75d9bd: Verifying Checksum 20:14:41 2437ff75d9bd: Download complete 20:14:43 8998bd30e6a1: Pull complete 20:14:43 04944245beec: Pull complete 20:14:45 699f458cf7ca: Pull complete 20:14:45 765212b225bb: Pull complete 20:14:46 f23df028b6ca: Pull complete 20:14:46 d65c8cfc05b1: Pull complete 20:15:05 2437ff75d9bd: Pull complete 20:15:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:15:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:15:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:15:05 prd-ubuntu20.04-docker-arm64-4c-16g-10768 does not seem to be running inside a container 20:15:05 $ 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/34 -v /w/workspace/device-mqtt-go/34:/w/workspace/device-mqtt-go/34:rw,z -v /w/workspace/device-mqtt-go/34@tmp:/w/workspace/device-mqtt-go/34@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:arm64 cat 20:15:08 $ docker top b995af1d03ef41beac262cd4d130bc8e728cc61e109649bc5eb5d6abfb5a6bd2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:15:09 ---> job-cost.sh 20:15:10 lf-activate-venv: SKIPPING 20:15:10 INFO: No Stack... 20:15:10 INFO: Retrieving Pricing Info for: v3-standard-4 20:15:11 INFO: Archiving Costs [Pipeline] sh 20:15:11 + + cat /w/workspace/device-mqtt-go/34/archives/cost.csv 20:15:11 cut -d, -f6 [Pipeline] lock 20:15:12 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-34-stack-cost] 20:15:12 Resource [jenkins-edgexfoundry-device-mqtt-go-main-34-stack-cost] did not exist. Created. 20:15:12 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:15:12 /w/workspace/device-mqtt-go/34@tmp/durable-15893b28/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:15:13 + echo total: 0.10999999940395355 [Pipeline] stash 20:15:13 Warning: overwriting stash ‘stack-cost’ 20:15:13 Stashed 1 file(s) [Pipeline] } 20:15:13 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-34-stack-cost] [Pipeline] // lock [Pipeline] } 20:15:13 $ docker stop --time=1 b995af1d03ef41beac262cd4d130bc8e728cc61e109649bc5eb5d6abfb5a6bd2 20:15:15 $ docker rm -f b995af1d03ef41beac262cd4d130bc8e728cc61e109649bc5eb5d6abfb5a6bd2 [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 20:15:15 provisioning config files... 20:15:15 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1306890464083212501tmp [Pipeline] { [Pipeline] sh 20:15:15 + set +x 20:15:15 + curl -s https://codecov.io/bash 20:15:15 + bash -s -- 20:15:15 20:15:15 _____ _ 20:15:15 / ____| | | 20:15:15 | | ___ __| | ___ ___ _____ __ 20:15:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:15:15 | |___| (_) | (_| | __/ (_| (_) \ V / 20:15:15 \_____\___/ \__,_|\___|\___\___/ \_/ 20:15:15 Bash-1.0.6 20:15:15 20:15:15 20:15:15 ==> git version 2.25.1 found 20:15:15 ==> 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 20:15:15 Release-Date: 2020-01-08 20:15:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:15:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:15:15 ==> Jenkins CI detected. 20:15:15 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 20:15:15 project root: . 20:15:15 --> token set from env 20:15:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:15:15 ==> Running gcov in . (disable via -X gcov) 20:15:15 ==> Python coveragepy not found 20:15:15 ==> Searching for coverage reports in: 20:15:15 + . 20:15:15 -> Found 1 reports 20:15:15 ==> Detecting git/mercurial file structure 20:15:15 ==> Reading reports 20:15:16 + ./coverage.out bytes=17887 20:15:16 ==> Appending adjustments 20:15:16 https://docs.codecov.io/docs/fixing-reports 20:15:16 + Found adjustments 20:15:16 ==> Gzipping contents 20:15:16 4.0K /tmp/codecov.gSqNu1.gz 20:15:16 ==> Uploading reports 20:15:16 url: https://codecov.io 20:15:16 query: branch=main&commit=6a0d17f3443cfc2038c22736989c6b24159166ee&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:15:16 -> Pinging Codecov 20:15:16 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=6a0d17f3443cfc2038c22736989c6b24159166ee&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:15:16 -> Uploading to 20:15:16 https://storage.googleapis.com/codecov/v4/raw/2022-04-05/7D719EC7BBE17E464838252E33014C33/6a0d17f3443cfc2038c22736989c6b24159166ee/36c58b4b-6c0f-4d45-8b72-b987b478d7d0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220405%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220405T201516Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=57196921bcb2be2cf23daa4253bd0952ef32ba285ffec39ce892d40b0e5fd2ed 20:15:16 % Total % Received % Xferd Average Speed Time Time Time Current 20:15:16 Dload Upload Total Spent Left Speed 20:15:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3254 0 0 100 3254 0 15873 --:--:-- --:--:-- --:--:-- 15873 20:15:16 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/6a0d17f3443cfc2038c22736989c6b24159166ee [Pipeline] } 20:15:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:15:16 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:15:16 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:15:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:15:17 20:15:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 20:15:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:15:17 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:15:17 188c0c94c7c5: Pulling fs layer 20:15:17 0ef7d3d256c8: Pulling fs layer 20:15:17 de9db76c5a1d: Pulling fs layer 20:15:17 0eba1c9be4d2: Pulling fs layer 20:15:17 0d57e429df01: Pulling fs layer 20:15:17 4e4be7b47b0d: Pulling fs layer 20:15:17 e1f770b5df2f: Pulling fs layer 20:15:17 85a0685a4137: Pulling fs layer 20:15:17 0eba1c9be4d2: Waiting 20:15:17 e1f770b5df2f: Waiting 20:15:17 85a0685a4137: Waiting 20:15:17 0d57e429df01: Waiting 20:15:17 de9db76c5a1d: Verifying Checksum 20:15:17 de9db76c5a1d: Download complete 20:15:17 0ef7d3d256c8: Verifying Checksum 20:15:17 0ef7d3d256c8: Download complete 20:15:17 0d57e429df01: Download complete 20:15:17 4e4be7b47b0d: Verifying Checksum 20:15:17 4e4be7b47b0d: Download complete 20:15:17 188c0c94c7c5: Verifying Checksum 20:15:17 188c0c94c7c5: Download complete 20:15:17 188c0c94c7c5: Pull complete 20:15:17 e1f770b5df2f: Verifying Checksum 20:15:17 e1f770b5df2f: Download complete 20:15:17 0ef7d3d256c8: Pull complete 20:15:18 de9db76c5a1d: Pull complete 20:15:18 0eba1c9be4d2: Verifying Checksum 20:15:18 0eba1c9be4d2: Download complete 20:15:18 85a0685a4137: Verifying Checksum 20:15:18 85a0685a4137: Download complete 20:15:21 0eba1c9be4d2: Pull complete 20:15:21 0d57e429df01: Pull complete 20:15:21 4e4be7b47b0d: Pull complete 20:15:21 e1f770b5df2f: Pull complete 20:15:25 85a0685a4137: Pull complete 20:15:25 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 20:15:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:15:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 20:15:25 prd-ubuntu20.04-docker-8c-8g-10766 does not seem to be running inside a container 20:15:25 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:15:27 $ docker top 112a0274a71a62735a1b948b707fc0a0501315a14e576ff05bc3425fa527a2f7 -eo pid,comm [Pipeline] { [Pipeline] echo 20:15:27 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 20:15:27 + set -o pipefail 20:15:27 + snyk monitor '--org=edgex-jenkins' 20:15:49 20:15:49 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 20:15:49 20:15:49 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/97af4dde-73c0-4706-80bb-b01e63761bfb 20:15:49 20:15:49 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:15:49 20:15:49 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:15:49 20:15:49 [Pipeline] } 20:15:49 $ docker stop --time=1 112a0274a71a62735a1b948b707fc0a0501315a14e576ff05bc3425fa527a2f7 20:15:51 $ docker rm -f 112a0274a71a62735a1b948b707fc0a0501315a14e576ff05bc3425fa527a2f7 [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 20:15:51 + git log --format=format:%s -1 6a0d17f3443cfc2038c22736989c6b24159166ee [Pipeline] sh 20:15:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:15:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:15:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:15:52 . [Pipeline] withDockerContainer 20:15:52 prd-ubuntu20.04-docker-8c-8g-10766 does not seem to be running inside a container 20:15:52 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:15:52 $ docker top a2b20cab7158830705d2923e3124d8675ca54d8af689fedf680ce20be503b75e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:15:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:15:52 [ssh-agent] Looking for ssh-agent implementation... 20:15:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:15:53 $ docker exec a2b20cab7158830705d2923e3124d8675ca54d8af689fedf680ce20be503b75e ssh-agent 20:15:53 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbJJBPB/agent.14 20:15:53 SSH_AGENT_PID=20 20:15:53 Running ssh-add (command line suppressed) 20:15:53 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8805560872718106520.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8805560872718106520.key) 20:15:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:15:53 + git semver tag 20:15:53 # -> Open(): unable to determine branch for HEAD 20:15:53 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 20:15:53 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 20:15:53 # $SEMVER_REMOTE_NAME = origin 20:15:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:15:53 # $SEMVER_USER_NAME = edgex-jenkins 20:15:53 # $SEMVER_BRANCH = main 20:15:53 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 20:15:53 # 6a0d17f3443cfc2038c22736989c6b24159166ee HEAD 20:15:53 # -> Force: false 20:15:53 # 77607f9e0a4062e5b6345b81917d92d61cd6c0f3 refs/tags/v2.2.0-dev.13 [Pipeline] } 20:15:53 $ docker exec --env ******** --env ******** a2b20cab7158830705d2923e3124d8675ca54d8af689fedf680ce20be503b75e ssh-agent -k 20:15:53 unset SSH_AUTH_SOCK; 20:15:53 unset SSH_AGENT_PID; 20:15:53 echo Agent pid 20 killed; 20:15:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:15:53 + git semver [Pipeline] } 20:15:54 $ docker stop --time=1 a2b20cab7158830705d2923e3124d8675ca54d8af689fedf680ce20be503b75e 20:15:55 $ docker rm -f a2b20cab7158830705d2923e3124d8675ca54d8af689fedf680ce20be503b75e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 20:15:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:15:55 20:15:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 20:15:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:15:55 0.23.1-centos7: Pulling from edgex-lftools 20:15:55 ab5ef0e58194: Pulling fs layer 20:15:55 9712f1f96733: Pulling fs layer 20:15:55 63f879dbbcfc: Pulling fs layer 20:15:55 0d9ebad4ef96: Pulling fs layer 20:15:55 e9a5061849ea: Pulling fs layer 20:15:55 d747dcd14b5f: Pulling fs layer 20:15:55 2de7ff778b66: Pulling fs layer 20:15:55 e9a5061849ea: Waiting 20:15:55 d747dcd14b5f: Waiting 20:15:55 2de7ff778b66: Waiting 20:15:55 0d9ebad4ef96: Waiting 20:15:55 9712f1f96733: Verifying Checksum 20:15:55 9712f1f96733: Download complete 20:15:56 63f879dbbcfc: Verifying Checksum 20:15:56 63f879dbbcfc: Download complete 20:15:56 0d9ebad4ef96: Verifying Checksum 20:15:56 0d9ebad4ef96: Download complete 20:15:56 d747dcd14b5f: Download complete 20:15:56 e9a5061849ea: Verifying Checksum 20:15:56 e9a5061849ea: Download complete 20:15:56 ab5ef0e58194: Verifying Checksum 20:15:56 ab5ef0e58194: Download complete 20:15:56 2de7ff778b66: Verifying Checksum 20:15:56 2de7ff778b66: Download complete 20:15:59 ab5ef0e58194: Pull complete 20:15:59 9712f1f96733: Pull complete 20:15:59 63f879dbbcfc: Pull complete 20:16:03 0d9ebad4ef96: Pull complete 20:16:03 e9a5061849ea: Pull complete 20:16:03 d747dcd14b5f: Pull complete 20:16:04 2de7ff778b66: Pull complete 20:16:04 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:16:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:16:04 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 20:16:04 prd-ubuntu20.04-docker-8c-8g-10766 does not seem to be running inside a container 20:16:04 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:16:06 $ docker top 04ee3faf40b39b354a2416f42c02b37e9cc71f899cba582f10e0e3c6c95f8977 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:16:06 provisioning config files... 20:16:06 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config318573248707906979tmp 20:16:06 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6564246926855057410tmp 20:16:06 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9169812123556468011tmp [Pipeline] { [Pipeline] echo 20:16:06 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:16:06 ---> sigul-configuration.sh 20:16:06 gpg: directory `/root/.gnupg' created 20:16:06 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:16:06 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:16:06 gpg: keyring `/root/.gnupg/secring.gpg' created 20:16:06 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:16:06 gpg: CAST5 encrypted data 20:16:06 gpg: encrypted with 1 passphrase 20:16:06 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:16:07 + mkdir /home/jenkins 20:16:07 + mkdir /home/jenkins/sigul [Pipeline] sh 20:16:07 + 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 20:16:07 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:16:07 ---> sigul-install.sh 20:16:07 Sigul already installed; skipping installation. [Pipeline] sh 20:16:08 + git tag --list 20:16:08 0.7.1 20:16:08 v1.0.0 20:16:08 v1.1.0 20:16:08 v1.1.1 20:16:08 v1.2.2 20:16:08 v1.3.0 20:16:08 v1.3.1 20:16:08 v2.0.0 20:16:08 v2.0.1-dev.1 20:16:08 v2.0.1-dev.10 20:16:08 v2.0.1-dev.11 20:16:08 v2.0.1-dev.12 20:16:08 v2.0.1-dev.13 20:16:08 v2.0.1-dev.14 20:16:08 v2.0.1-dev.15 20:16:08 v2.0.1-dev.16 20:16:08 v2.0.1-dev.17 20:16:08 v2.0.1-dev.2 20:16:08 v2.0.1-dev.3 20:16:08 v2.0.1-dev.4 20:16:08 v2.0.1-dev.5 20:16:08 v2.0.1-dev.6 20:16:08 v2.0.1-dev.7 20:16:08 v2.0.1-dev.8 20:16:08 v2.0.1-dev.9 20:16:08 v2.1.0 20:16:08 v2.2.0-dev.1 20:16:08 v2.2.0-dev.10 20:16:08 v2.2.0-dev.11 20:16:08 v2.2.0-dev.12 20:16:08 v2.2.0-dev.13 20:16:08 v2.2.0-dev.2 20:16:08 v2.2.0-dev.3 20:16:08 v2.2.0-dev.4 20:16:08 v2.2.0-dev.5 20:16:08 v2.2.0-dev.6 20:16:08 v2.2.0-dev.7 20:16:08 v2.2.0-dev.8 20:16:08 v2.2.0-dev.9 [Pipeline] sh 20:16:08 + lftools sign git-tag v2.2.0-dev.13 20:16:08 Signing Git tag with Sigul... 20:16:08 Signing v2.2.0-dev.13 [Pipeline] echo 20:16:09 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:16:09 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:16:09 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:16:09 $ docker stop --time=1 04ee3faf40b39b354a2416f42c02b37e9cc71f899cba582f10e0e3c6c95f8977 20:16:10 $ docker rm -f 04ee3faf40b39b354a2416f42c02b37e9cc71f899cba582f10e0e3c6c95f8977 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:16:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:16:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:16:11 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:16:11 . [Pipeline] withDockerContainer 20:16:11 prd-ubuntu20.04-docker-8c-8g-10766 does not seem to be running inside a container 20:16:11 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:16:12 $ docker top cf2ac461c3a74789a3bdff21f40b2aa2affa3e0682f46fde44b309fec320068f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:16:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:16:12 [ssh-agent] Looking for ssh-agent implementation... 20:16:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:16:12 $ docker exec cf2ac461c3a74789a3bdff21f40b2aa2affa3e0682f46fde44b309fec320068f ssh-agent 20:16:12 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPKPBeC/agent.14 20:16:12 SSH_AGENT_PID=20 20:16:12 Running ssh-add (command line suppressed) 20:16:12 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8298886174919042934.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8298886174919042934.key) 20:16:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:16:12 + git semver bump pre 20:16:12 # -> Open(): unable to determine branch for HEAD 20:16:12 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 20:16:12 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 20:16:12 # $SEMVER_REMOTE_NAME = origin 20:16:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:16:12 # $SEMVER_USER_NAME = edgex-jenkins 20:16:12 # $SEMVER_BRANCH = main 20:16:12 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 20:16:12 2.2.0-dev.14 [Pipeline] } 20:16:12 $ docker exec --env ******** --env ******** cf2ac461c3a74789a3bdff21f40b2aa2affa3e0682f46fde44b309fec320068f ssh-agent -k 20:16:12 unset SSH_AUTH_SOCK; 20:16:12 unset SSH_AGENT_PID; 20:16:12 echo Agent pid 20 killed; 20:16:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:16:13 + git semver [Pipeline] } 20:16:13 $ docker stop --time=1 cf2ac461c3a74789a3bdff21f40b2aa2affa3e0682f46fde44b309fec320068f 20:16:14 $ docker rm -f cf2ac461c3a74789a3bdff21f40b2aa2affa3e0682f46fde44b309fec320068f [Pipeline] // withDockerContainer [Pipeline] sh 20:16:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:16:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:16:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:16:15 . [Pipeline] withDockerContainer 20:16:15 prd-ubuntu20.04-docker-8c-8g-10766 does not seem to be running inside a container 20:16:15 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:16:15 $ docker top 5070629789bac0d04af9e3015be3dfefffe4c54c7e05627247159fb8176df893 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:16:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:16:15 [ssh-agent] Looking for ssh-agent implementation... 20:16:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:16:15 $ docker exec 5070629789bac0d04af9e3015be3dfefffe4c54c7e05627247159fb8176df893 ssh-agent 20:16:15 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAFBlfn/agent.13 20:16:15 SSH_AGENT_PID=19 20:16:15 Running ssh-add (command line suppressed) 20:16:16 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7790560532653775212.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7790560532653775212.key) 20:16:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:16:16 + git semver push 20:16:16 # -> Open(): unable to determine branch for HEAD 20:16:16 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 20:16:16 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 20:16:16 # $SEMVER_REMOTE_NAME = origin 20:16:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:16:16 # $SEMVER_USER_NAME = edgex-jenkins 20:16:16 # $SEMVER_BRANCH = main 20:16:16 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 20:16:18 $ docker exec --env ******** --env ******** 5070629789bac0d04af9e3015be3dfefffe4c54c7e05627247159fb8176df893 ssh-agent -k 20:16:18 unset SSH_AUTH_SOCK; 20:16:18 unset SSH_AGENT_PID; 20:16:18 echo Agent pid 19 killed; 20:16:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:16:18 + git semver [Pipeline] } 20:16:18 $ docker stop --time=1 5070629789bac0d04af9e3015be3dfefffe4c54c7e05627247159fb8176df893 20:16:20 $ docker rm -f 5070629789bac0d04af9e3015be3dfefffe4c54c7e05627247159fb8176df893 [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 20:16:20 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 20:16:20 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 20:16:20 total 16 20:16:20 drwxr-xr-x 3 root root 4096 Apr 5 20:08 . 20:16:20 drwxrwxr-x 11 jenkins jenkins 4096 Apr 5 20:16 .. 20:16:20 drwxr-xr-x 2 root root 4096 Apr 5 20:08 cost 20:16:20 -rw-r--r-- 1 root root 84 Apr 5 20:08 cost.csv 20:16:20 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 20:16:20 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 20:16:20 total 16 20:16:20 drwxr-xr-x 3 jenkins jenkins 4096 Apr 5 20:08 . 20:16:20 drwxrwxr-x 11 jenkins jenkins 4096 Apr 5 20:16 .. 20:16:20 drwxr-xr-x 2 jenkins jenkins 4096 Apr 5 20:08 cost 20:16:20 -rw-r--r-- 1 jenkins jenkins 84 Apr 5 20:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:16:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:16:21 ---> package-listing.sh 20:16:21 ++ facter osfamily 20:16:21 ++ tr '[:upper:]' '[:lower:]' 20:16:21 + OS_FAMILY=debian 20:16:21 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 20:16:21 + START_PACKAGES=/tmp/packages_start.txt 20:16:21 + END_PACKAGES=/tmp/packages_end.txt 20:16:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:16:21 + PACKAGES=/tmp/packages_start.txt 20:16:21 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 20:16:21 + PACKAGES=/tmp/packages_end.txt 20:16:21 + case "${OS_FAMILY}" in 20:16:21 + dpkg -l 20:16:21 + grep '^ii' 20:16:22 + '[' -f /tmp/packages_start.txt ']' 20:16:22 + '[' -f /tmp/packages_end.txt ']' 20:16:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:16:22 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 20:16:22 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 20:16:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 20:16:22 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 20:16:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:16:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:16:22 . [Pipeline] withDockerContainer 20:16:23 prd-ubuntu20.04-docker-8c-8g-10766 does not seem to be running inside a container 20:16:23 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:16:23 $ docker top 1866413dab40ca23743bb4f1455af58012034fc4d3fc8eb94bd79913dbf52ed9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:16:23 + touch /tmp/pre-build-complete [Pipeline] sh 20:16:23 + mkdir -p /var/log/sysstat [Pipeline] sh 20:16:24 + ls /var/log/sa-host 20:16:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:16:24 provisioning config files... 20:16:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3784149694568052466tmp [Pipeline] { [Pipeline] echo 20:16:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:16:24 ---> create-netrc.sh [Pipeline] } 20:16:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:16:25 ---> python-tools-install.sh [Pipeline] echo 20:16:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:16:25 ---> sudo-logs.sh 20:16:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:16:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:16:25 ---> job-cost.sh 20:16:25 lf-activate-venv: SKIPPING 20:16:25 DEBUG: total: 0.2199999988079071 20:16:25 INFO: Retrieving Stack Cost... 20:16:26 INFO: Retrieving Pricing Info for: v3-standard-8 20:16:26 INFO: Archiving Costs [Pipeline] echo 20:16:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:16:26 ---> logs-deploy.sh 20:16:26 lf-activate-venv: SKIPPING 20:16:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/34 20:16:26 INFO: archiving workspace using pattern(s): 20:16:27 Archives upload complete. 20:16:27 INFO: archiving logs to Nexus