Pull request #1251 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe+21e2314d0be0883f9fe388992978a72096c1cede (b273ff067905820fdc4a6e1a8972cc1f70e56921) 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-ssh7240084008960290043.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-ssh2275021641529430330.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-1251/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-1251/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17858944159791355709.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-1251/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16749097558604621925.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-ssh13450806887608476502.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-1251/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-1251/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5923621478727596287.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-117146 in /w/workspace/gexfoundry_device-sdk-go_PR-1251 [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-1251 # 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 > 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/1251/head:refs/remotes/origin/PR-1251 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 21e2314d0be0883f9fe388992978a72096c1cede into PR head commit 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe Merge succeeded, producing 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe Checking out Revision 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe (PR-1251) > git config core.sparsecheckout # timeout=10 > git checkout -f 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe # 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 21e2314d0be0883f9fe388992978a72096c1cede # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe # timeout=10 Commit message: "build: Update to latest go-mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T14:18:36.256Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T14:18:36.434Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T14:18:36.527Z] ========================================================= [2022-10-26T14:18:36.528Z] EdgeX Global Pipelines Version Info [2022-10-26T14:18:36.528Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-26T14:18:37.642Z] ------------------- [2022-10-26T14:18:37.642Z] stable info: [2022-10-26T14:18:37.642Z] ------------------- [2022-10-26T14:18:37.642Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T14:18:37.642Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T14:18:37.642Z] Message: update stable to v1.0.243 [2022-10-26T14:18:37.904Z] ------------------- [2022-10-26T14:18:37.904Z] experimental info: [2022-10-26T14:18:37.904Z] ------------------- [2022-10-26T14:18:37.904Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T14:18:37.904Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T14:18:37.904Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T14:18:38.187Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-10-26T14:18:38.224Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-10-26T14:18:38.263Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T14:18:38.355Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T14:18:38.394Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T14:18:38.437Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T14:18:38.479Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T14:18:38.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-10-26T14:18:38.549Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T14:18:38.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T14:18:38.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T14:18:38.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-10-26T14:18:38.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T14:18:38.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T14:18:38.757Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T14:18:38.797Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T14:18:38.836Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T14:18:38.871Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T14:18:38.910Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T14:18:38.951Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T14:18:38.991Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-26T14:18:39.024Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-10-26T14:18:39.061Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T14:18:39.097Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T14:18:39.132Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T14:18:39.170Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T14:18:39.209Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T14:18:39.247Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1251 [Pipeline] echo [2022-10-26T14:18:39.285Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1251 [Pipeline] echo [2022-10-26T14:18:39.320Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1251 [Pipeline] echo [2022-10-26T14:18:39.356Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe [Pipeline] echo [2022-10-26T14:18:39.397Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ae0e89 [Pipeline] echo [2022-10-26T14:18:39.434Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T14:18:39.543Z] provisioning config files... [2022-10-26T14:18:39.557Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp/config1529371944315716389tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T14:18:39.898Z] ---> docker-login.sh [2022-10-26T14:18:39.898Z] nexus3.edgexfoundry.org:10001 [2022-10-26T14:18:40.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T14:18:40.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T14:18:40.157Z] Configure a credential helper to remove this warning. See [2022-10-26T14:18:40.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T14:18:40.157Z] [2022-10-26T14:18:40.157Z] Login Succeeded [2022-10-26T14:18:40.157Z] nexus3.edgexfoundry.org:10002 [2022-10-26T14:18:40.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T14:18:40.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T14:18:40.157Z] Configure a credential helper to remove this warning. See [2022-10-26T14:18:40.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T14:18:40.157Z] [2022-10-26T14:18:40.157Z] Login Succeeded [2022-10-26T14:18:40.157Z] nexus3.edgexfoundry.org:10003 [2022-10-26T14:18:40.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T14:18:40.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T14:18:40.417Z] Configure a credential helper to remove this warning. See [2022-10-26T14:18:40.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T14:18:40.417Z] [2022-10-26T14:18:40.417Z] Login Succeeded [2022-10-26T14:18:40.417Z] nexus3.edgexfoundry.org:10004 [2022-10-26T14:18:40.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T14:18:40.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T14:18:40.677Z] Configure a credential helper to remove this warning. See [2022-10-26T14:18:40.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T14:18:40.677Z] [2022-10-26T14:18:40.677Z] Login Succeeded [2022-10-26T14:18:40.677Z] docker.io [2022-10-26T14:18:40.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T14:18:40.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T14:18:40.936Z] Configure a credential helper to remove this warning. See [2022-10-26T14:18:40.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T14:18:40.936Z] [2022-10-26T14:18:40.936Z] Login Succeeded [2022-10-26T14:18:40.936Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T14:18:40.964Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T14:18:41.546Z] + git rev-list -1 --merges 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe~1..6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe [Pipeline] echo [2022-10-26T14:18:41.596Z] -----------> git rev-list -1 --merges 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe~1..6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe [false] [Pipeline] sh [2022-10-26T14:18:41.903Z] + git log --format=format:%s -1 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe [Pipeline] echo [2022-10-26T14:18:41.938Z] ========================================================= [2022-10-26T14:18:41.939Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T14:18:41.939Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T14:18:42.369Z] + git log --format=format:%s -1 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe [Pipeline] echo [2022-10-26T14:18:42.403Z] [semverPrep] GIT_COMMIT: 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe, Commit Message: build: Update to latest go-mods [Pipeline] echo [2022-10-26T14:18:42.434Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T14:18:42.803Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T14:18:42.803Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T14:18:42.803Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T14:18:42.803Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T14:18:42.803Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T14:18:42.803Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T14:18:42.803Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T14:18:43.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T14:18:43.224Z] [2022-10-26T14:18:43.224Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T14:18:43.600Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T14:18:43.600Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T14:18:43.600Z] b85a868b505f: Pulling fs layer [2022-10-26T14:18:43.600Z] e2be974225ed: Pulling fs layer [2022-10-26T14:18:43.600Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T14:18:43.600Z] 988bab9f4d93: Pulling fs layer [2022-10-26T14:18:43.600Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T14:18:43.600Z] eaf3925da568: Pulling fs layer [2022-10-26T14:18:43.601Z] bab4dde63d76: Pulling fs layer [2022-10-26T14:18:43.601Z] bde34c3a00c8: Pulling fs layer [2022-10-26T14:18:43.601Z] b352a97aabf1: Pulling fs layer [2022-10-26T14:18:43.601Z] 4872d77fe225: Pulling fs layer [2022-10-26T14:18:43.601Z] 5851b861e8e6: Pulling fs layer [2022-10-26T14:18:43.601Z] 988bab9f4d93: Waiting [2022-10-26T14:18:43.601Z] 1469e6f7b9e6: Waiting [2022-10-26T14:18:43.601Z] eaf3925da568: Waiting [2022-10-26T14:18:43.601Z] 4872d77fe225: Waiting [2022-10-26T14:18:43.601Z] bab4dde63d76: Waiting [2022-10-26T14:18:43.601Z] bde34c3a00c8: Waiting [2022-10-26T14:18:43.601Z] b352a97aabf1: Waiting [2022-10-26T14:18:43.601Z] e2be974225ed: Verifying Checksum [2022-10-26T14:18:43.601Z] e2be974225ed: Download complete [2022-10-26T14:18:43.601Z] 988bab9f4d93: Verifying Checksum [2022-10-26T14:18:43.601Z] 988bab9f4d93: Download complete [2022-10-26T14:18:43.867Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T14:18:43.867Z] 1469e6f7b9e6: Download complete [2022-10-26T14:18:43.867Z] eaf3925da568: Verifying Checksum [2022-10-26T14:18:43.867Z] eaf3925da568: Download complete [2022-10-26T14:18:43.867Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T14:18:43.867Z] 339a4e72a1f5: Download complete [2022-10-26T14:18:43.867Z] bde34c3a00c8: Download complete [2022-10-26T14:18:43.867Z] b352a97aabf1: Verifying Checksum [2022-10-26T14:18:43.867Z] b352a97aabf1: Download complete [2022-10-26T14:18:44.133Z] 5851b861e8e6: Verifying Checksum [2022-10-26T14:18:44.133Z] 5851b861e8e6: Download complete [2022-10-26T14:18:44.133Z] b85a868b505f: Verifying Checksum [2022-10-26T14:18:44.133Z] b85a868b505f: Download complete [2022-10-26T14:18:44.465Z] bab4dde63d76: Verifying Checksum [2022-10-26T14:18:44.465Z] bab4dde63d76: Download complete [2022-10-26T14:18:45.413Z] b85a868b505f: Pull complete [2022-10-26T14:18:45.673Z] e2be974225ed: Pull complete [2022-10-26T14:18:46.243Z] 339a4e72a1f5: Pull complete [2022-10-26T14:18:46.243Z] 988bab9f4d93: Pull complete [2022-10-26T14:18:46.502Z] 1469e6f7b9e6: Pull complete [2022-10-26T14:18:46.502Z] eaf3925da568: Pull complete [2022-10-26T14:18:48.406Z] bab4dde63d76: Pull complete [2022-10-26T14:18:48.406Z] bde34c3a00c8: Pull complete [2022-10-26T14:18:48.668Z] b352a97aabf1: Pull complete [2022-10-26T14:18:48.668Z] 4872d77fe225: Pull complete [2022-10-26T14:18:48.668Z] 5851b861e8e6: Pull complete [2022-10-26T14:18:48.668Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T14:18:48.668Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T14:18:48.668Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T14:18:48.890Z] prd-ubuntu20.04-docker-8c-8g-117146 does not seem to be running inside a container [2022-10-26T14:18:48.911Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1251 -v /w/workspace/gexfoundry_device-sdk-go_PR-1251:/w/workspace/gexfoundry_device-sdk-go_PR-1251:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1251@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-devops/py-git-semver:0.1.4 cat [2022-10-26T14:18:50.106Z] $ docker top 6a0a0837fef2ed4c9e9f4682d0c4bacb697d8062f81fc03951994d189745b692 -eo pid,comm [2022-10-26T14:18:50.169Z] 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-10-26T14:18:50.169Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T14:18:50.293Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T14:18:50.293Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T14:18:50.411Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T14:18:50.407Z] $ docker exec 6a0a0837fef2ed4c9e9f4682d0c4bacb697d8062f81fc03951994d189745b692 ssh-agent [2022-10-26T14:18:50.542Z] SSH_AUTH_SOCK=/tmp/ssh-taG1yd5NKoNA/agent.32 [2022-10-26T14:18:50.542Z] SSH_AGENT_PID=38 [2022-10-26T14:18:50.549Z] Running ssh-add (command line suppressed) [2022-10-26T14:18:50.649Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp/private_key_13657632386850670243.key (/w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp/private_key_13657632386850670243.key) [2022-10-26T14:18:50.666Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T14:18:50.993Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T14:18:51.011Z] $ docker exec --env ******** --env ******** 6a0a0837fef2ed4c9e9f4682d0c4bacb697d8062f81fc03951994d189745b692 ssh-agent -k [2022-10-26T14:18:51.114Z] unset SSH_AUTH_SOCK; [2022-10-26T14:18:51.114Z] unset SSH_AGENT_PID; [2022-10-26T14:18:51.114Z] echo Agent pid 38 killed; [2022-10-26T14:18:51.130Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T14:18:51.212Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T14:18:51.212Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T14:18:51.343Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T14:18:51.339Z] $ docker exec 6a0a0837fef2ed4c9e9f4682d0c4bacb697d8062f81fc03951994d189745b692 ssh-agent [2022-10-26T14:18:51.462Z] SSH_AUTH_SOCK=/tmp/ssh-v2IAom1NvqqS/agent.70 [2022-10-26T14:18:51.462Z] SSH_AGENT_PID=76 [2022-10-26T14:18:51.466Z] Running ssh-add (command line suppressed) [2022-10-26T14:18:51.576Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp/private_key_15277748393722693195.key (/w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp/private_key_15277748393722693195.key) [2022-10-26T14:18:51.600Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T14:18:51.934Z] + git semver init [2022-10-26T14:18:52.194Z] 2022-10-26 14:18:52,117 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T14:18:52.194Z] 2022-10-26 14:18:52,118 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1251/.semver [2022-10-26T14:18:52.194Z] 2022-10-26 14:18:52,118 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1251/.semver [2022-10-26T14:18:52.194Z] 2022-10-26 14:18:52,118 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1251/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1251, universal_newlines=False, shell=None, istream=None) [2022-10-26T14:18:53.572Z] 2022-10-26 14:18:53,246 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1251/.git/info/exclude [2022-10-26T14:18:53.572Z] 2022-10-26 14:18:53,247 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1251/.semver/PR-1251 with force:False [2022-10-26T14:18:53.572Z] 2022-10-26 14:18:53,247 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1251/.semver/PR-1251 [2022-10-26T14:18:53.572Z] 2022-10-26 14:18:53,251 [execute] INFO git cat-file --batch-check [2022-10-26T14:18:53.572Z] 2022-10-26 14:18:53,252 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1251/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T14:18:53.572Z] 2022-10-26 14:18:53,257 [execute] INFO git cat-file --batch [2022-10-26T14:18:53.572Z] 2022-10-26 14:18:53,258 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1251/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T14:18:53.572Z] 2022-10-26 14:18:53,263 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1251/.semver/PR-1251 [2022-10-26T14:18:53.572Z] 0.0.0 [Pipeline] } [2022-10-26T14:18:53.595Z] $ docker exec --env ******** --env ******** 6a0a0837fef2ed4c9e9f4682d0c4bacb697d8062f81fc03951994d189745b692 ssh-agent -k [2022-10-26T14:18:53.704Z] unset SSH_AUTH_SOCK; [2022-10-26T14:18:53.705Z] unset SSH_AGENT_PID; [2022-10-26T14:18:53.705Z] echo Agent pid 76 killed; [2022-10-26T14:18:53.722Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T14:18:54.130Z] + git semver [Pipeline] } [2022-10-26T14:18:54.408Z] $ docker stop --time=1 6a0a0837fef2ed4c9e9f4682d0c4bacb697d8062f81fc03951994d189745b692 [2022-10-26T14:18:55.710Z] $ docker rm -f 6a0a0837fef2ed4c9e9f4682d0c4bacb697d8062f81fc03951994d189745b692 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T14:18:56.129Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T14:18:56.368Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T14:18:56.384Z] [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-10-26T14:18:56.936Z] provisioning config files... [2022-10-26T14:18:56.946Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp/config12227860457810610338tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T14:18:57.285Z] ---> docker-login.sh [2022-10-26T14:18:57.285Z] nexus3.edgexfoundry.org:10001 [2022-10-26T14:18:57.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T14:18:57.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T14:18:57.285Z] Configure a credential helper to remove this warning. See [2022-10-26T14:18:57.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T14:18:57.285Z] [2022-10-26T14:18:57.285Z] Login Succeeded [2022-10-26T14:18:57.285Z] nexus3.edgexfoundry.org:10002 [2022-10-26T14:18:57.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T14:18:57.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T14:18:57.285Z] Configure a credential helper to remove this warning. See [2022-10-26T14:18:57.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T14:18:57.285Z] [2022-10-26T14:18:57.285Z] Login Succeeded [2022-10-26T14:18:57.545Z] nexus3.edgexfoundry.org:10003 [2022-10-26T14:18:57.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T14:18:57.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T14:18:57.545Z] Configure a credential helper to remove this warning. See [2022-10-26T14:18:57.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T14:18:57.545Z] [2022-10-26T14:18:57.545Z] Login Succeeded [2022-10-26T14:18:57.545Z] nexus3.edgexfoundry.org:10004 [2022-10-26T14:18:57.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T14:18:57.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T14:18:57.545Z] Configure a credential helper to remove this warning. See [2022-10-26T14:18:57.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T14:18:57.545Z] [2022-10-26T14:18:57.545Z] Login Succeeded [2022-10-26T14:18:57.545Z] docker.io [2022-10-26T14:18:57.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T14:18:58.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T14:18:58.062Z] Configure a credential helper to remove this warning. See [2022-10-26T14:18:58.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T14:18:58.062Z] [2022-10-26T14:18:58.062Z] Login Succeeded [2022-10-26T14:18:58.062Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T14:18:58.093Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T14:18:58.291Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T14:18:58.330Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T14:18:58.366Z] ========================================================= [2022-10-26T14:18:58.366Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T14:18:58.366Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T14:18:58.833Z] + 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-10-26T14:18:58.833Z] Sending build context to Docker daemon 10.1MB [2022-10-26T14:18:58.833Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T14:18:58.833Z] Step 2/10 : FROM ${BASE} AS builder [2022-10-26T14:18:58.833Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T14:18:58.833Z] 213ec9aee27d: Pulling fs layer [2022-10-26T14:18:58.833Z] 4583459ba037: Pulling fs layer [2022-10-26T14:18:58.833Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T14:18:58.833Z] 53926ce57604: Pulling fs layer [2022-10-26T14:18:58.833Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T14:18:58.833Z] 53926ce57604: Waiting [2022-10-26T14:18:58.833Z] 30f14e443154: Pulling fs layer [2022-10-26T14:18:58.833Z] 801331c1e519: Pulling fs layer [2022-10-26T14:18:58.833Z] 21b2b0c7a3f4: Waiting [2022-10-26T14:18:58.833Z] 30f14e443154: Waiting [2022-10-26T14:18:58.833Z] 801331c1e519: Waiting [2022-10-26T14:18:58.833Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T14:18:58.833Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T14:18:58.833Z] 99cc6dd402b0: Waiting [2022-10-26T14:18:58.833Z] 7d9ed39f4882: Waiting [2022-10-26T14:18:59.096Z] 93c1e223e6f2: Verifying Checksum [2022-10-26T14:18:59.096Z] 93c1e223e6f2: Download complete [2022-10-26T14:18:59.096Z] 4583459ba037: Download complete [2022-10-26T14:18:59.096Z] 21b2b0c7a3f4: Download complete [2022-10-26T14:18:59.096Z] 30f14e443154: Verifying Checksum [2022-10-26T14:18:59.096Z] 30f14e443154: Download complete [2022-10-26T14:18:59.096Z] 213ec9aee27d: Verifying Checksum [2022-10-26T14:18:59.096Z] 801331c1e519: Verifying Checksum [2022-10-26T14:18:59.096Z] 801331c1e519: Download complete [2022-10-26T14:18:59.096Z] 213ec9aee27d: Pull complete [2022-10-26T14:18:59.369Z] 4583459ba037: Pull complete [2022-10-26T14:18:59.369Z] 93c1e223e6f2: Pull complete [2022-10-26T14:18:59.963Z] 53926ce57604: Verifying Checksum [2022-10-26T14:18:59.963Z] 53926ce57604: Download complete [2022-10-26T14:18:59.963Z] 7d9ed39f4882: Verifying Checksum [2022-10-26T14:18:59.963Z] 7d9ed39f4882: Download complete [2022-10-26T14:19:00.224Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T14:19:00.224Z] 99cc6dd402b0: Download complete [2022-10-26T14:19:04.407Z] 53926ce57604: Pull complete [2022-10-26T14:19:04.407Z] 21b2b0c7a3f4: Pull complete [2022-10-26T14:19:04.407Z] 30f14e443154: Pull complete [2022-10-26T14:19:04.407Z] 801331c1e519: Pull complete [2022-10-26T14:19:06.308Z] 99cc6dd402b0: Pull complete [2022-10-26T14:19:07.241Z] 7d9ed39f4882: Pull complete [2022-10-26T14:19:07.241Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T14:19:07.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T14:19:07.241Z] ---> 1dedd983c030 [2022-10-26T14:19:07.241Z] Step 3/10 : ARG MAKE=make build [2022-10-26T14:19:08.617Z] ---> Running in 913a7e6b4685 [2022-10-26T14:19:08.617Z] Removing intermediate container 913a7e6b4685 [2022-10-26T14:19:08.617Z] ---> 4d85daf61a87 [2022-10-26T14:19:08.617Z] Step 4/10 : WORKDIR /device-sdk-go [2022-10-26T14:19:08.617Z] ---> Running in 03d2be2e3d8d [2022-10-26T14:19:08.877Z] Removing intermediate container 03d2be2e3d8d [2022-10-26T14:19:08.877Z] ---> 8cae4112a4b1 [2022-10-26T14:19:08.877Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T14:19:08.877Z] ---> Running in cf4fe92119ec [2022-10-26T14:19:08.877Z] Removing intermediate container cf4fe92119ec [2022-10-26T14:19:08.877Z] ---> 26ef138998b5 [2022-10-26T14:19:08.877Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T14:19:08.877Z] ---> Running in 06af1e5f7ef9 [2022-10-26T14:19:09.444Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T14:19:09.444Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T14:19:09.703Z] OK: 211 MiB in 51 packages [2022-10-26T14:19:09.961Z] Removing intermediate container 06af1e5f7ef9 [2022-10-26T14:19:09.961Z] ---> 5b75c5700bf6 [2022-10-26T14:19:09.961Z] Step 7/10 : COPY go.mod vendor* ./ [2022-10-26T14:19:10.219Z] ---> 5dfd9247f928 [2022-10-26T14:19:10.219Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T14:19:10.219Z] ---> Running in db043ab2d09f [2022-10-26T14:19:11.771Z] Still waiting to schedule task [2022-10-26T14:19:11.772Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-117144’ [2022-10-26T14:19:28.302Z] Removing intermediate container db043ab2d09f [2022-10-26T14:19:28.302Z] ---> d4cb09b427d1 [2022-10-26T14:19:28.302Z] Step 9/10 : COPY . . [2022-10-26T14:19:28.302Z] ---> 4d67b171d894 [2022-10-26T14:19:28.302Z] Step 10/10 : RUN ${MAKE} [2022-10-26T14:19:28.302Z] ---> Running in 2e34e4b942fe [2022-10-26T14:19:28.302Z] noop [2022-10-26T14:19:28.302Z] Removing intermediate container 2e34e4b942fe [2022-10-26T14:19:28.302Z] ---> 2684f9416328 [2022-10-26T14:19:28.302Z] Successfully built 2684f9416328 [2022-10-26T14:19:28.302Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T14:19:28.748Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T14:19:28.748Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T14:19:28.904Z] prd-ubuntu20.04-docker-8c-8g-117146 does not seem to be running inside a container [2022-10-26T14:19:28.925Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1251 -v /w/workspace/gexfoundry_device-sdk-go_PR-1251:/w/workspace/gexfoundry_device-sdk-go_PR-1251:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1251@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T14:19:29.309Z] $ docker top 9ef463d0867ee3a03220ec040b3081be72b1dcc7cdf9f70ed39b7b3197bf1d59 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T14:19:29.706Z] + go version [2022-10-26T14:19:29.706Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T14:19:29.731Z] $ docker stop --time=1 9ef463d0867ee3a03220ec040b3081be72b1dcc7cdf9f70ed39b7b3197bf1d59 [2022-10-26T14:19:31.035Z] $ docker rm -f 9ef463d0867ee3a03220ec040b3081be72b1dcc7cdf9f70ed39b7b3197bf1d59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T14:19:31.734Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T14:19:31.734Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T14:19:31.884Z] prd-ubuntu20.04-docker-8c-8g-117146 does not seem to be running inside a container [2022-10-26T14:19:31.908Z] $ 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-1251 -v /w/workspace/gexfoundry_device-sdk-go_PR-1251:/w/workspace/gexfoundry_device-sdk-go_PR-1251:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1251@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T14:19:32.306Z] $ docker top 47a9ff53b306034fb65a63098de4d33551239f25e34882a63abfd76aa1f2c689 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T14:19:32.697Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1251 [Pipeline] fileExists [Pipeline] sh [2022-10-26T14:19:33.044Z] + make test [2022-10-26T14:19:33.044Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-26T14:19:39.609Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-26T14:19:54.478Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-26T14:19:54.478Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-26T14:19:54.478Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-26T14:19:54.478Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-26T14:19:54.478Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-26T14:19:55.043Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 27.6% of statements [2022-10-26T14:19:55.043Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements [2022-10-26T14:19:55.043Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-26T14:19:55.043Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.102s coverage: 73.1% of statements [2022-10-26T14:19:55.043Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-26T14:19:55.043Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-26T14:19:55.610Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.112s coverage: 54.4% of statements [2022-10-26T14:19:55.610Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-26T14:19:55.610Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-26T14:19:55.610Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-26T14:19:55.610Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-26T14:19:55.610Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.103s coverage: 65.1% of statements [2022-10-26T14:19:55.610Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-26T14:19:55.610Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-26T14:19:55.610Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.774s coverage: 89.2% of statements [2022-10-26T14:19:55.610Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-26T14:19:55.610Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.071s coverage: 4.7% of statements [2022-10-26T14:19:55.610Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-26T14:20:13.682Z] 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-10-26T14:20:13.682Z] GO111MODULE=on go vet ./... [2022-10-26T14:20:16.966Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T14:20:16.966Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T14:20:16.966Z] ./bin/test-attribution-txt.sh [2022-10-26T14:20:16.966Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-26T14:20:16.966Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-26T14:20:16.966Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-26T14:20:16.966Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-26T14:20:17.002Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T14:20:17.022Z] $ docker stop --time=1 47a9ff53b306034fb65a63098de4d33551239f25e34882a63abfd76aa1f2c689 [2022-10-26T14:20:18.987Z] $ docker rm -f 47a9ff53b306034fb65a63098de4d33551239f25e34882a63abfd76aa1f2c689 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T14:20:19.594Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T14:20:19.666Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T14:20:20.220Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T14:20:20.528Z] + ls -al . [2022-10-26T14:20:20.528Z] total 280 [2022-10-26T14:20:20.528Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 14:19 . [2022-10-26T14:20:20.528Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 14:18 .. [2022-10-26T14:20:20.528Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 14:18 .dockerignore [2022-10-26T14:20:20.528Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 14:19 .git [2022-10-26T14:20:20.528Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 14:18 .github [2022-10-26T14:20:20.528Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 26 14:18 .gitignore [2022-10-26T14:20:20.528Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 14:18 .golangci.yml [2022-10-26T14:20:20.528Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 14:18 .semver [2022-10-26T14:20:20.528Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 26 14:18 CHANGELOG.md [2022-10-26T14:20:20.528Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 14:18 GOVERNANCE.md [2022-10-26T14:20:20.528Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 26 14:18 Jenkinsfile [2022-10-26T14:20:20.528Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 14:18 LICENSE [2022-10-26T14:20:20.528Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 26 14:18 Makefile [2022-10-26T14:20:20.528Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 14:18 OWNERS.md [2022-10-26T14:20:20.528Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 26 14:18 README.md [2022-10-26T14:20:20.528Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 14:18 VERSION [2022-10-26T14:20:20.528Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 14:18 bin [2022-10-26T14:20:20.528Z] -rw-r--r-- 1 jenkins jenkins 101759 Oct 26 14:19 coverage.out [2022-10-26T14:20:20.528Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 14:18 example [2022-10-26T14:20:20.528Z] -rw-rw-r-- 1 jenkins jenkins 3389 Oct 26 14:18 go.mod [2022-10-26T14:20:20.528Z] -rw-rw-r-- 1 jenkins jenkins 44507 Oct 26 14:18 go.sum [2022-10-26T14:20:20.528Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 26 14:18 internal [2022-10-26T14:20:20.528Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 14:18 openapi [2022-10-26T14:20:20.528Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 14:18 pkg [2022-10-26T14:20:20.528Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 14:18 snap [2022-10-26T14:20:20.528Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 14:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T14:20:20.921Z] + 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=6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe --label arch=amd64 --label version=0.0.0 . [2022-10-26T14:20:20.921Z] Sending build context to Docker daemon 10.21MB [2022-10-26T14:20:20.921Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T14:20:20.921Z] Step 2/23 : FROM ${BASE} AS builder [2022-10-26T14:20:20.921Z] ---> 2684f9416328 [2022-10-26T14:20:20.921Z] Step 3/23 : ARG MAKE=make build [2022-10-26T14:20:20.921Z] ---> Running in 5a65711124bd [2022-10-26T14:20:21.181Z] Removing intermediate container 5a65711124bd [2022-10-26T14:20:21.181Z] ---> e17dfd82dd98 [2022-10-26T14:20:21.181Z] Step 4/23 : WORKDIR /device-sdk-go [2022-10-26T14:20:21.181Z] ---> Running in 15cf10f8256c [2022-10-26T14:20:21.181Z] Removing intermediate container 15cf10f8256c [2022-10-26T14:20:21.181Z] ---> 335dea22a9d3 [2022-10-26T14:20:21.181Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T14:20:21.440Z] ---> Running in e4beaf2d25ed [2022-10-26T14:20:21.440Z] Removing intermediate container e4beaf2d25ed [2022-10-26T14:20:21.440Z] ---> 871edcc3befe [2022-10-26T14:20:21.440Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T14:20:21.440Z] ---> Running in 808be1756767 [2022-10-26T14:20:21.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T14:20:21.957Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T14:20:21.957Z] OK: 211 MiB in 51 packages [2022-10-26T14:20:22.523Z] Removing intermediate container 808be1756767 [2022-10-26T14:20:22.523Z] ---> a919e5d3117c [2022-10-26T14:20:22.523Z] Step 7/23 : COPY go.mod vendor* ./ [2022-10-26T14:20:22.523Z] ---> 1b68af66f36e [2022-10-26T14:20:22.523Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T14:20:22.523Z] ---> Running in 4d12cf398b99 [2022-10-26T14:20:23.460Z] Removing intermediate container 4d12cf398b99 [2022-10-26T14:20:23.460Z] ---> 87c7b9e6cc9e [2022-10-26T14:20:23.460Z] Step 9/23 : COPY . . [2022-10-26T14:20:23.718Z] ---> 974e1514a4df [2022-10-26T14:20:23.718Z] Step 10/23 : RUN ${MAKE} [2022-10-26T14:20:23.718Z] ---> Running in 526f4f5d2a7d [2022-10-26T14:20:23.978Z] 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-10-26T14:20:42.059Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-26T14:20:45.342Z] Removing intermediate container 526f4f5d2a7d [2022-10-26T14:20:45.342Z] ---> cc96f063ed28 [2022-10-26T14:20:45.342Z] Step 11/23 : FROM alpine:3.16 [2022-10-26T14:20:45.909Z] 3.16: Pulling from library/alpine [2022-10-26T14:20:47.287Z] 213ec9aee27d: Already exists [2022-10-26T14:20:51.477Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T14:20:51.477Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T14:20:51.477Z] ---> 9c6f07244728 [2022-10-26T14:20:51.477Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T14:20:51.477Z] ---> Running in 86243d17bff6 [2022-10-26T14:20:51.477Z] Removing intermediate container 86243d17bff6 [2022-10-26T14:20:51.477Z] ---> bc658a969a90 [2022-10-26T14:20:51.477Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-10-26T14:20:51.477Z] ---> Running in cf9988edfdb0 [2022-10-26T14:20:51.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T14:20:51.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T14:20:51.996Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T14:20:51.996Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-26T14:20:51.996Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T14:20:51.996Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-26T14:20:51.996Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-26T14:20:51.996Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T14:20:51.996Z] OK: 8 MiB in 19 packages [2022-10-26T14:20:52.265Z] Removing intermediate container cf9988edfdb0 [2022-10-26T14:20:52.265Z] ---> f4a2081eb820 [2022-10-26T14:20:52.266Z] Step 14/23 : WORKDIR / [2022-10-26T14:20:52.524Z] ---> Running in 4cc29026fbdd [2022-10-26T14:20:52.524Z] Removing intermediate container 4cc29026fbdd [2022-10-26T14:20:52.524Z] ---> 117e04059c83 [2022-10-26T14:20:52.524Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-26T14:20:52.524Z] ---> 6b56ca9c6e25 [2022-10-26T14:20:52.524Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-26T14:20:53.090Z] ---> 4295f987a62c [2022-10-26T14:20:53.090Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-26T14:20:53.348Z] ---> 67d138838f69 [2022-10-26T14:20:53.348Z] Step 18/23 : EXPOSE 59999 [2022-10-26T14:20:53.348Z] ---> Running in 7e94e2c7e754 [2022-10-26T14:20:53.348Z] Removing intermediate container 7e94e2c7e754 [2022-10-26T14:20:53.348Z] ---> 8379371657f7 [2022-10-26T14:20:53.348Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-10-26T14:20:53.348Z] ---> Running in 4437a1297ad4 [2022-10-26T14:20:53.606Z] Removing intermediate container 4437a1297ad4 [2022-10-26T14:20:53.606Z] ---> 8226df53ad17 [2022-10-26T14:20:53.606Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T14:20:53.606Z] ---> Running in 572034bfbbe8 [2022-10-26T14:20:53.606Z] Removing intermediate container 572034bfbbe8 [2022-10-26T14:20:53.606Z] ---> 1e4b962d825d [2022-10-26T14:20:53.606Z] Step 21/23 : LABEL arch=amd64 [2022-10-26T14:20:53.864Z] ---> Running in 7e932c01e995 [2022-10-26T14:20:53.864Z] Removing intermediate container 7e932c01e995 [2022-10-26T14:20:53.864Z] ---> f615a60b9196 [2022-10-26T14:20:53.864Z] Step 22/23 : LABEL git_sha=6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe [2022-10-26T14:20:53.864Z] ---> Running in f2ff93677da4 [2022-10-26T14:20:53.864Z] Removing intermediate container f2ff93677da4 [2022-10-26T14:20:53.864Z] ---> 4dd14a6c9a68 [2022-10-26T14:20:53.864Z] Step 23/23 : LABEL version=0.0.0 [2022-10-26T14:20:54.123Z] ---> Running in 8f94bb5aba9f [2022-10-26T14:20:54.123Z] Removing intermediate container 8f94bb5aba9f [2022-10-26T14:20:54.123Z] ---> f1a4be541bdb [2022-10-26T14:20:54.123Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T14:20:54.123Z] Successfully built f1a4be541bdb [2022-10-26T14:20:54.123Z] 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-10-26T14:20:54.959Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T14:20:54.959Z] [2022-10-26T14:20:54.959Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T14:20:55.320Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T14:20:55.320Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T14:20:55.320Z] 5eb5b503b376: Pulling fs layer [2022-10-26T14:20:55.320Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T14:20:55.320Z] ec43610c2a17: Pulling fs layer [2022-10-26T14:20:55.320Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T14:20:55.320Z] 33b1e0a273af: Pulling fs layer [2022-10-26T14:20:55.320Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T14:20:55.320Z] 2f39f015ded8: Pulling fs layer [2022-10-26T14:20:55.320Z] 2f39f015ded8: Waiting [2022-10-26T14:20:55.320Z] 33b1e0a273af: Waiting [2022-10-26T14:20:55.320Z] 5d3b04190fa2: Waiting [2022-10-26T14:20:55.320Z] 3a2ae6a8a46f: Waiting [2022-10-26T14:20:55.320Z] 5c69ac0246d0: Verifying Checksum [2022-10-26T14:20:55.320Z] 5c69ac0246d0: Download complete [2022-10-26T14:20:55.320Z] 3a2ae6a8a46f: Download complete [2022-10-26T14:20:55.579Z] 33b1e0a273af: Verifying Checksum [2022-10-26T14:20:55.579Z] 33b1e0a273af: Download complete [2022-10-26T14:20:55.579Z] ec43610c2a17: Verifying Checksum [2022-10-26T14:20:55.579Z] ec43610c2a17: Download complete [2022-10-26T14:20:55.579Z] 5d3b04190fa2: Verifying Checksum [2022-10-26T14:20:55.579Z] 5d3b04190fa2: Download complete [2022-10-26T14:20:55.579Z] 5eb5b503b376: Download complete [2022-10-26T14:20:56.145Z] 2f39f015ded8: Download complete [2022-10-26T14:20:56.710Z] 5eb5b503b376: Pull complete [2022-10-26T14:20:56.969Z] 5c69ac0246d0: Pull complete [2022-10-26T14:20:57.273Z] ec43610c2a17: Pull complete [2022-10-26T14:20:57.534Z] 3a2ae6a8a46f: Pull complete [2022-10-26T14:20:57.792Z] 33b1e0a273af: Pull complete [2022-10-26T14:20:57.792Z] 5d3b04190fa2: Pull complete [2022-10-26T14:21:01.970Z] 2f39f015ded8: Pull complete [2022-10-26T14:21:01.970Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T14:21:01.970Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T14:21:01.970Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T14:21:02.186Z] prd-ubuntu20.04-docker-8c-8g-117146 does not seem to be running inside a container [2022-10-26T14:21:02.210Z] $ 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-1251 -v /w/workspace/gexfoundry_device-sdk-go_PR-1251:/w/workspace/gexfoundry_device-sdk-go_PR-1251:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1251@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T14:21:03.740Z] $ docker top 7f21daf4fd389915d91fe4376a690a084a43be1666875ff7a8ae95f3300acd43 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T14:21:04.196Z] ---> job-cost.sh [2022-10-26T14:21:04.196Z] lf-activate-venv: SKIPPING [2022-10-26T14:21:04.196Z] INFO: No Stack... [2022-10-26T14:21:04.763Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T14:21:05.021Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T14:21:05.331Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1251/archives/cost.csv [2022-10-26T14:21:05.331Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T14:21:05.369Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1251-1-stack-cost] [2022-10-26T14:21:05.374Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1251-1-stack-cost] did not exist. Created. [2022-10-26T14:21:05.374Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1251-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T14:21:05.750Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T14:21:05.804Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T14:21:05.827Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1251-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T14:21:05.893Z] $ docker stop --time=1 7f21daf4fd389915d91fe4376a690a084a43be1666875ff7a8ae95f3300acd43 [2022-10-26T14:21:07.068Z] $ docker rm -f 7f21daf4fd389915d91fe4376a690a084a43be1666875ff7a8ae95f3300acd43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T14:22:04.840Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117148 in /w/workspace/gexfoundry_device-sdk-go_PR-1251 [Pipeline] { [Pipeline] ws [2022-10-26T14:22:04.880Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-10-26T14:22:04.959Z] The recommended git tool is: git [2022-10-26T14:22:10.517Z] using credential edgex-jenkins-ssh [2022-10-26T14:22:10.539Z] Cloning the remote Git repository [2022-10-26T14:22:10.584Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-10-26T14:22:10.690Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-10-26T14:22:10.869Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-26T14:22:10.871Z] > git --version # timeout=10 [2022-10-26T14:22:10.898Z] > git --version # 'git version 2.25.1' [2022-10-26T14:22:10.902Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T14:22:10.967Z] Verifying host key using known hosts file [2022-10-26T14:22:11.207Z] 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-10-26T14:22:11.227Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T14:22:12.989Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-26T14:22:13.016Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T14:22:14.747Z] Merging remotes/origin/main commit 21e2314d0be0883f9fe388992978a72096c1cede into PR head commit 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe [2022-10-26T14:22:15.041Z] Merge succeeded, producing 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe [2022-10-26T14:22:15.041Z] Checking out Revision 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe (PR-1251) [2022-10-26T14:22:13.943Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-26T14:22:13.992Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-26T14:22:13.994Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T14:22:14.000Z] Verifying host key using known hosts file [2022-10-26T14:22:14.008Z] 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-10-26T14:22:14.019Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1251/head:refs/remotes/origin/PR-1251 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-26T14:22:14.762Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T14:22:14.782Z] > git checkout -f 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe # timeout=10 [2022-10-26T14:22:14.907Z] > git remote # timeout=10 [2022-10-26T14:22:14.930Z] > git config --get remote.origin.url # timeout=10 [2022-10-26T14:22:14.955Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T14:22:14.960Z] Verifying host key using known hosts file [2022-10-26T14:22:14.964Z] 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-10-26T14:22:14.975Z] > git merge 21e2314d0be0883f9fe388992978a72096c1cede # timeout=10 [2022-10-26T14:22:15.004Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-26T14:22:15.041Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T14:22:15.059Z] > git checkout -f 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe # timeout=10 [2022-10-26T14:22:18.694Z] Commit message: "build: Update to latest go-mods" [2022-10-26T14:22:18.745Z] > git --version # timeout=10 [2022-10-26T14:22:18.759Z] > git --version # 'git version 2.25.1' [2022-10-26T14:22:18.776Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T14:22:20.034Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T14:22:20.034Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T14:22:20.034Z] Dload Upload Total Spent Left Speed [2022-10-26T14:22:20.034Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 208k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh [2022-10-26T14:22:20.770Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T14:22:21.145Z] + sudo tee /etc/docker/daemon.new [2022-10-26T14:22:21.145Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T14:22:21.145Z] { [2022-10-26T14:22:21.145Z] "registry-mirrors": [ [2022-10-26T14:22:21.145Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T14:22:21.145Z] ], [2022-10-26T14:22:21.145Z] "bip": "10.250.0.254/24", [2022-10-26T14:22:21.145Z] "hosts": [ [2022-10-26T14:22:21.145Z] "tcp://0.0.0.0:5555", [2022-10-26T14:22:21.145Z] "unix:///var/run/docker.sock" [2022-10-26T14:22:21.145Z] ], [2022-10-26T14:22:21.145Z] "mtu": 1458, [2022-10-26T14:22:21.145Z] "selinux-enabled": true, [2022-10-26T14:22:21.145Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T14:22:21.145Z] } [Pipeline] sh [2022-10-26T14:22:21.514Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T14:22:21.879Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T14:22:40.223Z] provisioning config files... [2022-10-26T14:22:40.251Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config15565145909246683481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T14:22:40.633Z] ---> docker-login.sh [2022-10-26T14:22:40.633Z] nexus3.edgexfoundry.org:10001 [2022-10-26T14:22:41.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T14:22:41.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T14:22:41.221Z] Configure a credential helper to remove this warning. See [2022-10-26T14:22:41.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T14:22:41.221Z] [2022-10-26T14:22:41.221Z] Login Succeeded [2022-10-26T14:22:41.221Z] nexus3.edgexfoundry.org:10002 [2022-10-26T14:22:41.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T14:22:41.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T14:22:41.762Z] Configure a credential helper to remove this warning. See [2022-10-26T14:22:41.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T14:22:41.762Z] [2022-10-26T14:22:41.762Z] Login Succeeded [2022-10-26T14:22:41.762Z] nexus3.edgexfoundry.org:10003 [2022-10-26T14:22:42.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T14:22:42.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T14:22:42.036Z] Configure a credential helper to remove this warning. See [2022-10-26T14:22:42.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T14:22:42.036Z] [2022-10-26T14:22:42.036Z] Login Succeeded [2022-10-26T14:22:42.036Z] nexus3.edgexfoundry.org:10004 [2022-10-26T14:22:42.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T14:22:42.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T14:22:42.308Z] Configure a credential helper to remove this warning. See [2022-10-26T14:22:42.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T14:22:42.308Z] [2022-10-26T14:22:42.308Z] Login Succeeded [2022-10-26T14:22:42.580Z] docker.io [2022-10-26T14:22:42.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T14:22:43.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T14:22:43.168Z] Configure a credential helper to remove this warning. See [2022-10-26T14:22:43.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T14:22:43.168Z] [2022-10-26T14:22:43.168Z] Login Succeeded [2022-10-26T14:22:43.168Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T14:22:43.203Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T14:22:43.503Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T14:22:43.541Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T14:22:43.575Z] ========================================================= [2022-10-26T14:22:43.575Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T14:22:43.575Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T14:22:44.093Z] + 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-10-26T14:22:44.361Z] Sending build context to Docker daemon 5.449MB [2022-10-26T14:22:44.361Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T14:22:44.361Z] Step 2/10 : FROM ${BASE} AS builder [2022-10-26T14:22:44.634Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T14:22:44.634Z] 9b18e9b68314: Pulling fs layer [2022-10-26T14:22:44.634Z] d32db5db7311: Pulling fs layer [2022-10-26T14:22:44.634Z] d0c4b47475fc: Pulling fs layer [2022-10-26T14:22:44.634Z] 5831b945b038: Pulling fs layer [2022-10-26T14:22:44.634Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T14:22:44.634Z] e10730c5d714: Pulling fs layer [2022-10-26T14:22:44.634Z] 5dd5c2283517: Pulling fs layer [2022-10-26T14:22:44.634Z] d5ac0230b979: Pulling fs layer [2022-10-26T14:22:44.634Z] 5831b945b038: Waiting [2022-10-26T14:22:44.634Z] 86bbec2aaacd: Waiting [2022-10-26T14:22:44.634Z] e10730c5d714: Waiting [2022-10-26T14:22:44.634Z] 5dd5c2283517: Waiting [2022-10-26T14:22:44.634Z] d5ac0230b979: Waiting [2022-10-26T14:22:44.634Z] d0c4b47475fc: Download complete [2022-10-26T14:22:44.634Z] d32db5db7311: Verifying Checksum [2022-10-26T14:22:44.635Z] d32db5db7311: Download complete [2022-10-26T14:22:44.635Z] 86bbec2aaacd: Download complete [2022-10-26T14:22:44.635Z] e10730c5d714: Verifying Checksum [2022-10-26T14:22:44.635Z] e10730c5d714: Download complete [2022-10-26T14:22:44.635Z] 9b18e9b68314: Verifying Checksum [2022-10-26T14:22:44.635Z] 9b18e9b68314: Download complete [2022-10-26T14:22:46.065Z] d5ac0230b979: Verifying Checksum [2022-10-26T14:22:46.065Z] d5ac0230b979: Download complete [2022-10-26T14:22:46.065Z] 9b18e9b68314: Pull complete [2022-10-26T14:22:46.662Z] d32db5db7311: Pull complete [2022-10-26T14:22:46.662Z] d0c4b47475fc: Pull complete [2022-10-26T14:22:47.249Z] 5dd5c2283517: Verifying Checksum [2022-10-26T14:22:47.249Z] 5dd5c2283517: Download complete [2022-10-26T14:22:47.833Z] 5831b945b038: Verifying Checksum [2022-10-26T14:22:47.833Z] 5831b945b038: Download complete [2022-10-26T14:23:00.168Z] 5831b945b038: Pull complete [2022-10-26T14:23:00.168Z] 86bbec2aaacd: Pull complete [2022-10-26T14:23:00.168Z] e10730c5d714: Pull complete [2022-10-26T14:23:05.526Z] 5dd5c2283517: Pull complete [2022-10-26T14:23:08.122Z] d5ac0230b979: Pull complete [2022-10-26T14:23:08.122Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T14:23:08.122Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T14:23:08.122Z] ---> 59b3b1a385d4 [2022-10-26T14:23:08.122Z] Step 3/10 : ARG MAKE=make build [2022-10-26T14:23:10.089Z] ---> Running in fdcbffb84931 [2022-10-26T14:23:10.089Z] Removing intermediate container fdcbffb84931 [2022-10-26T14:23:10.089Z] ---> ff86f47ad5e0 [2022-10-26T14:23:10.089Z] Step 4/10 : WORKDIR /device-sdk-go [2022-10-26T14:23:10.359Z] ---> Running in 5d31783e057a [2022-10-26T14:23:10.631Z] Removing intermediate container 5d31783e057a [2022-10-26T14:23:10.631Z] ---> e93aa4b168d3 [2022-10-26T14:23:10.631Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T14:23:10.631Z] ---> Running in d7762e216325 [2022-10-26T14:23:10.899Z] Removing intermediate container d7762e216325 [2022-10-26T14:23:10.899Z] ---> a5975b9d9356 [2022-10-26T14:23:10.899Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T14:23:11.168Z] ---> Running in 57f4b8957b64 [2022-10-26T14:23:12.133Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T14:23:12.401Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T14:23:13.366Z] OK: 221 MiB in 51 packages [2022-10-26T14:23:14.332Z] Removing intermediate container 57f4b8957b64 [2022-10-26T14:23:14.332Z] ---> 039827fbf9db [2022-10-26T14:23:14.332Z] Step 7/10 : COPY go.mod vendor* ./ [2022-10-26T14:23:14.920Z] ---> e23633058f8b [2022-10-26T14:23:14.920Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T14:23:14.920Z] ---> Running in 9c6fff459c07 [2022-10-26T14:24:11.344Z] Removing intermediate container 9c6fff459c07 [2022-10-26T14:24:11.345Z] ---> 3e3bdbda2d70 [2022-10-26T14:24:11.345Z] Step 9/10 : COPY . . [2022-10-26T14:24:11.345Z] ---> c6b18a4a5728 [2022-10-26T14:24:11.345Z] Step 10/10 : RUN ${MAKE} [2022-10-26T14:24:11.345Z] ---> Running in 47f74520f2c4 [2022-10-26T14:24:11.620Z] noop [2022-10-26T14:24:12.584Z] Removing intermediate container 47f74520f2c4 [2022-10-26T14:24:12.584Z] ---> e57e6b26f68b [2022-10-26T14:24:12.584Z] Successfully built e57e6b26f68b [2022-10-26T14:24:12.584Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T14:24:13.062Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T14:24:13.062Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T14:24:13.316Z] prd-ubuntu20.04-docker-arm64-4c-16g-117148 does not seem to be running inside a container [2022-10-26T14:24:13.378Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T14:24:14.621Z] $ docker top 9ae0194b47e3c1ffe8b4bce9c0956f56a516f8ff8a99590a5688fcca8b751816 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T14:24:15.521Z] + go version [2022-10-26T14:24:15.521Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T14:24:15.552Z] $ docker stop --time=1 9ae0194b47e3c1ffe8b4bce9c0956f56a516f8ff8a99590a5688fcca8b751816 [2022-10-26T14:24:17.204Z] $ docker rm -f 9ae0194b47e3c1ffe8b4bce9c0956f56a516f8ff8a99590a5688fcca8b751816 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T14:24:18.060Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T14:24:18.060Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T14:24:18.329Z] prd-ubuntu20.04-docker-arm64-4c-16g-117148 does not seem to be running inside a container [2022-10-26T14:24:18.397Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T14:24:19.707Z] $ docker top 08dc800a89b6c9f734bfe0414a2dc86f8b604ae2e2edd2ec08643761ff14f1ff -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T14:24:20.592Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-26T14:24:21.299Z] + make test [2022-10-26T14:24:21.300Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-26T14:24:53.533Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-26T14:27:15.264Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-26T14:27:15.264Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-26T14:27:15.264Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-26T14:27:15.264Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-26T14:27:15.264Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-26T14:27:21.938Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.321s coverage: 27.6% of statements [2022-10-26T14:27:22.530Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.402s coverage: 78.9% of statements [2022-10-26T14:27:22.530Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-26T14:27:32.620Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.835s coverage: 73.1% of statements [2022-10-26T14:27:32.620Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-26T14:27:32.620Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-26T14:27:36.893Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.738s coverage: 54.4% of statements [2022-10-26T14:27:36.893Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-26T14:27:36.893Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-26T14:27:36.893Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-26T14:27:36.893Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-26T14:27:36.893Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.491s coverage: 65.1% of statements [2022-10-26T14:27:36.893Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-26T14:27:36.893Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-26T14:27:36.893Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.137s coverage: 89.2% of statements [2022-10-26T14:27:36.893Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-26T14:27:41.158Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.282s coverage: 4.7% of statements [2022-10-26T14:27:41.158Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-26T14:27:41.428Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T14:27:41.428Z] GO111MODULE=on go vet ./... [2022-10-26T14:29:33.132Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T14:29:33.132Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T14:29:33.132Z] ./bin/test-attribution-txt.sh [2022-10-26T14:29:33.132Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-26T14:29:33.132Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-26T14:29:33.132Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-26T14:29:33.132Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-26T14:29:33.182Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T14:29:33.212Z] $ docker stop --time=1 08dc800a89b6c9f734bfe0414a2dc86f8b604ae2e2edd2ec08643761ff14f1ff [2022-10-26T14:29:35.065Z] $ docker rm -f 08dc800a89b6c9f734bfe0414a2dc86f8b604ae2e2edd2ec08643761ff14f1ff [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T14:29:36.606Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T14:29:36.640Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T14:29:37.239Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T14:29:37.843Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T14:29:38.184Z] + ls -al . [2022-10-26T14:29:38.184Z] total 276 [2022-10-26T14:29:38.184Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 14:24 . [2022-10-26T14:29:38.184Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 14:22 .. [2022-10-26T14:29:38.184Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 14:22 .dockerignore [2022-10-26T14:29:38.184Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 14:22 .git [2022-10-26T14:29:38.184Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 14:22 .github [2022-10-26T14:29:38.184Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 26 14:22 .gitignore [2022-10-26T14:29:38.184Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 14:22 .golangci.yml [2022-10-26T14:29:38.184Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 26 14:22 CHANGELOG.md [2022-10-26T14:29:38.184Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 14:22 GOVERNANCE.md [2022-10-26T14:29:38.184Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 26 14:22 Jenkinsfile [2022-10-26T14:29:38.184Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 14:22 LICENSE [2022-10-26T14:29:38.184Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 26 14:22 Makefile [2022-10-26T14:29:38.184Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 14:22 OWNERS.md [2022-10-26T14:29:38.184Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 26 14:22 README.md [2022-10-26T14:29:38.184Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 14:18 VERSION [2022-10-26T14:29:38.184Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 14:22 bin [2022-10-26T14:29:38.184Z] -rw-r--r-- 1 jenkins jenkins 101759 Oct 26 14:27 coverage.out [2022-10-26T14:29:38.184Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 14:22 example [2022-10-26T14:29:38.185Z] -rw-rw-r-- 1 jenkins jenkins 3389 Oct 26 14:22 go.mod [2022-10-26T14:29:38.185Z] -rw-rw-r-- 1 jenkins jenkins 44507 Oct 26 14:22 go.sum [2022-10-26T14:29:38.185Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 26 14:22 internal [2022-10-26T14:29:38.185Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 14:22 openapi [2022-10-26T14:29:38.185Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 14:22 pkg [2022-10-26T14:29:38.185Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 14:22 snap [2022-10-26T14:29:38.185Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 14:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T14:29:38.608Z] + 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=6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe --label arch=arm64 --label version=0.0.0 . [2022-10-26T14:29:38.881Z] Sending build context to Docker daemon 5.551MB [2022-10-26T14:29:39.153Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T14:29:39.153Z] Step 2/23 : FROM ${BASE} AS builder [2022-10-26T14:29:39.153Z] ---> e57e6b26f68b [2022-10-26T14:29:39.153Z] Step 3/23 : ARG MAKE=make build [2022-10-26T14:29:39.153Z] ---> Running in 4c5fe201524f [2022-10-26T14:29:39.422Z] Removing intermediate container 4c5fe201524f [2022-10-26T14:29:39.422Z] ---> a83f5ff44810 [2022-10-26T14:29:39.422Z] Step 4/23 : WORKDIR /device-sdk-go [2022-10-26T14:29:39.692Z] ---> Running in 83fa786f167d [2022-10-26T14:29:39.961Z] Removing intermediate container 83fa786f167d [2022-10-26T14:29:39.961Z] ---> e3e7edbb81ad [2022-10-26T14:29:39.961Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T14:29:39.961Z] ---> Running in 3a0c645e07d8 [2022-10-26T14:29:40.231Z] Removing intermediate container 3a0c645e07d8 [2022-10-26T14:29:40.231Z] ---> 0a5a5b308b9b [2022-10-26T14:29:40.231Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T14:29:40.500Z] ---> Running in c20118c7a50e [2022-10-26T14:29:41.470Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T14:29:41.739Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T14:29:42.704Z] OK: 221 MiB in 51 packages [2022-10-26T14:29:44.121Z] Removing intermediate container c20118c7a50e [2022-10-26T14:29:44.121Z] ---> 237ea4ab537e [2022-10-26T14:29:44.121Z] Step 7/23 : COPY go.mod vendor* ./ [2022-10-26T14:29:44.713Z] ---> 59a352a1dfae [2022-10-26T14:29:44.713Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T14:29:44.991Z] ---> Running in b05d8c8cac54 [2022-10-26T14:29:46.950Z] Removing intermediate container b05d8c8cac54 [2022-10-26T14:29:46.950Z] ---> ed667efa9731 [2022-10-26T14:29:46.950Z] Step 9/23 : COPY . . [2022-10-26T14:29:48.365Z] ---> 5f787470c980 [2022-10-26T14:29:48.365Z] Step 10/23 : RUN ${MAKE} [2022-10-26T14:29:48.365Z] ---> Running in 70659a7138d5 [2022-10-26T14:29:49.330Z] 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-10-26T14:32:11.045Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-26T14:32:11.629Z] Removing intermediate container 70659a7138d5 [2022-10-26T14:32:11.629Z] ---> 08b25e14f3ce [2022-10-26T14:32:11.629Z] Step 11/23 : FROM alpine:3.16 [2022-10-26T14:32:12.210Z] 3.16: Pulling from library/alpine [2022-10-26T14:32:12.476Z] 9b18e9b68314: Already exists [2022-10-26T14:32:12.744Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T14:32:12.744Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T14:32:12.744Z] ---> a6215f271958 [2022-10-26T14:32:12.744Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T14:32:12.744Z] ---> Running in 9dcfc2d85f5d [2022-10-26T14:32:13.012Z] Removing intermediate container 9dcfc2d85f5d [2022-10-26T14:32:13.012Z] ---> e23ec69507d5 [2022-10-26T14:32:13.012Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-10-26T14:32:13.012Z] ---> Running in fa9ffecc1f14 [2022-10-26T14:32:13.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T14:32:14.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T14:32:15.197Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T14:32:15.466Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-26T14:32:15.466Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T14:32:15.466Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-26T14:32:15.466Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-26T14:32:15.466Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T14:32:15.466Z] OK: 8 MiB in 19 packages [2022-10-26T14:32:16.433Z] Removing intermediate container fa9ffecc1f14 [2022-10-26T14:32:16.433Z] ---> e330bab0971d [2022-10-26T14:32:16.433Z] Step 14/23 : WORKDIR / [2022-10-26T14:32:16.433Z] ---> Running in b38f39ce9776 [2022-10-26T14:32:16.704Z] Removing intermediate container b38f39ce9776 [2022-10-26T14:32:16.704Z] ---> 175879208689 [2022-10-26T14:32:16.704Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-26T14:32:17.287Z] ---> bb9d3b592d50 [2022-10-26T14:32:17.287Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-26T14:32:18.700Z] ---> 445bb47ee977 [2022-10-26T14:32:18.700Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-26T14:32:19.285Z] ---> 90c0ade05319 [2022-10-26T14:32:19.285Z] Step 18/23 : EXPOSE 59999 [2022-10-26T14:32:19.285Z] ---> Running in d54425b225ed [2022-10-26T14:32:19.556Z] Removing intermediate container d54425b225ed [2022-10-26T14:32:19.556Z] ---> 3860cf8910be [2022-10-26T14:32:19.556Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-10-26T14:32:19.830Z] ---> Running in ab1bd4de8e0e [2022-10-26T14:32:20.098Z] Removing intermediate container ab1bd4de8e0e [2022-10-26T14:32:20.098Z] ---> 9bc429e8c4f5 [2022-10-26T14:32:20.098Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T14:32:20.098Z] ---> Running in ea01494f954e [2022-10-26T14:32:20.364Z] Removing intermediate container ea01494f954e [2022-10-26T14:32:20.364Z] ---> 88ad80c814ed [2022-10-26T14:32:20.364Z] Step 21/23 : LABEL arch=arm64 [2022-10-26T14:32:20.364Z] ---> Running in 85ba2ea43757 [2022-10-26T14:32:20.634Z] Removing intermediate container 85ba2ea43757 [2022-10-26T14:32:20.634Z] ---> c7874988f5b9 [2022-10-26T14:32:20.634Z] Step 22/23 : LABEL git_sha=6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe [2022-10-26T14:32:20.902Z] ---> Running in 18fa9d0dfb50 [2022-10-26T14:32:21.170Z] Removing intermediate container 18fa9d0dfb50 [2022-10-26T14:32:21.170Z] ---> 6f0c437f8bc1 [2022-10-26T14:32:21.170Z] Step 23/23 : LABEL version=0.0.0 [2022-10-26T14:32:21.170Z] ---> Running in 723b11a5e843 [2022-10-26T14:32:21.438Z] Removing intermediate container 723b11a5e843 [2022-10-26T14:32:21.438Z] ---> f88f6f372939 [2022-10-26T14:32:21.438Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T14:32:21.706Z] Successfully built f88f6f372939 [2022-10-26T14:32:21.706Z] 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-10-26T14:32:22.461Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T14:32:22.461Z] [2022-10-26T14:32:22.461Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T14:32:22.973Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T14:32:22.973Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T14:32:22.973Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T14:32:22.973Z] 04944245beec: Pulling fs layer [2022-10-26T14:32:22.973Z] 699f458cf7ca: Pulling fs layer [2022-10-26T14:32:22.973Z] 765212b225bb: Pulling fs layer [2022-10-26T14:32:22.973Z] f23df028b6ca: Pulling fs layer [2022-10-26T14:32:22.973Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T14:32:22.973Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T14:32:22.973Z] f23df028b6ca: Waiting [2022-10-26T14:32:22.973Z] d65c8cfc05b1: Waiting [2022-10-26T14:32:22.973Z] 2437ff75d9bd: Waiting [2022-10-26T14:32:22.973Z] 765212b225bb: Waiting [2022-10-26T14:32:23.240Z] 04944245beec: Verifying Checksum [2022-10-26T14:32:23.240Z] 04944245beec: Download complete [2022-10-26T14:32:23.240Z] 765212b225bb: Verifying Checksum [2022-10-26T14:32:23.240Z] 765212b225bb: Download complete [2022-10-26T14:32:23.240Z] f23df028b6ca: Verifying Checksum [2022-10-26T14:32:23.240Z] f23df028b6ca: Download complete [2022-10-26T14:32:23.240Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T14:32:23.240Z] d65c8cfc05b1: Download complete [2022-10-26T14:32:23.240Z] 699f458cf7ca: Verifying Checksum [2022-10-26T14:32:23.240Z] 699f458cf7ca: Download complete [2022-10-26T14:32:23.824Z] 8998bd30e6a1: Verifying Checksum [2022-10-26T14:32:23.824Z] 8998bd30e6a1: Download complete [2022-10-26T14:32:25.762Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T14:32:25.763Z] 2437ff75d9bd: Download complete [2022-10-26T14:32:27.166Z] 8998bd30e6a1: Pull complete [2022-10-26T14:32:27.750Z] 04944245beec: Pull complete [2022-10-26T14:32:29.155Z] 699f458cf7ca: Pull complete [2022-10-26T14:32:29.155Z] 765212b225bb: Pull complete [2022-10-26T14:32:29.734Z] f23df028b6ca: Pull complete [2022-10-26T14:32:29.999Z] d65c8cfc05b1: Pull complete [2022-10-26T14:32:42.316Z] 2437ff75d9bd: Pull complete [2022-10-26T14:32:42.316Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T14:32:42.316Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T14:32:42.316Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T14:32:42.632Z] prd-ubuntu20.04-docker-arm64-4c-16g-117148 does not seem to be running inside a container [2022-10-26T14:32:42.688Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-26T14:32:45.549Z] $ docker top 38fb3f8ff81c67ecdd6de5779fd5f75d60041cc7ac2c684146cd1f59a2ec0402 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T14:32:46.459Z] ---> job-cost.sh [2022-10-26T14:32:46.459Z] lf-activate-venv: SKIPPING [2022-10-26T14:32:46.459Z] INFO: No Stack... [2022-10-26T14:32:47.037Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T14:32:47.991Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T14:32:48.645Z] + cut -d, -f6 [2022-10-26T14:32:48.645Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2022-10-26T14:32:48.736Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1251-1-stack-cost] [2022-10-26T14:32:48.741Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1251-1-stack-cost] did not exist. Created. [2022-10-26T14:32:48.741Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1251-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T14:32:49.465Z] /w/workspace/device-sdk-go/1@tmp/durable-04f23903/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T14:32:50.140Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T14:32:50.179Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T14:32:50.244Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T14:32:50.258Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1251-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T14:32:50.320Z] $ docker stop --time=1 38fb3f8ff81c67ecdd6de5779fd5f75d60041cc7ac2c684146cd1f59a2ec0402 [2022-10-26T14:32:51.854Z] $ docker rm -f 38fb3f8ff81c67ecdd6de5779fd5f75d60041cc7ac2c684146cd1f59a2ec0402 [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-10-26T14:32:52.932Z] provisioning config files... [2022-10-26T14:32:52.940Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp/config16869762434656555022tmp [Pipeline] { [Pipeline] sh [2022-10-26T14:32:53.270Z] + set +x [2022-10-26T14:32:53.270Z] + bash -s -- [2022-10-26T14:32:53.270Z] + curl -s https://codecov.io/bash [2022-10-26T14:32:53.270Z] [2022-10-26T14:32:53.270Z] _____ _ [2022-10-26T14:32:53.270Z] / ____| | | [2022-10-26T14:32:53.270Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T14:32:53.270Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T14:32:53.270Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T14:32:53.270Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T14:32:53.270Z] Bash-1.0.6 [2022-10-26T14:32:53.270Z] [2022-10-26T14:32:53.270Z] [2022-10-26T14:32:53.270Z] ==> git version 2.25.1 found [2022-10-26T14:32:53.270Z] ==> 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-10-26T14:32:53.270Z] Release-Date: 2020-01-08 [2022-10-26T14:32:53.270Z] 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-10-26T14:32:53.270Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T14:32:53.270Z] ==> Jenkins CI detected. [2022-10-26T14:32:53.270Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1251 [2022-10-26T14:32:53.270Z] project root: . [2022-10-26T14:32:53.270Z] --> token set from env [2022-10-26T14:32:53.271Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T14:32:53.271Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T14:32:53.271Z] ==> Python coveragepy not found [2022-10-26T14:32:53.271Z] ==> Searching for coverage reports in: [2022-10-26T14:32:53.271Z] + . [2022-10-26T14:32:53.271Z] -> Found 1 reports [2022-10-26T14:32:53.271Z] ==> Detecting git/mercurial file structure [2022-10-26T14:32:53.271Z] ==> Reading reports [2022-10-26T14:32:53.529Z] + ./coverage.out bytes=101759 [2022-10-26T14:32:53.529Z] ==> Appending adjustments [2022-10-26T14:32:53.529Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T14:32:53.787Z] + Found adjustments [2022-10-26T14:32:53.787Z] ==> Gzipping contents [2022-10-26T14:32:53.787Z] 16K /tmp/codecov.Zf8ZgF.gz [2022-10-26T14:32:53.787Z] ==> Uploading reports [2022-10-26T14:32:53.787Z] url: https://codecov.io [2022-10-26T14:32:53.787Z] query: branch=PR-1251&commit=6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1251%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1251&job=&cmd_args= [2022-10-26T14:32:53.787Z] -> Pinging Codecov [2022-10-26T14:32:53.787Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1251&commit=6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1251%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1251&job=&cmd_args= [2022-10-26T14:32:54.047Z] -> Uploading to [2022-10-26T14:32:54.047Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/7E55EF52A471D76F132DFD9A03CDDE97/6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe/22f2611d-ca90-4415-ab7f-63c0a5d46781.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T143253Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dfff29cbe74f0ed4da3dc6c6053698b41683d09fa4e13e1e58fdd1ec1829bebc [2022-10-26T14:32:54.047Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T14:32:54.047Z] Dload Upload Total Spent Left Speed [2022-10-26T14:32:54.307Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14695 0 0 100 14695 0 64735 --:--:-- --:--:-- --:--:-- 64735 [2022-10-26T14:32:54.307Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe [Pipeline] } [2022-10-26T14:32:54.334Z] 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-10-26T14:32:56.033Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1251/archives ] [2022-10-26T14:32:56.033Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1251/archives [2022-10-26T14:32:56.033Z] total 16 [2022-10-26T14:32:56.033Z] drwxr-xr-x 3 root root 4096 Oct 26 14:21 . [2022-10-26T14:32:56.033Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 14:21 .. [2022-10-26T14:32:56.033Z] drwxr-xr-x 2 root root 4096 Oct 26 14:21 cost [2022-10-26T14:32:56.033Z] -rw-r--r-- 1 root root 86 Oct 26 14:21 cost.csv [2022-10-26T14:32:56.033Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1251/archives [2022-10-26T14:32:56.033Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1251/archives [2022-10-26T14:32:56.033Z] total 16 [2022-10-26T14:32:56.033Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 14:21 . [2022-10-26T14:32:56.033Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 14:21 .. [2022-10-26T14:32:56.033Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 14:21 cost [2022-10-26T14:32:56.033Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 26 14:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T14:32:56.362Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T14:32:57.300Z] ---> package-listing.sh [2022-10-26T14:32:57.300Z] ++ facter osfamily [2022-10-26T14:32:57.300Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T14:32:57.559Z] + OS_FAMILY=debian [2022-10-26T14:32:57.559Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1251 [2022-10-26T14:32:57.559Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T14:32:57.559Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T14:32:57.559Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T14:32:57.559Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T14:32:57.559Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1251 ']' [2022-10-26T14:32:57.559Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T14:32:57.559Z] + case "${OS_FAMILY}" in [2022-10-26T14:32:57.559Z] + dpkg -l [2022-10-26T14:32:57.559Z] + grep '^ii' [2022-10-26T14:32:57.559Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T14:32:57.559Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T14:32:57.559Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T14:32:57.559Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1251 ']' [2022-10-26T14:32:57.559Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1251/archives/ [2022-10-26T14:32:57.559Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1251/archives/ [Pipeline] echo [2022-10-26T14:32:57.593Z] 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-1251/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-26T14:32:57.884Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T14:32:58.507Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T14:32:58.508Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T14:32:58.647Z] prd-ubuntu20.04-docker-8c-8g-117146 does not seem to be running inside a container [2022-10-26T14:32:58.665Z] $ 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-1251/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-1251 -v /w/workspace/gexfoundry_device-sdk-go_PR-1251:/w/workspace/gexfoundry_device-sdk-go_PR-1251:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1251@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T14:32:58.890Z] $ docker top f2309bf538932aba80e06ec2d3d6f7ab3a846b995ee3f16b8565b5b695f73f0e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T14:32:59.283Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T14:32:59.591Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T14:32:59.903Z] + ls /var/log/sa-host [2022-10-26T14:32:59.903Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T14:33:00.104Z] provisioning config files... [2022-10-26T14:33:00.112Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp/config17795648997344155163tmp [Pipeline] { [Pipeline] echo [2022-10-26T14:33:00.154Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T14:33:00.463Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T14:33:00.489Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T14:33:00.897Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T14:33:00.926Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T14:33:01.236Z] ---> sudo-logs.sh [2022-10-26T14:33:01.236Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T14:33:01.317Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T14:33:01.626Z] ---> job-cost.sh [2022-10-26T14:33:01.627Z] lf-activate-venv: SKIPPING [2022-10-26T14:33:01.627Z] DEBUG: total: 0.2199999988079071 [2022-10-26T14:33:01.627Z] INFO: Retrieving Stack Cost... [2022-10-26T14:33:01.888Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T14:33:02.456Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T14:33:02.489Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T14:33:02.804Z] ---> logs-deploy.sh [2022-10-26T14:33:02.804Z] lf-activate-venv: SKIPPING [2022-10-26T14:33:02.804Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1251/1 [2022-10-26T14:33:02.804Z] INFO: archiving workspace using pattern(s): [2022-10-26T14:33:03.742Z] Archives upload complete. [2022-10-26T14:33:03.742Z] INFO: archiving logs to Nexus