Pull request #193 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce+9783e640c3f15fc82ca4b0d45666a1ec4ab8fccf (05552b5097d975028a8b1a76773e999ab1b968e5) 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-ssh16146124270573886783.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh1812819423979538129.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-onvif-camera/branches/PR-193/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-onvif-camera/branches/PR-193/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10484162482962719266.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-onvif-camera/branches/PR-193/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18211097664270498489.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh13961047695983322982.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-onvif-camera/branches/PR-193/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-onvif-camera/branches/PR-193/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2796063205563477018.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/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-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/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 ‘prd-ubuntu20.04-docker-8c-8g-118374’ Running on prd-ubuntu20.04-docker-8c-8g-118378 in /w/workspace/undry_device-onvif-camera_PR-193 [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-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-193 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.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-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9783e640c3f15fc82ca4b0d45666a1ec4ab8fccf into PR head commit aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce Merge succeeded, producing aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce Checking out Revision aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce (PR-193) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.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-onvif-camera.git +refs/pull/193/head:refs/remotes/origin/PR-193 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce # 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 9783e640c3f15fc82ca4b0d45666a1ec4ab8fccf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-07T03:09:51.136Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-07T03:09:51.313Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-07T03:09:51.414Z] ========================================================= [2022-11-07T03:09:51.414Z] EdgeX Global Pipelines Version Info [2022-11-07T03:09:51.414Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-07T03:09:52.157Z] ------------------- [2022-11-07T03:09:52.157Z] stable info: [2022-11-07T03:09:52.157Z] ------------------- [2022-11-07T03:09:52.157Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-07T03:09:52.157Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T03:09:52.157Z] Message: update stable to v1.0.244 [2022-11-07T03:09:52.729Z] ------------------- [2022-11-07T03:09:52.729Z] experimental info: [2022-11-07T03:09:52.729Z] ------------------- [2022-11-07T03:09:52.729Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-07T03:09:52.729Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T03:09:52.729Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-07T03:09:53.050Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-11-07T03:09:53.191Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-11-07T03:09:53.243Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-07T03:09:53.288Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-07T03:09:53.339Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-07T03:09:53.387Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-07T03:09:53.432Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-07T03:09:53.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-07T03:09:53.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-07T03:09:53.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-07T03:09:53.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-07T03:09:53.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-11-07T03:09:53.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-07T03:09:53.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-07T03:09:53.786Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T03:09:53.827Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T03:09:53.870Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T03:09:53.912Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T03:09:53.957Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-07T03:09:54.014Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-07T03:09:54.062Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-11-07T03:09:54.106Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-11-07T03:09:54.153Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-07T03:09:54.196Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-07T03:09:54.249Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-07T03:09:54.291Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-07T03:09:54.340Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-07T03:09:54.382Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-193 [Pipeline] echo [2022-11-07T03:09:54.425Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-193 [Pipeline] echo [2022-11-07T03:09:54.469Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-193 [Pipeline] echo [2022-11-07T03:09:54.513Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce [Pipeline] echo [2022-11-07T03:09:54.555Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aae0ff1 [Pipeline] echo [2022-11-07T03:09:54.594Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T03:09:54.724Z] provisioning config files... [2022-11-07T03:09:54.738Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-193@tmp/config12488372084356509038tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T03:09:55.091Z] ---> docker-login.sh [2022-11-07T03:09:55.091Z] nexus3.edgexfoundry.org:10001 [2022-11-07T03:09:55.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T03:09:55.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T03:09:55.352Z] Configure a credential helper to remove this warning. See [2022-11-07T03:09:55.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T03:09:55.352Z] [2022-11-07T03:09:55.352Z] Login Succeeded [2022-11-07T03:09:55.352Z] nexus3.edgexfoundry.org:10002 [2022-11-07T03:09:55.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T03:09:55.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T03:09:55.613Z] Configure a credential helper to remove this warning. See [2022-11-07T03:09:55.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T03:09:55.613Z] [2022-11-07T03:09:55.613Z] Login Succeeded [2022-11-07T03:09:55.613Z] nexus3.edgexfoundry.org:10003 [2022-11-07T03:09:55.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T03:09:55.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T03:09:55.613Z] Configure a credential helper to remove this warning. See [2022-11-07T03:09:55.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T03:09:55.613Z] [2022-11-07T03:09:55.613Z] Login Succeeded [2022-11-07T03:09:55.613Z] nexus3.edgexfoundry.org:10004 [2022-11-07T03:09:55.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T03:09:55.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T03:09:55.873Z] Configure a credential helper to remove this warning. See [2022-11-07T03:09:55.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T03:09:55.873Z] [2022-11-07T03:09:55.873Z] Login Succeeded [2022-11-07T03:09:55.873Z] docker.io [2022-11-07T03:09:55.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T03:09:56.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T03:09:56.133Z] Configure a credential helper to remove this warning. See [2022-11-07T03:09:56.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T03:09:56.134Z] [2022-11-07T03:09:56.134Z] Login Succeeded [2022-11-07T03:09:56.134Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T03:09:56.163Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-07T03:09:56.824Z] + git rev-list -1 --merges aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce~1..aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce [Pipeline] echo [2022-11-07T03:09:56.871Z] -----------> git rev-list -1 --merges aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce~1..aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce [false] [Pipeline] sh [2022-11-07T03:09:57.187Z] + git log --format=format:%s -1 aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce [Pipeline] echo [2022-11-07T03:09:57.221Z] ========================================================= [2022-11-07T03:09:57.221Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-07T03:09:57.221Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T03:09:57.659Z] + git log --format=format:%s -1 aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce [Pipeline] echo [2022-11-07T03:09:57.694Z] [semverPrep] GIT_COMMIT: aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2022-11-07T03:09:57.726Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-07T03:09:58.128Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-07T03:09:58.128Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-07T03:09:58.128Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-07T03:09:58.128Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-07T03:09:58.128Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-07T03:09:58.128Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-07T03:09:58.128Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T03:09:58.617Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T03:09:58.617Z] [2022-11-07T03:09:58.617Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T03:09:58.996Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T03:09:58.996Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-07T03:09:58.996Z] b85a868b505f: Pulling fs layer [2022-11-07T03:09:58.996Z] e2be974225ed: Pulling fs layer [2022-11-07T03:09:58.996Z] 339a4e72a1f5: Pulling fs layer [2022-11-07T03:09:58.996Z] 988bab9f4d93: Pulling fs layer [2022-11-07T03:09:58.996Z] 1469e6f7b9e6: Pulling fs layer [2022-11-07T03:09:58.996Z] eaf3925da568: Pulling fs layer [2022-11-07T03:09:58.996Z] bab4dde63d76: Pulling fs layer [2022-11-07T03:09:58.996Z] bde34c3a00c8: Pulling fs layer [2022-11-07T03:09:58.996Z] b352a97aabf1: Pulling fs layer [2022-11-07T03:09:58.996Z] 4872d77fe225: Pulling fs layer [2022-11-07T03:09:58.996Z] 5851b861e8e6: Pulling fs layer [2022-11-07T03:09:58.996Z] bab4dde63d76: Waiting [2022-11-07T03:09:58.996Z] 1469e6f7b9e6: Waiting [2022-11-07T03:09:58.996Z] eaf3925da568: Waiting [2022-11-07T03:09:58.996Z] bde34c3a00c8: Waiting [2022-11-07T03:09:58.996Z] 5851b861e8e6: Waiting [2022-11-07T03:09:58.996Z] 4872d77fe225: Waiting [2022-11-07T03:09:58.996Z] 988bab9f4d93: Waiting [2022-11-07T03:09:58.996Z] e2be974225ed: Verifying Checksum [2022-11-07T03:09:58.996Z] e2be974225ed: Download complete [2022-11-07T03:09:58.996Z] 988bab9f4d93: Verifying Checksum [2022-11-07T03:09:58.996Z] 988bab9f4d93: Download complete [2022-11-07T03:09:59.258Z] 339a4e72a1f5: Verifying Checksum [2022-11-07T03:09:59.258Z] 339a4e72a1f5: Download complete [2022-11-07T03:09:59.258Z] 1469e6f7b9e6: Verifying Checksum [2022-11-07T03:09:59.258Z] 1469e6f7b9e6: Download complete [2022-11-07T03:09:59.258Z] eaf3925da568: Verifying Checksum [2022-11-07T03:09:59.258Z] eaf3925da568: Download complete [2022-11-07T03:09:59.258Z] bde34c3a00c8: Verifying Checksum [2022-11-07T03:09:59.258Z] bde34c3a00c8: Download complete [2022-11-07T03:09:59.258Z] b352a97aabf1: Verifying Checksum [2022-11-07T03:09:59.258Z] b352a97aabf1: Download complete [2022-11-07T03:09:59.258Z] 4872d77fe225: Verifying Checksum [2022-11-07T03:09:59.258Z] 4872d77fe225: Download complete [2022-11-07T03:09:59.258Z] 5851b861e8e6: Download complete [2022-11-07T03:09:59.258Z] b85a868b505f: Verifying Checksum [2022-11-07T03:09:59.258Z] b85a868b505f: Download complete [2022-11-07T03:09:59.519Z] bab4dde63d76: Verifying Checksum [2022-11-07T03:09:59.519Z] bab4dde63d76: Download complete [2022-11-07T03:10:00.455Z] b85a868b505f: Pull complete [2022-11-07T03:10:00.456Z] e2be974225ed: Pull complete [2022-11-07T03:10:01.022Z] 339a4e72a1f5: Pull complete [2022-11-07T03:10:01.022Z] 988bab9f4d93: Pull complete [2022-11-07T03:10:01.281Z] 1469e6f7b9e6: Pull complete [2022-11-07T03:10:01.281Z] eaf3925da568: Pull complete [2022-11-07T03:10:03.201Z] bab4dde63d76: Pull complete [2022-11-07T03:10:03.201Z] bde34c3a00c8: Pull complete [2022-11-07T03:10:03.201Z] b352a97aabf1: Pull complete [2022-11-07T03:10:03.467Z] 4872d77fe225: Pull complete [2022-11-07T03:10:03.467Z] 5851b861e8e6: Pull complete [2022-11-07T03:10:03.467Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-07T03:10:03.467Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T03:10:03.467Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T03:10:03.690Z] prd-ubuntu20.04-docker-8c-8g-118378 does not seem to be running inside a container [2022-11-07T03:10:03.710Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-193 -v /w/workspace/undry_device-onvif-camera_PR-193:/w/workspace/undry_device-onvif-camera_PR-193:rw,z -v /w/workspace/undry_device-onvif-camera_PR-193@tmp:/w/workspace/undry_device-onvif-camera_PR-193@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-07T03:10:05.254Z] $ docker top a4c7ef4f4972802ea6021fb13bd00414e26980e0edc3026c450b39d919d11a3c -eo pid,comm [2022-11-07T03:10:05.323Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-11-07T03:10:05.323Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-07T03:10:05.491Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T03:10:05.491Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T03:10:05.605Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T03:10:05.598Z] $ docker exec a4c7ef4f4972802ea6021fb13bd00414e26980e0edc3026c450b39d919d11a3c ssh-agent [2022-11-07T03:10:05.716Z] SSH_AUTH_SOCK=/tmp/ssh-nSqAjCGSb4EV/agent.33 [2022-11-07T03:10:05.716Z] SSH_AGENT_PID=39 [2022-11-07T03:10:05.722Z] Running ssh-add (command line suppressed) [2022-11-07T03:10:05.810Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-193@tmp/private_key_10886906025283036587.key (/w/workspace/undry_device-onvif-camera_PR-193@tmp/private_key_10886906025283036587.key) [2022-11-07T03:10:05.835Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T03:10:06.163Z] + git tag --points-at HEAD [Pipeline] } [2022-11-07T03:10:06.176Z] $ docker exec --env ******** --env ******** a4c7ef4f4972802ea6021fb13bd00414e26980e0edc3026c450b39d919d11a3c ssh-agent -k [2022-11-07T03:10:06.265Z] unset SSH_AUTH_SOCK; [2022-11-07T03:10:06.266Z] unset SSH_AGENT_PID; [2022-11-07T03:10:06.266Z] echo Agent pid 39 killed; [2022-11-07T03:10:06.286Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-07T03:10:06.376Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T03:10:06.376Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T03:10:06.493Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T03:10:06.486Z] $ docker exec a4c7ef4f4972802ea6021fb13bd00414e26980e0edc3026c450b39d919d11a3c ssh-agent [2022-11-07T03:10:06.616Z] SSH_AUTH_SOCK=/tmp/ssh-35zcyLjVIJEE/agent.71 [2022-11-07T03:10:06.616Z] SSH_AGENT_PID=77 [2022-11-07T03:10:06.621Z] Running ssh-add (command line suppressed) [2022-11-07T03:10:06.731Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-193@tmp/private_key_17555728671457504846.key (/w/workspace/undry_device-onvif-camera_PR-193@tmp/private_key_17555728671457504846.key) [2022-11-07T03:10:06.752Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T03:10:07.093Z] + git semver init [2022-11-07T03:10:07.352Z] 2022-11-07 03:10:07,258 [run_init] DEBUG init version:0.0.0 force:False [2022-11-07T03:10:07.352Z] 2022-11-07 03:10:07,259 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-193/.semver [2022-11-07T03:10:07.352Z] 2022-11-07 03:10:07,260 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-193/.semver [2022-11-07T03:10:07.352Z] 2022-11-07 03:10:07,260 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-193/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-193, universal_newlines=False, shell=None, istream=None) [2022-11-07T03:10:08.737Z] 2022-11-07 03:10:08,335 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-193/.git/info/exclude [2022-11-07T03:10:08.737Z] 2022-11-07 03:10:08,336 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-193/.semver/PR-193 with force:False [2022-11-07T03:10:08.737Z] 2022-11-07 03:10:08,336 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-193/.semver/PR-193 [2022-11-07T03:10:08.737Z] 2022-11-07 03:10:08,340 [execute] INFO git cat-file --batch-check [2022-11-07T03:10:08.737Z] 2022-11-07 03:10:08,341 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-193/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T03:10:08.737Z] 2022-11-07 03:10:08,346 [execute] INFO git cat-file --batch [2022-11-07T03:10:08.737Z] 2022-11-07 03:10:08,346 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-193/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T03:10:08.737Z] 2022-11-07 03:10:08,351 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-193/.semver/PR-193 [2022-11-07T03:10:08.737Z] 0.0.0 [Pipeline] } [2022-11-07T03:10:08.758Z] $ docker exec --env ******** --env ******** a4c7ef4f4972802ea6021fb13bd00414e26980e0edc3026c450b39d919d11a3c ssh-agent -k [2022-11-07T03:10:08.857Z] unset SSH_AUTH_SOCK; [2022-11-07T03:10:08.857Z] unset SSH_AGENT_PID; [2022-11-07T03:10:08.857Z] echo Agent pid 77 killed; [2022-11-07T03:10:08.878Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-07T03:10:09.301Z] + git semver [Pipeline] } [2022-11-07T03:10:09.576Z] $ docker stop --time=1 a4c7ef4f4972802ea6021fb13bd00414e26980e0edc3026c450b39d919d11a3c [2022-11-07T03:10:10.881Z] $ docker rm -f a4c7ef4f4972802ea6021fb13bd00414e26980e0edc3026c450b39d919d11a3c [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T03:10:11.294Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-07T03:10:11.536Z] Stashed 1 file(s) [Pipeline] echo [2022-11-07T03:10:11.556Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T03:10:12.140Z] provisioning config files... [2022-11-07T03:10:12.152Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-193@tmp/config2438064268638316172tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T03:10:12.507Z] ---> docker-login.sh [2022-11-07T03:10:12.507Z] nexus3.edgexfoundry.org:10001 [2022-11-07T03:10:12.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T03:10:12.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T03:10:12.507Z] Configure a credential helper to remove this warning. See [2022-11-07T03:10:12.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T03:10:12.507Z] [2022-11-07T03:10:12.507Z] Login Succeeded [2022-11-07T03:10:12.507Z] nexus3.edgexfoundry.org:10002 [2022-11-07T03:10:12.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T03:10:12.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T03:10:12.507Z] Configure a credential helper to remove this warning. See [2022-11-07T03:10:12.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T03:10:12.507Z] [2022-11-07T03:10:12.507Z] Login Succeeded [2022-11-07T03:10:12.507Z] nexus3.edgexfoundry.org:10003 [2022-11-07T03:10:12.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T03:10:12.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T03:10:12.767Z] Configure a credential helper to remove this warning. See [2022-11-07T03:10:12.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T03:10:12.767Z] [2022-11-07T03:10:12.767Z] Login Succeeded [2022-11-07T03:10:12.767Z] nexus3.edgexfoundry.org:10004 [2022-11-07T03:10:12.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T03:10:12.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T03:10:12.767Z] Configure a credential helper to remove this warning. See [2022-11-07T03:10:12.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T03:10:12.767Z] [2022-11-07T03:10:12.767Z] Login Succeeded [2022-11-07T03:10:12.767Z] docker.io [2022-11-07T03:10:13.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T03:10:13.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T03:10:13.286Z] Configure a credential helper to remove this warning. See [2022-11-07T03:10:13.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T03:10:13.286Z] [2022-11-07T03:10:13.286Z] Login Succeeded [2022-11-07T03:10:13.286Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T03:10:13.317Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T03:10:13.539Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T03:10:13.574Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T03:10:13.609Z] ========================================================= [2022-11-07T03:10:13.609Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-07T03:10:13.609Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T03:10:14.095Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-07T03:10:14.095Z] Sending build context to Docker daemon 27.56MB [2022-11-07T03:10:14.095Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T03:10:14.095Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-07T03:10:14.355Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-07T03:10:14.355Z] 213ec9aee27d: Pulling fs layer [2022-11-07T03:10:14.355Z] 4583459ba037: Pulling fs layer [2022-11-07T03:10:14.355Z] 93c1e223e6f2: Pulling fs layer [2022-11-07T03:10:14.355Z] 53926ce57604: Pulling fs layer [2022-11-07T03:10:14.355Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-07T03:10:14.355Z] 22ff95d597cd: Pulling fs layer [2022-11-07T03:10:14.355Z] 12d6caf4c0d1: Pulling fs layer [2022-11-07T03:10:14.355Z] 96b7cbca73a9: Pulling fs layer [2022-11-07T03:10:14.355Z] a7acece74701: Pulling fs layer [2022-11-07T03:10:14.355Z] 53926ce57604: Waiting [2022-11-07T03:10:14.355Z] 21b2b0c7a3f4: Waiting [2022-11-07T03:10:14.355Z] 22ff95d597cd: Waiting [2022-11-07T03:10:14.355Z] 96b7cbca73a9: Waiting [2022-11-07T03:10:14.355Z] a7acece74701: Waiting [2022-11-07T03:10:14.355Z] 12d6caf4c0d1: Waiting [2022-11-07T03:10:14.355Z] 93c1e223e6f2: Verifying Checksum [2022-11-07T03:10:14.355Z] 93c1e223e6f2: Download complete [2022-11-07T03:10:14.355Z] 4583459ba037: Download complete [2022-11-07T03:10:14.355Z] 21b2b0c7a3f4: Download complete [2022-11-07T03:10:14.355Z] 22ff95d597cd: Verifying Checksum [2022-11-07T03:10:14.355Z] 22ff95d597cd: Download complete [2022-11-07T03:10:14.355Z] 213ec9aee27d: Verifying Checksum [2022-11-07T03:10:14.355Z] 213ec9aee27d: Download complete [2022-11-07T03:10:14.355Z] 12d6caf4c0d1: Download complete [2022-11-07T03:10:14.355Z] 213ec9aee27d: Pull complete [2022-11-07T03:10:14.623Z] 4583459ba037: Pull complete [2022-11-07T03:10:14.623Z] 93c1e223e6f2: Pull complete [2022-11-07T03:10:14.885Z] a7acece74701: Verifying Checksum [2022-11-07T03:10:14.885Z] a7acece74701: Download complete [2022-11-07T03:10:15.144Z] 96b7cbca73a9: Verifying Checksum [2022-11-07T03:10:15.144Z] 96b7cbca73a9: Download complete [2022-11-07T03:10:15.144Z] 53926ce57604: Verifying Checksum [2022-11-07T03:10:15.144Z] 53926ce57604: Download complete [2022-11-07T03:10:18.429Z] 53926ce57604: Pull complete [2022-11-07T03:10:18.688Z] 21b2b0c7a3f4: Pull complete [2022-11-07T03:10:18.688Z] 22ff95d597cd: Pull complete [2022-11-07T03:10:18.688Z] 12d6caf4c0d1: Pull complete [2022-11-07T03:10:20.588Z] 96b7cbca73a9: Pull complete [2022-11-07T03:10:21.521Z] a7acece74701: Pull complete [2022-11-07T03:10:21.522Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-07T03:10:21.522Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-07T03:10:21.522Z] ---> db6d94c90886 [2022-11-07T03:10:21.522Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-07T03:10:23.433Z] ---> Running in 06175ce32905 [2022-11-07T03:10:23.693Z] Removing intermediate container 06175ce32905 [2022-11-07T03:10:23.693Z] ---> ddb060cf6f0f [2022-11-07T03:10:23.693Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T03:10:23.693Z] ---> Running in f0ce94091f91 [2022-11-07T03:10:23.693Z] Removing intermediate container f0ce94091f91 [2022-11-07T03:10:23.693Z] ---> e7ad545187a3 [2022-11-07T03:10:23.693Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T03:10:23.956Z] ---> Running in 743a35752992 [2022-11-07T03:10:23.957Z] Removing intermediate container 743a35752992 [2022-11-07T03:10:23.957Z] ---> d527ce7d6faf [2022-11-07T03:10:23.957Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T03:10:23.957Z] ---> Running in 14038f7a62a7 [2022-11-07T03:10:23.957Z] Removing intermediate container 14038f7a62a7 [2022-11-07T03:10:23.957Z] ---> 7c6055810973 [2022-11-07T03:10:23.957Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-11-07T03:10:24.217Z] ---> Running in b57b6fdb84e3 [2022-11-07T03:10:24.217Z] Removing intermediate container b57b6fdb84e3 [2022-11-07T03:10:24.217Z] ---> 7c01abbdd6dd [2022-11-07T03:10:24.217Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T03:10:24.217Z] ---> Running in 49b0177fd4e8 [2022-11-07T03:10:24.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T03:10:24.736Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T03:10:24.995Z] OK: 211 MiB in 51 packages [2022-11-07T03:10:25.256Z] Removing intermediate container 49b0177fd4e8 [2022-11-07T03:10:25.256Z] ---> 02ce02849dac [2022-11-07T03:10:25.256Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-11-07T03:10:25.256Z] ---> Running in ad59b9776c02 [2022-11-07T03:10:25.516Z] Removing intermediate container ad59b9776c02 [2022-11-07T03:10:25.516Z] ---> ab9af9e462aa [2022-11-07T03:10:25.516Z] Step 10/13 : COPY go.mod vendor* ./ [2022-11-07T03:10:25.516Z] ---> 7ef1b4303615 [2022-11-07T03:10:25.516Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T03:10:25.516Z] ---> Running in ef0a3944f99c [2022-11-07T03:10:26.961Z] Still waiting to schedule task [2022-11-07T03:10:26.962Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118377’ [2022-11-07T03:10:43.645Z] Removing intermediate container ef0a3944f99c [2022-11-07T03:10:43.645Z] ---> dbcb30f8364c [2022-11-07T03:10:43.645Z] Step 12/13 : COPY . . [2022-11-07T03:10:43.645Z] ---> aa0522f50d58 [2022-11-07T03:10:43.645Z] Step 13/13 : RUN ${MAKE} [2022-11-07T03:10:43.645Z] ---> Running in 200f53a1cdca [2022-11-07T03:10:43.645Z] noop [2022-11-07T03:10:43.645Z] Removing intermediate container 200f53a1cdca [2022-11-07T03:10:43.645Z] ---> 5d5d5972bd2c [2022-11-07T03:10:43.645Z] Successfully built 5d5d5972bd2c [2022-11-07T03:10:43.645Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T03:10:44.087Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T03:10:44.087Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T03:10:44.230Z] prd-ubuntu20.04-docker-8c-8g-118378 does not seem to be running inside a container [2022-11-07T03:10:44.262Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-193 -v /w/workspace/undry_device-onvif-camera_PR-193:/w/workspace/undry_device-onvif-camera_PR-193:rw,z -v /w/workspace/undry_device-onvif-camera_PR-193@tmp:/w/workspace/undry_device-onvif-camera_PR-193@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-07T03:10:44.598Z] $ docker top 0de1e8fee988f001c4b18b7a8789951843278c4ab15d8aa36468aaaf185f7cb3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T03:10:44.969Z] + go version [2022-11-07T03:10:44.969Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-07T03:10:45.003Z] $ docker stop --time=1 0de1e8fee988f001c4b18b7a8789951843278c4ab15d8aa36468aaaf185f7cb3 [2022-11-07T03:10:46.298Z] $ docker rm -f 0de1e8fee988f001c4b18b7a8789951843278c4ab15d8aa36468aaaf185f7cb3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T03:10:46.989Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T03:10:46.989Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T03:10:47.128Z] prd-ubuntu20.04-docker-8c-8g-118378 does not seem to be running inside a container [2022-11-07T03:10:47.169Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-193 -v /w/workspace/undry_device-onvif-camera_PR-193:/w/workspace/undry_device-onvif-camera_PR-193:rw,z -v /w/workspace/undry_device-onvif-camera_PR-193@tmp:/w/workspace/undry_device-onvif-camera_PR-193@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-07T03:10:47.550Z] $ docker top cae0b1c951b01c4d1f3bec9f020a0cd69a54bbc873b4e6fac940d9c8953132f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T03:10:47.940Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-193 [Pipeline] fileExists [Pipeline] sh [2022-11-07T03:10:48.294Z] + make test [2022-11-07T03:10:48.294Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-07T03:10:48.865Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-11-07T03:10:58.923Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-11-07T03:11:01.470Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.038s coverage: 29.3% of statements [2022-11-07T03:11:01.470Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-11-07T03:11:01.470Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.373s coverage: 86.5% of statements [2022-11-07T03:11:08.177Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-11-07T03:11:08.177Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T03:11:11.456Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T03:11:11.456Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T03:11:11.456Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T03:11:11.496Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T03:11:11.537Z] $ docker stop --time=1 cae0b1c951b01c4d1f3bec9f020a0cd69a54bbc873b4e6fac940d9c8953132f8 [2022-11-07T03:11:13.405Z] $ docker rm -f cae0b1c951b01c4d1f3bec9f020a0cd69a54bbc873b4e6fac940d9c8953132f8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T03:11:13.916Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T03:11:13.988Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-07T03:11:14.666Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T03:11:14.981Z] + ls -al . [2022-11-07T03:11:14.981Z] total 248 [2022-11-07T03:11:14.981Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 03:10 . [2022-11-07T03:11:14.981Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 03:09 .. [2022-11-07T03:11:14.981Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 03:11 .git [2022-11-07T03:11:14.981Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 03:09 .github [2022-11-07T03:11:14.981Z] -rw-rw-r-- 1 jenkins jenkins 496 Nov 7 03:09 .gitignore [2022-11-07T03:11:14.981Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 7 03:09 .golangci.yml [2022-11-07T03:11:14.981Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 03:10 .semver [2022-11-07T03:11:14.981Z] -rw-rw-r-- 1 jenkins jenkins 9739 Nov 7 03:09 Attribution.txt [2022-11-07T03:11:14.981Z] -rw-rw-r-- 1 jenkins jenkins 6312 Nov 7 03:09 CHANGELOG.md [2022-11-07T03:11:14.981Z] -rw-rw-r-- 1 jenkins jenkins 1637 Nov 7 03:09 Dockerfile [2022-11-07T03:11:14.981Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 03:09 GOVERNANCE.md [2022-11-07T03:11:14.981Z] -rw-rw-r-- 1 jenkins jenkins 734 Nov 7 03:09 Jenkinsfile [2022-11-07T03:11:14.981Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 7 03:09 LICENSE [2022-11-07T03:11:14.981Z] -rw-rw-r-- 1 jenkins jenkins 2858 Nov 7 03:09 Makefile [2022-11-07T03:11:14.981Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 7 03:09 OWNERS.md [2022-11-07T03:11:14.981Z] -rw-rw-r-- 1 jenkins jenkins 6595 Nov 7 03:09 README.md [2022-11-07T03:11:14.981Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 03:10 VERSION [2022-11-07T03:11:14.981Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 03:09 bin [2022-11-07T03:11:14.981Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 03:09 cmd [2022-11-07T03:11:14.981Z] -rw-r--r-- 1 jenkins jenkins 79184 Nov 7 03:11 coverage.out [2022-11-07T03:11:14.981Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 03:09 doc [2022-11-07T03:11:14.981Z] -rw-rw-r-- 1 jenkins jenkins 3694 Nov 7 03:09 go.mod [2022-11-07T03:11:14.981Z] -rw-rw-r-- 1 jenkins jenkins 46119 Nov 7 03:09 go.sum [2022-11-07T03:11:14.981Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 03:09 internal [2022-11-07T03:11:14.981Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 03:09 snap [2022-11-07T03:11:14.981Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 7 03:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T03:11:15.373Z] + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce --label arch=amd64 --label version=0.0.0 . [2022-11-07T03:11:15.373Z] Sending build context to Docker daemon 27.64MB [2022-11-07T03:11:15.373Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T03:11:15.373Z] Step 2/26 : FROM ${BASE} AS builder [2022-11-07T03:11:15.373Z] ---> 5d5d5972bd2c [2022-11-07T03:11:15.373Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-11-07T03:11:15.633Z] ---> Running in 46b80e6131b0 [2022-11-07T03:11:15.633Z] Removing intermediate container 46b80e6131b0 [2022-11-07T03:11:15.633Z] ---> e1dbcec25371 [2022-11-07T03:11:15.633Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T03:11:15.633Z] ---> Running in e70097c5aa14 [2022-11-07T03:11:15.891Z] Removing intermediate container e70097c5aa14 [2022-11-07T03:11:15.891Z] ---> fc1095cac000 [2022-11-07T03:11:15.891Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T03:11:15.891Z] ---> Running in fb88d1acc9e4 [2022-11-07T03:11:15.891Z] Removing intermediate container fb88d1acc9e4 [2022-11-07T03:11:15.891Z] ---> 68670bed160d [2022-11-07T03:11:15.891Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T03:11:15.891Z] ---> Running in e8bac809e0fa [2022-11-07T03:11:16.150Z] Removing intermediate container e8bac809e0fa [2022-11-07T03:11:16.150Z] ---> a891d18d22c2 [2022-11-07T03:11:16.150Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-11-07T03:11:16.150Z] ---> Running in 7080349ed794 [2022-11-07T03:11:16.150Z] Removing intermediate container 7080349ed794 [2022-11-07T03:11:16.150Z] ---> ffb4a6355aca [2022-11-07T03:11:16.150Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T03:11:16.150Z] ---> Running in b4dcf6ed31fe [2022-11-07T03:11:16.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T03:11:16.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T03:11:16.976Z] OK: 211 MiB in 51 packages [2022-11-07T03:11:17.235Z] Removing intermediate container b4dcf6ed31fe [2022-11-07T03:11:17.235Z] ---> 215f0e19a807 [2022-11-07T03:11:17.235Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-11-07T03:11:17.494Z] ---> Running in 2a908ab29dda [2022-11-07T03:11:17.494Z] Removing intermediate container 2a908ab29dda [2022-11-07T03:11:17.494Z] ---> 2fb704fccddc [2022-11-07T03:11:17.494Z] Step 10/26 : COPY go.mod vendor* ./ [2022-11-07T03:11:17.494Z] ---> 3b5e1173c74f [2022-11-07T03:11:17.494Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T03:11:17.753Z] ---> Running in bec74543a3f3 [2022-11-07T03:11:18.320Z] Removing intermediate container bec74543a3f3 [2022-11-07T03:11:18.320Z] ---> 2584be2cfd40 [2022-11-07T03:11:18.320Z] Step 12/26 : COPY . . [2022-11-07T03:11:18.885Z] ---> 4d180e67e031 [2022-11-07T03:11:18.885Z] Step 13/26 : RUN ${MAKE} [2022-11-07T03:11:18.885Z] ---> Running in bb3cc716f246 [2022-11-07T03:11:19.143Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-11-07T03:11:41.077Z] Removing intermediate container bb3cc716f246 [2022-11-07T03:11:41.077Z] ---> 167500ca60dd [2022-11-07T03:11:41.077Z] Step 14/26 : FROM alpine:3.16 [2022-11-07T03:11:41.077Z] 3.16: Pulling from library/alpine [2022-11-07T03:11:41.077Z] 213ec9aee27d: Already exists [2022-11-07T03:11:41.077Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T03:11:41.077Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T03:11:41.077Z] ---> 9c6f07244728 [2022-11-07T03:11:41.077Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-11-07T03:11:41.077Z] ---> Running in 9d1886c63bf4 [2022-11-07T03:11:41.077Z] Removing intermediate container 9d1886c63bf4 [2022-11-07T03:11:41.077Z] ---> 6155f736b510 [2022-11-07T03:11:41.077Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T03:11:41.077Z] ---> Running in 7d2021ee7759 [2022-11-07T03:11:41.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T03:11:41.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T03:11:41.077Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T03:11:41.077Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T03:11:41.077Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T03:11:41.077Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T03:11:41.077Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T03:11:41.077Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T03:11:41.077Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T03:11:41.077Z] OK: 8 MiB in 20 packages [2022-11-07T03:11:41.077Z] Removing intermediate container 7d2021ee7759 [2022-11-07T03:11:41.077Z] ---> fab8672e5a49 [2022-11-07T03:11:41.077Z] Step 17/26 : WORKDIR / [2022-11-07T03:11:41.077Z] ---> Running in 63fa4e6c0ef0 [2022-11-07T03:11:41.077Z] Removing intermediate container 63fa4e6c0ef0 [2022-11-07T03:11:41.077Z] ---> 7a07bb1e261c [2022-11-07T03:11:41.077Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-11-07T03:11:41.644Z] ---> 1076bcb93c4c [2022-11-07T03:11:41.644Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-11-07T03:11:41.644Z] ---> e57ec5ce123d [2022-11-07T03:11:41.644Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-11-07T03:11:41.904Z] ---> 8606416f2e9f [2022-11-07T03:11:41.904Z] Step 21/26 : EXPOSE 59984 [2022-11-07T03:11:41.904Z] ---> Running in bfd9a9fcd175 [2022-11-07T03:11:41.904Z] Removing intermediate container bfd9a9fcd175 [2022-11-07T03:11:41.904Z] ---> dd353bb42edb [2022-11-07T03:11:41.904Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-11-07T03:11:41.904Z] ---> Running in 29f364e94ee5 [2022-11-07T03:11:42.163Z] Removing intermediate container 29f364e94ee5 [2022-11-07T03:11:42.163Z] ---> f1bef7ee1473 [2022-11-07T03:11:42.164Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-07T03:11:42.164Z] ---> Running in 183bcb9ab581 [2022-11-07T03:11:42.164Z] Removing intermediate container 183bcb9ab581 [2022-11-07T03:11:42.164Z] ---> 63e4e66eb7f6 [2022-11-07T03:11:42.164Z] Step 24/26 : LABEL arch=amd64 [2022-11-07T03:11:42.164Z] ---> Running in cc54bd92690b [2022-11-07T03:11:42.164Z] Removing intermediate container cc54bd92690b [2022-11-07T03:11:42.164Z] ---> 0ee8df00b4a1 [2022-11-07T03:11:42.164Z] Step 25/26 : LABEL git_sha=aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce [2022-11-07T03:11:42.423Z] ---> Running in baa671f7bd4f [2022-11-07T03:11:42.423Z] Removing intermediate container baa671f7bd4f [2022-11-07T03:11:42.423Z] ---> 8f20f128c186 [2022-11-07T03:11:42.423Z] Step 26/26 : LABEL version=0.0.0 [2022-11-07T03:11:42.423Z] ---> Running in d228a49bc037 [2022-11-07T03:11:42.423Z] Removing intermediate container d228a49bc037 [2022-11-07T03:11:42.423Z] ---> 9b44edf968bf [2022-11-07T03:11:42.423Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T03:11:42.423Z] Successfully built 9b44edf968bf [2022-11-07T03:11:42.423Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T03:11:43.308Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T03:11:43.308Z] [2022-11-07T03:11:43.308Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T03:11:43.686Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T03:11:43.686Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-07T03:11:43.686Z] 5eb5b503b376: Pulling fs layer [2022-11-07T03:11:43.686Z] 5c69ac0246d0: Pulling fs layer [2022-11-07T03:11:43.686Z] ec43610c2a17: Pulling fs layer [2022-11-07T03:11:43.686Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-07T03:11:43.686Z] 33b1e0a273af: Pulling fs layer [2022-11-07T03:11:43.686Z] 5d3b04190fa2: Pulling fs layer [2022-11-07T03:11:43.686Z] 2f39f015ded8: Pulling fs layer [2022-11-07T03:11:43.686Z] 3a2ae6a8a46f: Waiting [2022-11-07T03:11:43.686Z] 33b1e0a273af: Waiting [2022-11-07T03:11:43.686Z] 2f39f015ded8: Waiting [2022-11-07T03:11:43.686Z] 5c69ac0246d0: Verifying Checksum [2022-11-07T03:11:43.686Z] 5c69ac0246d0: Download complete [2022-11-07T03:11:43.686Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-07T03:11:43.686Z] 3a2ae6a8a46f: Download complete [2022-11-07T03:11:43.686Z] 33b1e0a273af: Verifying Checksum [2022-11-07T03:11:43.686Z] 33b1e0a273af: Download complete [2022-11-07T03:11:43.686Z] ec43610c2a17: Verifying Checksum [2022-11-07T03:11:43.686Z] ec43610c2a17: Download complete [2022-11-07T03:11:43.946Z] 5d3b04190fa2: Verifying Checksum [2022-11-07T03:11:43.946Z] 5d3b04190fa2: Download complete [2022-11-07T03:11:43.946Z] 5eb5b503b376: Verifying Checksum [2022-11-07T03:11:43.947Z] 5eb5b503b376: Download complete [2022-11-07T03:11:44.514Z] 2f39f015ded8: Download complete [2022-11-07T03:11:45.083Z] 5eb5b503b376: Pull complete [2022-11-07T03:11:45.083Z] 5c69ac0246d0: Pull complete [2022-11-07T03:11:45.342Z] ec43610c2a17: Pull complete [2022-11-07T03:11:45.600Z] 3a2ae6a8a46f: Pull complete [2022-11-07T03:11:45.600Z] 33b1e0a273af: Pull complete [2022-11-07T03:11:45.859Z] 5d3b04190fa2: Pull complete [2022-11-07T03:11:50.553Z] 2f39f015ded8: Pull complete [2022-11-07T03:11:50.553Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-07T03:11:50.553Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T03:11:50.553Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T03:11:50.761Z] prd-ubuntu20.04-docker-8c-8g-118378 does not seem to be running inside a container [2022-11-07T03:11:50.794Z] $ 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/undry_device-onvif-camera_PR-193 -v /w/workspace/undry_device-onvif-camera_PR-193:/w/workspace/undry_device-onvif-camera_PR-193:rw,z -v /w/workspace/undry_device-onvif-camera_PR-193@tmp:/w/workspace/undry_device-onvif-camera_PR-193@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-07T03:11:52.611Z] $ docker top a04735254034f35ec1bf3a80cd0508900d3b95250e0834736a1e39afb8b7b7d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T03:11:53.061Z] ---> job-cost.sh [2022-11-07T03:11:53.061Z] lf-activate-venv: SKIPPING [2022-11-07T03:11:53.061Z] INFO: No Stack... [2022-11-07T03:11:53.319Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T03:11:53.579Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T03:11:53.885Z] + + cut -d, -f6 [2022-11-07T03:11:53.885Z] cat /w/workspace/undry_device-onvif-camera_PR-193/archives/cost.csv [Pipeline] lock [2022-11-07T03:11:53.932Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-193-1-stack-cost] [2022-11-07T03:11:53.937Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-193-1-stack-cost] did not exist. Created. [2022-11-07T03:11:53.937Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-193-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T03:11:54.331Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-07T03:11:54.376Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T03:11:54.398Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-193-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T03:11:54.484Z] $ docker stop --time=1 a04735254034f35ec1bf3a80cd0508900d3b95250e0834736a1e39afb8b7b7d8 [2022-11-07T03:11:55.647Z] $ docker rm -f a04735254034f35ec1bf3a80cd0508900d3b95250e0834736a1e39afb8b7b7d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-07T03:12:51.225Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118381 in /w/workspace/undry_device-onvif-camera_PR-193 [Pipeline] { [Pipeline] ws [2022-11-07T03:12:51.265Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-11-07T03:12:51.346Z] The recommended git tool is: git [2022-11-07T03:12:56.386Z] using credential edgex-jenkins-ssh [2022-11-07T03:12:56.404Z] Cloning the remote Git repository [2022-11-07T03:12:56.458Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-07T03:12:56.548Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-11-07T03:12:56.730Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-07T03:12:56.732Z] > git --version # timeout=10 [2022-11-07T03:12:56.759Z] > git --version # 'git version 2.25.1' [2022-11-07T03:12:56.762Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T03:12:56.825Z] Verifying host key using known hosts file [2022-11-07T03:12:57.083Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-07T03:12:57.100Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T03:12:58.816Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-11-07T03:12:58.856Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T03:12:59.958Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-11-07T03:13:00.007Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-07T03:13:00.008Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T03:13:00.015Z] Verifying host key using known hosts file [2022-11-07T03:13:00.024Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-07T03:13:00.039Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/193/head:refs/remotes/origin/PR-193 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-07T03:13:00.672Z] Merging remotes/origin/main commit 9783e640c3f15fc82ca4b0d45666a1ec4ab8fccf into PR head commit aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce [2022-11-07T03:13:01.120Z] Merge succeeded, producing aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce [2022-11-07T03:13:01.120Z] Checking out Revision aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce (PR-193) [2022-11-07T03:13:00.692Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T03:13:00.711Z] > git checkout -f aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce # timeout=10 [2022-11-07T03:13:01.016Z] > git remote # timeout=10 [2022-11-07T03:13:01.039Z] > git config --get remote.origin.url # timeout=10 [2022-11-07T03:13:01.055Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T03:13:01.062Z] Verifying host key using known hosts file [2022-11-07T03:13:01.066Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-07T03:13:01.075Z] > git merge 9783e640c3f15fc82ca4b0d45666a1ec4ab8fccf # timeout=10 [2022-11-07T03:13:01.101Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-07T03:13:01.128Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T03:13:01.147Z] > git checkout -f aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce # timeout=10 [2022-11-07T03:13:02.093Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2022-11-07T03:13:02.141Z] > git --version # timeout=10 [2022-11-07T03:13:02.152Z] > git --version # 'git version 2.25.1' [2022-11-07T03:13:02.172Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T03:13:03.372Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-07T03:13:03.372Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T03:13:03.372Z] Dload Upload Total Spent Left Speed [2022-11-07T03:13:03.372Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 85727 0 --:--:-- --:--:-- --:--:-- 85727 [Pipeline] sh [2022-11-07T03:13:04.005Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-07T03:13:04.350Z] + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-07T03:13:04.350Z] sudo tee /etc/docker/daemon.new [2022-11-07T03:13:04.350Z] { [2022-11-07T03:13:04.350Z] "registry-mirrors": [ [2022-11-07T03:13:04.350Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-07T03:13:04.350Z] ], [2022-11-07T03:13:04.350Z] "bip": "10.250.0.254/24", [2022-11-07T03:13:04.350Z] "hosts": [ [2022-11-07T03:13:04.350Z] "tcp://0.0.0.0:5555", [2022-11-07T03:13:04.350Z] "unix:///var/run/docker.sock" [2022-11-07T03:13:04.350Z] ], [2022-11-07T03:13:04.351Z] "mtu": 1458, [2022-11-07T03:13:04.351Z] "selinux-enabled": true, [2022-11-07T03:13:04.351Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-07T03:13:04.351Z] } [Pipeline] sh [2022-11-07T03:13:04.693Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-07T03:13:05.039Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T03:13:23.370Z] provisioning config files... [2022-11-07T03:13:23.399Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config11043381036173825842tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T03:13:23.801Z] ---> docker-login.sh [2022-11-07T03:13:23.801Z] nexus3.edgexfoundry.org:10001 [2022-11-07T03:13:24.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T03:13:24.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T03:13:24.390Z] Configure a credential helper to remove this warning. See [2022-11-07T03:13:24.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T03:13:24.390Z] [2022-11-07T03:13:24.390Z] Login Succeeded [2022-11-07T03:13:24.390Z] nexus3.edgexfoundry.org:10002 [2022-11-07T03:13:24.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T03:13:24.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T03:13:24.660Z] Configure a credential helper to remove this warning. See [2022-11-07T03:13:24.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T03:13:24.660Z] [2022-11-07T03:13:24.660Z] Login Succeeded [2022-11-07T03:13:24.660Z] nexus3.edgexfoundry.org:10003 [2022-11-07T03:13:24.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T03:13:25.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T03:13:25.205Z] Configure a credential helper to remove this warning. See [2022-11-07T03:13:25.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T03:13:25.205Z] [2022-11-07T03:13:25.205Z] Login Succeeded [2022-11-07T03:13:25.205Z] nexus3.edgexfoundry.org:10004 [2022-11-07T03:13:25.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T03:13:25.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T03:13:25.476Z] Configure a credential helper to remove this warning. See [2022-11-07T03:13:25.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T03:13:25.476Z] [2022-11-07T03:13:25.476Z] Login Succeeded [2022-11-07T03:13:25.476Z] docker.io [2022-11-07T03:13:25.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T03:13:26.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T03:13:26.010Z] Configure a credential helper to remove this warning. See [2022-11-07T03:13:26.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T03:13:26.010Z] [2022-11-07T03:13:26.010Z] Login Succeeded [2022-11-07T03:13:26.010Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T03:13:26.042Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T03:13:26.330Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T03:13:26.374Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T03:13:26.414Z] ========================================================= [2022-11-07T03:13:26.414Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-07T03:13:26.414Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T03:13:26.915Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-07T03:13:27.503Z] Sending build context to Docker daemon 20.47MB [2022-11-07T03:13:27.503Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T03:13:27.503Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-07T03:13:27.503Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-07T03:13:27.503Z] 9b18e9b68314: Pulling fs layer [2022-11-07T03:13:27.503Z] 35d82f9e3411: Pulling fs layer [2022-11-07T03:13:27.503Z] e16973657156: Pulling fs layer [2022-11-07T03:13:27.503Z] fc693d55d65f: Pulling fs layer [2022-11-07T03:13:27.503Z] 7e9fc2657dce: Pulling fs layer [2022-11-07T03:13:27.503Z] dda99020689f: Pulling fs layer [2022-11-07T03:13:27.503Z] fc693d55d65f: Waiting [2022-11-07T03:13:27.503Z] 7e9fc2657dce: Waiting [2022-11-07T03:13:27.503Z] db1c61fa0a46: Pulling fs layer [2022-11-07T03:13:27.503Z] 891c053d2c06: Pulling fs layer [2022-11-07T03:13:27.503Z] dda99020689f: Waiting [2022-11-07T03:13:27.503Z] db1c61fa0a46: Waiting [2022-11-07T03:13:27.503Z] e16973657156: Verifying Checksum [2022-11-07T03:13:27.503Z] e16973657156: Download complete [2022-11-07T03:13:27.503Z] 35d82f9e3411: Verifying Checksum [2022-11-07T03:13:27.503Z] 35d82f9e3411: Download complete [2022-11-07T03:13:27.503Z] 7e9fc2657dce: Download complete [2022-11-07T03:13:27.773Z] dda99020689f: Verifying Checksum [2022-11-07T03:13:27.773Z] dda99020689f: Download complete [2022-11-07T03:13:27.773Z] 9b18e9b68314: Verifying Checksum [2022-11-07T03:13:27.773Z] 9b18e9b68314: Download complete [2022-11-07T03:13:28.754Z] 9b18e9b68314: Pull complete [2022-11-07T03:13:28.754Z] 891c053d2c06: Verifying Checksum [2022-11-07T03:13:28.754Z] 891c053d2c06: Download complete [2022-11-07T03:13:29.026Z] 35d82f9e3411: Pull complete [2022-11-07T03:13:29.298Z] e16973657156: Pull complete [2022-11-07T03:13:29.886Z] db1c61fa0a46: Verifying Checksum [2022-11-07T03:13:29.886Z] db1c61fa0a46: Download complete [2022-11-07T03:13:30.472Z] fc693d55d65f: Verifying Checksum [2022-11-07T03:13:30.472Z] fc693d55d65f: Download complete [2022-11-07T03:13:42.822Z] fc693d55d65f: Pull complete [2022-11-07T03:13:42.822Z] 7e9fc2657dce: Pull complete [2022-11-07T03:13:42.822Z] dda99020689f: Pull complete [2022-11-07T03:13:48.192Z] db1c61fa0a46: Pull complete [2022-11-07T03:13:50.212Z] 891c053d2c06: Pull complete [2022-11-07T03:13:50.212Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-07T03:13:50.212Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-07T03:13:50.212Z] ---> f96f9c87975a [2022-11-07T03:13:50.212Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-07T03:13:52.165Z] ---> Running in 3ba81ff63e6b [2022-11-07T03:13:52.432Z] Removing intermediate container 3ba81ff63e6b [2022-11-07T03:13:52.432Z] ---> 5d975459036f [2022-11-07T03:13:52.432Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T03:13:52.432Z] ---> Running in 242ec35e9a0f [2022-11-07T03:13:52.700Z] Removing intermediate container 242ec35e9a0f [2022-11-07T03:13:52.700Z] ---> 0812463d1767 [2022-11-07T03:13:52.700Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T03:13:52.967Z] ---> Running in 000746c09d21 [2022-11-07T03:13:53.233Z] Removing intermediate container 000746c09d21 [2022-11-07T03:13:53.233Z] ---> 01159f4c3a4c [2022-11-07T03:13:53.233Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T03:13:53.233Z] ---> Running in ab02add9ec83 [2022-11-07T03:13:53.503Z] Removing intermediate container ab02add9ec83 [2022-11-07T03:13:53.503Z] ---> 4c72603d73f8 [2022-11-07T03:13:53.503Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-11-07T03:13:53.503Z] ---> Running in 097bfed5d98a [2022-11-07T03:13:53.797Z] Removing intermediate container 097bfed5d98a [2022-11-07T03:13:53.797Z] ---> a4cc0a424bff [2022-11-07T03:13:53.797Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T03:13:54.064Z] ---> Running in 7f93e0595cf8 [2022-11-07T03:13:55.027Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T03:13:55.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T03:13:56.251Z] OK: 221 MiB in 51 packages [2022-11-07T03:13:57.223Z] Removing intermediate container 7f93e0595cf8 [2022-11-07T03:13:57.223Z] ---> cf743a4927fd [2022-11-07T03:13:57.223Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-11-07T03:13:57.223Z] ---> Running in d3f5c41be99d [2022-11-07T03:13:57.492Z] Removing intermediate container d3f5c41be99d [2022-11-07T03:13:57.492Z] ---> 616cc68dca33 [2022-11-07T03:13:57.492Z] Step 10/13 : COPY go.mod vendor* ./ [2022-11-07T03:13:58.077Z] ---> d4b2b4e2a07b [2022-11-07T03:13:58.077Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T03:13:58.077Z] ---> Running in 4d1449b1b6de [2022-11-07T03:14:54.497Z] Removing intermediate container 4d1449b1b6de [2022-11-07T03:14:54.497Z] ---> 2fb27cefa7c1 [2022-11-07T03:14:54.497Z] Step 12/13 : COPY . . [2022-11-07T03:14:54.497Z] ---> 066a86748b48 [2022-11-07T03:14:54.497Z] Step 13/13 : RUN ${MAKE} [2022-11-07T03:14:54.497Z] ---> Running in 23b0bc908c3c [2022-11-07T03:14:54.765Z] noop [2022-11-07T03:14:55.358Z] Removing intermediate container 23b0bc908c3c [2022-11-07T03:14:55.358Z] ---> a09104ebe431 [2022-11-07T03:14:55.626Z] Successfully built a09104ebe431 [2022-11-07T03:14:55.626Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T03:14:56.111Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T03:14:56.111Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T03:14:56.377Z] prd-ubuntu20.04-docker-arm64-4c-16g-118381 does not seem to be running inside a container [2022-11-07T03:14:56.448Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/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 ******** ci-base-image-arm64 cat [2022-11-07T03:14:57.675Z] $ docker top 8594b56c59578db00710fbf7dcf5bd169ca3cc5c544824e878f9c3ad61fee3df -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T03:14:58.570Z] + go version [2022-11-07T03:14:58.571Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-07T03:14:58.607Z] $ docker stop --time=1 8594b56c59578db00710fbf7dcf5bd169ca3cc5c544824e878f9c3ad61fee3df [2022-11-07T03:15:00.281Z] $ docker rm -f 8594b56c59578db00710fbf7dcf5bd169ca3cc5c544824e878f9c3ad61fee3df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T03:15:01.158Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T03:15:01.158Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T03:15:01.503Z] prd-ubuntu20.04-docker-arm64-4c-16g-118381 does not seem to be running inside a container [2022-11-07T03:15:01.593Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/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 ******** ci-base-image-arm64 cat [2022-11-07T03:15:02.832Z] $ docker top e8b8ab624c98949be07ac98f3c511a6f09b45ff81ab45d7e2461cc67a563d2b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T03:15:03.713Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-11-07T03:15:04.280Z] + make test [2022-11-07T03:15:04.280Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-07T03:15:06.252Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-11-07T03:16:42.938Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-11-07T03:16:53.038Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.207s coverage: 29.3% of statements [2022-11-07T03:16:53.038Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-11-07T03:17:11.271Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.665s coverage: 86.5% of statements [2022-11-07T03:17:11.271Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-07T03:17:11.271Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T03:17:43.620Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T03:17:43.620Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T03:17:43.620Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T03:17:43.926Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T03:17:43.969Z] $ docker stop --time=1 e8b8ab624c98949be07ac98f3c511a6f09b45ff81ab45d7e2461cc67a563d2b7 [2022-11-07T03:17:45.869Z] $ docker rm -f e8b8ab624c98949be07ac98f3c511a6f09b45ff81ab45d7e2461cc67a563d2b7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T03:17:48.980Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T03:17:49.015Z] Warning: overwriting stash ‘coverage-report’ [2022-11-07T03:17:49.552Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T03:17:50.154Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T03:17:50.511Z] + ls -al . [2022-11-07T03:17:50.511Z] total 244 [2022-11-07T03:17:50.511Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 03:15 . [2022-11-07T03:17:50.511Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 03:12 .. [2022-11-07T03:17:50.511Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 03:13 .git [2022-11-07T03:17:50.511Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 03:13 .github [2022-11-07T03:17:50.511Z] -rw-rw-r-- 1 jenkins jenkins 496 Nov 7 03:13 .gitignore [2022-11-07T03:17:50.511Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 7 03:13 .golangci.yml [2022-11-07T03:17:50.511Z] -rw-rw-r-- 1 jenkins jenkins 9739 Nov 7 03:13 Attribution.txt [2022-11-07T03:17:50.511Z] -rw-rw-r-- 1 jenkins jenkins 6312 Nov 7 03:13 CHANGELOG.md [2022-11-07T03:17:50.511Z] -rw-rw-r-- 1 jenkins jenkins 1637 Nov 7 03:13 Dockerfile [2022-11-07T03:17:50.511Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 03:13 GOVERNANCE.md [2022-11-07T03:17:50.511Z] -rw-rw-r-- 1 jenkins jenkins 734 Nov 7 03:13 Jenkinsfile [2022-11-07T03:17:50.511Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 7 03:13 LICENSE [2022-11-07T03:17:50.511Z] -rw-rw-r-- 1 jenkins jenkins 2858 Nov 7 03:13 Makefile [2022-11-07T03:17:50.511Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 7 03:13 OWNERS.md [2022-11-07T03:17:50.511Z] -rw-rw-r-- 1 jenkins jenkins 6595 Nov 7 03:13 README.md [2022-11-07T03:17:50.511Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 03:10 VERSION [2022-11-07T03:17:50.511Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 03:13 bin [2022-11-07T03:17:50.511Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 03:13 cmd [2022-11-07T03:17:50.511Z] -rw-r--r-- 1 jenkins jenkins 79184 Nov 7 03:17 coverage.out [2022-11-07T03:17:50.511Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 03:13 doc [2022-11-07T03:17:50.511Z] -rw-rw-r-- 1 jenkins jenkins 3694 Nov 7 03:13 go.mod [2022-11-07T03:17:50.511Z] -rw-rw-r-- 1 jenkins jenkins 46119 Nov 7 03:13 go.sum [2022-11-07T03:17:50.511Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 03:13 internal [2022-11-07T03:17:50.511Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 03:13 snap [2022-11-07T03:17:50.511Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 7 03:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T03:17:50.953Z] + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce --label arch=arm64 --label version=0.0.0 . [2022-11-07T03:17:51.544Z] Sending build context to Docker daemon 20.55MB [2022-11-07T03:17:51.544Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T03:17:51.544Z] Step 2/26 : FROM ${BASE} AS builder [2022-11-07T03:17:51.544Z] ---> a09104ebe431 [2022-11-07T03:17:51.544Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-11-07T03:17:52.135Z] ---> Running in aeb5c6661f28 [2022-11-07T03:17:52.407Z] Removing intermediate container aeb5c6661f28 [2022-11-07T03:17:52.407Z] ---> d4f44709700d [2022-11-07T03:17:52.407Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T03:17:52.679Z] ---> Running in c607b230eda8 [2022-11-07T03:17:52.948Z] Removing intermediate container c607b230eda8 [2022-11-07T03:17:52.948Z] ---> f87a20edf1cb [2022-11-07T03:17:52.948Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T03:17:53.216Z] ---> Running in 3b9f7db76082 [2022-11-07T03:17:53.484Z] Removing intermediate container 3b9f7db76082 [2022-11-07T03:17:53.484Z] ---> a9d46a17c7ef [2022-11-07T03:17:53.484Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T03:17:53.757Z] ---> Running in d2d098e170b6 [2022-11-07T03:17:54.034Z] Removing intermediate container d2d098e170b6 [2022-11-07T03:17:54.034Z] ---> 1b1622afea74 [2022-11-07T03:17:54.034Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-11-07T03:17:54.311Z] ---> Running in 35d9b93a9849 [2022-11-07T03:17:54.581Z] Removing intermediate container 35d9b93a9849 [2022-11-07T03:17:54.581Z] ---> a6a7e030e386 [2022-11-07T03:17:54.581Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T03:17:54.860Z] ---> Running in 8bccb81462b7 [2022-11-07T03:17:55.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T03:17:56.426Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T03:17:57.854Z] OK: 221 MiB in 51 packages [2022-11-07T03:17:58.829Z] Removing intermediate container 8bccb81462b7 [2022-11-07T03:17:58.829Z] ---> fd20c5f2ac1e [2022-11-07T03:17:58.829Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-11-07T03:17:58.829Z] ---> Running in 15428714dbc7 [2022-11-07T03:17:59.099Z] Removing intermediate container 15428714dbc7 [2022-11-07T03:17:59.099Z] ---> 66e84a85c150 [2022-11-07T03:17:59.099Z] Step 10/26 : COPY go.mod vendor* ./ [2022-11-07T03:17:59.688Z] ---> 83c128aa2cbc [2022-11-07T03:17:59.688Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T03:17:59.688Z] ---> Running in 21c91dbb4635 [2022-11-07T03:18:05.070Z] Removing intermediate container 21c91dbb4635 [2022-11-07T03:18:05.070Z] ---> cee0610ddfef [2022-11-07T03:18:05.070Z] Step 12/26 : COPY . . [2022-11-07T03:18:08.418Z] ---> 66061b4287c3 [2022-11-07T03:18:08.418Z] Step 13/26 : RUN ${MAKE} [2022-11-07T03:18:08.418Z] ---> Running in 6915b80b5bd3 [2022-11-07T03:18:11.031Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-11-07T03:20:47.771Z] Removing intermediate container 6915b80b5bd3 [2022-11-07T03:20:47.771Z] ---> 78ccd83f274c [2022-11-07T03:20:47.771Z] Step 14/26 : FROM alpine:3.16 [2022-11-07T03:20:47.771Z] 3.16: Pulling from library/alpine [2022-11-07T03:20:47.771Z] 9b18e9b68314: Already exists [2022-11-07T03:20:47.771Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T03:20:47.771Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T03:20:47.771Z] ---> a6215f271958 [2022-11-07T03:20:47.771Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-11-07T03:20:47.771Z] ---> Running in 7d6bc5790a27 [2022-11-07T03:20:47.771Z] Removing intermediate container 7d6bc5790a27 [2022-11-07T03:20:47.771Z] ---> 5e5392617693 [2022-11-07T03:20:47.771Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T03:20:47.771Z] ---> Running in 62d6c6531023 [2022-11-07T03:20:47.771Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T03:20:47.771Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T03:20:47.771Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T03:20:47.771Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T03:20:47.771Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T03:20:47.771Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T03:20:48.040Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T03:20:48.040Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T03:20:48.040Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T03:20:48.040Z] OK: 8 MiB in 20 packages [2022-11-07T03:20:49.004Z] Removing intermediate container 62d6c6531023 [2022-11-07T03:20:49.004Z] ---> 3172090acb9c [2022-11-07T03:20:49.004Z] Step 17/26 : WORKDIR / [2022-11-07T03:20:49.004Z] ---> Running in 7eaba47bfb58 [2022-11-07T03:20:49.272Z] Removing intermediate container 7eaba47bfb58 [2022-11-07T03:20:49.272Z] ---> 07045038278d [2022-11-07T03:20:49.272Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-11-07T03:20:50.749Z] ---> 6f3e23e86c21 [2022-11-07T03:20:50.749Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-11-07T03:20:51.420Z] ---> b9a2641671f1 [2022-11-07T03:20:51.420Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-11-07T03:20:52.879Z] ---> 5f3776d6be0e [2022-11-07T03:20:52.879Z] Step 21/26 : EXPOSE 59984 [2022-11-07T03:20:52.879Z] ---> Running in 1c93f4892325 [2022-11-07T03:20:53.163Z] Removing intermediate container 1c93f4892325 [2022-11-07T03:20:53.163Z] ---> d145d08d2b38 [2022-11-07T03:20:53.163Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-11-07T03:20:53.163Z] ---> Running in 32a043e53a91 [2022-11-07T03:20:53.445Z] Removing intermediate container 32a043e53a91 [2022-11-07T03:20:53.445Z] ---> c899845f9e41 [2022-11-07T03:20:53.445Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-07T03:20:53.445Z] ---> Running in 7da4fad3b50a [2022-11-07T03:20:53.724Z] Removing intermediate container 7da4fad3b50a [2022-11-07T03:20:53.724Z] ---> 3e9f9033dd57 [2022-11-07T03:20:53.724Z] Step 24/26 : LABEL arch=arm64 [2022-11-07T03:20:54.002Z] ---> Running in 6f64ec08f149 [2022-11-07T03:20:54.296Z] Removing intermediate container 6f64ec08f149 [2022-11-07T03:20:54.296Z] ---> 8bc4407a5011 [2022-11-07T03:20:54.296Z] Step 25/26 : LABEL git_sha=aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce [2022-11-07T03:20:54.296Z] ---> Running in f215727a6ac8 [2022-11-07T03:20:54.570Z] Removing intermediate container f215727a6ac8 [2022-11-07T03:20:54.570Z] ---> 251e6cd8026a [2022-11-07T03:20:54.570Z] Step 26/26 : LABEL version=0.0.0 [2022-11-07T03:20:54.570Z] ---> Running in 553e34982f76 [2022-11-07T03:20:54.839Z] Removing intermediate container 553e34982f76 [2022-11-07T03:20:54.839Z] ---> ba35a58d87c1 [2022-11-07T03:20:54.839Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T03:20:55.107Z] Successfully built ba35a58d87c1 [2022-11-07T03:20:55.107Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T03:20:55.915Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T03:20:55.915Z] [2022-11-07T03:20:55.915Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T03:20:56.324Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T03:20:56.324Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-07T03:20:56.324Z] 8998bd30e6a1: Pulling fs layer [2022-11-07T03:20:56.324Z] 04944245beec: Pulling fs layer [2022-11-07T03:20:56.324Z] 699f458cf7ca: Pulling fs layer [2022-11-07T03:20:56.324Z] 765212b225bb: Pulling fs layer [2022-11-07T03:20:56.324Z] f23df028b6ca: Pulling fs layer [2022-11-07T03:20:56.324Z] d65c8cfc05b1: Pulling fs layer [2022-11-07T03:20:56.324Z] 2437ff75d9bd: Pulling fs layer [2022-11-07T03:20:56.324Z] f23df028b6ca: Waiting [2022-11-07T03:20:56.324Z] d65c8cfc05b1: Waiting [2022-11-07T03:20:56.324Z] 2437ff75d9bd: Waiting [2022-11-07T03:20:56.596Z] 04944245beec: Verifying Checksum [2022-11-07T03:20:56.596Z] 04944245beec: Download complete [2022-11-07T03:20:56.596Z] 765212b225bb: Verifying Checksum [2022-11-07T03:20:56.596Z] 765212b225bb: Download complete [2022-11-07T03:20:56.596Z] f23df028b6ca: Verifying Checksum [2022-11-07T03:20:56.596Z] f23df028b6ca: Download complete [2022-11-07T03:20:56.596Z] d65c8cfc05b1: Verifying Checksum [2022-11-07T03:20:56.596Z] d65c8cfc05b1: Download complete [2022-11-07T03:20:56.867Z] 699f458cf7ca: Verifying Checksum [2022-11-07T03:20:56.867Z] 699f458cf7ca: Download complete [2022-11-07T03:20:57.135Z] 8998bd30e6a1: Verifying Checksum [2022-11-07T03:20:57.135Z] 8998bd30e6a1: Download complete [2022-11-07T03:20:59.723Z] 2437ff75d9bd: Verifying Checksum [2022-11-07T03:20:59.724Z] 2437ff75d9bd: Download complete [2022-11-07T03:21:01.670Z] 8998bd30e6a1: Pull complete [2022-11-07T03:21:01.670Z] 04944245beec: Pull complete [2022-11-07T03:21:03.081Z] 699f458cf7ca: Pull complete [2022-11-07T03:21:03.349Z] 765212b225bb: Pull complete [2022-11-07T03:21:04.312Z] f23df028b6ca: Pull complete [2022-11-07T03:21:04.312Z] d65c8cfc05b1: Pull complete [2022-11-07T03:21:19.306Z] 2437ff75d9bd: Pull complete [2022-11-07T03:21:19.306Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-07T03:21:19.306Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T03:21:19.306Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T03:21:19.638Z] prd-ubuntu20.04-docker-arm64-4c-16g-118381 does not seem to be running inside a container [2022-11-07T03:21:19.715Z] $ 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-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-07T03:21:22.370Z] $ docker top 84f27baeb68dcc9a17c2192af037b91c4fc596f5c42a519da596a310857577dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T03:21:22.919Z] ---> job-cost.sh [2022-11-07T03:21:23.187Z] lf-activate-venv: SKIPPING [2022-11-07T03:21:23.187Z] INFO: No Stack... [2022-11-07T03:21:23.766Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-07T03:21:24.346Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T03:21:24.681Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-11-07T03:21:24.681Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T03:21:24.764Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-193-1-stack-cost] [2022-11-07T03:21:24.769Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-193-1-stack-cost] did not exist. Created. [2022-11-07T03:21:24.769Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-193-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T03:21:25.189Z] /w/workspace/device-onvif-camera/1@tmp/durable-cd5ea85a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-07T03:21:25.811Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-07T03:21:25.847Z] Warning: overwriting stash ‘stack-cost’ [2022-11-07T03:21:25.909Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T03:21:25.927Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-193-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T03:21:26.021Z] $ docker stop --time=1 84f27baeb68dcc9a17c2192af037b91c4fc596f5c42a519da596a310857577dd [2022-11-07T03:21:27.465Z] $ docker rm -f 84f27baeb68dcc9a17c2192af037b91c4fc596f5c42a519da596a310857577dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-11-07T03:21:28.419Z] provisioning config files... [2022-11-07T03:21:28.427Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-193@tmp/config8546501322213446745tmp [Pipeline] { [Pipeline] sh [2022-11-07T03:21:28.764Z] + set +x [2022-11-07T03:21:28.764Z] + curl -s https://codecov.io/bash [2022-11-07T03:21:28.764Z] + bash -s -- [2022-11-07T03:21:28.764Z] [2022-11-07T03:21:28.764Z] _____ _ [2022-11-07T03:21:28.764Z] / ____| | | [2022-11-07T03:21:28.764Z] | | ___ __| | ___ ___ _____ __ [2022-11-07T03:21:28.764Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-07T03:21:28.764Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-07T03:21:28.764Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-07T03:21:28.764Z] Bash-1.0.6 [2022-11-07T03:21:28.764Z] [2022-11-07T03:21:28.764Z] [2022-11-07T03:21:28.764Z] ==> git version 2.25.1 found [2022-11-07T03:21:28.764Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-11-07T03:21:28.764Z] Release-Date: 2020-01-08 [2022-11-07T03:21:28.764Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-07T03:21:28.764Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-07T03:21:28.764Z] ==> Jenkins CI detected. [2022-11-07T03:21:28.764Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-193 [2022-11-07T03:21:28.764Z] project root: . [2022-11-07T03:21:28.764Z] --> token set from env [2022-11-07T03:21:28.764Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-07T03:21:28.764Z] ==> Running gcov in . (disable via -X gcov) [2022-11-07T03:21:28.764Z] ==> Python coveragepy not found [2022-11-07T03:21:28.764Z] ==> Searching for coverage reports in: [2022-11-07T03:21:28.764Z] + . [2022-11-07T03:21:29.023Z] -> Found 1 reports [2022-11-07T03:21:29.023Z] ==> Detecting git/mercurial file structure [2022-11-07T03:21:29.023Z] ==> Reading reports [2022-11-07T03:21:29.023Z] + ./coverage.out bytes=79184 [2022-11-07T03:21:29.024Z] ==> Appending adjustments [2022-11-07T03:21:29.024Z] https://docs.codecov.io/docs/fixing-reports [2022-11-07T03:21:29.024Z] + Found adjustments [2022-11-07T03:21:29.024Z] ==> Gzipping contents [2022-11-07T03:21:29.024Z] 12K /tmp/codecov.un70vt.gz [2022-11-07T03:21:29.024Z] ==> Uploading reports [2022-11-07T03:21:29.024Z] url: https://codecov.io [2022-11-07T03:21:29.024Z] query: branch=PR-193&commit=aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-193%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=193&job=&cmd_args= [2022-11-07T03:21:29.024Z] -> Pinging Codecov [2022-11-07T03:21:29.024Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-193&commit=aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-193%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=193&job=&cmd_args= [2022-11-07T03:21:29.593Z] -> Uploading to [2022-11-07T03:21:29.593Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-07/F29A59C45E3A92E06B3E522C9905F8EF/aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce/3da7422e-c6e4-4c73-b678-5c0063095dd3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T032129Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f1749654ef9e151c069780073944f64d7f27788783713863080e051ffddf6756 [2022-11-07T03:21:29.593Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T03:21:29.593Z] Dload Upload Total Spent Left Speed [2022-11-07T03:21:29.852Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10858 0 0 100 10858 0 44683 --:--:-- --:--:-- --:--:-- 44500 100 10858 0 0 100 10858 0 38503 --:--:-- --:--:-- --:--:-- 38367 [2022-11-07T03:21:29.852Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce [Pipeline] } [2022-11-07T03:21:29.882Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-11-07T03:21:31.738Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-193/archives ] [2022-11-07T03:21:31.739Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-193/archives [2022-11-07T03:21:31.739Z] total 16 [2022-11-07T03:21:31.739Z] drwxr-xr-x 3 root root 4096 Nov 7 03:11 . [2022-11-07T03:21:31.739Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 03:11 .. [2022-11-07T03:21:31.739Z] drwxr-xr-x 2 root root 4096 Nov 7 03:11 cost [2022-11-07T03:21:31.739Z] -rw-r--r-- 1 root root 91 Nov 7 03:11 cost.csv [2022-11-07T03:21:31.739Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-193/archives [2022-11-07T03:21:31.739Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-193/archives [2022-11-07T03:21:31.739Z] total 16 [2022-11-07T03:21:31.739Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 03:11 . [2022-11-07T03:21:31.739Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 03:11 .. [2022-11-07T03:21:31.739Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 03:11 cost [2022-11-07T03:21:31.739Z] -rw-r--r-- 1 jenkins jenkins 91 Nov 7 03:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-07T03:21:32.071Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T03:21:32.963Z] ---> package-listing.sh [2022-11-07T03:21:32.963Z] ++ facter osfamily [2022-11-07T03:21:32.963Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-07T03:21:33.223Z] + OS_FAMILY=debian [2022-11-07T03:21:33.223Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-193 [2022-11-07T03:21:33.223Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-07T03:21:33.223Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-07T03:21:33.223Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-07T03:21:33.223Z] + PACKAGES=/tmp/packages_start.txt [2022-11-07T03:21:33.223Z] + '[' /w/workspace/undry_device-onvif-camera_PR-193 ']' [2022-11-07T03:21:33.223Z] + PACKAGES=/tmp/packages_end.txt [2022-11-07T03:21:33.223Z] + case "${OS_FAMILY}" in [2022-11-07T03:21:33.223Z] + dpkg -l [2022-11-07T03:21:33.223Z] + grep '^ii' [2022-11-07T03:21:33.223Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-07T03:21:33.223Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-07T03:21:33.223Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-07T03:21:33.223Z] + '[' /w/workspace/undry_device-onvif-camera_PR-193 ']' [2022-11-07T03:21:33.223Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-193/archives/ [2022-11-07T03:21:33.223Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-193/archives/ [Pipeline] echo [2022-11-07T03:21:33.262Z] 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/undry_device-onvif-camera_PR-193/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-07T03:21:33.571Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T03:21:34.200Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T03:21:34.200Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T03:21:34.347Z] prd-ubuntu20.04-docker-8c-8g-118378 does not seem to be running inside a container [2022-11-07T03:21:34.394Z] $ 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/undry_device-onvif-camera_PR-193/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-193 -v /w/workspace/undry_device-onvif-camera_PR-193:/w/workspace/undry_device-onvif-camera_PR-193:rw,z -v /w/workspace/undry_device-onvif-camera_PR-193@tmp:/w/workspace/undry_device-onvif-camera_PR-193@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-07T03:21:34.608Z] $ docker top 8dfdea99b17f58d7e84cceab7a9163d2f9ee970a8d476e879b5abfd94fc1298d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T03:21:34.993Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-07T03:21:35.299Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-07T03:21:35.604Z] + ls /var/log/sa-host [2022-11-07T03:21:35.605Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T03:21:35.813Z] provisioning config files... [2022-11-07T03:21:35.823Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-193@tmp/config9896271250393270277tmp [Pipeline] { [Pipeline] echo [2022-11-07T03:21:35.868Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T03:21:36.177Z] ---> create-netrc.sh [Pipeline] } [2022-11-07T03:21:36.204Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-07T03:21:36.597Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-07T03:21:36.630Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T03:21:36.938Z] ---> sudo-logs.sh [2022-11-07T03:21:36.938Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-07T03:21:37.027Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T03:21:37.350Z] ---> job-cost.sh [2022-11-07T03:21:37.350Z] lf-activate-venv: SKIPPING [2022-11-07T03:21:37.350Z] DEBUG: total: 0.2199999988079071 [2022-11-07T03:21:37.350Z] INFO: Retrieving Stack Cost... [2022-11-07T03:21:37.919Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T03:21:38.488Z] INFO: Archiving Costs [Pipeline] echo [2022-11-07T03:21:38.525Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T03:21:38.832Z] ---> logs-deploy.sh [2022-11-07T03:21:38.832Z] lf-activate-venv: SKIPPING [2022-11-07T03:21:38.832Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-193/1 [2022-11-07T03:21:38.832Z] INFO: archiving workspace using pattern(s): [2022-11-07T03:21:39.767Z] Archives upload complete. [2022-11-07T03:21:40.027Z] INFO: archiving logs to Nexus