Pull request #168 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3bfb47d9fa29d540b8f55437377d610b92afa15d+0803938d3e117362d3c6c6e4e1a4697135dfbf5d (b691b20801fd7a7c8cfeba24b96632c8f8eb41c9) 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-ssh5582997800991291254.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh7805500699608083873.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-168/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-168/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17463489059222776761.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-168/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15143080398063940353.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh4761127219499429362.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-168/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-168/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18375237629835951731.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-6799’ Running on prd-ubuntu20.04-docker-8c-8g-6803 in /w/workspace/undry_device-onvif-camera_PR-168 [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-168 # 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 > 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/168/head:refs/remotes/origin/PR-168 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0803938d3e117362d3c6c6e4e1a4697135dfbf5d into PR head commit 3bfb47d9fa29d540b8f55437377d610b92afa15d Merge succeeded, producing 3bfb47d9fa29d540b8f55437377d610b92afa15d Checking out Revision 3bfb47d9fa29d540b8f55437377d610b92afa15d (PR-168) Commit message: "build(deps): Bump github.com/IOTechSystems/onvif from 0.1.4 to 0.1.5" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-03T03:20:31.759Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-03T03:20:31.935Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-03T03:20:32.025Z] ========================================================= [2022-10-03T03:20:32.025Z] EdgeX Global Pipelines Version Info [2022-10-03T03:20:32.025Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 3bfb47d9fa29d540b8f55437377d610b92afa15d # 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 0803938d3e117362d3c6c6e4e1a4697135dfbf5d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3bfb47d9fa29d540b8f55437377d610b92afa15d # timeout=10 [2022-10-03T03:20:32.766Z] ------------------- [2022-10-03T03:20:32.766Z] stable info: [2022-10-03T03:20:32.766Z] ------------------- [2022-10-03T03:20:32.766Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-03T03:20:32.766Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T03:20:32.766Z] Message: update stable to v1.0.239 [2022-10-03T03:20:33.337Z] ------------------- [2022-10-03T03:20:33.337Z] experimental info: [2022-10-03T03:20:33.337Z] ------------------- [2022-10-03T03:20:33.337Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-03T03:20:33.337Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T03:20:33.337Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-03T03:20:33.611Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-03T03:20:33.653Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-03T03:20:33.692Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-03T03:20:33.730Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-03T03:20:33.773Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-03T03:20:33.814Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-03T03:20:33.855Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-03T03:20:33.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-03T03:20:33.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-03T03:20:33.980Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-03T03:20:34.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-03T03:20:34.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-03T03:20:34.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-03T03:20:34.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-03T03:20:34.191Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T03:20:34.229Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T03:20:34.265Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T03:20:34.302Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T03:20:34.340Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-03T03:20:34.384Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-03T03:20:34.421Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-03T03:20:34.457Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-03T03:20:34.504Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-03T03:20:34.542Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-03T03:20:34.581Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-03T03:20:34.618Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-03T03:20:34.655Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-03T03:20:34.691Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-168 [Pipeline] echo [2022-10-03T03:20:34.729Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-168 [Pipeline] echo [2022-10-03T03:20:34.765Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-168 [Pipeline] echo [2022-10-03T03:20:34.801Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3bfb47d9fa29d540b8f55437377d610b92afa15d [Pipeline] echo [2022-10-03T03:20:34.838Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3bfb47d [Pipeline] echo [2022-10-03T03:20:34.881Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T03:20:34.985Z] provisioning config files... [2022-10-03T03:20:35.001Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-168@tmp/config4322614659316582718tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:20:35.341Z] ---> docker-login.sh [2022-10-03T03:20:35.341Z] nexus3.edgexfoundry.org:10001 [2022-10-03T03:20:35.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:20:35.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:20:35.601Z] Configure a credential helper to remove this warning. See [2022-10-03T03:20:35.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:20:35.601Z] [2022-10-03T03:20:35.601Z] Login Succeeded [2022-10-03T03:20:35.601Z] nexus3.edgexfoundry.org:10002 [2022-10-03T03:20:35.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:20:35.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:20:35.601Z] Configure a credential helper to remove this warning. See [2022-10-03T03:20:35.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:20:35.601Z] [2022-10-03T03:20:35.601Z] Login Succeeded [2022-10-03T03:20:35.601Z] nexus3.edgexfoundry.org:10003 [2022-10-03T03:20:35.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:20:35.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:20:35.862Z] Configure a credential helper to remove this warning. See [2022-10-03T03:20:35.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:20:35.862Z] [2022-10-03T03:20:35.862Z] Login Succeeded [2022-10-03T03:20:35.862Z] nexus3.edgexfoundry.org:10004 [2022-10-03T03:20:35.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:20:35.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:20:35.862Z] Configure a credential helper to remove this warning. See [2022-10-03T03:20:35.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:20:35.862Z] [2022-10-03T03:20:35.862Z] Login Succeeded [2022-10-03T03:20:35.862Z] docker.io [2022-10-03T03:20:36.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:20:36.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:20:36.387Z] Configure a credential helper to remove this warning. See [2022-10-03T03:20:36.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:20:36.387Z] [2022-10-03T03:20:36.387Z] Login Succeeded [2022-10-03T03:20:36.387Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T03:20:36.409Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-03T03:20:37.040Z] + git rev-list -1 --merges 3bfb47d9fa29d540b8f55437377d610b92afa15d~1..3bfb47d9fa29d540b8f55437377d610b92afa15d [Pipeline] echo [2022-10-03T03:20:37.086Z] -----------> git rev-list -1 --merges 3bfb47d9fa29d540b8f55437377d610b92afa15d~1..3bfb47d9fa29d540b8f55437377d610b92afa15d 3bfb47d9fa29d540b8f55437377d610b92afa15d [false] [Pipeline] sh [2022-10-03T03:20:37.396Z] + git log --format=format:%s -1 3bfb47d9fa29d540b8f55437377d610b92afa15d [Pipeline] echo [2022-10-03T03:20:37.431Z] ========================================================= [2022-10-03T03:20:37.431Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-03T03:20:37.431Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T03:20:37.862Z] + git log --format=format:%s -1 3bfb47d9fa29d540b8f55437377d610b92afa15d [Pipeline] echo [2022-10-03T03:20:37.897Z] [semverPrep] GIT_COMMIT: 3bfb47d9fa29d540b8f55437377d610b92afa15d, Commit Message: build(deps): Bump github.com/IOTechSystems/onvif from 0.1.4 to 0.1.5 [Pipeline] echo [2022-10-03T03:20:37.925Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-03T03:20:38.313Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-03T03:20:38.313Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-03T03:20:38.313Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-03T03:20:38.313Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-03T03:20:38.313Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-03T03:20:38.313Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-03T03:20:38.313Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:20:38.781Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T03:20:38.781Z] [2022-10-03T03:20:38.781Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:20:39.150Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T03:20:39.150Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-03T03:20:39.150Z] b85a868b505f: Pulling fs layer [2022-10-03T03:20:39.150Z] e2be974225ed: Pulling fs layer [2022-10-03T03:20:39.150Z] 339a4e72a1f5: Pulling fs layer [2022-10-03T03:20:39.150Z] 988bab9f4d93: Pulling fs layer [2022-10-03T03:20:39.150Z] 1469e6f7b9e6: Pulling fs layer [2022-10-03T03:20:39.150Z] eaf3925da568: Pulling fs layer [2022-10-03T03:20:39.150Z] bab4dde63d76: Pulling fs layer [2022-10-03T03:20:39.150Z] bde34c3a00c8: Pulling fs layer [2022-10-03T03:20:39.150Z] 1469e6f7b9e6: Waiting [2022-10-03T03:20:39.150Z] 988bab9f4d93: Waiting [2022-10-03T03:20:39.150Z] eaf3925da568: Waiting [2022-10-03T03:20:39.150Z] bab4dde63d76: Waiting [2022-10-03T03:20:39.150Z] b352a97aabf1: Pulling fs layer [2022-10-03T03:20:39.150Z] 4872d77fe225: Pulling fs layer [2022-10-03T03:20:39.150Z] 5851b861e8e6: Pulling fs layer [2022-10-03T03:20:39.150Z] b352a97aabf1: Waiting [2022-10-03T03:20:39.150Z] bde34c3a00c8: Waiting [2022-10-03T03:20:39.150Z] 4872d77fe225: Waiting [2022-10-03T03:20:39.150Z] e2be974225ed: Verifying Checksum [2022-10-03T03:20:39.150Z] e2be974225ed: Download complete [2022-10-03T03:20:39.150Z] 988bab9f4d93: Verifying Checksum [2022-10-03T03:20:39.150Z] 988bab9f4d93: Download complete [2022-10-03T03:20:39.536Z] 1469e6f7b9e6: Verifying Checksum [2022-10-03T03:20:39.536Z] 1469e6f7b9e6: Download complete [2022-10-03T03:20:39.536Z] 339a4e72a1f5: Verifying Checksum [2022-10-03T03:20:39.536Z] 339a4e72a1f5: Download complete [2022-10-03T03:20:39.536Z] eaf3925da568: Download complete [2022-10-03T03:20:39.536Z] bde34c3a00c8: Download complete [2022-10-03T03:20:39.536Z] b352a97aabf1: Verifying Checksum [2022-10-03T03:20:39.536Z] b352a97aabf1: Download complete [2022-10-03T03:20:39.796Z] 4872d77fe225: Download complete [2022-10-03T03:20:39.796Z] 5851b861e8e6: Verifying Checksum [2022-10-03T03:20:39.796Z] 5851b861e8e6: Download complete [2022-10-03T03:20:39.796Z] b85a868b505f: Verifying Checksum [2022-10-03T03:20:39.796Z] b85a868b505f: Download complete [2022-10-03T03:20:40.055Z] bab4dde63d76: Verifying Checksum [2022-10-03T03:20:40.055Z] bab4dde63d76: Download complete [2022-10-03T03:20:41.002Z] b85a868b505f: Pull complete [2022-10-03T03:20:41.002Z] e2be974225ed: Pull complete [2022-10-03T03:20:41.573Z] 339a4e72a1f5: Pull complete [2022-10-03T03:20:41.573Z] 988bab9f4d93: Pull complete [2022-10-03T03:20:41.835Z] 1469e6f7b9e6: Pull complete [2022-10-03T03:20:42.094Z] eaf3925da568: Pull complete [2022-10-03T03:20:44.002Z] bab4dde63d76: Pull complete [2022-10-03T03:20:44.002Z] bde34c3a00c8: Pull complete [2022-10-03T03:20:44.002Z] b352a97aabf1: Pull complete [2022-10-03T03:20:44.002Z] 4872d77fe225: Pull complete [2022-10-03T03:20:44.002Z] 5851b861e8e6: Pull complete [2022-10-03T03:20:44.264Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-03T03:20:44.264Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T03:20:44.264Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:20:44.487Z] prd-ubuntu20.04-docker-8c-8g-6803 does not seem to be running inside a container [2022-10-03T03:20:44.533Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-168 -v /w/workspace/undry_device-onvif-camera_PR-168:/w/workspace/undry_device-onvif-camera_PR-168:rw,z -v /w/workspace/undry_device-onvif-camera_PR-168@tmp:/w/workspace/undry_device-onvif-camera_PR-168@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-10-03T03:20:46.600Z] $ docker top bf401d60dd7b27ea15e317a7a59571b6ea6d257d3484038176244d4b4ea04cd1 -eo pid,comm [2022-10-03T03:20:46.655Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-03T03:20:46.655Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-03T03:20:46.777Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T03:20:46.777Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T03:20:46.902Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T03:20:46.912Z] $ docker exec bf401d60dd7b27ea15e317a7a59571b6ea6d257d3484038176244d4b4ea04cd1 ssh-agent [2022-10-03T03:20:47.020Z] SSH_AUTH_SOCK=/tmp/ssh-2fzkN7WmKNIu/agent.33 [2022-10-03T03:20:47.020Z] SSH_AGENT_PID=39 [2022-10-03T03:20:47.029Z] Running ssh-add (command line suppressed) [2022-10-03T03:20:47.140Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-168@tmp/private_key_15071910427544202432.key (/w/workspace/undry_device-onvif-camera_PR-168@tmp/private_key_15071910427544202432.key) [2022-10-03T03:20:47.151Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T03:20:47.481Z] + git tag --points-at HEAD [Pipeline] } [2022-10-03T03:20:47.511Z] $ docker exec --env ******** --env ******** bf401d60dd7b27ea15e317a7a59571b6ea6d257d3484038176244d4b4ea04cd1 ssh-agent -k [2022-10-03T03:20:47.620Z] unset SSH_AUTH_SOCK; [2022-10-03T03:20:47.621Z] unset SSH_AGENT_PID; [2022-10-03T03:20:47.621Z] echo Agent pid 39 killed; [2022-10-03T03:20:47.626Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-03T03:20:47.720Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T03:20:47.720Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T03:20:47.841Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T03:20:47.849Z] $ docker exec bf401d60dd7b27ea15e317a7a59571b6ea6d257d3484038176244d4b4ea04cd1 ssh-agent [2022-10-03T03:20:47.955Z] SSH_AUTH_SOCK=/tmp/ssh-zmQZ6TPcAvYm/agent.71 [2022-10-03T03:20:47.955Z] SSH_AGENT_PID=77 [2022-10-03T03:20:47.960Z] Running ssh-add (command line suppressed) [2022-10-03T03:20:48.074Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-168@tmp/private_key_699610543845012566.key (/w/workspace/undry_device-onvif-camera_PR-168@tmp/private_key_699610543845012566.key) [2022-10-03T03:20:48.085Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T03:20:48.457Z] + git semver init [2022-10-03T03:20:48.725Z] 2022-10-03 03:20:48,645 [run_init] DEBUG init version:0.0.0 force:False [2022-10-03T03:20:48.725Z] 2022-10-03 03:20:48,646 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-168/.semver [2022-10-03T03:20:48.725Z] 2022-10-03 03:20:48,647 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-168/.semver [2022-10-03T03:20:48.725Z] 2022-10-03 03:20:48,647 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-168/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-168, universal_newlines=False, shell=None, istream=None) [2022-10-03T03:20:49.662Z] 2022-10-03 03:20:49,659 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-168/.git/info/exclude [2022-10-03T03:20:49.662Z] 2022-10-03 03:20:49,660 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-168/.semver/PR-168 with force:False [2022-10-03T03:20:49.662Z] 2022-10-03 03:20:49,660 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-168/.semver/PR-168 [2022-10-03T03:20:49.921Z] 2022-10-03 03:20:49,668 [execute] INFO git cat-file --batch-check [2022-10-03T03:20:49.922Z] 2022-10-03 03:20:49,668 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-168/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T03:20:49.922Z] 2022-10-03 03:20:49,675 [execute] INFO git cat-file --batch [2022-10-03T03:20:49.922Z] 2022-10-03 03:20:49,675 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-168/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T03:20:49.922Z] 2022-10-03 03:20:49,681 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-168/.semver/PR-168 [2022-10-03T03:20:49.922Z] 0.0.0 [Pipeline] } [2022-10-03T03:20:49.951Z] $ docker exec --env ******** --env ******** bf401d60dd7b27ea15e317a7a59571b6ea6d257d3484038176244d4b4ea04cd1 ssh-agent -k [2022-10-03T03:20:50.049Z] unset SSH_AUTH_SOCK; [2022-10-03T03:20:50.050Z] unset SSH_AGENT_PID; [2022-10-03T03:20:50.051Z] echo Agent pid 77 killed; [2022-10-03T03:20:50.057Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-03T03:20:50.483Z] + git semver [Pipeline] } [2022-10-03T03:20:50.773Z] $ docker stop --time=1 bf401d60dd7b27ea15e317a7a59571b6ea6d257d3484038176244d4b4ea04cd1 [2022-10-03T03:20:52.096Z] $ docker rm -f bf401d60dd7b27ea15e317a7a59571b6ea6d257d3484038176244d4b4ea04cd1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T03:20:52.482Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-03T03:20:52.717Z] Stashed 1 file(s) [Pipeline] echo [2022-10-03T03:20:52.734Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T03:20:53.308Z] provisioning config files... [2022-10-03T03:20:53.316Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-168@tmp/config1814387909698774341tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:20:53.664Z] ---> docker-login.sh [2022-10-03T03:20:53.664Z] nexus3.edgexfoundry.org:10001 [2022-10-03T03:20:53.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:20:53.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:20:53.664Z] Configure a credential helper to remove this warning. See [2022-10-03T03:20:53.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:20:53.664Z] [2022-10-03T03:20:53.664Z] Login Succeeded [2022-10-03T03:20:53.664Z] nexus3.edgexfoundry.org:10002 [2022-10-03T03:20:53.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:20:53.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:20:53.924Z] Configure a credential helper to remove this warning. See [2022-10-03T03:20:53.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:20:53.925Z] [2022-10-03T03:20:53.925Z] Login Succeeded [2022-10-03T03:20:53.925Z] nexus3.edgexfoundry.org:10003 [2022-10-03T03:20:53.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:20:53.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:20:53.925Z] Configure a credential helper to remove this warning. See [2022-10-03T03:20:53.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:20:53.925Z] [2022-10-03T03:20:53.925Z] Login Succeeded [2022-10-03T03:20:53.925Z] nexus3.edgexfoundry.org:10004 [2022-10-03T03:20:53.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:20:53.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:20:53.925Z] Configure a credential helper to remove this warning. See [2022-10-03T03:20:53.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:20:53.925Z] [2022-10-03T03:20:53.925Z] Login Succeeded [2022-10-03T03:20:53.925Z] docker.io [2022-10-03T03:20:54.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:20:54.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:20:54.446Z] Configure a credential helper to remove this warning. See [2022-10-03T03:20:54.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:20:54.446Z] [2022-10-03T03:20:54.446Z] Login Succeeded [2022-10-03T03:20:54.446Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T03:20:54.475Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T03:20:54.658Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T03:20:54.698Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T03:20:54.726Z] ========================================================= [2022-10-03T03:20:54.726Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-03T03:20:54.726Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:20:55.185Z] + 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-10-03T03:20:55.185Z] Sending build context to Docker daemon 20.78MB [2022-10-03T03:20:55.185Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T03:20:55.185Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-03T03:20:55.445Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-03T03:20:55.445Z] 2408cc74d12b: Pulling fs layer [2022-10-03T03:20:55.445Z] ea60b727a1ce: Pulling fs layer [2022-10-03T03:20:55.445Z] 30c4a7721957: Pulling fs layer [2022-10-03T03:20:55.445Z] 370296b7ddb6: Pulling fs layer [2022-10-03T03:20:55.445Z] 7c6cee850709: Pulling fs layer [2022-10-03T03:20:55.445Z] aa9baa53a306: Pulling fs layer [2022-10-03T03:20:55.445Z] 8b309c321861: Pulling fs layer [2022-10-03T03:20:55.445Z] d8d76fd02f46: Pulling fs layer [2022-10-03T03:20:55.445Z] fa31f396de31: Pulling fs layer [2022-10-03T03:20:55.445Z] aa9baa53a306: Waiting [2022-10-03T03:20:55.445Z] 8b309c321861: Waiting [2022-10-03T03:20:55.445Z] d8d76fd02f46: Waiting [2022-10-03T03:20:55.445Z] 370296b7ddb6: Waiting [2022-10-03T03:20:55.445Z] fa31f396de31: Waiting [2022-10-03T03:20:55.445Z] 7c6cee850709: Waiting [2022-10-03T03:20:55.445Z] 30c4a7721957: Verifying Checksum [2022-10-03T03:20:55.445Z] 30c4a7721957: Download complete [2022-10-03T03:20:55.445Z] ea60b727a1ce: Verifying Checksum [2022-10-03T03:20:55.445Z] ea60b727a1ce: Download complete [2022-10-03T03:20:55.445Z] 7c6cee850709: Verifying Checksum [2022-10-03T03:20:55.445Z] 7c6cee850709: Download complete [2022-10-03T03:20:55.445Z] aa9baa53a306: Verifying Checksum [2022-10-03T03:20:55.445Z] aa9baa53a306: Download complete [2022-10-03T03:20:55.445Z] 2408cc74d12b: Verifying Checksum [2022-10-03T03:20:55.445Z] 2408cc74d12b: Download complete [2022-10-03T03:20:55.445Z] 8b309c321861: Download complete [2022-10-03T03:20:55.445Z] 2408cc74d12b: Pull complete [2022-10-03T03:20:56.014Z] ea60b727a1ce: Pull complete [2022-10-03T03:20:56.014Z] 30c4a7721957: Pull complete [2022-10-03T03:20:56.277Z] fa31f396de31: Verifying Checksum [2022-10-03T03:20:56.277Z] fa31f396de31: Download complete [2022-10-03T03:20:56.277Z] 370296b7ddb6: Verifying Checksum [2022-10-03T03:20:56.277Z] 370296b7ddb6: Download complete [2022-10-03T03:20:56.536Z] d8d76fd02f46: Verifying Checksum [2022-10-03T03:21:00.718Z] 370296b7ddb6: Pull complete [2022-10-03T03:21:00.718Z] 7c6cee850709: Pull complete [2022-10-03T03:21:00.718Z] aa9baa53a306: Pull complete [2022-10-03T03:21:00.718Z] 8b309c321861: Pull complete [2022-10-03T03:21:02.627Z] d8d76fd02f46: Pull complete [2022-10-03T03:21:03.211Z] fa31f396de31: Pull complete [2022-10-03T03:21:03.211Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-03T03:21:03.211Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-03T03:21:03.211Z] ---> cef68f9685f8 [2022-10-03T03:21:03.211Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-03T03:21:06.517Z] ---> Running in ad8c1b54220c [2022-10-03T03:21:06.517Z] Removing intermediate container ad8c1b54220c [2022-10-03T03:21:06.517Z] ---> 0f90ef49fe06 [2022-10-03T03:21:06.517Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T03:21:06.517Z] ---> Running in ccb6abd186be [2022-10-03T03:21:06.517Z] Removing intermediate container ccb6abd186be [2022-10-03T03:21:06.517Z] ---> b48dff8127f2 [2022-10-03T03:21:06.517Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T03:21:06.781Z] ---> Running in b6c594f0af25 [2022-10-03T03:21:06.781Z] Removing intermediate container b6c594f0af25 [2022-10-03T03:21:06.781Z] ---> 6bd844dacf94 [2022-10-03T03:21:06.781Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T03:21:06.781Z] ---> Running in 6ab1c1f267d9 [2022-10-03T03:21:06.781Z] Removing intermediate container 6ab1c1f267d9 [2022-10-03T03:21:06.781Z] ---> 687a47a5c70c [2022-10-03T03:21:06.781Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-03T03:21:06.781Z] ---> Running in 1049363c2a6c [2022-10-03T03:21:07.040Z] Removing intermediate container 1049363c2a6c [2022-10-03T03:21:07.040Z] ---> 0695170009e8 [2022-10-03T03:21:07.040Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T03:21:07.040Z] ---> Running in c0b0eb303ac5 [2022-10-03T03:21:07.613Z] Removing intermediate container c0b0eb303ac5 [2022-10-03T03:21:07.613Z] ---> a774bf8b66e5 [2022-10-03T03:21:07.613Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T03:21:07.613Z] ---> Running in 2f83834f6102 [2022-10-03T03:21:07.873Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T03:21:08.141Z] Still waiting to schedule task [2022-10-03T03:21:08.141Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6800’ [2022-10-03T03:21:08.810Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T03:21:09.070Z] OK: 211 MiB in 51 packages [2022-10-03T03:21:09.330Z] Removing intermediate container 2f83834f6102 [2022-10-03T03:21:09.330Z] ---> 7fae113dca0f [2022-10-03T03:21:09.330Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-03T03:21:09.330Z] ---> Running in 6b280d931efc [2022-10-03T03:21:09.330Z] Removing intermediate container 6b280d931efc [2022-10-03T03:21:09.330Z] ---> a79f47f53d0e [2022-10-03T03:21:09.330Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-03T03:21:09.591Z] ---> 86b91855b8ce [2022-10-03T03:21:09.591Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T03:21:09.591Z] ---> Running in 3987c08597d3 [2022-10-03T03:21:31.542Z] Removing intermediate container 3987c08597d3 [2022-10-03T03:21:31.542Z] ---> 3ff378085805 [2022-10-03T03:21:31.542Z] Step 13/14 : COPY . . [2022-10-03T03:21:31.542Z] ---> 9e01b29fa811 [2022-10-03T03:21:31.542Z] Step 14/14 : RUN ${MAKE} [2022-10-03T03:21:31.542Z] ---> Running in 94ee6a37cb1f [2022-10-03T03:21:31.801Z] noop [2022-10-03T03:21:32.059Z] Removing intermediate container 94ee6a37cb1f [2022-10-03T03:21:32.059Z] ---> acc630d03f6f [2022-10-03T03:21:32.059Z] Successfully built acc630d03f6f [2022-10-03T03:21:32.059Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:21:32.493Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T03:21:32.493Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:21:32.642Z] prd-ubuntu20.04-docker-8c-8g-6803 does not seem to be running inside a container [2022-10-03T03:21:32.674Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-168 -v /w/workspace/undry_device-onvif-camera_PR-168:/w/workspace/undry_device-onvif-camera_PR-168:rw,z -v /w/workspace/undry_device-onvif-camera_PR-168@tmp:/w/workspace/undry_device-onvif-camera_PR-168@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-10-03T03:21:33.008Z] $ docker top 84acbc1261aec35278bb99e8836d42ade8a0ea9b22b70785eb6b17f3fc8a5b84 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T03:21:33.392Z] + go version [2022-10-03T03:21:33.392Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-03T03:21:33.428Z] $ docker stop --time=1 84acbc1261aec35278bb99e8836d42ade8a0ea9b22b70785eb6b17f3fc8a5b84 [2022-10-03T03:21:34.730Z] $ docker rm -f 84acbc1261aec35278bb99e8836d42ade8a0ea9b22b70785eb6b17f3fc8a5b84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:21:35.439Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T03:21:35.439Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:21:35.586Z] prd-ubuntu20.04-docker-8c-8g-6803 does not seem to be running inside a container [2022-10-03T03:21:35.616Z] $ 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-168 -v /w/workspace/undry_device-onvif-camera_PR-168:/w/workspace/undry_device-onvif-camera_PR-168:rw,z -v /w/workspace/undry_device-onvif-camera_PR-168@tmp:/w/workspace/undry_device-onvif-camera_PR-168@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-10-03T03:21:35.960Z] $ docker top 9c74ab72a078bf1b90fa4465869dc7cd9aceb3062883887a414fa422ed171d2a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T03:21:36.359Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-168 [Pipeline] fileExists [Pipeline] sh [2022-10-03T03:21:36.713Z] + make test [2022-10-03T03:21:36.713Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-03T03:21:36.972Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-03T03:21:49.169Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-03T03:21:49.735Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.036s coverage: 28.2% of statements [2022-10-03T03:21:49.735Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-03T03:21:49.735Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.532s coverage: 86.5% of statements [2022-10-03T03:21:57.854Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-03T03:21:57.854Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T03:22:02.078Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T03:22:02.078Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T03:22:02.078Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T03:22:02.118Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T03:22:02.144Z] $ docker stop --time=1 9c74ab72a078bf1b90fa4465869dc7cd9aceb3062883887a414fa422ed171d2a [2022-10-03T03:22:04.575Z] $ docker rm -f 9c74ab72a078bf1b90fa4465869dc7cd9aceb3062883887a414fa422ed171d2a [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T03:22:05.102Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T03:22:05.176Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-03T03:22:05.830Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T03:22:06.141Z] + ls -al . [2022-10-03T03:22:06.141Z] total 236 [2022-10-03T03:22:06.141Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 03:21 . [2022-10-03T03:22:06.141Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:20 .. [2022-10-03T03:22:06.141Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 03:21 .git [2022-10-03T03:22:06.141Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:20 .github [2022-10-03T03:22:06.141Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 3 03:20 .gitignore [2022-10-03T03:22:06.141Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 3 03:20 .golangci.yml [2022-10-03T03:22:06.141Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 03:20 .semver [2022-10-03T03:22:06.141Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 3 03:20 Attribution.txt [2022-10-03T03:22:06.141Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 3 03:20 CHANGELOG.md [2022-10-03T03:22:06.141Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 3 03:20 Dockerfile [2022-10-03T03:22:06.141Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 03:20 GOVERNANCE.md [2022-10-03T03:22:06.141Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 3 03:20 Jenkinsfile [2022-10-03T03:22:06.141Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 3 03:20 LICENSE [2022-10-03T03:22:06.141Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 3 03:20 Makefile [2022-10-03T03:22:06.141Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 3 03:20 OWNERS.md [2022-10-03T03:22:06.141Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 3 03:20 README.md [2022-10-03T03:22:06.141Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 03:20 VERSION [2022-10-03T03:22:06.141Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 03:20 bin [2022-10-03T03:22:06.141Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:20 cmd [2022-10-03T03:22:06.141Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 3 03:21 coverage.out [2022-10-03T03:22:06.141Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 3 03:20 doc [2022-10-03T03:22:06.141Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 3 03:20 go.mod [2022-10-03T03:22:06.141Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 3 03:20 go.sum [2022-10-03T03:22:06.141Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:20 internal [2022-10-03T03:22:06.141Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:20 snap [2022-10-03T03:22:06.142Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 3 03:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:22:06.533Z] + 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=3bfb47d9fa29d540b8f55437377d610b92afa15d --label arch=amd64 --label version=0.0.0 . [2022-10-03T03:22:06.533Z] Sending build context to Docker daemon 20.86MB [2022-10-03T03:22:06.533Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T03:22:06.533Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-03T03:22:06.533Z] ---> acc630d03f6f [2022-10-03T03:22:06.533Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-03T03:22:06.797Z] ---> Running in d48c1aa655ed [2022-10-03T03:22:07.055Z] Removing intermediate container d48c1aa655ed [2022-10-03T03:22:07.055Z] ---> 66b0b1f06dc7 [2022-10-03T03:22:07.055Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T03:22:07.055Z] ---> Running in fbc5451c4dee [2022-10-03T03:22:07.055Z] Removing intermediate container fbc5451c4dee [2022-10-03T03:22:07.055Z] ---> f3f11e440f4c [2022-10-03T03:22:07.055Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T03:22:07.055Z] ---> Running in 82e940048270 [2022-10-03T03:22:07.055Z] Removing intermediate container 82e940048270 [2022-10-03T03:22:07.055Z] ---> 1d1cd1784916 [2022-10-03T03:22:07.055Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T03:22:07.055Z] ---> Running in 3ac08a16d389 [2022-10-03T03:22:07.313Z] Removing intermediate container 3ac08a16d389 [2022-10-03T03:22:07.313Z] ---> 2e78acf7f000 [2022-10-03T03:22:07.313Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-03T03:22:07.313Z] ---> Running in 52f79e2d73c0 [2022-10-03T03:22:07.313Z] Removing intermediate container 52f79e2d73c0 [2022-10-03T03:22:07.313Z] ---> 18bee1174522 [2022-10-03T03:22:07.313Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T03:22:07.313Z] ---> Running in b608db50cae2 [2022-10-03T03:22:07.881Z] Removing intermediate container b608db50cae2 [2022-10-03T03:22:07.881Z] ---> 5c496a7828e8 [2022-10-03T03:22:07.881Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T03:22:07.881Z] ---> Running in d1ad363814f5 [2022-10-03T03:22:08.139Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T03:22:09.077Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T03:22:09.337Z] OK: 211 MiB in 51 packages [2022-10-03T03:22:09.906Z] Removing intermediate container d1ad363814f5 [2022-10-03T03:22:09.906Z] ---> 735b67bc9439 [2022-10-03T03:22:09.906Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-03T03:22:09.906Z] ---> Running in d4dc76003ef4 [2022-10-03T03:22:09.906Z] Removing intermediate container d4dc76003ef4 [2022-10-03T03:22:09.906Z] ---> 897b93c02928 [2022-10-03T03:22:09.906Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-03T03:22:10.165Z] ---> d1b7d391d010 [2022-10-03T03:22:10.165Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T03:22:10.165Z] ---> Running in caf39a523faa [2022-10-03T03:22:10.735Z] Removing intermediate container caf39a523faa [2022-10-03T03:22:10.735Z] ---> c2675ad3b03c [2022-10-03T03:22:10.735Z] Step 13/27 : COPY . . [2022-10-03T03:22:11.306Z] ---> b0e084b7a085 [2022-10-03T03:22:11.306Z] Step 14/27 : RUN ${MAKE} [2022-10-03T03:22:11.570Z] ---> Running in 8b4b81d12c35 [2022-10-03T03:22:11.829Z] 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.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-03T03:22:38.380Z] Removing intermediate container 8b4b81d12c35 [2022-10-03T03:22:38.380Z] ---> cc6f76efd8dc [2022-10-03T03:22:38.380Z] Step 15/27 : FROM alpine:3.16 [2022-10-03T03:22:38.380Z] 3.16: Pulling from library/alpine [2022-10-03T03:22:38.380Z] 213ec9aee27d: Pulling fs layer [2022-10-03T03:22:38.380Z] 213ec9aee27d: Verifying Checksum [2022-10-03T03:22:38.380Z] 213ec9aee27d: Download complete [2022-10-03T03:22:38.380Z] 213ec9aee27d: Pull complete [2022-10-03T03:22:38.380Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T03:22:38.380Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T03:22:38.380Z] ---> 9c6f07244728 [2022-10-03T03:22:38.380Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-03T03:22:38.380Z] ---> Running in 226590186a7f [2022-10-03T03:22:38.380Z] Removing intermediate container 226590186a7f [2022-10-03T03:22:38.380Z] ---> 0a42b9e068ef [2022-10-03T03:22:38.380Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-03T03:22:38.380Z] ---> Running in 7c4ca40150e1 [2022-10-03T03:22:38.380Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T03:22:38.380Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T03:22:38.380Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-03T03:22:38.380Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T03:22:38.380Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-03T03:22:38.380Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T03:22:38.380Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-03T03:22:38.380Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-03T03:22:38.380Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T03:22:38.380Z] OK: 8 MiB in 20 packages [2022-10-03T03:22:38.380Z] Removing intermediate container 7c4ca40150e1 [2022-10-03T03:22:38.380Z] ---> 767c3a319f42 [2022-10-03T03:22:38.380Z] Step 18/27 : WORKDIR / [2022-10-03T03:22:38.380Z] ---> Running in 0c9fbf9237ff [2022-10-03T03:22:38.380Z] Removing intermediate container 0c9fbf9237ff [2022-10-03T03:22:38.380Z] ---> 2c7d7792e2c0 [2022-10-03T03:22:38.380Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-03T03:22:38.979Z] ---> 19fe9c014078 [2022-10-03T03:22:38.979Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-03T03:22:38.979Z] ---> 964ff9482bea [2022-10-03T03:22:38.979Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-03T03:22:38.979Z] ---> 5faaea1c45e2 [2022-10-03T03:22:38.979Z] Step 22/27 : EXPOSE 59984 [2022-10-03T03:22:38.979Z] ---> Running in ce450f135ec9 [2022-10-03T03:22:39.238Z] Removing intermediate container ce450f135ec9 [2022-10-03T03:22:39.238Z] ---> 05fdd004e7d9 [2022-10-03T03:22:39.238Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-03T03:22:39.238Z] ---> Running in 6cd7f03a6ef4 [2022-10-03T03:22:39.238Z] Removing intermediate container 6cd7f03a6ef4 [2022-10-03T03:22:39.238Z] ---> 91442ff909d0 [2022-10-03T03:22:39.238Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-03T03:22:39.238Z] ---> Running in 5950407743f7 [2022-10-03T03:22:39.500Z] Removing intermediate container 5950407743f7 [2022-10-03T03:22:39.500Z] ---> f953bd1bbaf9 [2022-10-03T03:22:39.500Z] Step 25/27 : LABEL arch=amd64 [2022-10-03T03:22:39.500Z] ---> Running in 9bc508f246d2 [2022-10-03T03:22:39.500Z] Removing intermediate container 9bc508f246d2 [2022-10-03T03:22:39.500Z] ---> ad28457d5156 [2022-10-03T03:22:39.500Z] Step 26/27 : LABEL git_sha=3bfb47d9fa29d540b8f55437377d610b92afa15d [2022-10-03T03:22:39.500Z] ---> Running in 3e3d30d585b8 [2022-10-03T03:22:39.500Z] Removing intermediate container 3e3d30d585b8 [2022-10-03T03:22:39.500Z] ---> c421fb27ef1a [2022-10-03T03:22:39.500Z] Step 27/27 : LABEL version=0.0.0 [2022-10-03T03:22:39.500Z] ---> Running in 88ae52cd3aab [2022-10-03T03:22:39.761Z] Removing intermediate container 88ae52cd3aab [2022-10-03T03:22:39.761Z] ---> 60118002cfc5 [2022-10-03T03:22:39.761Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T03:22:39.761Z] Successfully built 60118002cfc5 [2022-10-03T03:22:39.761Z] 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-10-03T03:22:40.555Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T03:22:40.555Z] [2022-10-03T03:22:40.555Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:22:40.929Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T03:22:40.929Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-03T03:22:40.929Z] 5eb5b503b376: Pulling fs layer [2022-10-03T03:22:40.929Z] 5c69ac0246d0: Pulling fs layer [2022-10-03T03:22:40.929Z] ec43610c2a17: Pulling fs layer [2022-10-03T03:22:40.929Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-03T03:22:40.929Z] 33b1e0a273af: Pulling fs layer [2022-10-03T03:22:40.929Z] 5d3b04190fa2: Pulling fs layer [2022-10-03T03:22:40.929Z] 2f39f015ded8: Pulling fs layer [2022-10-03T03:22:40.929Z] 3a2ae6a8a46f: Waiting [2022-10-03T03:22:40.929Z] 33b1e0a273af: Waiting [2022-10-03T03:22:40.929Z] 5d3b04190fa2: Waiting [2022-10-03T03:22:40.929Z] 2f39f015ded8: Waiting [2022-10-03T03:22:40.929Z] 5c69ac0246d0: Download complete [2022-10-03T03:22:40.929Z] 3a2ae6a8a46f: Download complete [2022-10-03T03:22:40.929Z] 33b1e0a273af: Verifying Checksum [2022-10-03T03:22:40.929Z] 33b1e0a273af: Download complete [2022-10-03T03:22:40.929Z] 5d3b04190fa2: Verifying Checksum [2022-10-03T03:22:40.929Z] 5d3b04190fa2: Download complete [2022-10-03T03:22:41.189Z] ec43610c2a17: Verifying Checksum [2022-10-03T03:22:41.189Z] ec43610c2a17: Download complete [2022-10-03T03:22:41.189Z] 5eb5b503b376: Download complete [2022-10-03T03:22:41.755Z] 2f39f015ded8: Download complete [2022-10-03T03:22:42.691Z] 5eb5b503b376: Pull complete [2022-10-03T03:22:42.691Z] 5c69ac0246d0: Pull complete [2022-10-03T03:22:43.258Z] ec43610c2a17: Pull complete [2022-10-03T03:22:43.258Z] 3a2ae6a8a46f: Pull complete [2022-10-03T03:22:43.516Z] 33b1e0a273af: Pull complete [2022-10-03T03:22:43.516Z] 5d3b04190fa2: Pull complete [2022-10-03T03:22:48.779Z] 2f39f015ded8: Pull complete [2022-10-03T03:22:48.779Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-03T03:22:48.779Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T03:22:48.779Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:22:48.982Z] prd-ubuntu20.04-docker-8c-8g-6803 does not seem to be running inside a container [2022-10-03T03:22:49.007Z] $ 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-168 -v /w/workspace/undry_device-onvif-camera_PR-168:/w/workspace/undry_device-onvif-camera_PR-168:rw,z -v /w/workspace/undry_device-onvif-camera_PR-168@tmp:/w/workspace/undry_device-onvif-camera_PR-168@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-10-03T03:22:51.752Z] $ docker top ba84560b4999272d9ecae79508b1a7274803253ea952643f3f3b8319f7518269 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:22:52.195Z] ---> job-cost.sh [2022-10-03T03:22:52.195Z] lf-activate-venv: SKIPPING [2022-10-03T03:22:52.195Z] INFO: No Stack... [2022-10-03T03:22:52.454Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T03:22:52.714Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T03:22:53.037Z] + cat /w/workspace/undry_device-onvif-camera_PR-168/archives/cost.csv [2022-10-03T03:22:53.037Z] + cut -d, -f6 [Pipeline] lock [2022-10-03T03:22:53.076Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-168-1-stack-cost] [2022-10-03T03:22:53.081Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-168-1-stack-cost] did not exist. Created. [2022-10-03T03:22:53.081Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-168-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T03:22:53.469Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-03T03:22:53.515Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T03:22:53.540Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-168-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T03:22:53.619Z] $ docker stop --time=1 ba84560b4999272d9ecae79508b1a7274803253ea952643f3f3b8319f7518269 [2022-10-03T03:22:54.796Z] $ docker rm -f ba84560b4999272d9ecae79508b1a7274803253ea952643f3f3b8319f7518269 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-03T03:23:37.713Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6806 in /w/workspace/undry_device-onvif-camera_PR-168 [Pipeline] { [Pipeline] ws [2022-10-03T03:23:37.755Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-10-03T03:23:37.834Z] The recommended git tool is: git [2022-10-03T03:23:42.951Z] using credential edgex-jenkins-ssh [2022-10-03T03:23:42.966Z] Cloning the remote Git repository [2022-10-03T03:23:43.011Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-03T03:23:43.109Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-10-03T03:23:43.294Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-03T03:23:43.295Z] > git --version # timeout=10 [2022-10-03T03:23:43.322Z] > git --version # 'git version 2.25.1' [2022-10-03T03:23:43.324Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T03:23:43.377Z] Verifying host key using known hosts file [2022-10-03T03:23:43.589Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-03T03:23:43.602Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T03:23:44.910Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-03T03:23:44.940Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T03:23:46.493Z] Merging remotes/origin/main commit 0803938d3e117362d3c6c6e4e1a4697135dfbf5d into PR head commit 3bfb47d9fa29d540b8f55437377d610b92afa15d [2022-10-03T03:23:45.870Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-03T03:23:45.925Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-03T03:23:45.926Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T03:23:45.933Z] Verifying host key using known hosts file [2022-10-03T03:23:45.940Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-03T03:23:45.952Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/168/head:refs/remotes/origin/PR-168 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-03T03:23:46.508Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T03:23:46.523Z] > git checkout -f 3bfb47d9fa29d540b8f55437377d610b92afa15d # timeout=10 [2022-10-03T03:23:46.838Z] Merge succeeded, producing 3bfb47d9fa29d540b8f55437377d610b92afa15d [2022-10-03T03:23:46.839Z] Checking out Revision 3bfb47d9fa29d540b8f55437377d610b92afa15d (PR-168) [2022-10-03T03:23:47.509Z] Commit message: "build(deps): Bump github.com/IOTechSystems/onvif from 0.1.4 to 0.1.5" [2022-10-03T03:23:47.561Z] > git --version # timeout=10 [2022-10-03T03:23:47.572Z] > git --version # 'git version 2.25.1' [2022-10-03T03:23:47.586Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [2022-10-03T03:23:46.732Z] > git remote # timeout=10 [2022-10-03T03:23:46.749Z] > git config --get remote.origin.url # timeout=10 [2022-10-03T03:23:46.765Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T03:23:46.770Z] Verifying host key using known hosts file [2022-10-03T03:23:46.777Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-03T03:23:46.788Z] > git merge 0803938d3e117362d3c6c6e4e1a4697135dfbf5d # timeout=10 [2022-10-03T03:23:46.814Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-03T03:23:46.840Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T03:23:46.853Z] > git checkout -f 3bfb47d9fa29d540b8f55437377d610b92afa15d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T03:23:48.692Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-03T03:23:48.692Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T03:23:48.692Z] Dload Upload Total Spent Left Speed [2022-10-03T03:23:48.692Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 91985 0 --:--:-- --:--:-- --:--:-- 92661 [Pipeline] sh [2022-10-03T03:23:49.342Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-03T03:23:49.698Z] + sudo tee /etc/docker/daemon.new [2022-10-03T03:23:49.698Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-03T03:23:49.698Z] { [2022-10-03T03:23:49.698Z] "registry-mirrors": [ [2022-10-03T03:23:49.698Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-03T03:23:49.698Z] ], [2022-10-03T03:23:49.698Z] "bip": "10.250.0.254/24", [2022-10-03T03:23:49.698Z] "hosts": [ [2022-10-03T03:23:49.698Z] "tcp://0.0.0.0:5555", [2022-10-03T03:23:49.698Z] "unix:///var/run/docker.sock" [2022-10-03T03:23:49.698Z] ], [2022-10-03T03:23:49.698Z] "mtu": 1458, [2022-10-03T03:23:49.698Z] "selinux-enabled": true, [2022-10-03T03:23:49.698Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-03T03:23:49.698Z] } [Pipeline] sh [2022-10-03T03:23:50.065Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-03T03:23:50.423Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T03:24:08.753Z] provisioning config files... [2022-10-03T03:24:08.784Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config9606245394781224206tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:24:09.187Z] ---> docker-login.sh [2022-10-03T03:24:09.187Z] nexus3.edgexfoundry.org:10001 [2022-10-03T03:24:09.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:24:09.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:24:09.778Z] Configure a credential helper to remove this warning. See [2022-10-03T03:24:09.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:24:09.778Z] [2022-10-03T03:24:09.778Z] Login Succeeded [2022-10-03T03:24:09.778Z] nexus3.edgexfoundry.org:10002 [2022-10-03T03:24:10.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:24:10.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:24:10.049Z] Configure a credential helper to remove this warning. See [2022-10-03T03:24:10.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:24:10.049Z] [2022-10-03T03:24:10.049Z] Login Succeeded [2022-10-03T03:24:10.049Z] nexus3.edgexfoundry.org:10003 [2022-10-03T03:24:10.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:24:10.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:24:10.588Z] Configure a credential helper to remove this warning. See [2022-10-03T03:24:10.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:24:10.588Z] [2022-10-03T03:24:10.588Z] Login Succeeded [2022-10-03T03:24:10.588Z] nexus3.edgexfoundry.org:10004 [2022-10-03T03:24:10.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:24:10.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:24:10.858Z] Configure a credential helper to remove this warning. See [2022-10-03T03:24:10.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:24:10.858Z] [2022-10-03T03:24:10.858Z] Login Succeeded [2022-10-03T03:24:10.858Z] docker.io [2022-10-03T03:24:11.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:24:11.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:24:11.394Z] Configure a credential helper to remove this warning. See [2022-10-03T03:24:11.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:24:11.394Z] [2022-10-03T03:24:11.394Z] Login Succeeded [2022-10-03T03:24:11.394Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T03:24:11.423Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T03:24:11.699Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T03:24:11.731Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T03:24:11.763Z] ========================================================= [2022-10-03T03:24:11.763Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-03T03:24:11.763Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:24:12.266Z] + 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-10-03T03:24:12.859Z] Sending build context to Docker daemon 14.2MB [2022-10-03T03:24:12.859Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T03:24:12.859Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-03T03:24:12.859Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-03T03:24:12.859Z] b3c136eddcbf: Pulling fs layer [2022-10-03T03:24:12.859Z] c0a3192eca97: Pulling fs layer [2022-10-03T03:24:12.859Z] a050256f5b6f: Pulling fs layer [2022-10-03T03:24:12.859Z] 656be50a0ddc: Pulling fs layer [2022-10-03T03:24:12.859Z] 2bbca73fdf42: Pulling fs layer [2022-10-03T03:24:12.859Z] f607e4fc86c3: Pulling fs layer [2022-10-03T03:24:12.859Z] 4d572c569a2c: Pulling fs layer [2022-10-03T03:24:12.859Z] fcf976331f73: Pulling fs layer [2022-10-03T03:24:12.859Z] f607e4fc86c3: Waiting [2022-10-03T03:24:12.859Z] 4d572c569a2c: Waiting [2022-10-03T03:24:12.859Z] fcf976331f73: Waiting [2022-10-03T03:24:12.859Z] 656be50a0ddc: Waiting [2022-10-03T03:24:12.859Z] 2bbca73fdf42: Waiting [2022-10-03T03:24:12.859Z] a050256f5b6f: Verifying Checksum [2022-10-03T03:24:12.859Z] a050256f5b6f: Download complete [2022-10-03T03:24:12.859Z] c0a3192eca97: Verifying Checksum [2022-10-03T03:24:12.859Z] c0a3192eca97: Download complete [2022-10-03T03:24:12.859Z] 2bbca73fdf42: Verifying Checksum [2022-10-03T03:24:12.859Z] 2bbca73fdf42: Download complete [2022-10-03T03:24:12.859Z] f607e4fc86c3: Verifying Checksum [2022-10-03T03:24:12.859Z] f607e4fc86c3: Download complete [2022-10-03T03:24:13.129Z] b3c136eddcbf: Verifying Checksum [2022-10-03T03:24:13.129Z] b3c136eddcbf: Download complete [2022-10-03T03:24:14.105Z] b3c136eddcbf: Pull complete [2022-10-03T03:24:14.105Z] fcf976331f73: Verifying Checksum [2022-10-03T03:24:14.105Z] fcf976331f73: Download complete [2022-10-03T03:24:14.709Z] c0a3192eca97: Pull complete [2022-10-03T03:24:14.984Z] a050256f5b6f: Pull complete [2022-10-03T03:24:15.254Z] 4d572c569a2c: Verifying Checksum [2022-10-03T03:24:15.254Z] 4d572c569a2c: Download complete [2022-10-03T03:24:16.220Z] 656be50a0ddc: Verifying Checksum [2022-10-03T03:24:16.220Z] 656be50a0ddc: Download complete [2022-10-03T03:24:28.555Z] 656be50a0ddc: Pull complete [2022-10-03T03:24:28.555Z] 2bbca73fdf42: Pull complete [2022-10-03T03:24:28.555Z] f607e4fc86c3: Pull complete [2022-10-03T03:24:35.368Z] 4d572c569a2c: Pull complete [2022-10-03T03:24:36.796Z] fcf976331f73: Pull complete [2022-10-03T03:24:36.796Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-03T03:24:36.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-03T03:24:36.796Z] ---> 3970a7415f9e [2022-10-03T03:24:36.796Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-03T03:24:39.393Z] ---> Running in a82806ce1bf5 [2022-10-03T03:24:39.982Z] Removing intermediate container a82806ce1bf5 [2022-10-03T03:24:39.982Z] ---> aeb6076e5ced [2022-10-03T03:24:39.982Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T03:24:39.982Z] ---> Running in d592d63b5dd1 [2022-10-03T03:24:40.252Z] Removing intermediate container d592d63b5dd1 [2022-10-03T03:24:40.252Z] ---> f737c46fb63c [2022-10-03T03:24:40.252Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T03:24:40.252Z] ---> Running in a0621a0ccf0f [2022-10-03T03:24:40.521Z] Removing intermediate container a0621a0ccf0f [2022-10-03T03:24:40.521Z] ---> 7d870e3ca254 [2022-10-03T03:24:40.521Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T03:24:40.790Z] ---> Running in d017cdd7d855 [2022-10-03T03:24:41.062Z] Removing intermediate container d017cdd7d855 [2022-10-03T03:24:41.062Z] ---> a84850fe026c [2022-10-03T03:24:41.062Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-03T03:24:41.062Z] ---> Running in 2cbe745f876f [2022-10-03T03:24:41.331Z] Removing intermediate container 2cbe745f876f [2022-10-03T03:24:41.331Z] ---> c8b3c73bae6e [2022-10-03T03:24:41.331Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T03:24:41.601Z] ---> Running in dea47ba96a35 [2022-10-03T03:24:43.561Z] Removing intermediate container dea47ba96a35 [2022-10-03T03:24:43.561Z] ---> e6bdd544e478 [2022-10-03T03:24:43.561Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T03:24:43.561Z] ---> Running in 9804e032ddc7 [2022-10-03T03:24:44.527Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T03:24:45.115Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T03:24:46.085Z] OK: 221 MiB in 51 packages [2022-10-03T03:24:47.066Z] Removing intermediate container 9804e032ddc7 [2022-10-03T03:24:47.066Z] ---> 9943fc0eb321 [2022-10-03T03:24:47.066Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-03T03:24:47.066Z] ---> Running in 733493b2ec12 [2022-10-03T03:24:47.338Z] Removing intermediate container 733493b2ec12 [2022-10-03T03:24:47.338Z] ---> b5a4ce5c163d [2022-10-03T03:24:47.338Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-03T03:24:47.957Z] ---> 7b52a9797e49 [2022-10-03T03:24:47.957Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T03:24:47.957Z] ---> Running in 256f73092125 [2022-10-03T03:25:44.449Z] Removing intermediate container 256f73092125 [2022-10-03T03:25:44.449Z] ---> 8669aa80cd32 [2022-10-03T03:25:44.449Z] Step 13/14 : COPY . . [2022-10-03T03:25:44.449Z] ---> b421e318313e [2022-10-03T03:25:44.449Z] Step 14/14 : RUN ${MAKE} [2022-10-03T03:25:44.449Z] ---> Running in 61983e55fa47 [2022-10-03T03:25:44.449Z] noop [2022-10-03T03:25:44.449Z] Removing intermediate container 61983e55fa47 [2022-10-03T03:25:44.449Z] ---> 668212b63d3b [2022-10-03T03:25:44.449Z] Successfully built 668212b63d3b [2022-10-03T03:25:44.449Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:25:44.922Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T03:25:44.922Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:25:45.180Z] prd-ubuntu20.04-docker-arm64-4c-16g-6806 does not seem to be running inside a container [2022-10-03T03:25:45.264Z] $ 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-10-03T03:25:46.511Z] $ docker top 4535c10e8403255e5cab2536c77ff7494ac295765062ee616589a4ae6d260d88 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T03:25:47.378Z] + go version [2022-10-03T03:25:47.378Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-03T03:25:47.420Z] $ docker stop --time=1 4535c10e8403255e5cab2536c77ff7494ac295765062ee616589a4ae6d260d88 [2022-10-03T03:25:49.029Z] $ docker rm -f 4535c10e8403255e5cab2536c77ff7494ac295765062ee616589a4ae6d260d88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:25:49.855Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T03:25:49.855Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:25:50.102Z] prd-ubuntu20.04-docker-arm64-4c-16g-6806 does not seem to be running inside a container [2022-10-03T03:25:50.179Z] $ 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-10-03T03:25:51.330Z] $ docker top 7108e021907bb61258770e45e7cf3c28adc781424635cdb169bcb45053c08563 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T03:25:51.894Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-10-03T03:25:52.546Z] + make test [2022-10-03T03:25:52.546Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-03T03:25:54.495Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-03T03:27:31.168Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-03T03:27:39.440Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.209s coverage: 28.2% of statements [2022-10-03T03:27:39.440Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-03T03:27:57.686Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.555s coverage: 86.5% of statements [2022-10-03T03:27:57.965Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-03T03:27:57.965Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T03:28:36.886Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T03:28:36.886Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T03:28:36.886Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T03:28:36.926Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T03:28:36.965Z] $ docker stop --time=1 7108e021907bb61258770e45e7cf3c28adc781424635cdb169bcb45053c08563 [2022-10-03T03:28:38.870Z] $ docker rm -f 7108e021907bb61258770e45e7cf3c28adc781424635cdb169bcb45053c08563 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T03:28:40.016Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T03:28:40.051Z] Warning: overwriting stash ‘coverage-report’ [2022-10-03T03:28:40.598Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T03:28:41.201Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T03:28:41.551Z] + ls -al . [2022-10-03T03:28:41.551Z] total 232 [2022-10-03T03:28:41.551Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 03:25 . [2022-10-03T03:28:41.551Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:23 .. [2022-10-03T03:28:41.551Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 03:23 .git [2022-10-03T03:28:41.551Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:23 .github [2022-10-03T03:28:41.551Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 3 03:23 .gitignore [2022-10-03T03:28:41.551Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 3 03:23 .golangci.yml [2022-10-03T03:28:41.551Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 3 03:23 Attribution.txt [2022-10-03T03:28:41.551Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 3 03:23 CHANGELOG.md [2022-10-03T03:28:41.551Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 3 03:23 Dockerfile [2022-10-03T03:28:41.551Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 03:23 GOVERNANCE.md [2022-10-03T03:28:41.551Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 3 03:23 Jenkinsfile [2022-10-03T03:28:41.551Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 3 03:23 LICENSE [2022-10-03T03:28:41.551Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 3 03:23 Makefile [2022-10-03T03:28:41.551Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 3 03:23 OWNERS.md [2022-10-03T03:28:41.551Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 3 03:23 README.md [2022-10-03T03:28:41.551Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 03:20 VERSION [2022-10-03T03:28:41.551Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 03:23 bin [2022-10-03T03:28:41.551Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:23 cmd [2022-10-03T03:28:41.551Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 3 03:27 coverage.out [2022-10-03T03:28:41.551Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 3 03:23 doc [2022-10-03T03:28:41.551Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 3 03:23 go.mod [2022-10-03T03:28:41.551Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 3 03:23 go.sum [2022-10-03T03:28:41.551Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:23 internal [2022-10-03T03:28:41.551Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:23 snap [2022-10-03T03:28:41.551Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 3 03:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:28:41.961Z] + 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=3bfb47d9fa29d540b8f55437377d610b92afa15d --label arch=arm64 --label version=0.0.0 . [2022-10-03T03:28:42.553Z] Sending build context to Docker daemon 14.28MB [2022-10-03T03:28:42.553Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T03:28:42.553Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-03T03:28:42.553Z] ---> 668212b63d3b [2022-10-03T03:28:42.553Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-03T03:28:43.148Z] ---> Running in 7fbcfed93766 [2022-10-03T03:28:43.416Z] Removing intermediate container 7fbcfed93766 [2022-10-03T03:28:43.416Z] ---> 44e4106a7ac2 [2022-10-03T03:28:43.416Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T03:28:43.416Z] ---> Running in f52d66a9864d [2022-10-03T03:28:43.689Z] Removing intermediate container f52d66a9864d [2022-10-03T03:28:43.689Z] ---> 7f2f0724a410 [2022-10-03T03:28:43.689Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T03:28:43.967Z] ---> Running in e7053158fdd0 [2022-10-03T03:28:44.239Z] Removing intermediate container e7053158fdd0 [2022-10-03T03:28:44.239Z] ---> 514c36fe7523 [2022-10-03T03:28:44.239Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T03:28:44.239Z] ---> Running in 79f9e411692a [2022-10-03T03:28:44.823Z] Removing intermediate container 79f9e411692a [2022-10-03T03:28:44.823Z] ---> 4a0225f0e721 [2022-10-03T03:28:44.823Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-03T03:28:44.823Z] ---> Running in 295722d41d2e [2022-10-03T03:28:45.096Z] Removing intermediate container 295722d41d2e [2022-10-03T03:28:45.096Z] ---> 9924e19ae105 [2022-10-03T03:28:45.096Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T03:28:45.365Z] ---> Running in 31ac1ba675c7 [2022-10-03T03:28:47.335Z] Removing intermediate container 31ac1ba675c7 [2022-10-03T03:28:47.335Z] ---> f49505b6b355 [2022-10-03T03:28:47.335Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T03:28:47.612Z] ---> Running in 0d4b7e371c41 [2022-10-03T03:28:50.207Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T03:28:50.807Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T03:28:52.230Z] OK: 221 MiB in 51 packages [2022-10-03T03:28:53.657Z] Removing intermediate container 0d4b7e371c41 [2022-10-03T03:28:53.657Z] ---> 0d9e659a2181 [2022-10-03T03:28:53.657Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-03T03:28:53.657Z] ---> Running in bd89b542024e [2022-10-03T03:28:54.622Z] Removing intermediate container bd89b542024e [2022-10-03T03:28:54.623Z] ---> 42f04f2cc7f0 [2022-10-03T03:28:54.623Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-03T03:28:55.589Z] ---> a86c1323a78c [2022-10-03T03:28:55.589Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T03:28:55.589Z] ---> Running in 2d2ba70a3846 [2022-10-03T03:28:59.862Z] Removing intermediate container 2d2ba70a3846 [2022-10-03T03:28:59.862Z] ---> 85ef922d4cf0 [2022-10-03T03:28:59.862Z] Step 13/27 : COPY . . [2022-10-03T03:29:03.239Z] ---> 2f2fd8237b00 [2022-10-03T03:29:03.239Z] Step 14/27 : RUN ${MAKE} [2022-10-03T03:29:03.239Z] ---> Running in 45480212ae6b [2022-10-03T03:29:04.223Z] 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.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-03T03:31:40.955Z] Removing intermediate container 45480212ae6b [2022-10-03T03:31:40.955Z] ---> 3fc7cdd6f09e [2022-10-03T03:31:40.955Z] Step 15/27 : FROM alpine:3.16 [2022-10-03T03:31:41.541Z] 3.16: Pulling from library/alpine [2022-10-03T03:31:41.541Z] 9b18e9b68314: Pulling fs layer [2022-10-03T03:31:42.124Z] 9b18e9b68314: Verifying Checksum [2022-10-03T03:31:42.124Z] 9b18e9b68314: Download complete [2022-10-03T03:31:42.708Z] 9b18e9b68314: Pull complete [2022-10-03T03:31:42.708Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T03:31:42.708Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T03:31:42.708Z] ---> a6215f271958 [2022-10-03T03:31:42.708Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-03T03:31:42.708Z] ---> Running in 69aec5bc76da [2022-10-03T03:31:42.977Z] Removing intermediate container 69aec5bc76da [2022-10-03T03:31:42.977Z] ---> 87acee382196 [2022-10-03T03:31:42.977Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-03T03:31:42.977Z] ---> Running in 0ab510e1ca87 [2022-10-03T03:31:43.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T03:31:44.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T03:31:45.486Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-03T03:31:45.486Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T03:31:45.486Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-03T03:31:45.486Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T03:31:45.486Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-03T03:31:45.486Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-03T03:31:45.486Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T03:31:45.486Z] OK: 8 MiB in 20 packages [2022-10-03T03:31:46.445Z] Removing intermediate container 0ab510e1ca87 [2022-10-03T03:31:46.445Z] ---> e9ae60b546eb [2022-10-03T03:31:46.445Z] Step 18/27 : WORKDIR / [2022-10-03T03:31:46.445Z] ---> Running in 0f98c05fbc4d [2022-10-03T03:31:46.711Z] Removing intermediate container 0f98c05fbc4d [2022-10-03T03:31:46.711Z] ---> 0638c8ce2cec [2022-10-03T03:31:46.711Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-03T03:31:48.119Z] ---> b990062950e2 [2022-10-03T03:31:48.119Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-03T03:31:48.702Z] ---> c969be402698 [2022-10-03T03:31:48.702Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-03T03:31:49.286Z] ---> 3b46b63357a1 [2022-10-03T03:31:49.286Z] Step 22/27 : EXPOSE 59984 [2022-10-03T03:31:49.286Z] ---> Running in 20b08f8187b7 [2022-10-03T03:31:49.553Z] Removing intermediate container 20b08f8187b7 [2022-10-03T03:31:49.553Z] ---> f2c7b87b8d50 [2022-10-03T03:31:49.553Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-03T03:31:49.553Z] ---> Running in 61d883b68170 [2022-10-03T03:31:49.820Z] Removing intermediate container 61d883b68170 [2022-10-03T03:31:49.820Z] ---> cc1ae7507dc9 [2022-10-03T03:31:49.820Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-03T03:31:50.089Z] ---> Running in a8cfe90d1737 [2022-10-03T03:31:50.356Z] Removing intermediate container a8cfe90d1737 [2022-10-03T03:31:50.356Z] ---> 88d7c3975328 [2022-10-03T03:31:50.356Z] Step 25/27 : LABEL arch=arm64 [2022-10-03T03:31:50.356Z] ---> Running in d5ffbc17777b [2022-10-03T03:31:50.622Z] Removing intermediate container d5ffbc17777b [2022-10-03T03:31:50.622Z] ---> 81a6713a902a [2022-10-03T03:31:50.622Z] Step 26/27 : LABEL git_sha=3bfb47d9fa29d540b8f55437377d610b92afa15d [2022-10-03T03:31:50.622Z] ---> Running in 8fdf21347120 [2022-10-03T03:31:50.889Z] Removing intermediate container 8fdf21347120 [2022-10-03T03:31:50.889Z] ---> dece99bc546f [2022-10-03T03:31:50.889Z] Step 27/27 : LABEL version=0.0.0 [2022-10-03T03:31:51.157Z] ---> Running in b6f3b179e454 [2022-10-03T03:31:51.424Z] Removing intermediate container b6f3b179e454 [2022-10-03T03:31:51.424Z] ---> 850ec94ca256 [2022-10-03T03:31:51.424Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T03:31:51.424Z] Successfully built 850ec94ca256 [2022-10-03T03:31:51.424Z] 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-10-03T03:31:52.229Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T03:31:52.229Z] [2022-10-03T03:31:52.229Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:31:52.633Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T03:31:52.633Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-03T03:31:52.633Z] 8998bd30e6a1: Pulling fs layer [2022-10-03T03:31:52.633Z] 04944245beec: Pulling fs layer [2022-10-03T03:31:52.633Z] 699f458cf7ca: Pulling fs layer [2022-10-03T03:31:52.633Z] 765212b225bb: Pulling fs layer [2022-10-03T03:31:52.633Z] f23df028b6ca: Pulling fs layer [2022-10-03T03:31:52.633Z] d65c8cfc05b1: Pulling fs layer [2022-10-03T03:31:52.633Z] 2437ff75d9bd: Pulling fs layer [2022-10-03T03:31:52.633Z] f23df028b6ca: Waiting [2022-10-03T03:31:52.633Z] d65c8cfc05b1: Waiting [2022-10-03T03:31:52.633Z] 2437ff75d9bd: Waiting [2022-10-03T03:31:52.633Z] 765212b225bb: Waiting [2022-10-03T03:31:52.902Z] 04944245beec: Verifying Checksum [2022-10-03T03:31:52.902Z] 04944245beec: Download complete [2022-10-03T03:31:52.902Z] 765212b225bb: Verifying Checksum [2022-10-03T03:31:52.902Z] 765212b225bb: Download complete [2022-10-03T03:31:52.902Z] f23df028b6ca: Verifying Checksum [2022-10-03T03:31:52.902Z] f23df028b6ca: Download complete [2022-10-03T03:31:52.902Z] d65c8cfc05b1: Download complete [2022-10-03T03:31:53.172Z] 699f458cf7ca: Verifying Checksum [2022-10-03T03:31:53.172Z] 699f458cf7ca: Download complete [2022-10-03T03:31:53.445Z] 8998bd30e6a1: Verifying Checksum [2022-10-03T03:31:53.445Z] 8998bd30e6a1: Download complete [2022-10-03T03:31:56.033Z] 2437ff75d9bd: Verifying Checksum [2022-10-03T03:31:56.033Z] 2437ff75d9bd: Download complete [2022-10-03T03:31:57.440Z] 8998bd30e6a1: Pull complete [2022-10-03T03:31:57.708Z] 04944245beec: Pull complete [2022-10-03T03:31:59.118Z] 699f458cf7ca: Pull complete [2022-10-03T03:31:59.386Z] 765212b225bb: Pull complete [2022-10-03T03:31:59.970Z] f23df028b6ca: Pull complete [2022-10-03T03:32:00.236Z] d65c8cfc05b1: Pull complete [2022-10-03T03:32:15.247Z] 2437ff75d9bd: Pull complete [2022-10-03T03:32:15.247Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-03T03:32:15.247Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T03:32:15.247Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:32:15.557Z] prd-ubuntu20.04-docker-arm64-4c-16g-6806 does not seem to be running inside a container [2022-10-03T03:32:15.628Z] $ 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-10-03T03:32:18.224Z] $ docker top 48ae077d7f8ad00c5e4c1343b0c363c779736838b98645c23a7a505647bcab3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:32:19.090Z] ---> job-cost.sh [2022-10-03T03:32:19.090Z] lf-activate-venv: SKIPPING [2022-10-03T03:32:19.090Z] INFO: No Stack... [2022-10-03T03:32:19.670Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-03T03:32:20.708Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T03:32:21.076Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-10-03T03:32:21.076Z] + cut -d, -f6 [Pipeline] lock [2022-10-03T03:32:21.174Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-168-1-stack-cost] [2022-10-03T03:32:21.179Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-168-1-stack-cost] did not exist. Created. [2022-10-03T03:32:21.180Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-168-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T03:32:21.923Z] /w/workspace/device-onvif-camera/1@tmp/durable-7395332c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-03T03:32:22.312Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-03T03:32:22.350Z] Warning: overwriting stash ‘stack-cost’ [2022-10-03T03:32:22.415Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T03:32:22.433Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-168-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T03:32:22.517Z] $ docker stop --time=1 48ae077d7f8ad00c5e4c1343b0c363c779736838b98645c23a7a505647bcab3c [2022-10-03T03:32:23.990Z] $ docker rm -f 48ae077d7f8ad00c5e4c1343b0c363c779736838b98645c23a7a505647bcab3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-03T03:32:25.011Z] provisioning config files... [2022-10-03T03:32:25.021Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-168@tmp/config2841334990054779636tmp [Pipeline] { [Pipeline] sh [2022-10-03T03:32:25.343Z] + set +x [2022-10-03T03:32:25.344Z] + curl -s https://codecov.io/bash [2022-10-03T03:32:25.344Z] + bash -s -- [2022-10-03T03:32:25.344Z] [2022-10-03T03:32:25.344Z] _____ _ [2022-10-03T03:32:25.344Z] / ____| | | [2022-10-03T03:32:25.344Z] | | ___ __| | ___ ___ _____ __ [2022-10-03T03:32:25.344Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-03T03:32:25.344Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-03T03:32:25.344Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-03T03:32:25.344Z] Bash-1.0.6 [2022-10-03T03:32:25.344Z] [2022-10-03T03:32:25.344Z] [2022-10-03T03:32:25.344Z] ==> git version 2.25.1 found [2022-10-03T03:32:25.344Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-03T03:32:25.344Z] Release-Date: 2020-01-08 [2022-10-03T03:32:25.344Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-03T03:32:25.344Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-03T03:32:25.344Z] ==> Jenkins CI detected. [2022-10-03T03:32:25.344Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-168 [2022-10-03T03:32:25.344Z] project root: . [2022-10-03T03:32:25.344Z] --> token set from env [2022-10-03T03:32:25.344Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-03T03:32:25.344Z] ==> Running gcov in . (disable via -X gcov) [2022-10-03T03:32:25.344Z] ==> Python coveragepy not found [2022-10-03T03:32:25.344Z] ==> Searching for coverage reports in: [2022-10-03T03:32:25.344Z] + . [2022-10-03T03:32:25.344Z] -> Found 1 reports [2022-10-03T03:32:25.344Z] ==> Detecting git/mercurial file structure [2022-10-03T03:32:25.602Z] ==> Reading reports [2022-10-03T03:32:25.602Z] + ./coverage.out bytes=78461 [2022-10-03T03:32:25.602Z] ==> Appending adjustments [2022-10-03T03:32:25.602Z] https://docs.codecov.io/docs/fixing-reports [2022-10-03T03:32:25.602Z] + Found adjustments [2022-10-03T03:32:25.603Z] ==> Gzipping contents [2022-10-03T03:32:25.603Z] 12K /tmp/codecov.zZQucj.gz [2022-10-03T03:32:25.603Z] ==> Uploading reports [2022-10-03T03:32:25.603Z] url: https://codecov.io [2022-10-03T03:32:25.603Z] query: branch=PR-168&commit=3bfb47d9fa29d540b8f55437377d610b92afa15d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-168%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=168&job=&cmd_args= [2022-10-03T03:32:25.603Z] -> Pinging Codecov [2022-10-03T03:32:25.603Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-168&commit=3bfb47d9fa29d540b8f55437377d610b92afa15d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-168%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=168&job=&cmd_args= [2022-10-03T03:32:26.171Z] -> Uploading to [2022-10-03T03:32:26.171Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-03/F29A59C45E3A92E06B3E522C9905F8EF/3bfb47d9fa29d540b8f55437377d610b92afa15d/3c484eaf-598b-4d07-b3e0-c23a9703ae5b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T033225Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6e8ad274a62dc1db8b78618381c8a01c8c37ba44de304664871323dd98ff15c6 [2022-10-03T03:32:26.171Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T03:32:26.171Z] Dload Upload Total Spent Left Speed [2022-10-03T03:32:26.432Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10728 0 0 100 10728 0 34606 --:--:-- --:--:-- --:--:-- 34606 [2022-10-03T03:32:26.432Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/3bfb47d9fa29d540b8f55437377d610b92afa15d [Pipeline] } [2022-10-03T03:32:26.457Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-03T03:32:28.150Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-168/archives ] [2022-10-03T03:32:28.150Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-168/archives [2022-10-03T03:32:28.150Z] total 16 [2022-10-03T03:32:28.150Z] drwxr-xr-x 3 root root 4096 Oct 3 03:22 . [2022-10-03T03:32:28.150Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 03:22 .. [2022-10-03T03:32:28.150Z] drwxr-xr-x 2 root root 4096 Oct 3 03:22 cost [2022-10-03T03:32:28.150Z] -rw-r--r-- 1 root root 91 Oct 3 03:22 cost.csv [2022-10-03T03:32:28.150Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-168/archives [2022-10-03T03:32:28.150Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-168/archives [2022-10-03T03:32:28.150Z] total 16 [2022-10-03T03:32:28.150Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 03:22 . [2022-10-03T03:32:28.150Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 03:22 .. [2022-10-03T03:32:28.150Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 03:22 cost [2022-10-03T03:32:28.150Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 3 03:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:32:28.477Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:32:29.372Z] ---> package-listing.sh [2022-10-03T03:32:29.372Z] ++ facter osfamily [2022-10-03T03:32:29.372Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-03T03:32:29.631Z] + OS_FAMILY=debian [2022-10-03T03:32:29.631Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-168 [2022-10-03T03:32:29.631Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-03T03:32:29.631Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-03T03:32:29.631Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-03T03:32:29.631Z] + PACKAGES=/tmp/packages_start.txt [2022-10-03T03:32:29.631Z] + '[' /w/workspace/undry_device-onvif-camera_PR-168 ']' [2022-10-03T03:32:29.631Z] + PACKAGES=/tmp/packages_end.txt [2022-10-03T03:32:29.631Z] + case "${OS_FAMILY}" in [2022-10-03T03:32:29.631Z] + dpkg -l [2022-10-03T03:32:29.631Z] + grep '^ii' [2022-10-03T03:32:29.631Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-03T03:32:29.631Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-03T03:32:29.631Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-03T03:32:29.631Z] + '[' /w/workspace/undry_device-onvif-camera_PR-168 ']' [2022-10-03T03:32:29.631Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-168/archives/ [2022-10-03T03:32:29.631Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-168/archives/ [Pipeline] echo [2022-10-03T03:32:29.666Z] 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-168/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-03T03:32:29.956Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:32:30.585Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T03:32:30.585Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:32:30.716Z] prd-ubuntu20.04-docker-8c-8g-6803 does not seem to be running inside a container [2022-10-03T03:32:30.748Z] $ 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-168/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-168 -v /w/workspace/undry_device-onvif-camera_PR-168:/w/workspace/undry_device-onvif-camera_PR-168:rw,z -v /w/workspace/undry_device-onvif-camera_PR-168@tmp:/w/workspace/undry_device-onvif-camera_PR-168@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-10-03T03:32:30.980Z] $ docker top 507b03cda1d98beb76e47d15d0c34ad8eec293d5affa549c943cf909433fd4f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T03:32:31.372Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-03T03:32:31.685Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-03T03:32:32.007Z] + ls /var/log/sa-host [2022-10-03T03:32:32.007Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T03:32:32.149Z] provisioning config files... [2022-10-03T03:32:32.158Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-168@tmp/config15494938735184628372tmp [Pipeline] { [Pipeline] echo [2022-10-03T03:32:32.212Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:32:32.523Z] ---> create-netrc.sh [Pipeline] } [2022-10-03T03:32:32.556Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:32:32.952Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-03T03:32:32.988Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:32:33.295Z] ---> sudo-logs.sh [2022-10-03T03:32:33.295Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-03T03:32:33.373Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:32:33.682Z] ---> job-cost.sh [2022-10-03T03:32:33.682Z] lf-activate-venv: SKIPPING [2022-10-03T03:32:33.682Z] DEBUG: total: 0.2199999988079071 [2022-10-03T03:32:33.682Z] INFO: Retrieving Stack Cost... [2022-10-03T03:32:34.251Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T03:32:34.510Z] INFO: Archiving Costs [Pipeline] echo [2022-10-03T03:32:34.542Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:32:34.851Z] ---> logs-deploy.sh [2022-10-03T03:32:34.851Z] lf-activate-venv: SKIPPING [2022-10-03T03:32:34.851Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-168/1 [2022-10-03T03:32:34.851Z] INFO: archiving workspace using pattern(s): [2022-10-03T03:32:35.789Z] Archives upload complete. [2022-10-03T03:32:35.790Z] INFO: archiving logs to Nexus