Pull request #1255 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 84787ea3c4d8d93349b48d7167864b2290fd8e87+0b0fd8621743a303648e9248d2aa1db21f4d7aab (dab198849e4773a7d1e803d1003c2da621db07ab) 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-ssh5914818976928165598.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh6791728393776575803.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1255/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1255/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh302165366845398227.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1255/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5179014652083443873.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh861275539592051267.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1255/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1255/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9232807551200717242.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-117804 in /w/workspace/gexfoundry_device-sdk-go_PR-1255 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1255 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 0b0fd8621743a303648e9248d2aa1db21f4d7aab into PR head commit 84787ea3c4d8d93349b48d7167864b2290fd8e87 Merge succeeded, producing 84787ea3c4d8d93349b48d7167864b2290fd8e87 Checking out Revision 84787ea3c4d8d93349b48d7167864b2290fd8e87 (PR-1255) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1255/head:refs/remotes/origin/PR-1255 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84787ea3c4d8d93349b48d7167864b2290fd8e87 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 0b0fd8621743a303648e9248d2aa1db21f4d7aab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84787ea3c4d8d93349b48d7167864b2290fd8e87 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-02T04:05:25.334Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-02T04:05:25.503Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-02T04:05:25.599Z] ========================================================= [2022-11-02T04:05:25.599Z] EdgeX Global Pipelines Version Info [2022-11-02T04:05:25.599Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:05:26.348Z] ------------------- [2022-11-02T04:05:26.348Z] stable info: [2022-11-02T04:05:26.348Z] ------------------- [2022-11-02T04:05:26.348Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-02T04:05:26.348Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-11-02T04:05:26.348Z] Message: update stable to v1.0.243 [2022-11-02T04:05:26.935Z] ------------------- [2022-11-02T04:05:26.935Z] experimental info: [2022-11-02T04:05:26.935Z] ------------------- [2022-11-02T04:05:26.935Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-02T04:05:26.935Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-11-02T04:05:26.935Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-02T04:05:27.227Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-11-02T04:05:27.267Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-11-02T04:05:27.310Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-02T04:05:27.351Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-02T04:05:27.394Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-02T04:05:27.444Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-02T04:05:27.482Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-02T04:05:27.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-11-02T04:05:27.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-02T04:05:27.606Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-02T04:05:27.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-02T04:05:27.687Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-11-02T04:05:27.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-02T04:05:27.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-02T04:05:27.808Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-02T04:05:27.856Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-11-02T04:05:27.896Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-02T04:05:27.940Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-02T04:05:27.987Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-02T04:05:28.026Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-02T04:05:28.073Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-11-02T04:05:28.114Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-11-02T04:05:28.161Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-02T04:05:28.202Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-02T04:05:28.243Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-02T04:05:28.286Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-02T04:05:28.328Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-02T04:05:28.379Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1255 [Pipeline] echo [2022-11-02T04:05:28.436Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1255 [Pipeline] echo [2022-11-02T04:05:28.501Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1255 [Pipeline] echo [2022-11-02T04:05:28.542Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 84787ea3c4d8d93349b48d7167864b2290fd8e87 [Pipeline] echo [2022-11-02T04:05:28.592Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 84787ea [Pipeline] echo [2022-11-02T04:05:28.642Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T04:05:28.769Z] provisioning config files... [2022-11-02T04:05:28.805Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1255@tmp/config9032200636109271065tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:05:29.147Z] ---> docker-login.sh [2022-11-02T04:05:29.147Z] nexus3.edgexfoundry.org:10001 [2022-11-02T04:05:29.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:05:29.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:05:29.411Z] Configure a credential helper to remove this warning. See [2022-11-02T04:05:29.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:05:29.411Z] [2022-11-02T04:05:29.411Z] Login Succeeded [2022-11-02T04:05:29.411Z] nexus3.edgexfoundry.org:10002 [2022-11-02T04:05:29.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:05:29.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:05:29.675Z] Configure a credential helper to remove this warning. See [2022-11-02T04:05:29.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:05:29.675Z] [2022-11-02T04:05:29.675Z] Login Succeeded [2022-11-02T04:05:29.675Z] nexus3.edgexfoundry.org:10003 [2022-11-02T04:05:29.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:05:29.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:05:29.675Z] Configure a credential helper to remove this warning. See [2022-11-02T04:05:29.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:05:29.675Z] [2022-11-02T04:05:29.675Z] Login Succeeded [2022-11-02T04:05:29.675Z] nexus3.edgexfoundry.org:10004 [2022-11-02T04:05:29.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:05:29.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:05:29.935Z] Configure a credential helper to remove this warning. See [2022-11-02T04:05:29.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:05:29.935Z] [2022-11-02T04:05:29.935Z] Login Succeeded [2022-11-02T04:05:29.935Z] docker.io [2022-11-02T04:05:29.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:05:30.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:05:30.201Z] Configure a credential helper to remove this warning. See [2022-11-02T04:05:30.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:05:30.201Z] [2022-11-02T04:05:30.201Z] Login Succeeded [2022-11-02T04:05:30.201Z] ---> docker-login.sh ends [Pipeline] } [2022-11-02T04:05:30.236Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-02T04:05:30.890Z] + git rev-list -1 --merges 84787ea3c4d8d93349b48d7167864b2290fd8e87~1..84787ea3c4d8d93349b48d7167864b2290fd8e87 [Pipeline] echo [2022-11-02T04:05:30.939Z] -----------> git rev-list -1 --merges 84787ea3c4d8d93349b48d7167864b2290fd8e87~1..84787ea3c4d8d93349b48d7167864b2290fd8e87 84787ea3c4d8d93349b48d7167864b2290fd8e87 [false] [Pipeline] sh [2022-11-02T04:05:31.250Z] + git log --format=format:%s -1 84787ea3c4d8d93349b48d7167864b2290fd8e87 [Pipeline] echo [2022-11-02T04:05:31.291Z] ========================================================= [2022-11-02T04:05:31.291Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-02T04:05:31.291Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-02T04:05:31.835Z] + git log --format=format:%s -1 84787ea3c4d8d93349b48d7167864b2290fd8e87 [Pipeline] echo [2022-11-02T04:05:31.870Z] [semverPrep] GIT_COMMIT: 84787ea3c4d8d93349b48d7167864b2290fd8e87, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2022-11-02T04:05:31.903Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-02T04:05:32.293Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-02T04:05:32.293Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-02T04:05:32.293Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-02T04:05:32.293Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-02T04:05:32.293Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-02T04:05:32.293Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-02T04:05:32.293Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:05:32.714Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-02T04:05:32.714Z] [2022-11-02T04:05:32.714Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:05:33.116Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-02T04:05:33.116Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-02T04:05:33.116Z] b85a868b505f: Pulling fs layer [2022-11-02T04:05:33.116Z] e2be974225ed: Pulling fs layer [2022-11-02T04:05:33.116Z] 339a4e72a1f5: Pulling fs layer [2022-11-02T04:05:33.116Z] 988bab9f4d93: Pulling fs layer [2022-11-02T04:05:33.116Z] 1469e6f7b9e6: Pulling fs layer [2022-11-02T04:05:33.116Z] eaf3925da568: Pulling fs layer [2022-11-02T04:05:33.116Z] bab4dde63d76: Pulling fs layer [2022-11-02T04:05:33.116Z] bde34c3a00c8: Pulling fs layer [2022-11-02T04:05:33.116Z] b352a97aabf1: Pulling fs layer [2022-11-02T04:05:33.116Z] 4872d77fe225: Pulling fs layer [2022-11-02T04:05:33.116Z] 5851b861e8e6: Pulling fs layer [2022-11-02T04:05:33.116Z] 988bab9f4d93: Waiting [2022-11-02T04:05:33.116Z] bab4dde63d76: Waiting [2022-11-02T04:05:33.116Z] b352a97aabf1: Waiting [2022-11-02T04:05:33.116Z] bde34c3a00c8: Waiting [2022-11-02T04:05:33.116Z] eaf3925da568: Waiting [2022-11-02T04:05:33.116Z] 5851b861e8e6: Waiting [2022-11-02T04:05:33.116Z] 4872d77fe225: Waiting [2022-11-02T04:05:33.116Z] e2be974225ed: Download complete [2022-11-02T04:05:33.116Z] 988bab9f4d93: Verifying Checksum [2022-11-02T04:05:33.116Z] 988bab9f4d93: Download complete [2022-11-02T04:05:33.382Z] 1469e6f7b9e6: Verifying Checksum [2022-11-02T04:05:33.382Z] 1469e6f7b9e6: Download complete [2022-11-02T04:05:33.382Z] eaf3925da568: Verifying Checksum [2022-11-02T04:05:33.382Z] eaf3925da568: Download complete [2022-11-02T04:05:33.382Z] 339a4e72a1f5: Verifying Checksum [2022-11-02T04:05:33.382Z] 339a4e72a1f5: Download complete [2022-11-02T04:05:33.382Z] bde34c3a00c8: Verifying Checksum [2022-11-02T04:05:33.382Z] bde34c3a00c8: Download complete [2022-11-02T04:05:33.382Z] b352a97aabf1: Download complete [2022-11-02T04:05:33.382Z] 4872d77fe225: Download complete [2022-11-02T04:05:33.382Z] 5851b861e8e6: Download complete [2022-11-02T04:05:33.382Z] b85a868b505f: Verifying Checksum [2022-11-02T04:05:33.382Z] b85a868b505f: Download complete [2022-11-02T04:05:33.640Z] bab4dde63d76: Verifying Checksum [2022-11-02T04:05:33.640Z] bab4dde63d76: Download complete [2022-11-02T04:05:35.034Z] b85a868b505f: Pull complete [2022-11-02T04:05:35.034Z] e2be974225ed: Pull complete [2022-11-02T04:05:35.608Z] 339a4e72a1f5: Pull complete [2022-11-02T04:05:35.608Z] 988bab9f4d93: Pull complete [2022-11-02T04:05:35.869Z] 1469e6f7b9e6: Pull complete [2022-11-02T04:05:36.129Z] eaf3925da568: Pull complete [2022-11-02T04:05:38.040Z] bab4dde63d76: Pull complete [2022-11-02T04:05:38.040Z] bde34c3a00c8: Pull complete [2022-11-02T04:05:38.040Z] b352a97aabf1: Pull complete [2022-11-02T04:05:38.301Z] 4872d77fe225: Pull complete [2022-11-02T04:05:38.301Z] 5851b861e8e6: Pull complete [2022-11-02T04:05:38.301Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-02T04:05:38.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-02T04:05:38.301Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T04:05:38.511Z] prd-ubuntu20.04-docker-8c-8g-117804 does not seem to be running inside a container [2022-11-02T04:05:38.542Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1255 -v /w/workspace/gexfoundry_device-sdk-go_PR-1255:/w/workspace/gexfoundry_device-sdk-go_PR-1255:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1255@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1255@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/py-git-semver:0.1.4 cat [2022-11-02T04:05:43.250Z] $ docker top 4619020fcb75fbc056b44a5be8996ff8a9c1112d6748884031752ab6a76c6181 -eo pid,comm [2022-11-02T04:05:43.308Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-11-02T04:05:43.308Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-02T04:05:43.426Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-02T04:05:43.426Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-02T04:05:43.539Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-02T04:05:43.543Z] $ docker exec 4619020fcb75fbc056b44a5be8996ff8a9c1112d6748884031752ab6a76c6181 ssh-agent [2022-11-02T04:05:43.657Z] SSH_AUTH_SOCK=/tmp/ssh-7XV675q9zokI/agent.32 [2022-11-02T04:05:43.657Z] SSH_AGENT_PID=38 [2022-11-02T04:05:43.664Z] Running ssh-add (command line suppressed) [2022-11-02T04:05:43.765Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1255@tmp/private_key_2571749183801629161.key (/w/workspace/gexfoundry_device-sdk-go_PR-1255@tmp/private_key_2571749183801629161.key) [2022-11-02T04:05:43.781Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-02T04:05:44.120Z] + git tag --points-at HEAD [Pipeline] } [2022-11-02T04:05:44.144Z] $ docker exec --env ******** --env ******** 4619020fcb75fbc056b44a5be8996ff8a9c1112d6748884031752ab6a76c6181 ssh-agent -k [2022-11-02T04:05:44.258Z] unset SSH_AUTH_SOCK; [2022-11-02T04:05:44.259Z] unset SSH_AGENT_PID; [2022-11-02T04:05:44.259Z] echo Agent pid 38 killed; [2022-11-02T04:05:44.268Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-02T04:05:44.358Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-02T04:05:44.358Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-02T04:05:44.476Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-02T04:05:44.481Z] $ docker exec 4619020fcb75fbc056b44a5be8996ff8a9c1112d6748884031752ab6a76c6181 ssh-agent [2022-11-02T04:05:44.592Z] SSH_AUTH_SOCK=/tmp/ssh-nFO4ddoKPwDh/agent.71 [2022-11-02T04:05:44.592Z] SSH_AGENT_PID=77 [2022-11-02T04:05:44.596Z] Running ssh-add (command line suppressed) [2022-11-02T04:05:44.703Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1255@tmp/private_key_8107477075494714587.key (/w/workspace/gexfoundry_device-sdk-go_PR-1255@tmp/private_key_8107477075494714587.key) [2022-11-02T04:05:44.722Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-02T04:05:45.062Z] + git semver init [2022-11-02T04:05:45.324Z] 2022-11-02 04:05:45,253 [run_init] DEBUG init version:0.0.0 force:False [2022-11-02T04:05:45.324Z] 2022-11-02 04:05:45,254 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1255/.semver [2022-11-02T04:05:45.324Z] 2022-11-02 04:05:45,254 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1255/.semver [2022-11-02T04:05:45.324Z] 2022-11-02 04:05:45,254 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1255/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1255, universal_newlines=False, shell=None, istream=None) [2022-11-02T04:05:46.715Z] 2022-11-02 04:05:46,297 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1255/.git/info/exclude [2022-11-02T04:05:46.715Z] 2022-11-02 04:05:46,297 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1255/.semver/PR-1255 with force:False [2022-11-02T04:05:46.715Z] 2022-11-02 04:05:46,298 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1255/.semver/PR-1255 [2022-11-02T04:05:46.715Z] 2022-11-02 04:05:46,302 [execute] INFO git cat-file --batch-check [2022-11-02T04:05:46.715Z] 2022-11-02 04:05:46,302 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1255/.semver, universal_newlines=False, shell=None, istream=) [2022-11-02T04:05:46.715Z] 2022-11-02 04:05:46,309 [execute] INFO git cat-file --batch [2022-11-02T04:05:46.715Z] 2022-11-02 04:05:46,310 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1255/.semver, universal_newlines=False, shell=None, istream=) [2022-11-02T04:05:46.715Z] 2022-11-02 04:05:46,316 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1255/.semver/PR-1255 [2022-11-02T04:05:46.715Z] 0.0.0 [Pipeline] } [2022-11-02T04:05:46.745Z] $ docker exec --env ******** --env ******** 4619020fcb75fbc056b44a5be8996ff8a9c1112d6748884031752ab6a76c6181 ssh-agent -k [2022-11-02T04:05:46.840Z] unset SSH_AUTH_SOCK; [2022-11-02T04:05:46.840Z] unset SSH_AGENT_PID; [2022-11-02T04:05:46.841Z] echo Agent pid 77 killed; [2022-11-02T04:05:46.847Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-02T04:05:47.269Z] + git semver [Pipeline] } [2022-11-02T04:05:47.559Z] $ docker stop --time=1 4619020fcb75fbc056b44a5be8996ff8a9c1112d6748884031752ab6a76c6181 [2022-11-02T04:05:48.878Z] $ docker rm -f 4619020fcb75fbc056b44a5be8996ff8a9c1112d6748884031752ab6a76c6181 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-02T04:05:49.291Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-02T04:05:49.559Z] Stashed 1 file(s) [Pipeline] echo [2022-11-02T04:05:49.573Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T04:05:50.293Z] provisioning config files... [2022-11-02T04:05:50.301Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1255@tmp/config6734418180765907286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:05:50.659Z] ---> docker-login.sh [2022-11-02T04:05:50.659Z] nexus3.edgexfoundry.org:10001 [2022-11-02T04:05:50.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:05:50.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:05:50.659Z] Configure a credential helper to remove this warning. See [2022-11-02T04:05:50.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:05:50.659Z] [2022-11-02T04:05:50.659Z] Login Succeeded [2022-11-02T04:05:50.659Z] nexus3.edgexfoundry.org:10002 [2022-11-02T04:05:50.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:05:50.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:05:50.659Z] Configure a credential helper to remove this warning. See [2022-11-02T04:05:50.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:05:50.659Z] [2022-11-02T04:05:50.659Z] Login Succeeded [2022-11-02T04:05:50.659Z] nexus3.edgexfoundry.org:10003 [2022-11-02T04:05:50.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:05:50.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:05:50.918Z] Configure a credential helper to remove this warning. See [2022-11-02T04:05:50.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:05:50.918Z] [2022-11-02T04:05:50.918Z] Login Succeeded [2022-11-02T04:05:50.918Z] nexus3.edgexfoundry.org:10004 [2022-11-02T04:05:50.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:05:50.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:05:50.918Z] Configure a credential helper to remove this warning. See [2022-11-02T04:05:50.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:05:50.918Z] [2022-11-02T04:05:50.918Z] Login Succeeded [2022-11-02T04:05:50.918Z] docker.io [2022-11-02T04:05:51.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:05:51.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:05:51.438Z] Configure a credential helper to remove this warning. See [2022-11-02T04:05:51.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:05:51.438Z] [2022-11-02T04:05:51.438Z] Login Succeeded [2022-11-02T04:05:51.438Z] ---> docker-login.sh ends [Pipeline] } [2022-11-02T04:05:51.476Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-02T04:05:51.653Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T04:05:51.686Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T04:05:51.714Z] ========================================================= [2022-11-02T04:05:51.714Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-02T04:05:51.714Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:05:52.182Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-02T04:05:52.182Z] Sending build context to Docker daemon 10.13MB [2022-11-02T04:05:52.182Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T04:05:52.182Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-02T04:05:52.447Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-02T04:05:52.447Z] 213ec9aee27d: Pulling fs layer [2022-11-02T04:05:52.447Z] 4583459ba037: Pulling fs layer [2022-11-02T04:05:52.447Z] 93c1e223e6f2: Pulling fs layer [2022-11-02T04:05:52.447Z] 53926ce57604: Pulling fs layer [2022-11-02T04:05:52.447Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-02T04:05:52.447Z] 30f14e443154: Pulling fs layer [2022-11-02T04:05:52.447Z] 801331c1e519: Pulling fs layer [2022-11-02T04:05:52.447Z] 99cc6dd402b0: Pulling fs layer [2022-11-02T04:05:52.447Z] 7d9ed39f4882: Pulling fs layer [2022-11-02T04:05:52.447Z] 53926ce57604: Waiting [2022-11-02T04:05:52.447Z] 21b2b0c7a3f4: Waiting [2022-11-02T04:05:52.447Z] 30f14e443154: Waiting [2022-11-02T04:05:52.447Z] 801331c1e519: Waiting [2022-11-02T04:05:52.447Z] 7d9ed39f4882: Waiting [2022-11-02T04:05:52.447Z] 99cc6dd402b0: Waiting [2022-11-02T04:05:52.447Z] 93c1e223e6f2: Verifying Checksum [2022-11-02T04:05:52.447Z] 93c1e223e6f2: Download complete [2022-11-02T04:05:52.447Z] 4583459ba037: Download complete [2022-11-02T04:05:52.447Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-02T04:05:52.447Z] 21b2b0c7a3f4: Download complete [2022-11-02T04:05:52.447Z] 30f14e443154: Download complete [2022-11-02T04:05:52.447Z] 213ec9aee27d: Verifying Checksum [2022-11-02T04:05:52.447Z] 213ec9aee27d: Download complete [2022-11-02T04:05:52.447Z] 801331c1e519: Download complete [2022-11-02T04:05:52.720Z] 213ec9aee27d: Pull complete [2022-11-02T04:05:52.720Z] 4583459ba037: Pull complete [2022-11-02T04:05:52.720Z] 93c1e223e6f2: Pull complete [2022-11-02T04:05:53.315Z] 7d9ed39f4882: Verifying Checksum [2022-11-02T04:05:53.315Z] 7d9ed39f4882: Download complete [2022-11-02T04:05:53.315Z] 53926ce57604: Verifying Checksum [2022-11-02T04:05:53.315Z] 53926ce57604: Download complete [2022-11-02T04:05:53.573Z] 99cc6dd402b0: Verifying Checksum [2022-11-02T04:05:53.573Z] 99cc6dd402b0: Download complete [2022-11-02T04:05:56.859Z] 53926ce57604: Pull complete [2022-11-02T04:05:57.116Z] 21b2b0c7a3f4: Pull complete [2022-11-02T04:05:57.116Z] 30f14e443154: Pull complete [2022-11-02T04:05:57.116Z] 801331c1e519: Pull complete [2022-11-02T04:05:59.644Z] 99cc6dd402b0: Pull complete [2022-11-02T04:06:01.024Z] 7d9ed39f4882: Pull complete [2022-11-02T04:06:01.024Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-11-02T04:06:01.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-02T04:06:01.295Z] ---> 1dedd983c030 [2022-11-02T04:06:01.295Z] Step 3/10 : ARG MAKE=make build [2022-11-02T04:06:05.087Z] Still waiting to schedule task [2022-11-02T04:06:05.087Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-117799’ [2022-11-02T04:06:13.513Z] ---> Running in bdc6d6221db7 [2022-11-02T04:06:13.514Z] Removing intermediate container bdc6d6221db7 [2022-11-02T04:06:13.514Z] ---> 06c67b5a41f0 [2022-11-02T04:06:13.514Z] Step 4/10 : WORKDIR /device-sdk-go [2022-11-02T04:06:13.514Z] ---> Running in 0b861d61b232 [2022-11-02T04:06:13.514Z] Removing intermediate container 0b861d61b232 [2022-11-02T04:06:13.514Z] ---> c27f08c37be2 [2022-11-02T04:06:13.514Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-02T04:06:13.514Z] ---> Running in 79cac0002497 [2022-11-02T04:06:13.514Z] Removing intermediate container 79cac0002497 [2022-11-02T04:06:13.514Z] ---> ffabe04c7516 [2022-11-02T04:06:13.514Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-02T04:06:13.514Z] ---> Running in d631f95cce8d [2022-11-02T04:06:13.514Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-02T04:06:13.514Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-02T04:06:13.774Z] OK: 211 MiB in 51 packages [2022-11-02T04:06:14.031Z] Removing intermediate container d631f95cce8d [2022-11-02T04:06:14.031Z] ---> 5f62de8ab822 [2022-11-02T04:06:14.031Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-02T04:06:14.290Z] ---> 6834f46c6bc0 [2022-11-02T04:06:14.290Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T04:06:14.290Z] ---> Running in 660eebcdd5d4 [2022-11-02T04:06:46.414Z] Removing intermediate container 660eebcdd5d4 [2022-11-02T04:06:46.414Z] ---> d9b322f3122b [2022-11-02T04:06:46.414Z] Step 9/10 : COPY . . [2022-11-02T04:06:46.414Z] ---> c6cf1f9460cd [2022-11-02T04:06:46.414Z] Step 10/10 : RUN ${MAKE} [2022-11-02T04:06:46.414Z] ---> Running in 1b1b59165fe0 [2022-11-02T04:06:46.414Z] noop [2022-11-02T04:06:46.414Z] Removing intermediate container 1b1b59165fe0 [2022-11-02T04:06:46.414Z] ---> 619275e260da [2022-11-02T04:06:46.414Z] Successfully built 619275e260da [2022-11-02T04:06:46.414Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:06:46.869Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-02T04:06:46.869Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T04:06:47.024Z] prd-ubuntu20.04-docker-8c-8g-117804 does not seem to be running inside a container [2022-11-02T04:06:47.055Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1255 -v /w/workspace/gexfoundry_device-sdk-go_PR-1255:/w/workspace/gexfoundry_device-sdk-go_PR-1255:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1255@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1255@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-02T04:06:47.368Z] $ docker top 5e0d0256bc839ae8eb04cb64e039c0c943c2595b214496ff9d27a1a0d828d94b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T04:06:47.765Z] + go version [2022-11-02T04:06:47.765Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-02T04:06:47.793Z] $ docker stop --time=1 5e0d0256bc839ae8eb04cb64e039c0c943c2595b214496ff9d27a1a0d828d94b [2022-11-02T04:06:49.048Z] $ docker rm -f 5e0d0256bc839ae8eb04cb64e039c0c943c2595b214496ff9d27a1a0d828d94b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:06:49.766Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-02T04:06:49.766Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T04:06:49.903Z] prd-ubuntu20.04-docker-8c-8g-117804 does not seem to be running inside a container [2022-11-02T04:06:49.933Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1255 -v /w/workspace/gexfoundry_device-sdk-go_PR-1255:/w/workspace/gexfoundry_device-sdk-go_PR-1255:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1255@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1255@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-02T04:06:50.253Z] $ docker top f27a3bee5d65b9e57578e0efe35a4f229ec7502f4eff202a14eeb9b6dfad4614 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T04:06:50.636Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1255 [Pipeline] fileExists [Pipeline] sh [2022-11-02T04:06:50.992Z] + make test [2022-11-02T04:06:50.992Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-11-02T04:06:57.542Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-11-02T04:07:09.741Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-11-02T04:07:09.742Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-11-02T04:07:09.742Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-11-02T04:07:09.742Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-11-02T04:07:09.742Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-11-02T04:07:09.742Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.071s coverage: 27.6% of statements [2022-11-02T04:07:09.742Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.072s coverage: 78.9% of statements [2022-11-02T04:07:09.742Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-11-02T04:07:09.742Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.078s coverage: 73.1% of statements [2022-11-02T04:07:09.742Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-11-02T04:07:09.742Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-11-02T04:07:10.310Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.116s coverage: 54.4% of statements [2022-11-02T04:07:10.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-11-02T04:07:10.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-11-02T04:07:10.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-11-02T04:07:10.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-11-02T04:07:10.310Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.086s coverage: 65.1% of statements [2022-11-02T04:07:10.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-11-02T04:07:10.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-11-02T04:07:10.310Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.760s coverage: 89.2% of statements [2022-11-02T04:07:10.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-11-02T04:07:10.310Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements [2022-11-02T04:07:10.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-11-02T04:07:25.365Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-11-02T04:07:25.365Z] GO111MODULE=on go vet ./... [2022-11-02T04:07:28.048Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-02T04:07:28.048Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-02T04:07:28.048Z] ./bin/test-attribution-txt.sh [2022-11-02T04:07:28.048Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-11-02T04:07:28.048Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-11-02T04:07:28.048Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-11-02T04:07:28.048Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-11-02T04:07:28.087Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-02T04:07:28.121Z] $ docker stop --time=1 f27a3bee5d65b9e57578e0efe35a4f229ec7502f4eff202a14eeb9b6dfad4614 [2022-11-02T04:07:36.743Z] $ docker rm -f f27a3bee5d65b9e57578e0efe35a4f229ec7502f4eff202a14eeb9b6dfad4614 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-02T04:07:37.334Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-02T04:07:37.430Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-02T04:07:38.034Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-02T04:07:38.370Z] + ls -al . [2022-11-02T04:07:38.370Z] total 280 [2022-11-02T04:07:38.370Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 2 04:06 . [2022-11-02T04:07:38.370Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 04:05 .. [2022-11-02T04:07:38.370Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 2 04:05 .dockerignore [2022-11-02T04:07:38.370Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 04:07 .git [2022-11-02T04:07:38.370Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 04:05 .github [2022-11-02T04:07:38.370Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 2 04:05 .gitignore [2022-11-02T04:07:38.370Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 2 04:05 .golangci.yml [2022-11-02T04:07:38.370Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 04:05 .semver [2022-11-02T04:07:38.370Z] -rw-rw-r-- 1 jenkins jenkins 31677 Nov 2 04:05 CHANGELOG.md [2022-11-02T04:07:38.370Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 04:05 GOVERNANCE.md [2022-11-02T04:07:38.370Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 2 04:05 Jenkinsfile [2022-11-02T04:07:38.370Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 2 04:05 LICENSE [2022-11-02T04:07:38.370Z] -rw-rw-r-- 1 jenkins jenkins 2003 Nov 2 04:05 Makefile [2022-11-02T04:07:38.370Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 2 04:05 OWNERS.md [2022-11-02T04:07:38.370Z] -rw-rw-r-- 1 jenkins jenkins 4881 Nov 2 04:05 README.md [2022-11-02T04:07:38.370Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 04:05 VERSION [2022-11-02T04:07:38.370Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 04:05 bin [2022-11-02T04:07:38.370Z] -rw-r--r-- 1 jenkins jenkins 101759 Nov 2 04:07 coverage.out [2022-11-02T04:07:38.370Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 2 04:05 example [2022-11-02T04:07:38.370Z] -rw-rw-r-- 1 jenkins jenkins 3389 Nov 2 04:05 go.mod [2022-11-02T04:07:38.370Z] -rw-rw-r-- 1 jenkins jenkins 44507 Nov 2 04:05 go.sum [2022-11-02T04:07:38.370Z] drwxrwxr-x 14 jenkins jenkins 4096 Nov 2 04:05 internal [2022-11-02T04:07:38.370Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 04:05 openapi [2022-11-02T04:07:38.370Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 2 04:05 pkg [2022-11-02T04:07:38.370Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 04:05 snap [2022-11-02T04:07:38.370Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 2 04:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:07:38.785Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=84787ea3c4d8d93349b48d7167864b2290fd8e87 --label arch=amd64 --label version=0.0.0 . [2022-11-02T04:07:38.785Z] Sending build context to Docker daemon 10.23MB [2022-11-02T04:07:38.785Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T04:07:38.785Z] Step 2/23 : FROM ${BASE} AS builder [2022-11-02T04:07:38.785Z] ---> 619275e260da [2022-11-02T04:07:38.785Z] Step 3/23 : ARG MAKE=make build [2022-11-02T04:07:39.351Z] ---> Running in ad83f24c1456 [2022-11-02T04:07:39.610Z] Removing intermediate container ad83f24c1456 [2022-11-02T04:07:39.610Z] ---> 6ed3f82fda49 [2022-11-02T04:07:39.610Z] Step 4/23 : WORKDIR /device-sdk-go [2022-11-02T04:07:39.610Z] ---> Running in 475fd0c49a9a [2022-11-02T04:07:39.874Z] Removing intermediate container 475fd0c49a9a [2022-11-02T04:07:39.874Z] ---> 60809e94f908 [2022-11-02T04:07:39.874Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-02T04:07:40.135Z] ---> Running in 20c272908056 [2022-11-02T04:07:40.397Z] Removing intermediate container 20c272908056 [2022-11-02T04:07:40.397Z] ---> 791cd4aa975f [2022-11-02T04:07:40.397Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-02T04:07:40.660Z] ---> Running in 47bcf1f1e511 [2022-11-02T04:07:41.230Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-02T04:07:41.230Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-02T04:07:41.230Z] OK: 211 MiB in 51 packages [2022-11-02T04:07:42.166Z] Removing intermediate container 47bcf1f1e511 [2022-11-02T04:07:42.166Z] ---> 0252ed3a33c9 [2022-11-02T04:07:42.166Z] Step 7/23 : COPY go.mod vendor* ./ [2022-11-02T04:07:42.166Z] ---> 604338dcd689 [2022-11-02T04:07:42.166Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T04:07:42.166Z] ---> Running in 9b4b610a94a2 [2022-11-02T04:07:42.731Z] Removing intermediate container 9b4b610a94a2 [2022-11-02T04:07:42.731Z] ---> f3a73146f00f [2022-11-02T04:07:42.731Z] Step 9/23 : COPY . . [2022-11-02T04:07:43.307Z] ---> 4b9596b731df [2022-11-02T04:07:43.307Z] Step 10/23 : RUN ${MAKE} [2022-11-02T04:07:43.307Z] ---> Running in 29ede0daf507 [2022-11-02T04:07:43.566Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-11-02T04:08:01.678Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-11-02T04:08:05.862Z] Removing intermediate container 29ede0daf507 [2022-11-02T04:08:05.862Z] ---> 1b3f55eb3e45 [2022-11-02T04:08:05.862Z] Step 11/23 : FROM alpine:3.16 [2022-11-02T04:08:06.130Z] 3.16: Pulling from library/alpine [2022-11-02T04:08:06.130Z] 213ec9aee27d: Already exists [2022-11-02T04:08:06.392Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-02T04:08:06.392Z] Status: Downloaded newer image for alpine:3.16 [2022-11-02T04:08:06.392Z] ---> 9c6f07244728 [2022-11-02T04:08:06.392Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-02T04:08:06.392Z] ---> Running in c24925c6569a [2022-11-02T04:08:06.392Z] Removing intermediate container c24925c6569a [2022-11-02T04:08:06.392Z] ---> 6b6c62be5b04 [2022-11-02T04:08:06.392Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-11-02T04:08:06.650Z] ---> Running in 940bfd47a21c [2022-11-02T04:08:06.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-02T04:08:06.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-02T04:08:07.167Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-02T04:08:07.167Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-02T04:08:07.167Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-02T04:08:07.167Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-02T04:08:07.167Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-02T04:08:07.167Z] Executing busybox-1.35.0-r17.trigger [2022-11-02T04:08:07.167Z] OK: 8 MiB in 19 packages [2022-11-02T04:08:07.732Z] Removing intermediate container 940bfd47a21c [2022-11-02T04:08:07.732Z] ---> 0dc5271ae70c [2022-11-02T04:08:07.732Z] Step 14/23 : WORKDIR / [2022-11-02T04:08:07.732Z] ---> Running in 04e830f8fdf7 [2022-11-02T04:08:07.732Z] Removing intermediate container 04e830f8fdf7 [2022-11-02T04:08:07.732Z] ---> 749b0e3cfcd6 [2022-11-02T04:08:07.732Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-11-02T04:08:07.732Z] ---> 1a15bb6227bd [2022-11-02T04:08:07.732Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-11-02T04:08:09.696Z] ---> c0573e79799c [2022-11-02T04:08:09.696Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-11-02T04:08:09.696Z] ---> b1543e149048 [2022-11-02T04:08:09.696Z] Step 18/23 : EXPOSE 59999 [2022-11-02T04:08:09.696Z] ---> Running in c2389f6b9c85 [2022-11-02T04:08:09.696Z] Removing intermediate container c2389f6b9c85 [2022-11-02T04:08:09.696Z] ---> 59b1e1718eca [2022-11-02T04:08:09.696Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-11-02T04:08:09.696Z] ---> Running in a4e4b4008425 [2022-11-02T04:08:09.696Z] Removing intermediate container a4e4b4008425 [2022-11-02T04:08:09.696Z] ---> e0670793c3c6 [2022-11-02T04:08:09.696Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-02T04:08:09.696Z] ---> Running in cde387d1dc23 [2022-11-02T04:08:09.696Z] Removing intermediate container cde387d1dc23 [2022-11-02T04:08:09.696Z] ---> b8b8af5f5e14 [2022-11-02T04:08:09.696Z] Step 21/23 : LABEL arch=amd64 [2022-11-02T04:08:09.696Z] ---> Running in 504f2acb60d1 [2022-11-02T04:08:09.696Z] Removing intermediate container 504f2acb60d1 [2022-11-02T04:08:09.696Z] ---> e05daab14483 [2022-11-02T04:08:09.696Z] Step 22/23 : LABEL git_sha=84787ea3c4d8d93349b48d7167864b2290fd8e87 [2022-11-02T04:08:09.696Z] ---> Running in 78e75f5bf8f4 [2022-11-02T04:08:09.955Z] Removing intermediate container 78e75f5bf8f4 [2022-11-02T04:08:09.955Z] ---> 0a20d9c49223 [2022-11-02T04:08:09.955Z] Step 23/23 : LABEL version=0.0.0 [2022-11-02T04:08:09.955Z] ---> Running in c710ba229fcf [2022-11-02T04:08:09.955Z] Removing intermediate container c710ba229fcf [2022-11-02T04:08:09.955Z] ---> f4b985ac2ad8 [2022-11-02T04:08:09.955Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-02T04:08:09.955Z] Successfully built f4b985ac2ad8 [2022-11-02T04:08:09.955Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:08:10.894Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T04:08:10.894Z] [2022-11-02T04:08:10.894Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:08:11.264Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T04:08:11.264Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-02T04:08:11.264Z] 5eb5b503b376: Pulling fs layer [2022-11-02T04:08:11.264Z] 5c69ac0246d0: Pulling fs layer [2022-11-02T04:08:11.264Z] ec43610c2a17: Pulling fs layer [2022-11-02T04:08:11.264Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-02T04:08:11.264Z] 33b1e0a273af: Pulling fs layer [2022-11-02T04:08:11.264Z] 5d3b04190fa2: Pulling fs layer [2022-11-02T04:08:11.264Z] 2f39f015ded8: Pulling fs layer [2022-11-02T04:08:11.264Z] 33b1e0a273af: Waiting [2022-11-02T04:08:11.264Z] 5d3b04190fa2: Waiting [2022-11-02T04:08:11.264Z] 3a2ae6a8a46f: Waiting [2022-11-02T04:08:11.264Z] 2f39f015ded8: Waiting [2022-11-02T04:08:11.264Z] 5c69ac0246d0: Verifying Checksum [2022-11-02T04:08:11.264Z] 5c69ac0246d0: Download complete [2022-11-02T04:08:11.264Z] 3a2ae6a8a46f: Download complete [2022-11-02T04:08:11.264Z] 33b1e0a273af: Verifying Checksum [2022-11-02T04:08:11.264Z] 33b1e0a273af: Download complete [2022-11-02T04:08:11.264Z] ec43610c2a17: Verifying Checksum [2022-11-02T04:08:11.264Z] ec43610c2a17: Download complete [2022-11-02T04:08:11.264Z] 5d3b04190fa2: Verifying Checksum [2022-11-02T04:08:11.264Z] 5d3b04190fa2: Download complete [2022-11-02T04:08:11.521Z] 5eb5b503b376: Verifying Checksum [2022-11-02T04:08:11.521Z] 5eb5b503b376: Download complete [2022-11-02T04:08:12.085Z] 2f39f015ded8: Download complete [2022-11-02T04:08:12.650Z] 5eb5b503b376: Pull complete [2022-11-02T04:08:12.907Z] 5c69ac0246d0: Pull complete [2022-11-02T04:08:13.166Z] ec43610c2a17: Pull complete [2022-11-02T04:08:13.166Z] 3a2ae6a8a46f: Pull complete [2022-11-02T04:08:13.426Z] 33b1e0a273af: Pull complete [2022-11-02T04:08:13.426Z] 5d3b04190fa2: Pull complete [2022-11-02T04:08:17.602Z] 2f39f015ded8: Pull complete [2022-11-02T04:08:17.602Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-02T04:08:17.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T04:08:17.602Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T04:08:17.827Z] prd-ubuntu20.04-docker-8c-8g-117804 does not seem to be running inside a container [2022-11-02T04:08:17.859Z] $ 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/gexfoundry_device-sdk-go_PR-1255 -v /w/workspace/gexfoundry_device-sdk-go_PR-1255:/w/workspace/gexfoundry_device-sdk-go_PR-1255:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1255@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1255@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-02T04:08:23.862Z] $ docker top e2a0db832c32c3e3d20ffda64800e57f4ae9a761d562df0530c34562bb68471b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:08:24.299Z] ---> job-cost.sh [2022-11-02T04:08:24.299Z] lf-activate-venv: SKIPPING [2022-11-02T04:08:24.299Z] INFO: No Stack... [2022-11-02T04:08:24.558Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-02T04:08:24.816Z] INFO: Archiving Costs [Pipeline] sh [2022-11-02T04:08:25.151Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1255/archives/cost.csv [2022-11-02T04:08:25.151Z] + cut -d, -f6 [Pipeline] lock [2022-11-02T04:08:25.193Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1255-1-stack-cost] [2022-11-02T04:08:25.198Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1255-1-stack-cost] did not exist. Created. [2022-11-02T04:08:25.198Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1255-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-02T04:08:25.613Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-02T04:08:25.663Z] Stashed 1 file(s) [Pipeline] } [2022-11-02T04:08:25.692Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1255-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-02T04:08:25.780Z] $ docker stop --time=1 e2a0db832c32c3e3d20ffda64800e57f4ae9a761d562df0530c34562bb68471b [2022-11-02T04:08:26.921Z] $ docker rm -f e2a0db832c32c3e3d20ffda64800e57f4ae9a761d562df0530c34562bb68471b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-02T04:08:50.298Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117816 in /w/workspace/gexfoundry_device-sdk-go_PR-1255 [Pipeline] { [Pipeline] ws [2022-11-02T04:08:50.337Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-11-02T04:08:50.425Z] The recommended git tool is: git [2022-11-02T04:08:57.969Z] using credential edgex-jenkins-ssh [2022-11-02T04:08:57.987Z] Cloning the remote Git repository [2022-11-02T04:08:58.062Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-11-02T04:08:58.170Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-11-02T04:08:58.375Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-11-02T04:08:58.377Z] > git --version # timeout=10 [2022-11-02T04:08:58.408Z] > git --version # 'git version 2.25.1' [2022-11-02T04:08:58.411Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-02T04:08:58.485Z] Verifying host key using known hosts file [2022-11-02T04:08:58.799Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-02T04:08:58.815Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-02T04:09:00.759Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-11-02T04:09:00.805Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-02T04:09:02.022Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-11-02T04:09:02.078Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-11-02T04:09:02.079Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-02T04:09:02.086Z] Verifying host key using known hosts file [2022-11-02T04:09:02.095Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-02T04:09:02.110Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1255/head:refs/remotes/origin/PR-1255 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-02T04:09:02.746Z] Merging remotes/origin/main commit 0b0fd8621743a303648e9248d2aa1db21f4d7aab into PR head commit 84787ea3c4d8d93349b48d7167864b2290fd8e87 [2022-11-02T04:09:03.063Z] Merge succeeded, producing 84787ea3c4d8d93349b48d7167864b2290fd8e87 [2022-11-02T04:09:03.063Z] Checking out Revision 84787ea3c4d8d93349b48d7167864b2290fd8e87 (PR-1255) [2022-11-02T04:09:02.771Z] > git config core.sparsecheckout # timeout=10 [2022-11-02T04:09:02.796Z] > git checkout -f 84787ea3c4d8d93349b48d7167864b2290fd8e87 # timeout=10 [2022-11-02T04:09:02.945Z] > git remote # timeout=10 [2022-11-02T04:09:02.970Z] > git config --get remote.origin.url # timeout=10 [2022-11-02T04:09:02.991Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-02T04:09:02.997Z] Verifying host key using known hosts file [2022-11-02T04:09:03.002Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-02T04:09:03.013Z] > git merge 0b0fd8621743a303648e9248d2aa1db21f4d7aab # timeout=10 [2022-11-02T04:09:03.044Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-02T04:09:03.072Z] > git config core.sparsecheckout # timeout=10 [2022-11-02T04:09:03.095Z] > git checkout -f 84787ea3c4d8d93349b48d7167864b2290fd8e87 # timeout=10 [2022-11-02T04:09:03.813Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2022-11-02T04:09:03.877Z] > git --version # timeout=10 [2022-11-02T04:09:03.891Z] > git --version # 'git version 2.25.1' [2022-11-02T04:09:03.918Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-02T04:09:05.058Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-02T04:09:05.058Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-02T04:09:05.058Z] Dload Upload Total Spent Left Speed [2022-11-02T04:09:05.058Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh [2022-11-02T04:09:05.756Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-02T04:09:06.122Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-02T04:09:06.122Z] + sudo tee /etc/docker/daemon.new [2022-11-02T04:09:06.122Z] { [2022-11-02T04:09:06.122Z] "registry-mirrors": [ [2022-11-02T04:09:06.122Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-02T04:09:06.122Z] ], [2022-11-02T04:09:06.122Z] "bip": "10.250.0.254/24", [2022-11-02T04:09:06.122Z] "hosts": [ [2022-11-02T04:09:06.122Z] "tcp://0.0.0.0:5555", [2022-11-02T04:09:06.122Z] "unix:///var/run/docker.sock" [2022-11-02T04:09:06.122Z] ], [2022-11-02T04:09:06.122Z] "mtu": 1458, [2022-11-02T04:09:06.122Z] "selinux-enabled": true, [2022-11-02T04:09:06.122Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-02T04:09:06.122Z] } [Pipeline] sh [2022-11-02T04:09:06.486Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-02T04:09:06.858Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T04:09:25.291Z] provisioning config files... [2022-11-02T04:09:25.330Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7204004264133574913tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:09:25.767Z] ---> docker-login.sh [2022-11-02T04:09:25.767Z] nexus3.edgexfoundry.org:10001 [2022-11-02T04:09:26.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:09:26.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:09:26.648Z] Configure a credential helper to remove this warning. See [2022-11-02T04:09:26.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:09:26.648Z] [2022-11-02T04:09:26.648Z] Login Succeeded [2022-11-02T04:09:26.648Z] nexus3.edgexfoundry.org:10002 [2022-11-02T04:09:26.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:09:26.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:09:26.929Z] Configure a credential helper to remove this warning. See [2022-11-02T04:09:26.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:09:26.929Z] [2022-11-02T04:09:26.929Z] Login Succeeded [2022-11-02T04:09:26.929Z] nexus3.edgexfoundry.org:10003 [2022-11-02T04:09:27.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:09:27.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:09:27.489Z] Configure a credential helper to remove this warning. See [2022-11-02T04:09:27.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:09:27.489Z] [2022-11-02T04:09:27.489Z] Login Succeeded [2022-11-02T04:09:27.489Z] nexus3.edgexfoundry.org:10004 [2022-11-02T04:09:27.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:09:28.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:09:28.043Z] Configure a credential helper to remove this warning. See [2022-11-02T04:09:28.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:09:28.043Z] [2022-11-02T04:09:28.043Z] Login Succeeded [2022-11-02T04:09:28.043Z] docker.io [2022-11-02T04:09:28.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:09:28.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:09:28.584Z] Configure a credential helper to remove this warning. See [2022-11-02T04:09:28.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:09:28.584Z] [2022-11-02T04:09:28.584Z] Login Succeeded [2022-11-02T04:09:28.584Z] ---> docker-login.sh ends [Pipeline] } [2022-11-02T04:09:28.619Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-02T04:09:28.942Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T04:09:28.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T04:09:29.012Z] ========================================================= [2022-11-02T04:09:29.012Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-02T04:09:29.012Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:09:29.544Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-02T04:09:29.828Z] Sending build context to Docker daemon 5.449MB [2022-11-02T04:09:30.116Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T04:09:30.116Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-02T04:09:30.116Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-02T04:09:30.116Z] 9b18e9b68314: Pulling fs layer [2022-11-02T04:09:30.116Z] d32db5db7311: Pulling fs layer [2022-11-02T04:09:30.116Z] d0c4b47475fc: Pulling fs layer [2022-11-02T04:09:30.116Z] 5831b945b038: Pulling fs layer [2022-11-02T04:09:30.116Z] 86bbec2aaacd: Pulling fs layer [2022-11-02T04:09:30.116Z] e10730c5d714: Pulling fs layer [2022-11-02T04:09:30.116Z] 5dd5c2283517: Pulling fs layer [2022-11-02T04:09:30.116Z] d5ac0230b979: Pulling fs layer [2022-11-02T04:09:30.116Z] 5831b945b038: Waiting [2022-11-02T04:09:30.116Z] 86bbec2aaacd: Waiting [2022-11-02T04:09:30.116Z] e10730c5d714: Waiting [2022-11-02T04:09:30.116Z] 5dd5c2283517: Waiting [2022-11-02T04:09:30.116Z] d5ac0230b979: Waiting [2022-11-02T04:09:30.662Z] d32db5db7311: Verifying Checksum [2022-11-02T04:09:30.662Z] d32db5db7311: Download complete [2022-11-02T04:09:30.662Z] 9b18e9b68314: Verifying Checksum [2022-11-02T04:09:30.662Z] 9b18e9b68314: Download complete [2022-11-02T04:09:30.662Z] 86bbec2aaacd: Verifying Checksum [2022-11-02T04:09:30.662Z] 86bbec2aaacd: Download complete [2022-11-02T04:09:30.662Z] e10730c5d714: Verifying Checksum [2022-11-02T04:09:30.662Z] e10730c5d714: Download complete [2022-11-02T04:09:30.662Z] d0c4b47475fc: Verifying Checksum [2022-11-02T04:09:30.662Z] d0c4b47475fc: Download complete [2022-11-02T04:09:31.384Z] 9b18e9b68314: Pull complete [2022-11-02T04:09:32.414Z] d32db5db7311: Pull complete [2022-11-02T04:09:32.414Z] d5ac0230b979: Verifying Checksum [2022-11-02T04:09:32.414Z] d5ac0230b979: Download complete [2022-11-02T04:09:32.700Z] d0c4b47475fc: Pull complete [2022-11-02T04:09:34.699Z] 5dd5c2283517: Verifying Checksum [2022-11-02T04:09:34.699Z] 5dd5c2283517: Download complete [2022-11-02T04:09:35.670Z] 5831b945b038: Verifying Checksum [2022-11-02T04:09:35.670Z] 5831b945b038: Download complete [2022-11-02T04:09:48.083Z] 5831b945b038: Pull complete [2022-11-02T04:09:48.083Z] 86bbec2aaacd: Pull complete [2022-11-02T04:09:48.083Z] e10730c5d714: Pull complete [2022-11-02T04:09:54.788Z] 5dd5c2283517: Pull complete [2022-11-02T04:09:56.238Z] d5ac0230b979: Pull complete [2022-11-02T04:09:56.238Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-11-02T04:09:56.238Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-02T04:09:56.238Z] ---> 59b3b1a385d4 [2022-11-02T04:09:56.238Z] Step 3/10 : ARG MAKE=make build [2022-11-02T04:09:57.694Z] ---> Running in 19564eac0be8 [2022-11-02T04:09:57.694Z] Removing intermediate container 19564eac0be8 [2022-11-02T04:09:57.694Z] ---> 3629c15b9c77 [2022-11-02T04:09:57.694Z] Step 4/10 : WORKDIR /device-sdk-go [2022-11-02T04:09:57.968Z] ---> Running in 98ce6d361b7f [2022-11-02T04:09:58.568Z] Removing intermediate container 98ce6d361b7f [2022-11-02T04:09:58.568Z] ---> c28c4afc03f3 [2022-11-02T04:09:58.568Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-02T04:09:58.845Z] ---> Running in afb79e821480 [2022-11-02T04:09:59.449Z] Removing intermediate container afb79e821480 [2022-11-02T04:09:59.449Z] ---> 54a3cd147816 [2022-11-02T04:09:59.449Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-02T04:09:59.728Z] ---> Running in ffd77fbc4348 [2022-11-02T04:10:01.165Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-02T04:10:01.771Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-02T04:10:03.215Z] OK: 221 MiB in 51 packages [2022-11-02T04:10:04.207Z] Removing intermediate container ffd77fbc4348 [2022-11-02T04:10:04.207Z] ---> 189b784b4b04 [2022-11-02T04:10:04.207Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-02T04:10:04.806Z] ---> 27d584925a99 [2022-11-02T04:10:04.806Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T04:10:05.083Z] ---> Running in 3e3331f733ca [2022-11-02T04:11:13.105Z] Removing intermediate container 3e3331f733ca [2022-11-02T04:11:13.105Z] ---> 22809ce00c39 [2022-11-02T04:11:13.105Z] Step 9/10 : COPY . . [2022-11-02T04:11:13.105Z] ---> b75a629a9229 [2022-11-02T04:11:13.105Z] Step 10/10 : RUN ${MAKE} [2022-11-02T04:11:13.105Z] ---> Running in 3b0cf301fe3b [2022-11-02T04:11:13.105Z] noop [2022-11-02T04:11:13.105Z] Removing intermediate container 3b0cf301fe3b [2022-11-02T04:11:13.105Z] ---> 4ea007c90247 [2022-11-02T04:11:13.105Z] Successfully built 4ea007c90247 [2022-11-02T04:11:13.105Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:11:13.588Z] + docker inspect -f . ci-base-image-arm64 [2022-11-02T04:11:13.588Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T04:11:13.911Z] prd-ubuntu20.04-docker-arm64-4c-16g-117816 does not seem to be running inside a container [2022-11-02T04:11:14.003Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-02T04:11:16.328Z] $ docker top d5633524dd4bcb7de60a6c037ad99046c84c76a530ee77fa3b06ffda76ef2dc7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T04:11:17.311Z] + go version [2022-11-02T04:11:17.311Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-02T04:11:17.357Z] $ docker stop --time=1 d5633524dd4bcb7de60a6c037ad99046c84c76a530ee77fa3b06ffda76ef2dc7 [2022-11-02T04:11:19.181Z] $ docker rm -f d5633524dd4bcb7de60a6c037ad99046c84c76a530ee77fa3b06ffda76ef2dc7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:11:20.077Z] + docker inspect -f . ci-base-image-arm64 [2022-11-02T04:11:20.077Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T04:11:20.351Z] prd-ubuntu20.04-docker-arm64-4c-16g-117816 does not seem to be running inside a container [2022-11-02T04:11:20.451Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-02T04:11:22.023Z] $ docker top d1b8e54f95ca5856310518d49fb6a06fe71a957433c2c0952ff7b1f0ba006a48 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T04:11:23.031Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-11-02T04:11:23.762Z] + make test [2022-11-02T04:11:23.762Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-11-02T04:12:10.741Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-11-02T04:15:32.983Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-11-02T04:15:32.983Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-11-02T04:15:32.983Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-11-02T04:15:32.983Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-11-02T04:15:32.983Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-11-02T04:15:32.983Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.316s coverage: 27.6% of statements [2022-11-02T04:15:32.983Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.503s coverage: 78.9% of statements [2022-11-02T04:15:32.983Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-11-02T04:15:38.362Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.581s coverage: 73.1% of statements [2022-11-02T04:15:38.362Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-11-02T04:15:38.362Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-11-02T04:15:42.681Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.698s coverage: 54.4% of statements [2022-11-02T04:15:42.681Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-11-02T04:15:42.681Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-11-02T04:15:42.681Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-11-02T04:15:42.681Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-11-02T04:15:42.953Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.555s coverage: 65.1% of statements [2022-11-02T04:15:42.953Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-11-02T04:15:42.953Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-11-02T04:15:42.953Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.556s coverage: 89.2% of statements [2022-11-02T04:15:42.953Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-11-02T04:15:43.547Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.318s coverage: 4.7% of statements [2022-11-02T04:15:43.547Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-11-02T04:15:44.518Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-02T04:15:44.518Z] GO111MODULE=on go vet ./... [2022-11-02T04:17:51.338Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-02T04:17:51.338Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-02T04:17:51.338Z] ./bin/test-attribution-txt.sh [2022-11-02T04:17:51.338Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-11-02T04:17:51.338Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-11-02T04:17:51.338Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-11-02T04:17:51.338Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-11-02T04:17:51.373Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-02T04:17:51.406Z] $ docker stop --time=1 d1b8e54f95ca5856310518d49fb6a06fe71a957433c2c0952ff7b1f0ba006a48 [2022-11-02T04:17:53.365Z] $ docker rm -f d1b8e54f95ca5856310518d49fb6a06fe71a957433c2c0952ff7b1f0ba006a48 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-02T04:17:55.058Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-02T04:17:55.097Z] Warning: overwriting stash ‘coverage-report’ [2022-11-02T04:17:55.862Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-02T04:17:56.479Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-02T04:17:56.844Z] + ls -al . [2022-11-02T04:17:56.844Z] total 276 [2022-11-02T04:17:56.844Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 2 04:11 . [2022-11-02T04:17:56.844Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 04:08 .. [2022-11-02T04:17:56.844Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 2 04:09 .dockerignore [2022-11-02T04:17:56.844Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 04:09 .git [2022-11-02T04:17:56.844Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 04:09 .github [2022-11-02T04:17:56.844Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 2 04:09 .gitignore [2022-11-02T04:17:56.844Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 2 04:09 .golangci.yml [2022-11-02T04:17:56.844Z] -rw-rw-r-- 1 jenkins jenkins 31677 Nov 2 04:09 CHANGELOG.md [2022-11-02T04:17:56.844Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 04:09 GOVERNANCE.md [2022-11-02T04:17:56.844Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 2 04:09 Jenkinsfile [2022-11-02T04:17:56.844Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 2 04:09 LICENSE [2022-11-02T04:17:56.844Z] -rw-rw-r-- 1 jenkins jenkins 2003 Nov 2 04:09 Makefile [2022-11-02T04:17:56.844Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 2 04:09 OWNERS.md [2022-11-02T04:17:56.844Z] -rw-rw-r-- 1 jenkins jenkins 4881 Nov 2 04:09 README.md [2022-11-02T04:17:56.844Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 04:05 VERSION [2022-11-02T04:17:56.844Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 04:09 bin [2022-11-02T04:17:56.844Z] -rw-r--r-- 1 jenkins jenkins 101759 Nov 2 04:15 coverage.out [2022-11-02T04:17:56.844Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 2 04:09 example [2022-11-02T04:17:56.844Z] -rw-rw-r-- 1 jenkins jenkins 3389 Nov 2 04:09 go.mod [2022-11-02T04:17:56.844Z] -rw-rw-r-- 1 jenkins jenkins 44507 Nov 2 04:09 go.sum [2022-11-02T04:17:56.844Z] drwxrwxr-x 14 jenkins jenkins 4096 Nov 2 04:09 internal [2022-11-02T04:17:56.844Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 04:09 openapi [2022-11-02T04:17:56.844Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 2 04:09 pkg [2022-11-02T04:17:56.844Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 04:09 snap [2022-11-02T04:17:56.844Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 2 04:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:17:57.291Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=84787ea3c4d8d93349b48d7167864b2290fd8e87 --label arch=arm64 --label version=0.0.0 . [2022-11-02T04:17:57.889Z] Sending build context to Docker daemon 5.552MB [2022-11-02T04:17:57.889Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T04:17:57.889Z] Step 2/23 : FROM ${BASE} AS builder [2022-11-02T04:17:57.889Z] ---> 4ea007c90247 [2022-11-02T04:17:57.889Z] Step 3/23 : ARG MAKE=make build [2022-11-02T04:17:57.889Z] ---> Running in b03fd0aae77e [2022-11-02T04:17:58.498Z] Removing intermediate container b03fd0aae77e [2022-11-02T04:17:58.498Z] ---> 501b08ef4415 [2022-11-02T04:17:58.498Z] Step 4/23 : WORKDIR /device-sdk-go [2022-11-02T04:17:58.498Z] ---> Running in 2666d92f0e09 [2022-11-02T04:17:58.770Z] Removing intermediate container 2666d92f0e09 [2022-11-02T04:17:58.770Z] ---> 63c2efd18319 [2022-11-02T04:17:58.770Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-02T04:17:59.043Z] ---> Running in bfc1badea031 [2022-11-02T04:17:59.320Z] Removing intermediate container bfc1badea031 [2022-11-02T04:17:59.320Z] ---> 6cc143505a23 [2022-11-02T04:17:59.320Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-02T04:17:59.320Z] ---> Running in fb57b02232c2 [2022-11-02T04:18:00.765Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-02T04:18:00.765Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-02T04:18:02.285Z] OK: 221 MiB in 51 packages [2022-11-02T04:18:03.268Z] Removing intermediate container fb57b02232c2 [2022-11-02T04:18:03.268Z] ---> f795b574d647 [2022-11-02T04:18:03.268Z] Step 7/23 : COPY go.mod vendor* ./ [2022-11-02T04:18:03.594Z] ---> e866500ae934 [2022-11-02T04:18:03.594Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T04:18:03.868Z] ---> Running in 00ea13b63474 [2022-11-02T04:18:05.832Z] Removing intermediate container 00ea13b63474 [2022-11-02T04:18:05.832Z] ---> 1b776d92dcc5 [2022-11-02T04:18:05.832Z] Step 9/23 : COPY . . [2022-11-02T04:18:07.256Z] ---> 4585cec8cfce [2022-11-02T04:18:07.257Z] Step 10/23 : RUN ${MAKE} [2022-11-02T04:18:07.257Z] ---> Running in 6a8a719e55a5 [2022-11-02T04:18:08.675Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-11-02T04:21:00.571Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-11-02T04:21:00.571Z] Removing intermediate container 6a8a719e55a5 [2022-11-02T04:21:00.571Z] ---> 8e2ad00474e2 [2022-11-02T04:21:00.571Z] Step 11/23 : FROM alpine:3.16 [2022-11-02T04:21:00.571Z] 3.16: Pulling from library/alpine [2022-11-02T04:21:00.571Z] 9b18e9b68314: Already exists [2022-11-02T04:21:00.571Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-02T04:21:00.571Z] Status: Downloaded newer image for alpine:3.16 [2022-11-02T04:21:00.571Z] ---> a6215f271958 [2022-11-02T04:21:00.571Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-02T04:21:00.571Z] ---> Running in 2f8087f2f516 [2022-11-02T04:21:00.571Z] Removing intermediate container 2f8087f2f516 [2022-11-02T04:21:00.571Z] ---> db94abb499eb [2022-11-02T04:21:00.571Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-11-02T04:21:00.571Z] ---> Running in ab57b5a2cb56 [2022-11-02T04:21:00.571Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-02T04:21:00.571Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-02T04:21:00.571Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-02T04:21:00.571Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-02T04:21:00.571Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-02T04:21:00.571Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-02T04:21:00.571Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-02T04:21:00.571Z] Executing busybox-1.35.0-r17.trigger [2022-11-02T04:21:00.571Z] OK: 8 MiB in 19 packages [2022-11-02T04:21:01.582Z] Removing intermediate container ab57b5a2cb56 [2022-11-02T04:21:01.582Z] ---> ab17b107a13f [2022-11-02T04:21:01.582Z] Step 14/23 : WORKDIR / [2022-11-02T04:21:01.582Z] ---> Running in 0cdfeb899989 [2022-11-02T04:21:02.201Z] Removing intermediate container 0cdfeb899989 [2022-11-02T04:21:02.201Z] ---> 9e6e336750a5 [2022-11-02T04:21:02.201Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-11-02T04:21:02.799Z] ---> 70de084d4a8e [2022-11-02T04:21:02.799Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-11-02T04:21:04.222Z] ---> cab10d20532b [2022-11-02T04:21:04.222Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-11-02T04:21:04.813Z] ---> ba635c60e444 [2022-11-02T04:21:04.813Z] Step 18/23 : EXPOSE 59999 [2022-11-02T04:21:05.084Z] ---> Running in 4c6361583357 [2022-11-02T04:21:05.353Z] Removing intermediate container 4c6361583357 [2022-11-02T04:21:05.353Z] ---> b41a6f7f202e [2022-11-02T04:21:05.353Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-11-02T04:21:05.353Z] ---> Running in 5b31d06630c8 [2022-11-02T04:21:05.624Z] Removing intermediate container 5b31d06630c8 [2022-11-02T04:21:05.624Z] ---> eefac8826b20 [2022-11-02T04:21:05.624Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-02T04:21:05.899Z] ---> Running in 776f21f66f5f [2022-11-02T04:21:06.169Z] Removing intermediate container 776f21f66f5f [2022-11-02T04:21:06.169Z] ---> dc31a566b0ad [2022-11-02T04:21:06.169Z] Step 21/23 : LABEL arch=arm64 [2022-11-02T04:21:06.169Z] ---> Running in 164453efea14 [2022-11-02T04:21:07.586Z] Removing intermediate container 164453efea14 [2022-11-02T04:21:07.586Z] ---> fd0f0cc0c309 [2022-11-02T04:21:07.586Z] Step 22/23 : LABEL git_sha=84787ea3c4d8d93349b48d7167864b2290fd8e87 [2022-11-02T04:21:07.586Z] ---> Running in c1dfc1a25d63 [2022-11-02T04:21:07.855Z] Removing intermediate container c1dfc1a25d63 [2022-11-02T04:21:07.855Z] ---> a48f22e998ca [2022-11-02T04:21:07.855Z] Step 23/23 : LABEL version=0.0.0 [2022-11-02T04:21:07.855Z] ---> Running in 90f4d57fea49 [2022-11-02T04:21:08.124Z] Removing intermediate container 90f4d57fea49 [2022-11-02T04:21:08.124Z] ---> bf181db2453d [2022-11-02T04:21:08.124Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-02T04:21:08.393Z] Successfully built bf181db2453d [2022-11-02T04:21:08.393Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:21:09.188Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-02T04:21:09.188Z] [2022-11-02T04:21:09.188Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:21:09.601Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-02T04:21:09.875Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-02T04:21:09.875Z] 8998bd30e6a1: Pulling fs layer [2022-11-02T04:21:09.875Z] 04944245beec: Pulling fs layer [2022-11-02T04:21:09.875Z] 699f458cf7ca: Pulling fs layer [2022-11-02T04:21:09.875Z] 765212b225bb: Pulling fs layer [2022-11-02T04:21:09.875Z] f23df028b6ca: Pulling fs layer [2022-11-02T04:21:09.875Z] d65c8cfc05b1: Pulling fs layer [2022-11-02T04:21:09.875Z] 2437ff75d9bd: Pulling fs layer [2022-11-02T04:21:09.875Z] 765212b225bb: Waiting [2022-11-02T04:21:09.875Z] f23df028b6ca: Waiting [2022-11-02T04:21:09.875Z] d65c8cfc05b1: Waiting [2022-11-02T04:21:09.875Z] 2437ff75d9bd: Waiting [2022-11-02T04:21:09.875Z] 04944245beec: Verifying Checksum [2022-11-02T04:21:09.875Z] 04944245beec: Download complete [2022-11-02T04:21:09.875Z] 765212b225bb: Download complete [2022-11-02T04:21:09.875Z] f23df028b6ca: Verifying Checksum [2022-11-02T04:21:09.875Z] f23df028b6ca: Download complete [2022-11-02T04:21:10.148Z] d65c8cfc05b1: Verifying Checksum [2022-11-02T04:21:10.148Z] d65c8cfc05b1: Download complete [2022-11-02T04:21:10.148Z] 699f458cf7ca: Verifying Checksum [2022-11-02T04:21:10.148Z] 699f458cf7ca: Download complete [2022-11-02T04:21:10.417Z] 8998bd30e6a1: Verifying Checksum [2022-11-02T04:21:10.417Z] 8998bd30e6a1: Download complete [2022-11-02T04:21:13.018Z] 2437ff75d9bd: Verifying Checksum [2022-11-02T04:21:13.018Z] 2437ff75d9bd: Download complete [2022-11-02T04:21:14.964Z] 8998bd30e6a1: Pull complete [2022-11-02T04:21:15.232Z] 04944245beec: Pull complete [2022-11-02T04:21:16.648Z] 699f458cf7ca: Pull complete [2022-11-02T04:21:16.917Z] 765212b225bb: Pull complete [2022-11-02T04:21:17.501Z] f23df028b6ca: Pull complete [2022-11-02T04:21:17.769Z] d65c8cfc05b1: Pull complete [2022-11-02T04:21:32.768Z] 2437ff75d9bd: Pull complete [2022-11-02T04:21:32.768Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-02T04:21:32.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-02T04:21:32.768Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T04:21:33.116Z] prd-ubuntu20.04-docker-arm64-4c-16g-117816 does not seem to be running inside a container [2022-11-02T04:21:33.190Z] $ 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-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-02T04:21:36.278Z] $ docker top cf146d2c2b5058a9894b0620a3a98c182563af8368f65176c346c0e5d271165f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:21:37.210Z] ---> job-cost.sh [2022-11-02T04:21:37.210Z] lf-activate-venv: SKIPPING [2022-11-02T04:21:37.210Z] INFO: No Stack... [2022-11-02T04:21:37.793Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-02T04:21:38.376Z] INFO: Archiving Costs [Pipeline] sh [2022-11-02T04:21:39.041Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-11-02T04:21:39.041Z] + cut -d, -f6 [Pipeline] lock [2022-11-02T04:21:39.132Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1255-1-stack-cost] [2022-11-02T04:21:39.136Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1255-1-stack-cost] did not exist. Created. [2022-11-02T04:21:39.136Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1255-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-02T04:21:39.876Z] /w/workspace/device-sdk-go/1@tmp/durable-64294947/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-02T04:21:40.557Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-02T04:21:40.592Z] Warning: overwriting stash ‘stack-cost’ [2022-11-02T04:21:40.665Z] Stashed 1 file(s) [Pipeline] } [2022-11-02T04:21:40.681Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1255-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-02T04:21:40.764Z] $ docker stop --time=1 cf146d2c2b5058a9894b0620a3a98c182563af8368f65176c346c0e5d271165f [2022-11-02T04:21:42.373Z] $ docker rm -f cf146d2c2b5058a9894b0620a3a98c182563af8368f65176c346c0e5d271165f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-11-02T04:21:43.357Z] provisioning config files... [2022-11-02T04:21:43.363Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1255@tmp/config12937208646161384533tmp [Pipeline] { [Pipeline] sh [2022-11-02T04:21:43.692Z] + set +x [2022-11-02T04:21:43.692Z] + bash -s -- [2022-11-02T04:21:43.692Z] + curl -s https://codecov.io/bash [2022-11-02T04:21:43.692Z] [2022-11-02T04:21:43.692Z] _____ _ [2022-11-02T04:21:43.692Z] / ____| | | [2022-11-02T04:21:43.692Z] | | ___ __| | ___ ___ _____ __ [2022-11-02T04:21:43.692Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-02T04:21:43.692Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-02T04:21:43.692Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-02T04:21:43.692Z] Bash-1.0.6 [2022-11-02T04:21:43.692Z] [2022-11-02T04:21:43.692Z] [2022-11-02T04:21:43.692Z] ==> git version 2.25.1 found [2022-11-02T04:21:43.692Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-11-02T04:21:43.692Z] Release-Date: 2020-01-08 [2022-11-02T04:21:43.692Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-02T04:21:43.692Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-02T04:21:43.692Z] ==> Jenkins CI detected. [2022-11-02T04:21:43.692Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1255 [2022-11-02T04:21:43.692Z] project root: . [2022-11-02T04:21:43.692Z] --> token set from env [2022-11-02T04:21:43.692Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-02T04:21:43.692Z] ==> Running gcov in . (disable via -X gcov) [2022-11-02T04:21:43.692Z] ==> Python coveragepy not found [2022-11-02T04:21:43.692Z] ==> Searching for coverage reports in: [2022-11-02T04:21:43.692Z] + . [2022-11-02T04:21:43.692Z] -> Found 1 reports [2022-11-02T04:21:43.692Z] ==> Detecting git/mercurial file structure [2022-11-02T04:21:43.692Z] ==> Reading reports [2022-11-02T04:21:43.692Z] + ./coverage.out bytes=101759 [2022-11-02T04:21:43.692Z] ==> Appending adjustments [2022-11-02T04:21:43.692Z] https://docs.codecov.io/docs/fixing-reports [2022-11-02T04:21:44.258Z] + Found adjustments [2022-11-02T04:21:44.258Z] ==> Gzipping contents [2022-11-02T04:21:44.258Z] 16K /tmp/codecov.do5YK7.gz [2022-11-02T04:21:44.258Z] ==> Uploading reports [2022-11-02T04:21:44.258Z] url: https://codecov.io [2022-11-02T04:21:44.259Z] query: branch=PR-1255&commit=84787ea3c4d8d93349b48d7167864b2290fd8e87&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1255%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1255&job=&cmd_args= [2022-11-02T04:21:44.259Z] -> Pinging Codecov [2022-11-02T04:21:44.259Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1255&commit=84787ea3c4d8d93349b48d7167864b2290fd8e87&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1255%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1255&job=&cmd_args= [2022-11-02T04:21:44.516Z] -> Uploading to [2022-11-02T04:21:44.516Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-02/7E55EF52A471D76F132DFD9A03CDDE97/84787ea3c4d8d93349b48d7167864b2290fd8e87/a989fcd8-31ed-4a40-9086-afc3992bc19e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221102%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221102T042144Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e7440eff137b073df60c539156147749c1f7305a59205d25d70b6ec9bd1016fa [2022-11-02T04:21:44.516Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-02T04:21:44.516Z] Dload Upload Total Spent Left Speed [2022-11-02T04:21:44.774Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14705 0 0 100 14705 0 65941 --:--:-- --:--:-- --:--:-- 66238 [2022-11-02T04:21:44.774Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/84787ea3c4d8d93349b48d7167864b2290fd8e87 [Pipeline] } [2022-11-02T04:21:44.802Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-11-02T04:21:46.461Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1255/archives ] [2022-11-02T04:21:46.462Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1255/archives [2022-11-02T04:21:46.462Z] total 16 [2022-11-02T04:21:46.462Z] drwxr-xr-x 3 root root 4096 Nov 2 04:08 . [2022-11-02T04:21:46.462Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 2 04:08 .. [2022-11-02T04:21:46.462Z] drwxr-xr-x 2 root root 4096 Nov 2 04:08 cost [2022-11-02T04:21:46.462Z] -rw-r--r-- 1 root root 86 Nov 2 04:08 cost.csv [2022-11-02T04:21:46.462Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1255/archives [2022-11-02T04:21:46.462Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1255/archives [2022-11-02T04:21:46.462Z] total 16 [2022-11-02T04:21:46.462Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 04:08 . [2022-11-02T04:21:46.462Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 2 04:08 .. [2022-11-02T04:21:46.462Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 2 04:08 cost [2022-11-02T04:21:46.462Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 2 04:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:21:46.783Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:21:47.687Z] ---> package-listing.sh [2022-11-02T04:21:47.687Z] ++ facter osfamily [2022-11-02T04:21:47.687Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-02T04:21:47.949Z] + OS_FAMILY=debian [2022-11-02T04:21:47.949Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1255 [2022-11-02T04:21:47.949Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-02T04:21:47.949Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-02T04:21:47.949Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-02T04:21:47.949Z] + PACKAGES=/tmp/packages_start.txt [2022-11-02T04:21:47.949Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1255 ']' [2022-11-02T04:21:47.949Z] + PACKAGES=/tmp/packages_end.txt [2022-11-02T04:21:47.949Z] + case "${OS_FAMILY}" in [2022-11-02T04:21:47.949Z] + dpkg -l [2022-11-02T04:21:47.949Z] + grep '^ii' [2022-11-02T04:21:47.949Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-02T04:21:47.949Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-02T04:21:47.949Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-02T04:21:47.949Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1255 ']' [2022-11-02T04:21:47.949Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1255/archives/ [2022-11-02T04:21:47.949Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1255/archives/ [Pipeline] echo [2022-11-02T04:21:47.987Z] 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/gexfoundry_device-sdk-go_PR-1255/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-02T04:21:48.277Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:21:48.905Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T04:21:48.905Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T04:21:49.047Z] prd-ubuntu20.04-docker-8c-8g-117804 does not seem to be running inside a container [2022-11-02T04:21:49.085Z] $ 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/gexfoundry_device-sdk-go_PR-1255/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1255 -v /w/workspace/gexfoundry_device-sdk-go_PR-1255:/w/workspace/gexfoundry_device-sdk-go_PR-1255:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1255@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1255@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-02T04:21:49.282Z] $ docker top 849f9ddca1055db780145fe102429827fdb6c4963155eeb558e2e73246c7d37f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T04:21:49.658Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-02T04:21:49.968Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-02T04:21:50.269Z] + ls /var/log/sa-host [2022-11-02T04:21:50.269Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T04:21:50.400Z] provisioning config files... [2022-11-02T04:21:50.407Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1255@tmp/config10459788699403904712tmp [Pipeline] { [Pipeline] echo [2022-11-02T04:21:50.453Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:21:50.777Z] ---> create-netrc.sh [Pipeline] } [2022-11-02T04:21:50.831Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:21:51.304Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-02T04:21:51.348Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:21:51.651Z] ---> sudo-logs.sh [2022-11-02T04:21:51.651Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-02T04:21:51.785Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:21:52.094Z] ---> job-cost.sh [2022-11-02T04:21:52.094Z] lf-activate-venv: SKIPPING [2022-11-02T04:21:52.094Z] DEBUG: total: 0.2199999988079071 [2022-11-02T04:21:52.094Z] INFO: Retrieving Stack Cost... [2022-11-02T04:21:52.353Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-02T04:21:52.922Z] INFO: Archiving Costs [Pipeline] echo [2022-11-02T04:21:52.968Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:21:53.287Z] ---> logs-deploy.sh [2022-11-02T04:21:53.287Z] lf-activate-venv: SKIPPING [2022-11-02T04:21:53.287Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1255/1 [2022-11-02T04:21:53.287Z] INFO: archiving workspace using pattern(s): [2022-11-02T04:21:54.226Z] Archives upload complete. [2022-11-02T04:21:54.491Z] INFO: archiving logs to Nexus