Pull request #130 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 9690a387ca2387b5643c1a6ebb388f5bbc0ad3b0 rather than 92100646446235a3e652985d0d15702ea46b7061 Obtained Jenkinsfile from 9690a387ca2387b5643c1a6ebb388f5bbc0ad3b0 ‘Jenkinsfile’ has been modified in an untrusted revision 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-ssh11367315983728878648.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh4060952355120242451.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-130/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-130/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10084378708683983923.key > 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-130/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9002330927969623691.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh13281159966035613659.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-130/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-130/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11027718891873275662.key > 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 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e 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] ========================================================= [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: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-22423 in /w/workspace/undry_device-onvif-camera_PR-130 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-130 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9690a387ca2387b5643c1a6ebb388f5bbc0ad3b0 into PR head commit 92100646446235a3e652985d0d15702ea46b7061 Merge succeeded, producing 92100646446235a3e652985d0d15702ea46b7061 Checking out Revision 92100646446235a3e652985d0d15702ea46b7061 (PR-130) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/130/head:refs/remotes/origin/PR-130 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 92100646446235a3e652985d0d15702ea46b7061 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9690a387ca2387b5643c1a6ebb388f5bbc0ad3b0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 92100646446235a3e652985d0d15702ea46b7061 # timeout=10 Commit message: "docs: publish swagger files, update swagger readme" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-10T17:37:50.516Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-10T17:37:50.686Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-10T17:37:50.784Z] ========================================================= [2022-08-10T17:37:50.784Z] EdgeX Global Pipelines Version Info [2022-08-10T17:37:50.784Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-10T17:37:51.555Z] ------------------- [2022-08-10T17:37:51.555Z] stable info: [2022-08-10T17:37:51.555Z] ------------------- [2022-08-10T17:37:51.555Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-10T17:37:51.555Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-10T17:37:51.555Z] Message: update stable to v1.0.238 [2022-08-10T17:37:52.130Z] ------------------- [2022-08-10T17:37:52.130Z] experimental info: [2022-08-10T17:37:52.130Z] ------------------- [2022-08-10T17:37:52.130Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-10T17:37:52.130Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-10T17:37:52.130Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-10T17:37:52.550Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-10T17:37:52.587Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-10T17:37:52.624Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-10T17:37:52.660Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-10T17:37:52.697Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-10T17:37:52.735Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-10T17:37:52.777Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-10T17:37:52.818Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-10T17:37:52.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-10T17:37:52.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-10T17:37:52.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-10T17:37:52.995Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-10T17:37:53.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-10T17:37:53.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-10T17:37:53.125Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-10T17:37:53.164Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-10T17:37:53.204Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-10T17:37:53.241Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-10T17:37:53.278Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-10T17:37:53.320Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-10T17:37:53.359Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-10T17:37:53.397Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-10T17:37:53.433Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-10T17:37:53.475Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-10T17:37:53.515Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-10T17:37:53.554Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-10T17:37:53.592Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-10T17:37:53.631Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-130 [Pipeline] echo [2022-08-10T17:37:53.667Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-130 [Pipeline] echo [2022-08-10T17:37:53.709Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-130 [Pipeline] echo [2022-08-10T17:37:53.748Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 92100646446235a3e652985d0d15702ea46b7061 [Pipeline] echo [2022-08-10T17:37:53.789Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9210064 [Pipeline] echo [2022-08-10T17:37:53.836Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-10T17:37:53.956Z] provisioning config files... [2022-08-10T17:37:53.970Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-130@tmp/config4274460939098036693tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-10T17:37:54.331Z] ---> docker-login.sh [2022-08-10T17:37:54.331Z] nexus3.edgexfoundry.org:10001 [2022-08-10T17:37:54.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T17:37:54.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T17:37:54.854Z] Configure a credential helper to remove this warning. See [2022-08-10T17:37:54.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T17:37:54.854Z] [2022-08-10T17:37:54.854Z] Login Succeeded [2022-08-10T17:37:54.854Z] nexus3.edgexfoundry.org:10002 [2022-08-10T17:37:54.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T17:37:55.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T17:37:55.116Z] Configure a credential helper to remove this warning. See [2022-08-10T17:37:55.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T17:37:55.116Z] [2022-08-10T17:37:55.116Z] Login Succeeded [2022-08-10T17:37:55.116Z] nexus3.edgexfoundry.org:10003 [2022-08-10T17:37:55.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T17:37:55.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T17:37:55.116Z] Configure a credential helper to remove this warning. See [2022-08-10T17:37:55.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T17:37:55.116Z] [2022-08-10T17:37:55.116Z] Login Succeeded [2022-08-10T17:37:55.116Z] nexus3.edgexfoundry.org:10004 [2022-08-10T17:37:55.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T17:37:55.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T17:37:55.377Z] Configure a credential helper to remove this warning. See [2022-08-10T17:37:55.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T17:37:55.377Z] [2022-08-10T17:37:55.377Z] Login Succeeded [2022-08-10T17:37:55.377Z] docker.io [2022-08-10T17:37:55.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T17:37:55.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T17:37:55.638Z] Configure a credential helper to remove this warning. See [2022-08-10T17:37:55.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T17:37:55.638Z] [2022-08-10T17:37:55.638Z] Login Succeeded [2022-08-10T17:37:55.638Z] ---> docker-login.sh ends [Pipeline] } [2022-08-10T17:37:55.662Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-10T17:37:56.308Z] + git rev-list -1 --merges 92100646446235a3e652985d0d15702ea46b7061~1..92100646446235a3e652985d0d15702ea46b7061 [Pipeline] echo [2022-08-10T17:37:56.349Z] -----------> git rev-list -1 --merges 92100646446235a3e652985d0d15702ea46b7061~1..92100646446235a3e652985d0d15702ea46b7061 92100646446235a3e652985d0d15702ea46b7061 [false] [Pipeline] sh [2022-08-10T17:37:56.667Z] + git log --format=format:%s -1 92100646446235a3e652985d0d15702ea46b7061 [Pipeline] echo [2022-08-10T17:37:56.707Z] ========================================================= [2022-08-10T17:37:56.707Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-10T17:37:56.707Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-10T17:37:57.127Z] + git log --format=format:%s -1 92100646446235a3e652985d0d15702ea46b7061 [Pipeline] echo [2022-08-10T17:37:57.157Z] [semverPrep] GIT_COMMIT: 92100646446235a3e652985d0d15702ea46b7061, Commit Message: docs: publish swagger files, update swagger readme [Pipeline] echo [2022-08-10T17:37:57.181Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-10T17:37:57.577Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-10T17:37:57.577Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-10T17:37:57.577Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-10T17:37:57.577Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-10T17:37:57.577Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-10T17:37:57.577Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-10T17:37:57.577Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T17:37:58.030Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-10T17:37:58.030Z] [2022-08-10T17:37:58.030Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T17:37:58.410Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-10T17:37:58.410Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-10T17:37:58.410Z] b85a868b505f: Pulling fs layer [2022-08-10T17:37:58.410Z] e2be974225ed: Pulling fs layer [2022-08-10T17:37:58.410Z] 339a4e72a1f5: Pulling fs layer [2022-08-10T17:37:58.410Z] 988bab9f4d93: Pulling fs layer [2022-08-10T17:37:58.410Z] 1469e6f7b9e6: Pulling fs layer [2022-08-10T17:37:58.410Z] 988bab9f4d93: Waiting [2022-08-10T17:37:58.410Z] eaf3925da568: Pulling fs layer [2022-08-10T17:37:58.410Z] bab4dde63d76: Pulling fs layer [2022-08-10T17:37:58.410Z] bde34c3a00c8: Pulling fs layer [2022-08-10T17:37:58.410Z] b352a97aabf1: Pulling fs layer [2022-08-10T17:37:58.410Z] 4872d77fe225: Pulling fs layer [2022-08-10T17:37:58.410Z] 5851b861e8e6: Pulling fs layer [2022-08-10T17:37:58.410Z] 1469e6f7b9e6: Waiting [2022-08-10T17:37:58.410Z] bde34c3a00c8: Waiting [2022-08-10T17:37:58.410Z] eaf3925da568: Waiting [2022-08-10T17:37:58.410Z] bab4dde63d76: Waiting [2022-08-10T17:37:58.410Z] 4872d77fe225: Waiting [2022-08-10T17:37:58.410Z] 5851b861e8e6: Waiting [2022-08-10T17:37:58.410Z] e2be974225ed: Verifying Checksum [2022-08-10T17:37:58.410Z] e2be974225ed: Download complete [2022-08-10T17:37:58.410Z] 988bab9f4d93: Verifying Checksum [2022-08-10T17:37:58.410Z] 988bab9f4d93: Download complete [2022-08-10T17:37:58.670Z] 1469e6f7b9e6: Verifying Checksum [2022-08-10T17:37:58.670Z] 1469e6f7b9e6: Download complete [2022-08-10T17:37:58.670Z] eaf3925da568: Download complete [2022-08-10T17:37:58.670Z] 339a4e72a1f5: Verifying Checksum [2022-08-10T17:37:58.670Z] 339a4e72a1f5: Download complete [2022-08-10T17:37:58.670Z] bde34c3a00c8: Download complete [2022-08-10T17:37:58.670Z] b352a97aabf1: Download complete [2022-08-10T17:37:58.670Z] 4872d77fe225: Download complete [2022-08-10T17:37:58.670Z] 5851b861e8e6: Verifying Checksum [2022-08-10T17:37:58.670Z] 5851b861e8e6: Download complete [2022-08-10T17:37:58.670Z] b85a868b505f: Verifying Checksum [2022-08-10T17:37:58.670Z] b85a868b505f: Download complete [2022-08-10T17:37:58.930Z] bab4dde63d76: Verifying Checksum [2022-08-10T17:37:58.930Z] bab4dde63d76: Download complete [2022-08-10T17:37:59.872Z] b85a868b505f: Pull complete [2022-08-10T17:38:00.132Z] e2be974225ed: Pull complete [2022-08-10T17:38:00.702Z] 339a4e72a1f5: Pull complete [2022-08-10T17:38:00.702Z] 988bab9f4d93: Pull complete [2022-08-10T17:38:00.963Z] 1469e6f7b9e6: Pull complete [2022-08-10T17:38:01.223Z] eaf3925da568: Pull complete [2022-08-10T17:38:03.128Z] bab4dde63d76: Pull complete [2022-08-10T17:38:03.128Z] bde34c3a00c8: Pull complete [2022-08-10T17:38:03.391Z] b352a97aabf1: Pull complete [2022-08-10T17:38:03.391Z] 4872d77fe225: Pull complete [2022-08-10T17:38:03.391Z] 5851b861e8e6: Pull complete [2022-08-10T17:38:03.391Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-10T17:38:03.391Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-10T17:38:03.391Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-10T17:38:03.616Z] prd-ubuntu20.04-docker-8c-8g-22423 does not seem to be running inside a container [2022-08-10T17:38:03.649Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-130 -v /w/workspace/undry_device-onvif-camera_PR-130:/w/workspace/undry_device-onvif-camera_PR-130:rw,z -v /w/workspace/undry_device-onvif-camera_PR-130@tmp:/w/workspace/undry_device-onvif-camera_PR-130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-10T17:38:05.004Z] $ docker top 7025e0e4ebd57c5f3a3eecf9df9cafdb4fa3b0599ba5fce1f216d3ca2494c477 -eo pid,comm [2022-08-10T17:38:05.077Z] 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-08-10T17:38:05.077Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-10T17:38:05.197Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-10T17:38:05.197Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-10T17:38:05.319Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-10T17:38:05.316Z] $ docker exec 7025e0e4ebd57c5f3a3eecf9df9cafdb4fa3b0599ba5fce1f216d3ca2494c477 ssh-agent [2022-08-10T17:38:05.463Z] SSH_AUTH_SOCK=/tmp/ssh-PaqFmrotLE45/agent.33 [2022-08-10T17:38:05.463Z] SSH_AGENT_PID=39 [2022-08-10T17:38:05.468Z] Running ssh-add (command line suppressed) [2022-08-10T17:38:05.577Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-130@tmp/private_key_2321907352718603617.key (/w/workspace/undry_device-onvif-camera_PR-130@tmp/private_key_2321907352718603617.key) [2022-08-10T17:38:05.595Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-10T17:38:05.929Z] + git tag --points-at HEAD [Pipeline] } [2022-08-10T17:38:05.949Z] $ docker exec --env ******** --env ******** 7025e0e4ebd57c5f3a3eecf9df9cafdb4fa3b0599ba5fce1f216d3ca2494c477 ssh-agent -k [2022-08-10T17:38:06.063Z] unset SSH_AUTH_SOCK; [2022-08-10T17:38:06.064Z] unset SSH_AGENT_PID; [2022-08-10T17:38:06.064Z] echo Agent pid 39 killed; [2022-08-10T17:38:06.086Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-10T17:38:06.169Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-10T17:38:06.169Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-10T17:38:06.309Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-10T17:38:06.308Z] $ docker exec 7025e0e4ebd57c5f3a3eecf9df9cafdb4fa3b0599ba5fce1f216d3ca2494c477 ssh-agent [2022-08-10T17:38:06.428Z] SSH_AUTH_SOCK=/tmp/ssh-CAUiOdRfE1t4/agent.72 [2022-08-10T17:38:06.428Z] SSH_AGENT_PID=79 [2022-08-10T17:38:06.432Z] Running ssh-add (command line suppressed) [2022-08-10T17:38:06.544Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-130@tmp/private_key_6117399475817663807.key (/w/workspace/undry_device-onvif-camera_PR-130@tmp/private_key_6117399475817663807.key) [2022-08-10T17:38:06.566Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-10T17:38:06.903Z] + git semver init [2022-08-10T17:38:07.164Z] 2022-08-10 17:38:07,094 [run_init] DEBUG init version:0.0.0 force:False [2022-08-10T17:38:07.164Z] 2022-08-10 17:38:07,095 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-130/.semver [2022-08-10T17:38:07.164Z] 2022-08-10 17:38:07,096 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-130/.semver [2022-08-10T17:38:07.164Z] 2022-08-10 17:38:07,096 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-130/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-130, universal_newlines=False, shell=None, istream=None) [2022-08-10T17:38:08.115Z] 2022-08-10 17:38:07,892 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-130/.git/info/exclude [2022-08-10T17:38:08.115Z] 2022-08-10 17:38:07,893 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-130/.semver/PR-130 with force:False [2022-08-10T17:38:08.115Z] 2022-08-10 17:38:07,893 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-130/.semver/PR-130 [2022-08-10T17:38:08.115Z] 2022-08-10 17:38:07,897 [execute] INFO git cat-file --batch-check [2022-08-10T17:38:08.115Z] 2022-08-10 17:38:07,898 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-130/.semver, universal_newlines=False, shell=None, istream=) [2022-08-10T17:38:08.115Z] 2022-08-10 17:38:07,904 [execute] INFO git cat-file --batch [2022-08-10T17:38:08.115Z] 2022-08-10 17:38:07,905 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-130/.semver, universal_newlines=False, shell=None, istream=) [2022-08-10T17:38:08.115Z] 2022-08-10 17:38:07,910 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-130/.semver/PR-130 [2022-08-10T17:38:08.115Z] 0.0.0 [Pipeline] } [2022-08-10T17:38:08.134Z] $ docker exec --env ******** --env ******** 7025e0e4ebd57c5f3a3eecf9df9cafdb4fa3b0599ba5fce1f216d3ca2494c477 ssh-agent -k [2022-08-10T17:38:08.260Z] unset SSH_AUTH_SOCK; [2022-08-10T17:38:08.261Z] unset SSH_AGENT_PID; [2022-08-10T17:38:08.261Z] echo Agent pid 79 killed; [2022-08-10T17:38:08.280Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-10T17:38:08.701Z] + git semver [Pipeline] } [2022-08-10T17:38:08.989Z] $ docker stop --time=1 7025e0e4ebd57c5f3a3eecf9df9cafdb4fa3b0599ba5fce1f216d3ca2494c477 [2022-08-10T17:38:10.304Z] $ docker rm -f 7025e0e4ebd57c5f3a3eecf9df9cafdb4fa3b0599ba5fce1f216d3ca2494c477 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-10T17:38:10.712Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-10T17:38:11.024Z] Stashed 1 file(s) [Pipeline] echo [2022-08-10T17:38:11.039Z] [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-08-10T17:38:11.595Z] provisioning config files... [2022-08-10T17:38:11.607Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-130@tmp/config3434437734720408490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-10T17:38:11.957Z] ---> docker-login.sh [2022-08-10T17:38:11.957Z] nexus3.edgexfoundry.org:10001 [2022-08-10T17:38:11.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T17:38:11.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T17:38:11.957Z] Configure a credential helper to remove this warning. See [2022-08-10T17:38:11.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T17:38:11.957Z] [2022-08-10T17:38:11.957Z] Login Succeeded [2022-08-10T17:38:11.957Z] nexus3.edgexfoundry.org:10002 [2022-08-10T17:38:11.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T17:38:12.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T17:38:12.218Z] Configure a credential helper to remove this warning. See [2022-08-10T17:38:12.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T17:38:12.218Z] [2022-08-10T17:38:12.218Z] Login Succeeded [2022-08-10T17:38:12.218Z] nexus3.edgexfoundry.org:10003 [2022-08-10T17:38:12.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T17:38:12.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T17:38:12.218Z] Configure a credential helper to remove this warning. See [2022-08-10T17:38:12.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T17:38:12.218Z] [2022-08-10T17:38:12.218Z] Login Succeeded [2022-08-10T17:38:12.218Z] nexus3.edgexfoundry.org:10004 [2022-08-10T17:38:12.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T17:38:12.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T17:38:12.481Z] Configure a credential helper to remove this warning. See [2022-08-10T17:38:12.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T17:38:12.481Z] [2022-08-10T17:38:12.481Z] Login Succeeded [2022-08-10T17:38:12.481Z] docker.io [2022-08-10T17:38:12.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T17:38:12.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T17:38:12.744Z] Configure a credential helper to remove this warning. See [2022-08-10T17:38:12.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T17:38:12.744Z] [2022-08-10T17:38:12.744Z] Login Succeeded [2022-08-10T17:38:12.744Z] ---> docker-login.sh ends [Pipeline] } [2022-08-10T17:38:12.773Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-10T17:38:12.961Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-10T17:38:12.997Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-10T17:38:13.027Z] ========================================================= [2022-08-10T17:38:13.027Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-10T17:38:13.027Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T17:38:13.501Z] + 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-08-10T17:38:13.501Z] Sending build context to Docker daemon 20.45MB [2022-08-10T17:38:13.501Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-10T17:38:13.501Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-10T17:38:13.762Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-10T17:38:13.762Z] 2408cc74d12b: Pulling fs layer [2022-08-10T17:38:13.762Z] ea60b727a1ce: Pulling fs layer [2022-08-10T17:38:13.762Z] 30c4a7721957: Pulling fs layer [2022-08-10T17:38:13.762Z] 370296b7ddb6: Pulling fs layer [2022-08-10T17:38:13.762Z] 7c6cee850709: Pulling fs layer [2022-08-10T17:38:13.762Z] 39a5fcdaea64: Pulling fs layer [2022-08-10T17:38:13.762Z] 7c6cee850709: Waiting [2022-08-10T17:38:13.762Z] 370296b7ddb6: Waiting [2022-08-10T17:38:13.762Z] 39a5fcdaea64: Waiting [2022-08-10T17:38:13.762Z] d94ebbe4e438: Pulling fs layer [2022-08-10T17:38:13.762Z] bcfd1f05c69d: Pulling fs layer [2022-08-10T17:38:13.762Z] 59ccb84bbe0f: Pulling fs layer [2022-08-10T17:38:13.762Z] d94ebbe4e438: Waiting [2022-08-10T17:38:13.762Z] bcfd1f05c69d: Waiting [2022-08-10T17:38:13.762Z] 59ccb84bbe0f: Waiting [2022-08-10T17:38:13.762Z] 30c4a7721957: Verifying Checksum [2022-08-10T17:38:13.762Z] 30c4a7721957: Download complete [2022-08-10T17:38:13.762Z] ea60b727a1ce: Download complete [2022-08-10T17:38:13.762Z] 7c6cee850709: Verifying Checksum [2022-08-10T17:38:13.762Z] 7c6cee850709: Download complete [2022-08-10T17:38:13.762Z] 39a5fcdaea64: Verifying Checksum [2022-08-10T17:38:13.762Z] 39a5fcdaea64: Download complete [2022-08-10T17:38:13.762Z] 2408cc74d12b: Download complete [2022-08-10T17:38:13.762Z] d94ebbe4e438: Download complete [2022-08-10T17:38:14.022Z] 2408cc74d12b: Pull complete [2022-08-10T17:38:14.022Z] ea60b727a1ce: Pull complete [2022-08-10T17:38:14.022Z] 30c4a7721957: Pull complete [2022-08-10T17:38:14.282Z] 59ccb84bbe0f: Verifying Checksum [2022-08-10T17:38:14.282Z] 59ccb84bbe0f: Download complete [2022-08-10T17:38:14.541Z] 370296b7ddb6: Verifying Checksum [2022-08-10T17:38:14.541Z] 370296b7ddb6: Download complete [2022-08-10T17:38:14.541Z] bcfd1f05c69d: Verifying Checksum [2022-08-10T17:38:14.541Z] bcfd1f05c69d: Download complete [2022-08-10T17:38:18.741Z] 370296b7ddb6: Pull complete [2022-08-10T17:38:18.741Z] 7c6cee850709: Pull complete [2022-08-10T17:38:18.741Z] 39a5fcdaea64: Pull complete [2022-08-10T17:38:18.741Z] d94ebbe4e438: Pull complete [2022-08-10T17:38:21.279Z] bcfd1f05c69d: Pull complete [2022-08-10T17:38:21.846Z] 59ccb84bbe0f: Pull complete [2022-08-10T17:38:21.846Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-10T17:38:21.846Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-10T17:38:21.846Z] ---> a4fb48ad2a94 [2022-08-10T17:38:21.846Z] Step 3/13 : ARG MAKE="make build" [2022-08-10T17:38:23.759Z] ---> Running in df343abf0c3c [2022-08-10T17:38:23.759Z] Removing intermediate container df343abf0c3c [2022-08-10T17:38:23.759Z] ---> 3bf9f51fc8d3 [2022-08-10T17:38:23.759Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-10T17:38:23.759Z] ---> Running in ff5ebb304efd [2022-08-10T17:38:23.759Z] Removing intermediate container ff5ebb304efd [2022-08-10T17:38:23.759Z] ---> 452904707592 [2022-08-10T17:38:23.759Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-10T17:38:23.759Z] ---> Running in 67b7c2d9761c [2022-08-10T17:38:23.759Z] Removing intermediate container 67b7c2d9761c [2022-08-10T17:38:23.759Z] ---> 7562a27753de [2022-08-10T17:38:23.759Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-10T17:38:23.759Z] ---> Running in 35935777d811 [2022-08-10T17:38:24.020Z] Removing intermediate container 35935777d811 [2022-08-10T17:38:24.020Z] ---> 14120af6d7b4 [2022-08-10T17:38:24.020Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-10T17:38:24.020Z] ---> Running in 346255c58f4b [2022-08-10T17:38:24.590Z] Removing intermediate container 346255c58f4b [2022-08-10T17:38:24.590Z] ---> 2134882acad6 [2022-08-10T17:38:24.590Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-10T17:38:24.590Z] ---> Running in 6296172f4c36 [2022-08-10T17:38:24.850Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-10T17:38:25.791Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-10T17:38:26.052Z] OK: 211 MiB in 51 packages [2022-08-10T17:38:26.315Z] Removing intermediate container 6296172f4c36 [2022-08-10T17:38:26.315Z] ---> ee9c0e429535 [2022-08-10T17:38:26.315Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-10T17:38:26.424Z] Still waiting to schedule task [2022-08-10T17:38:26.424Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-10T17:38:26.577Z] ---> Running in ed43b5473f23 [2022-08-10T17:38:26.577Z] Removing intermediate container ed43b5473f23 [2022-08-10T17:38:26.577Z] ---> 790f286779f4 [2022-08-10T17:38:26.577Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-10T17:38:26.838Z] ---> a9bfecc5a33b [2022-08-10T17:38:26.838Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-10T17:38:26.838Z] ---> Running in bd29956dcbaa [2022-08-10T17:38:44.949Z] Removing intermediate container bd29956dcbaa [2022-08-10T17:38:44.949Z] ---> f19cdce60d4d [2022-08-10T17:38:44.949Z] Step 12/13 : COPY . . [2022-08-10T17:38:44.949Z] ---> 7a792d35fea4 [2022-08-10T17:38:44.949Z] Step 13/13 : RUN ${MAKE} [2022-08-10T17:38:44.949Z] ---> Running in ed7a7696c21b [2022-08-10T17:38:44.949Z] noop [2022-08-10T17:38:44.949Z] Removing intermediate container ed7a7696c21b [2022-08-10T17:38:44.949Z] ---> 25f1b71dd866 [2022-08-10T17:38:44.949Z] Successfully built 25f1b71dd866 [2022-08-10T17:38:44.949Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T17:38:45.385Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-10T17:38:45.385Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-10T17:38:45.544Z] prd-ubuntu20.04-docker-8c-8g-22423 does not seem to be running inside a container [2022-08-10T17:38:45.584Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-130 -v /w/workspace/undry_device-onvif-camera_PR-130:/w/workspace/undry_device-onvif-camera_PR-130:rw,z -v /w/workspace/undry_device-onvif-camera_PR-130@tmp:/w/workspace/undry_device-onvif-camera_PR-130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-10T17:38:46.001Z] $ docker top 824f6eca9d7d099257ef19edfbb73a2562df917a8fe336c2ff03bc591387fe50 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-10T17:38:46.407Z] + go version [2022-08-10T17:38:46.407Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-10T17:38:46.443Z] $ docker stop --time=1 824f6eca9d7d099257ef19edfbb73a2562df917a8fe336c2ff03bc591387fe50 [2022-08-10T17:38:47.768Z] $ docker rm -f 824f6eca9d7d099257ef19edfbb73a2562df917a8fe336c2ff03bc591387fe50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T17:38:48.425Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-10T17:38:48.425Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-10T17:38:48.575Z] prd-ubuntu20.04-docker-8c-8g-22423 does not seem to be running inside a container [2022-08-10T17:38:48.681Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-130 -v /w/workspace/undry_device-onvif-camera_PR-130:/w/workspace/undry_device-onvif-camera_PR-130:rw,z -v /w/workspace/undry_device-onvif-camera_PR-130@tmp:/w/workspace/undry_device-onvif-camera_PR-130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-10T17:38:49.067Z] $ docker top 08f265ece8a9328f152c6fac380f48eb5613f560e2bec1889c89b404ca28d45f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-10T17:38:49.500Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-130 [Pipeline] fileExists [Pipeline] sh [2022-08-10T17:38:49.860Z] + make test [2022-08-10T17:38:49.860Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-10T17:38:50.119Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-10T17:39:02.339Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-10T17:39:02.340Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.029s coverage: 10.6% of statements [2022-08-10T17:39:02.340Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-10T17:39:05.638Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.377s coverage: 13.8% of statements [2022-08-10T17:39:13.788Z] 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-08-10T17:39:13.788Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-10T17:39:16.329Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-10T17:39:16.329Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-10T17:39:16.329Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-10T17:39:16.363Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-10T17:39:16.398Z] $ docker stop --time=1 08f265ece8a9328f152c6fac380f48eb5613f560e2bec1889c89b404ca28d45f [2022-08-10T17:39:18.227Z] $ docker rm -f 08f265ece8a9328f152c6fac380f48eb5613f560e2bec1889c89b404ca28d45f [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-10T17:39:18.741Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-10T17:39:18.825Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-10T17:39:19.505Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-10T17:39:19.822Z] + ls -al . [2022-08-10T17:39:19.822Z] total 232 [2022-08-10T17:39:19.822Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 10 17:38 . [2022-08-10T17:39:19.822Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 17:37 .. [2022-08-10T17:39:19.822Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 17:39 .git [2022-08-10T17:39:19.822Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 17:37 .github [2022-08-10T17:39:19.822Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 10 17:37 .gitignore [2022-08-10T17:39:19.822Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 10 17:37 .golangci.yml [2022-08-10T17:39:19.822Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 10 17:38 .semver [2022-08-10T17:39:19.822Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 10 17:37 Attribution.txt [2022-08-10T17:39:19.822Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 10 17:37 CHANGELOG.md [2022-08-10T17:39:19.822Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 10 17:37 Dockerfile [2022-08-10T17:39:19.822Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 10 17:37 GOVERNANCE.md [2022-08-10T17:39:19.822Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 10 17:37 Jenkinsfile [2022-08-10T17:39:19.822Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 10 17:37 LICENSE [2022-08-10T17:39:19.822Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 10 17:37 Makefile [2022-08-10T17:39:19.822Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 10 17:37 OWNERS.md [2022-08-10T17:39:19.822Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 10 17:37 README.md [2022-08-10T17:39:19.822Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 10 17:38 VERSION [2022-08-10T17:39:19.822Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 17:37 bin [2022-08-10T17:39:19.822Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 17:37 cmd [2022-08-10T17:39:19.822Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 10 17:39 coverage.out [2022-08-10T17:39:19.822Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 10 17:37 doc [2022-08-10T17:39:19.822Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 10 17:37 go.mod [2022-08-10T17:39:19.822Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 10 17:37 go.sum [2022-08-10T17:39:19.822Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 17:37 internal [2022-08-10T17:39:19.822Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 17:37 snap [2022-08-10T17:39:19.822Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 10 17:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T17:39:20.213Z] + 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=92100646446235a3e652985d0d15702ea46b7061 --label arch=amd64 --label version=0.0.0 . [2022-08-10T17:39:20.213Z] Sending build context to Docker daemon 20.53MB [2022-08-10T17:39:20.213Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-10T17:39:20.213Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-10T17:39:20.213Z] ---> 25f1b71dd866 [2022-08-10T17:39:20.213Z] Step 3/26 : ARG MAKE="make build" [2022-08-10T17:39:20.474Z] ---> Running in 71c5319aeb47 [2022-08-10T17:39:20.474Z] Removing intermediate container 71c5319aeb47 [2022-08-10T17:39:20.474Z] ---> f1561940e635 [2022-08-10T17:39:20.474Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-10T17:39:20.474Z] ---> Running in d7a4e4eab3ce [2022-08-10T17:39:20.735Z] Removing intermediate container d7a4e4eab3ce [2022-08-10T17:39:20.735Z] ---> f4198d59acb8 [2022-08-10T17:39:20.735Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-10T17:39:20.735Z] ---> Running in d2d2a0aeca19 [2022-08-10T17:39:20.735Z] Removing intermediate container d2d2a0aeca19 [2022-08-10T17:39:20.735Z] ---> c61112c90ec2 [2022-08-10T17:39:20.735Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-10T17:39:20.735Z] ---> Running in 5b56159eb27c [2022-08-10T17:39:20.996Z] Removing intermediate container 5b56159eb27c [2022-08-10T17:39:20.996Z] ---> fa474e862eaf [2022-08-10T17:39:20.996Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-10T17:39:20.996Z] ---> Running in d43b00e3cc71 [2022-08-10T17:39:21.566Z] Removing intermediate container d43b00e3cc71 [2022-08-10T17:39:21.566Z] ---> 612d2955e6aa [2022-08-10T17:39:21.566Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-10T17:39:21.566Z] ---> Running in b1402e359243 [2022-08-10T17:39:21.827Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-10T17:39:22.771Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-10T17:39:23.033Z] OK: 211 MiB in 51 packages [2022-08-10T17:39:23.296Z] Removing intermediate container b1402e359243 [2022-08-10T17:39:23.296Z] ---> 3bcd12df866f [2022-08-10T17:39:23.296Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-10T17:39:23.560Z] ---> Running in ab697e9d8d19 [2022-08-10T17:39:23.560Z] Removing intermediate container ab697e9d8d19 [2022-08-10T17:39:23.560Z] ---> 8b01932484a7 [2022-08-10T17:39:23.560Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-10T17:39:23.560Z] ---> 9d472e80ced5 [2022-08-10T17:39:23.560Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-10T17:39:23.822Z] ---> Running in 9a37f9ca975e [2022-08-10T17:39:24.394Z] Removing intermediate container 9a37f9ca975e [2022-08-10T17:39:24.394Z] ---> 0e110c4e6390 [2022-08-10T17:39:24.394Z] Step 12/26 : COPY . . [2022-08-10T17:39:24.963Z] ---> 5a1d1a60597e [2022-08-10T17:39:24.963Z] Step 13/26 : RUN ${MAKE} [2022-08-10T17:39:24.963Z] ---> Running in 6e39cc101d9e [2022-08-10T17:39:25.532Z] CGO_ENABLED=1 GO111MODULE=on go build -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.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-10T17:39:47.501Z] Removing intermediate container 6e39cc101d9e [2022-08-10T17:39:47.501Z] ---> cac647247bd8 [2022-08-10T17:39:47.501Z] Step 14/26 : FROM alpine:3.16 [2022-08-10T17:39:47.501Z] 3.16: Pulling from library/alpine [2022-08-10T17:39:47.501Z] 213ec9aee27d: Pulling fs layer [2022-08-10T17:39:47.502Z] 213ec9aee27d: Verifying Checksum [2022-08-10T17:39:47.502Z] 213ec9aee27d: Download complete [2022-08-10T17:39:47.502Z] 213ec9aee27d: Pull complete [2022-08-10T17:39:47.502Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-10T17:39:47.502Z] Status: Downloaded newer image for alpine:3.16 [2022-08-10T17:39:47.502Z] ---> 9c6f07244728 [2022-08-10T17:39:47.502Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-10T17:39:47.502Z] ---> Running in b10ac6239650 [2022-08-10T17:39:47.502Z] Removing intermediate container b10ac6239650 [2022-08-10T17:39:47.502Z] ---> 5f04ecbdc319 [2022-08-10T17:39:47.502Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-10T17:39:47.761Z] ---> Running in f50159c50d6b [2022-08-10T17:39:48.020Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-10T17:39:48.020Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-10T17:39:48.283Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-10T17:39:48.283Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-10T17:39:48.283Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-10T17:39:48.283Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-10T17:39:48.283Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-10T17:39:48.283Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-10T17:39:48.283Z] Executing busybox-1.35.0-r17.trigger [2022-08-10T17:39:48.283Z] OK: 8 MiB in 20 packages [2022-08-10T17:39:48.560Z] Removing intermediate container f50159c50d6b [2022-08-10T17:39:48.560Z] ---> db395bbe9505 [2022-08-10T17:39:48.560Z] Step 17/26 : WORKDIR / [2022-08-10T17:39:48.819Z] ---> Running in faac23ada618 [2022-08-10T17:39:48.819Z] Removing intermediate container faac23ada618 [2022-08-10T17:39:48.819Z] ---> 2161c6144314 [2022-08-10T17:39:48.819Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-10T17:39:49.397Z] ---> 4cde8fa2377e [2022-08-10T17:39:49.397Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-10T17:39:49.656Z] ---> e83fa7d9e134 [2022-08-10T17:39:49.656Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-10T17:39:49.656Z] ---> b85e5554b7b6 [2022-08-10T17:39:49.656Z] Step 21/26 : EXPOSE 59984 [2022-08-10T17:39:49.656Z] ---> Running in 0a55204f018f [2022-08-10T17:39:49.916Z] Removing intermediate container 0a55204f018f [2022-08-10T17:39:49.916Z] ---> 024e694a13c2 [2022-08-10T17:39:49.916Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-10T17:39:49.916Z] ---> Running in b1980156c9bd [2022-08-10T17:39:49.916Z] Removing intermediate container b1980156c9bd [2022-08-10T17:39:49.916Z] ---> 5467ce8e95bd [2022-08-10T17:39:49.916Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-10T17:39:49.916Z] ---> Running in 9d56d889d54f [2022-08-10T17:39:50.178Z] Removing intermediate container 9d56d889d54f [2022-08-10T17:39:50.178Z] ---> ff633ac11722 [2022-08-10T17:39:50.178Z] Step 24/26 : LABEL arch=amd64 [2022-08-10T17:39:50.178Z] ---> Running in a14ed402e711 [2022-08-10T17:39:50.178Z] Removing intermediate container a14ed402e711 [2022-08-10T17:39:50.178Z] ---> 7186c9796919 [2022-08-10T17:39:50.178Z] Step 25/26 : LABEL git_sha=92100646446235a3e652985d0d15702ea46b7061 [2022-08-10T17:39:50.178Z] ---> Running in 874a9edcf9ed [2022-08-10T17:39:50.439Z] Removing intermediate container 874a9edcf9ed [2022-08-10T17:39:50.439Z] ---> c90bab18c4be [2022-08-10T17:39:50.439Z] Step 26/26 : LABEL version=0.0.0 [2022-08-10T17:39:50.439Z] ---> Running in 0c27a37c68b0 [2022-08-10T17:39:50.439Z] Removing intermediate container 0c27a37c68b0 [2022-08-10T17:39:50.439Z] ---> 950fb808180d [2022-08-10T17:39:50.439Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-10T17:39:50.439Z] Successfully built 950fb808180d [2022-08-10T17:39:50.439Z] 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-08-10T17:39:51.272Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-10T17:39:51.272Z] [2022-08-10T17:39:51.272Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T17:39:51.655Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-10T17:39:51.655Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-10T17:39:51.655Z] 5eb5b503b376: Pulling fs layer [2022-08-10T17:39:51.655Z] 5c69ac0246d0: Pulling fs layer [2022-08-10T17:39:51.655Z] ec43610c2a17: Pulling fs layer [2022-08-10T17:39:51.655Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-10T17:39:51.655Z] 33b1e0a273af: Pulling fs layer [2022-08-10T17:39:51.655Z] 5d3b04190fa2: Pulling fs layer [2022-08-10T17:39:51.655Z] 3a2ae6a8a46f: Waiting [2022-08-10T17:39:51.655Z] 33b1e0a273af: Waiting [2022-08-10T17:39:51.655Z] 2f39f015ded8: Pulling fs layer [2022-08-10T17:39:51.655Z] 5d3b04190fa2: Waiting [2022-08-10T17:39:51.655Z] 2f39f015ded8: Waiting [2022-08-10T17:39:51.655Z] 5c69ac0246d0: Verifying Checksum [2022-08-10T17:39:51.655Z] 5c69ac0246d0: Download complete [2022-08-10T17:39:51.655Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-10T17:39:51.655Z] 3a2ae6a8a46f: Download complete [2022-08-10T17:39:51.655Z] ec43610c2a17: Verifying Checksum [2022-08-10T17:39:51.655Z] ec43610c2a17: Download complete [2022-08-10T17:39:51.655Z] 33b1e0a273af: Verifying Checksum [2022-08-10T17:39:51.655Z] 33b1e0a273af: Download complete [2022-08-10T17:39:51.655Z] 5d3b04190fa2: Verifying Checksum [2022-08-10T17:39:51.655Z] 5d3b04190fa2: Download complete [2022-08-10T17:39:51.940Z] 5eb5b503b376: Download complete [2022-08-10T17:39:52.512Z] 2f39f015ded8: Verifying Checksum [2022-08-10T17:39:52.512Z] 2f39f015ded8: Download complete [2022-08-10T17:39:53.084Z] 5eb5b503b376: Pull complete [2022-08-10T17:39:53.344Z] 5c69ac0246d0: Pull complete [2022-08-10T17:39:53.603Z] ec43610c2a17: Pull complete [2022-08-10T17:39:53.862Z] 3a2ae6a8a46f: Pull complete [2022-08-10T17:39:54.121Z] 33b1e0a273af: Pull complete [2022-08-10T17:39:54.121Z] 5d3b04190fa2: Pull complete [2022-08-10T17:39:59.396Z] 2f39f015ded8: Pull complete [2022-08-10T17:39:59.396Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-10T17:39:59.396Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-10T17:39:59.396Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-10T17:39:59.622Z] prd-ubuntu20.04-docker-8c-8g-22423 does not seem to be running inside a container [2022-08-10T17:39:59.667Z] $ 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-130 -v /w/workspace/undry_device-onvif-camera_PR-130:/w/workspace/undry_device-onvif-camera_PR-130:rw,z -v /w/workspace/undry_device-onvif-camera_PR-130@tmp:/w/workspace/undry_device-onvif-camera_PR-130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-10T17:40:01.485Z] $ docker top 90f20929d157d8c60c1a675fa97f88177c98471a0bd5389d36bf320a2a4e3002 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-10T17:40:01.938Z] ---> job-cost.sh [2022-08-10T17:40:01.938Z] lf-activate-venv: SKIPPING [2022-08-10T17:40:01.938Z] INFO: No Stack... [2022-08-10T17:40:02.199Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-10T17:40:02.770Z] INFO: Archiving Costs [Pipeline] sh [2022-08-10T17:40:03.164Z] + cat /w/workspace/undry_device-onvif-camera_PR-130/archives/cost.csv [2022-08-10T17:40:03.164Z] + cut -d, -f6 [Pipeline] lock [2022-08-10T17:40:03.204Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-130-1-stack-cost] [2022-08-10T17:40:03.208Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-130-1-stack-cost] did not exist. Created. [2022-08-10T17:40:03.208Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-130-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-10T17:40:03.643Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-10T17:40:03.696Z] Stashed 1 file(s) [Pipeline] } [2022-08-10T17:40:03.717Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-130-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-10T17:40:03.804Z] $ docker stop --time=1 90f20929d157d8c60c1a675fa97f88177c98471a0bd5389d36bf320a2a4e3002 [2022-08-10T17:40:04.965Z] $ docker rm -f 90f20929d157d8c60c1a675fa97f88177c98471a0bd5389d36bf320a2a4e3002 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-10T17:40:07.428Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22424 in /w/workspace/undry_device-onvif-camera_PR-130 [Pipeline] { [Pipeline] ws [2022-08-10T17:40:07.466Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-08-10T17:40:07.570Z] Selected Git installation does not exist. Using Default [2022-08-10T17:40:07.570Z] The recommended git tool is: NONE [2022-08-10T17:40:14.238Z] using credential edgex-jenkins-ssh [2022-08-10T17:40:14.258Z] Cloning the remote Git repository [2022-08-10T17:40:14.386Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-10T17:40:14.512Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-08-10T17:40:14.647Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-10T17:40:14.648Z] > git --version # timeout=10 [2022-08-10T17:40:14.704Z] > git --version # 'git version 2.25.1' [2022-08-10T17:40:14.707Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-10T17:40:14.866Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-10T17:40:16.022Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-10T17:40:16.047Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-10T17:40:16.079Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-10T17:40:16.117Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-10T17:40:16.118Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-10T17:40:16.131Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/130/head:refs/remotes/origin/PR-130 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-10T17:40:16.612Z] Merging remotes/origin/main commit 9690a387ca2387b5643c1a6ebb388f5bbc0ad3b0 into PR head commit 92100646446235a3e652985d0d15702ea46b7061 [2022-08-10T17:40:16.973Z] Merge succeeded, producing 92100646446235a3e652985d0d15702ea46b7061 [2022-08-10T17:40:16.973Z] Checking out Revision 92100646446235a3e652985d0d15702ea46b7061 (PR-130) [2022-08-10T17:40:16.635Z] > git config core.sparsecheckout # timeout=10 [2022-08-10T17:40:16.655Z] > git checkout -f 92100646446235a3e652985d0d15702ea46b7061 # timeout=10 [2022-08-10T17:40:16.877Z] > git remote # timeout=10 [2022-08-10T17:40:16.895Z] > git config --get remote.origin.url # timeout=10 [2022-08-10T17:40:16.914Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-10T17:40:16.927Z] > git merge 9690a387ca2387b5643c1a6ebb388f5bbc0ad3b0 # timeout=10 [2022-08-10T17:40:16.959Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-10T17:40:16.983Z] > git config core.sparsecheckout # timeout=10 [2022-08-10T17:40:16.998Z] > git checkout -f 92100646446235a3e652985d0d15702ea46b7061 # timeout=10 [2022-08-10T17:40:21.387Z] Commit message: "docs: publish swagger files, update swagger readme" [2022-08-10T17:40:21.446Z] > git --version # timeout=10 [2022-08-10T17:40:21.459Z] > git --version # 'git version 2.25.1' [2022-08-10T17:40:21.476Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-10T17:40:22.580Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-10T17:40:22.580Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-10T17:40:22.580Z] Dload Upload Total Spent Left Speed [2022-08-10T17:40:22.580Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 71283 0 --:--:-- --:--:-- --:--:-- 71283 [Pipeline] sh [2022-08-10T17:40:23.419Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-10T17:40:23.775Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2022-08-10T17:40:23.775Z] [2022-08-10T17:40:23.775Z] { [2022-08-10T17:40:23.775Z] "registry-mirrors": [ [2022-08-10T17:40:23.775Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-10T17:40:23.775Z] ], [2022-08-10T17:40:23.775Z] "bip": "10.250.0.254/24", [2022-08-10T17:40:23.775Z] "hosts": [ [2022-08-10T17:40:23.775Z] "tcp://0.0.0.0:5555", [2022-08-10T17:40:23.775Z] "unix:///var/run/docker.sock" [2022-08-10T17:40:23.775Z] ], [2022-08-10T17:40:23.775Z] "mtu": 1458, [2022-08-10T17:40:23.775Z] "selinux-enabled": true, [2022-08-10T17:40:23.775Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-10T17:40:23.775Z] } [Pipeline] sh [2022-08-10T17:40:24.128Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-10T17:40:24.483Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-10T17:40:43.037Z] provisioning config files... [2022-08-10T17:40:43.062Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config1738471222893060298tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-10T17:40:43.460Z] ---> docker-login.sh [2022-08-10T17:40:43.460Z] nexus3.edgexfoundry.org:10001 [2022-08-10T17:40:44.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T17:40:44.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T17:40:44.329Z] Configure a credential helper to remove this warning. See [2022-08-10T17:40:44.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T17:40:44.329Z] [2022-08-10T17:40:44.329Z] Login Succeeded [2022-08-10T17:40:44.329Z] nexus3.edgexfoundry.org:10002 [2022-08-10T17:40:44.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T17:40:44.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T17:40:44.603Z] Configure a credential helper to remove this warning. See [2022-08-10T17:40:44.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T17:40:44.603Z] [2022-08-10T17:40:44.603Z] Login Succeeded [2022-08-10T17:40:44.603Z] nexus3.edgexfoundry.org:10003 [2022-08-10T17:40:45.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T17:40:45.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T17:40:45.206Z] Configure a credential helper to remove this warning. See [2022-08-10T17:40:45.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T17:40:45.206Z] [2022-08-10T17:40:45.206Z] Login Succeeded [2022-08-10T17:40:45.206Z] nexus3.edgexfoundry.org:10004 [2022-08-10T17:40:45.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T17:40:45.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T17:40:45.758Z] Configure a credential helper to remove this warning. See [2022-08-10T17:40:45.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T17:40:45.758Z] [2022-08-10T17:40:45.758Z] Login Succeeded [2022-08-10T17:40:45.758Z] docker.io [2022-08-10T17:40:46.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T17:40:46.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T17:40:46.305Z] Configure a credential helper to remove this warning. See [2022-08-10T17:40:46.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T17:40:46.305Z] [2022-08-10T17:40:46.305Z] Login Succeeded [2022-08-10T17:40:46.305Z] ---> docker-login.sh ends [Pipeline] } [2022-08-10T17:40:46.336Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-10T17:40:46.708Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-10T17:40:46.745Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-10T17:40:46.782Z] ========================================================= [2022-08-10T17:40:46.782Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-10T17:40:46.782Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T17:40:47.281Z] + 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-08-10T17:40:47.889Z] Sending build context to Docker daemon 14.01MB [2022-08-10T17:40:47.889Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-10T17:40:47.889Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-10T17:40:47.889Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-10T17:40:47.889Z] b3c136eddcbf: Pulling fs layer [2022-08-10T17:40:47.889Z] c0a3192eca97: Pulling fs layer [2022-08-10T17:40:47.889Z] a050256f5b6f: Pulling fs layer [2022-08-10T17:40:47.889Z] 656be50a0ddc: Pulling fs layer [2022-08-10T17:40:47.889Z] 2bbca73fdf42: Pulling fs layer [2022-08-10T17:40:47.889Z] 46d945488cbd: Pulling fs layer [2022-08-10T17:40:47.889Z] 8a5474983e97: Pulling fs layer [2022-08-10T17:40:47.889Z] 329c88fbcd65: Pulling fs layer [2022-08-10T17:40:47.889Z] 46d945488cbd: Waiting [2022-08-10T17:40:47.889Z] 8a5474983e97: Waiting [2022-08-10T17:40:47.889Z] 329c88fbcd65: Waiting [2022-08-10T17:40:47.889Z] 656be50a0ddc: Waiting [2022-08-10T17:40:47.889Z] 2bbca73fdf42: Waiting [2022-08-10T17:40:47.889Z] a050256f5b6f: Verifying Checksum [2022-08-10T17:40:47.889Z] a050256f5b6f: Download complete [2022-08-10T17:40:48.168Z] c0a3192eca97: Verifying Checksum [2022-08-10T17:40:48.168Z] c0a3192eca97: Download complete [2022-08-10T17:40:48.168Z] 2bbca73fdf42: Verifying Checksum [2022-08-10T17:40:48.168Z] 2bbca73fdf42: Download complete [2022-08-10T17:40:48.168Z] b3c136eddcbf: Verifying Checksum [2022-08-10T17:40:48.168Z] b3c136eddcbf: Download complete [2022-08-10T17:40:48.168Z] 46d945488cbd: Download complete [2022-08-10T17:40:49.169Z] b3c136eddcbf: Pull complete [2022-08-10T17:40:49.169Z] 329c88fbcd65: Verifying Checksum [2022-08-10T17:40:49.169Z] 329c88fbcd65: Download complete [2022-08-10T17:40:49.449Z] c0a3192eca97: Pull complete [2022-08-10T17:40:50.051Z] a050256f5b6f: Pull complete [2022-08-10T17:40:50.327Z] 8a5474983e97: Verifying Checksum [2022-08-10T17:40:50.327Z] 8a5474983e97: Download complete [2022-08-10T17:40:50.926Z] 656be50a0ddc: Verifying Checksum [2022-08-10T17:40:50.926Z] 656be50a0ddc: Download complete [2022-08-10T17:41:06.023Z] 656be50a0ddc: Pull complete [2022-08-10T17:41:06.023Z] 2bbca73fdf42: Pull complete [2022-08-10T17:41:06.023Z] 46d945488cbd: Pull complete [2022-08-10T17:41:10.333Z] 8a5474983e97: Pull complete [2022-08-10T17:41:12.321Z] 329c88fbcd65: Pull complete [2022-08-10T17:41:12.321Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-10T17:41:12.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-10T17:41:12.321Z] ---> ff4287adb874 [2022-08-10T17:41:12.321Z] Step 3/13 : ARG MAKE="make build" [2022-08-10T17:41:14.335Z] ---> Running in a2e11ee4d98d [2022-08-10T17:41:14.335Z] Removing intermediate container a2e11ee4d98d [2022-08-10T17:41:14.335Z] ---> 854086a3f16f [2022-08-10T17:41:14.335Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-10T17:41:14.335Z] ---> Running in 9c0c294f954f [2022-08-10T17:41:14.614Z] Removing intermediate container 9c0c294f954f [2022-08-10T17:41:14.614Z] ---> d307a6fd371e [2022-08-10T17:41:14.615Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-10T17:41:14.894Z] ---> Running in 751a2dfebb2a [2022-08-10T17:41:15.169Z] Removing intermediate container 751a2dfebb2a [2022-08-10T17:41:15.169Z] ---> 9dcf3afb852f [2022-08-10T17:41:15.169Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-10T17:41:15.169Z] ---> Running in 7a1b26320a36 [2022-08-10T17:41:15.446Z] Removing intermediate container 7a1b26320a36 [2022-08-10T17:41:15.447Z] ---> 5c91a21eac31 [2022-08-10T17:41:15.447Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-10T17:41:15.719Z] ---> Running in 4f68598e6741 [2022-08-10T17:41:18.335Z] Removing intermediate container 4f68598e6741 [2022-08-10T17:41:18.335Z] ---> 5cd2ffb052ac [2022-08-10T17:41:18.335Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-10T17:41:18.335Z] ---> Running in 57b186fad6ed [2022-08-10T17:41:19.329Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-10T17:41:20.310Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-10T17:41:21.290Z] OK: 221 MiB in 51 packages [2022-08-10T17:41:21.884Z] Removing intermediate container 57b186fad6ed [2022-08-10T17:41:21.884Z] ---> 66804a0afb43 [2022-08-10T17:41:21.884Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-10T17:41:22.162Z] ---> Running in 3048ee81a073 [2022-08-10T17:41:22.435Z] Removing intermediate container 3048ee81a073 [2022-08-10T17:41:22.435Z] ---> 4a9868bcf866 [2022-08-10T17:41:22.435Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-10T17:41:23.047Z] ---> 4359d94723d4 [2022-08-10T17:41:23.047Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-10T17:41:23.047Z] ---> Running in 833d12bd0a0f [2022-08-10T17:42:19.588Z] Removing intermediate container 833d12bd0a0f [2022-08-10T17:42:19.588Z] ---> 9c8001a241e7 [2022-08-10T17:42:19.588Z] Step 12/13 : COPY . . [2022-08-10T17:42:19.588Z] ---> d6bc2e77a8cd [2022-08-10T17:42:19.588Z] Step 13/13 : RUN ${MAKE} [2022-08-10T17:42:19.588Z] ---> Running in 0b07c8e7c7a2 [2022-08-10T17:42:19.588Z] noop [2022-08-10T17:42:19.588Z] Removing intermediate container 0b07c8e7c7a2 [2022-08-10T17:42:19.588Z] ---> 79b786cd6fc1 [2022-08-10T17:42:19.588Z] Successfully built 79b786cd6fc1 [2022-08-10T17:42:19.588Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T17:42:20.074Z] + docker inspect -f . ci-base-image-arm64 [2022-08-10T17:42:20.074Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-10T17:42:20.393Z] prd-ubuntu20.04-docker-arm64-4c-16g-22424 does not seem to be running inside a container [2022-08-10T17:42:20.475Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-10T17:42:21.724Z] $ docker top 874be9887cefcb34bd84c03217cf7f99aa09ab452bd3db5999fd6dfefcef4a0a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-10T17:42:22.661Z] + go version [2022-08-10T17:42:22.661Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-10T17:42:22.698Z] $ docker stop --time=1 874be9887cefcb34bd84c03217cf7f99aa09ab452bd3db5999fd6dfefcef4a0a [2022-08-10T17:42:24.319Z] $ docker rm -f 874be9887cefcb34bd84c03217cf7f99aa09ab452bd3db5999fd6dfefcef4a0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T17:42:25.220Z] + docker inspect -f . ci-base-image-arm64 [2022-08-10T17:42:25.220Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-10T17:42:25.533Z] prd-ubuntu20.04-docker-arm64-4c-16g-22424 does not seem to be running inside a container [2022-08-10T17:42:25.615Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-10T17:42:26.885Z] $ docker top 2bd00770975f10742f2aa674c390c62a700e877db24ed34beb61baffb8d05ab5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-10T17:42:27.827Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-08-10T17:42:28.556Z] + make test [2022-08-10T17:42:28.556Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-10T17:42:29.999Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-10T17:43:51.847Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-10T17:43:58.597Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.117s coverage: 10.6% of statements [2022-08-10T17:43:58.597Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-10T17:44:25.422Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.738s coverage: 13.8% of statements [2022-08-10T17:44:25.422Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-10T17:44:25.422Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-10T17:44:43.765Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-10T17:44:43.765Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-10T17:44:43.765Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-10T17:44:43.808Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-10T17:44:43.844Z] $ docker stop --time=1 2bd00770975f10742f2aa674c390c62a700e877db24ed34beb61baffb8d05ab5 [2022-08-10T17:44:45.621Z] $ docker rm -f 2bd00770975f10742f2aa674c390c62a700e877db24ed34beb61baffb8d05ab5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-10T17:44:46.673Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-10T17:44:46.710Z] Warning: overwriting stash ‘coverage-report’ [2022-08-10T17:44:47.236Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-10T17:44:47.839Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-10T17:44:48.197Z] + ls -al . [2022-08-10T17:44:48.197Z] total 228 [2022-08-10T17:44:48.197Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 10 17:42 . [2022-08-10T17:44:48.197Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 17:40 .. [2022-08-10T17:44:48.197Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 17:40 .git [2022-08-10T17:44:48.197Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 17:40 .github [2022-08-10T17:44:48.197Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 10 17:40 .gitignore [2022-08-10T17:44:48.197Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 10 17:40 .golangci.yml [2022-08-10T17:44:48.197Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 10 17:40 Attribution.txt [2022-08-10T17:44:48.197Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 10 17:40 CHANGELOG.md [2022-08-10T17:44:48.197Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 10 17:40 Dockerfile [2022-08-10T17:44:48.197Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 10 17:40 GOVERNANCE.md [2022-08-10T17:44:48.197Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 10 17:40 Jenkinsfile [2022-08-10T17:44:48.197Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 10 17:40 LICENSE [2022-08-10T17:44:48.197Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 10 17:40 Makefile [2022-08-10T17:44:48.197Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 10 17:40 OWNERS.md [2022-08-10T17:44:48.197Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 10 17:40 README.md [2022-08-10T17:44:48.197Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 10 17:38 VERSION [2022-08-10T17:44:48.197Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 17:40 bin [2022-08-10T17:44:48.197Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 17:40 cmd [2022-08-10T17:44:48.197Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 10 17:44 coverage.out [2022-08-10T17:44:48.197Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 10 17:40 doc [2022-08-10T17:44:48.197Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 10 17:40 go.mod [2022-08-10T17:44:48.197Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 10 17:40 go.sum [2022-08-10T17:44:48.197Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 17:40 internal [2022-08-10T17:44:48.197Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 17:40 snap [2022-08-10T17:44:48.197Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 10 17:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T17:44:48.629Z] + 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=92100646446235a3e652985d0d15702ea46b7061 --label arch=arm64 --label version=0.0.0 . [2022-08-10T17:44:49.229Z] Sending build context to Docker daemon 14.08MB [2022-08-10T17:44:49.229Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-10T17:44:49.229Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-10T17:44:49.229Z] ---> 79b786cd6fc1 [2022-08-10T17:44:49.229Z] Step 3/26 : ARG MAKE="make build" [2022-08-10T17:44:49.229Z] ---> Running in effda98e84bd [2022-08-10T17:44:49.508Z] Removing intermediate container effda98e84bd [2022-08-10T17:44:49.508Z] ---> b9c566f2d72a [2022-08-10T17:44:49.508Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-10T17:44:49.782Z] ---> Running in b80702338f54 [2022-08-10T17:44:50.055Z] Removing intermediate container b80702338f54 [2022-08-10T17:44:50.055Z] ---> f450aeafe323 [2022-08-10T17:44:50.055Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-10T17:44:50.055Z] ---> Running in a88a716222da [2022-08-10T17:44:50.337Z] Removing intermediate container a88a716222da [2022-08-10T17:44:50.337Z] ---> 7cd1b00d9c7c [2022-08-10T17:44:50.337Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-10T17:44:50.337Z] ---> Running in ad44a5e4c1f6 [2022-08-10T17:44:50.617Z] Removing intermediate container ad44a5e4c1f6 [2022-08-10T17:44:50.617Z] ---> 0055972d301a [2022-08-10T17:44:50.617Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-10T17:44:50.896Z] ---> Running in bd54b31f47d5 [2022-08-10T17:44:52.345Z] Removing intermediate container bd54b31f47d5 [2022-08-10T17:44:52.345Z] ---> 62e8d00e4275 [2022-08-10T17:44:52.345Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-10T17:44:52.345Z] ---> Running in ff8eb73c0dc1 [2022-08-10T17:44:53.782Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-10T17:44:54.382Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-10T17:44:55.368Z] OK: 221 MiB in 51 packages [2022-08-10T17:44:55.974Z] Removing intermediate container ff8eb73c0dc1 [2022-08-10T17:44:55.974Z] ---> 7b7e86a0a39a [2022-08-10T17:44:55.974Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-10T17:44:55.974Z] ---> Running in ed09b837d1fd [2022-08-10T17:44:56.576Z] Removing intermediate container ed09b837d1fd [2022-08-10T17:44:56.576Z] ---> 95d9e322292c [2022-08-10T17:44:56.576Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-10T17:44:56.851Z] ---> dae095cbb72a [2022-08-10T17:44:56.851Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-10T17:44:57.138Z] ---> Running in 20b85a80f215 [2022-08-10T17:44:59.119Z] Removing intermediate container 20b85a80f215 [2022-08-10T17:44:59.119Z] ---> e77bb8bdf97d [2022-08-10T17:44:59.119Z] Step 12/26 : COPY . . [2022-08-10T17:45:00.563Z] ---> 22d98912d7ac [2022-08-10T17:45:00.563Z] Step 13/26 : RUN ${MAKE} [2022-08-10T17:45:00.563Z] ---> Running in 6e15523d1557 [2022-08-10T17:45:01.556Z] CGO_ENABLED=1 GO111MODULE=on go build -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.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-10T17:47:08.447Z] Removing intermediate container 6e15523d1557 [2022-08-10T17:47:08.447Z] ---> 1d99e4dfb1e2 [2022-08-10T17:47:08.447Z] Step 14/26 : FROM alpine:3.16 [2022-08-10T17:47:08.447Z] 3.16: Pulling from library/alpine [2022-08-10T17:47:08.721Z] 9b18e9b68314: Pulling fs layer [2022-08-10T17:47:08.721Z] 9b18e9b68314: Download complete [2022-08-10T17:47:09.324Z] 9b18e9b68314: Pull complete [2022-08-10T17:47:09.324Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-10T17:47:09.324Z] Status: Downloaded newer image for alpine:3.16 [2022-08-10T17:47:09.324Z] ---> a6215f271958 [2022-08-10T17:47:09.324Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-10T17:47:09.601Z] ---> Running in c6443778b9ac [2022-08-10T17:47:09.879Z] Removing intermediate container c6443778b9ac [2022-08-10T17:47:09.879Z] ---> 36f11b5ef06e [2022-08-10T17:47:09.879Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-10T17:47:09.879Z] ---> Running in 56012b9181b6 [2022-08-10T17:47:10.868Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-10T17:47:11.142Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-10T17:47:12.128Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-10T17:47:12.128Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-10T17:47:12.128Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-10T17:47:12.128Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-10T17:47:12.128Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-10T17:47:12.128Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-10T17:47:12.128Z] Executing busybox-1.35.0-r17.trigger [2022-08-10T17:47:12.128Z] OK: 8 MiB in 20 packages [2022-08-10T17:47:13.115Z] Removing intermediate container 56012b9181b6 [2022-08-10T17:47:13.115Z] ---> a54719a838fd [2022-08-10T17:47:13.115Z] Step 17/26 : WORKDIR / [2022-08-10T17:47:13.115Z] ---> Running in 32b258026fde [2022-08-10T17:47:13.389Z] Removing intermediate container 32b258026fde [2022-08-10T17:47:13.389Z] ---> ae4578c2e19d [2022-08-10T17:47:13.389Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-10T17:47:14.833Z] ---> 31de1cf84413 [2022-08-10T17:47:14.833Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-10T17:47:15.432Z] ---> 8b834edef90a [2022-08-10T17:47:15.432Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-10T17:47:16.031Z] ---> 223f43544c04 [2022-08-10T17:47:16.031Z] Step 21/26 : EXPOSE 59984 [2022-08-10T17:47:16.031Z] ---> Running in 941b2b3bcae6 [2022-08-10T17:47:16.314Z] Removing intermediate container 941b2b3bcae6 [2022-08-10T17:47:16.314Z] ---> d402e6e5ba4d [2022-08-10T17:47:16.314Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-10T17:47:16.589Z] ---> Running in ec4a8ac09bbe [2022-08-10T17:47:16.863Z] Removing intermediate container ec4a8ac09bbe [2022-08-10T17:47:16.863Z] ---> 3146a96ce43f [2022-08-10T17:47:16.863Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-10T17:47:16.863Z] ---> Running in 64af72ab95c9 [2022-08-10T17:47:17.139Z] Removing intermediate container 64af72ab95c9 [2022-08-10T17:47:17.139Z] ---> 1e17a7dd692a [2022-08-10T17:47:17.139Z] Step 24/26 : LABEL arch=arm64 [2022-08-10T17:47:17.139Z] ---> Running in 22483d86fb74 [2022-08-10T17:47:17.420Z] Removing intermediate container 22483d86fb74 [2022-08-10T17:47:17.420Z] ---> ebbf786a61f8 [2022-08-10T17:47:17.420Z] Step 25/26 : LABEL git_sha=92100646446235a3e652985d0d15702ea46b7061 [2022-08-10T17:47:17.694Z] ---> Running in c86ec49cd79d [2022-08-10T17:47:17.970Z] Removing intermediate container c86ec49cd79d [2022-08-10T17:47:17.970Z] ---> 580f4f950edc [2022-08-10T17:47:17.970Z] Step 26/26 : LABEL version=0.0.0 [2022-08-10T17:47:17.970Z] ---> Running in cc8b48d47945 [2022-08-10T17:47:18.244Z] Removing intermediate container cc8b48d47945 [2022-08-10T17:47:18.244Z] ---> 15185a2635f4 [2022-08-10T17:47:18.244Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-10T17:47:18.244Z] Successfully built 15185a2635f4 [2022-08-10T17:47:18.244Z] 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-08-10T17:47:19.084Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-10T17:47:19.084Z] [2022-08-10T17:47:19.084Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T17:47:19.515Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-10T17:47:19.795Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-10T17:47:19.795Z] 8998bd30e6a1: Pulling fs layer [2022-08-10T17:47:19.795Z] 04944245beec: Pulling fs layer [2022-08-10T17:47:19.795Z] 699f458cf7ca: Pulling fs layer [2022-08-10T17:47:19.795Z] 765212b225bb: Pulling fs layer [2022-08-10T17:47:19.795Z] f23df028b6ca: Pulling fs layer [2022-08-10T17:47:19.795Z] d65c8cfc05b1: Pulling fs layer [2022-08-10T17:47:19.795Z] 2437ff75d9bd: Pulling fs layer [2022-08-10T17:47:19.795Z] 765212b225bb: Waiting [2022-08-10T17:47:19.795Z] f23df028b6ca: Waiting [2022-08-10T17:47:19.795Z] d65c8cfc05b1: Waiting [2022-08-10T17:47:19.795Z] 2437ff75d9bd: Waiting [2022-08-10T17:47:19.795Z] 04944245beec: Verifying Checksum [2022-08-10T17:47:19.795Z] 04944245beec: Download complete [2022-08-10T17:47:19.795Z] 765212b225bb: Verifying Checksum [2022-08-10T17:47:19.795Z] 765212b225bb: Download complete [2022-08-10T17:47:19.795Z] f23df028b6ca: Verifying Checksum [2022-08-10T17:47:19.795Z] f23df028b6ca: Download complete [2022-08-10T17:47:19.795Z] d65c8cfc05b1: Verifying Checksum [2022-08-10T17:47:19.795Z] d65c8cfc05b1: Download complete [2022-08-10T17:47:20.074Z] 699f458cf7ca: Verifying Checksum [2022-08-10T17:47:20.074Z] 699f458cf7ca: Download complete [2022-08-10T17:47:20.350Z] 8998bd30e6a1: Verifying Checksum [2022-08-10T17:47:20.350Z] 8998bd30e6a1: Download complete [2022-08-10T17:47:22.341Z] 2437ff75d9bd: Verifying Checksum [2022-08-10T17:47:22.341Z] 2437ff75d9bd: Download complete [2022-08-10T17:47:24.979Z] 8998bd30e6a1: Pull complete [2022-08-10T17:47:25.255Z] 04944245beec: Pull complete [2022-08-10T17:47:26.697Z] 699f458cf7ca: Pull complete [2022-08-10T17:47:26.697Z] 765212b225bb: Pull complete [2022-08-10T17:47:27.684Z] f23df028b6ca: Pull complete [2022-08-10T17:47:27.956Z] d65c8cfc05b1: Pull complete [2022-08-10T17:47:43.088Z] 2437ff75d9bd: Pull complete [2022-08-10T17:47:43.088Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-10T17:47:43.088Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-10T17:47:43.088Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-10T17:47:43.492Z] prd-ubuntu20.04-docker-arm64-4c-16g-22424 does not seem to be running inside a container [2022-08-10T17:47:43.585Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-10T17:47:46.144Z] $ docker top 4bf7e40925f126266bcdf9b718adfff9f349d2b6eabd097e4e9c9754f2ff134e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-10T17:47:47.138Z] ---> job-cost.sh [2022-08-10T17:47:47.138Z] lf-activate-venv: SKIPPING [2022-08-10T17:47:47.138Z] INFO: No Stack... [2022-08-10T17:47:47.733Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-10T17:47:48.328Z] INFO: Archiving Costs [Pipeline] sh [2022-08-10T17:47:49.007Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-08-10T17:47:49.007Z] + cut -d, -f6 [Pipeline] lock [2022-08-10T17:47:49.095Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-130-1-stack-cost] [2022-08-10T17:47:49.100Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-130-1-stack-cost] did not exist. Created. [2022-08-10T17:47:49.100Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-130-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-10T17:47:49.858Z] /w/workspace/device-onvif-camera/1@tmp/durable-ab474fc5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-10T17:47:50.555Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-10T17:47:50.595Z] Warning: overwriting stash ‘stack-cost’ [2022-08-10T17:47:50.654Z] Stashed 1 file(s) [Pipeline] } [2022-08-10T17:47:50.669Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-130-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-10T17:47:50.751Z] $ docker stop --time=1 4bf7e40925f126266bcdf9b718adfff9f349d2b6eabd097e4e9c9754f2ff134e [2022-08-10T17:47:52.214Z] $ docker rm -f 4bf7e40925f126266bcdf9b718adfff9f349d2b6eabd097e4e9c9754f2ff134e [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-08-10T17:47:53.277Z] provisioning config files... [2022-08-10T17:47:53.286Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-130@tmp/config7346816097496494140tmp [Pipeline] { [Pipeline] sh [2022-08-10T17:47:53.628Z] + set +x [2022-08-10T17:47:53.628Z] + curl -s https://codecov.io/bash [2022-08-10T17:47:53.628Z] + bash -s -- [2022-08-10T17:47:53.628Z] [2022-08-10T17:47:53.628Z] _____ _ [2022-08-10T17:47:53.628Z] / ____| | | [2022-08-10T17:47:53.628Z] | | ___ __| | ___ ___ _____ __ [2022-08-10T17:47:53.628Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-10T17:47:53.628Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-10T17:47:53.628Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-10T17:47:53.628Z] Bash-1.0.6 [2022-08-10T17:47:53.628Z] [2022-08-10T17:47:53.628Z] [2022-08-10T17:47:53.628Z] ==> git version 2.25.1 found [2022-08-10T17:47:53.628Z] ==> 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-08-10T17:47:53.628Z] Release-Date: 2020-01-08 [2022-08-10T17:47:53.628Z] 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-08-10T17:47:53.628Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-10T17:47:53.628Z] ==> Jenkins CI detected. [2022-08-10T17:47:53.628Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-130 [2022-08-10T17:47:53.628Z] project root: . [2022-08-10T17:47:53.628Z] --> token set from env [2022-08-10T17:47:53.628Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-10T17:47:53.628Z] ==> Running gcov in . (disable via -X gcov) [2022-08-10T17:47:53.628Z] ==> Python coveragepy not found [2022-08-10T17:47:53.628Z] ==> Searching for coverage reports in: [2022-08-10T17:47:53.628Z] + . [2022-08-10T17:47:53.628Z] -> Found 1 reports [2022-08-10T17:47:53.628Z] ==> Detecting git/mercurial file structure [2022-08-10T17:47:53.628Z] ==> Reading reports [2022-08-10T17:47:53.628Z] + ./coverage.out bytes=76856 [2022-08-10T17:47:53.890Z] ==> Appending adjustments [2022-08-10T17:47:53.890Z] https://docs.codecov.io/docs/fixing-reports [2022-08-10T17:47:53.890Z] + Found adjustments [2022-08-10T17:47:53.890Z] ==> Gzipping contents [2022-08-10T17:47:53.890Z] 12K /tmp/codecov.TX9D7g.gz [2022-08-10T17:47:53.890Z] ==> Uploading reports [2022-08-10T17:47:53.890Z] url: https://codecov.io [2022-08-10T17:47:53.890Z] query: branch=PR-130&commit=92100646446235a3e652985d0d15702ea46b7061&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-130%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=130&job=&cmd_args= [2022-08-10T17:47:53.890Z] -> Pinging Codecov [2022-08-10T17:47:53.890Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-130&commit=92100646446235a3e652985d0d15702ea46b7061&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-130%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=130&job=&cmd_args= [2022-08-10T17:47:54.152Z] -> Uploading to [2022-08-10T17:47:54.152Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-10/F29A59C45E3A92E06B3E522C9905F8EF/92100646446235a3e652985d0d15702ea46b7061/b78208e0-1a84-463e-91d0-ec42c3f11428.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220810%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220810T174754Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0087f1124c51c9a0273dbadfa3adbd57f8ac16a0f396128021c262f4b587edf1 [2022-08-10T17:47:54.414Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-10T17:47:54.414Z] Dload Upload Total Spent Left Speed [2022-08-10T17:47:54.414Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10346 0 0 100 10346 0 43470 --:--:-- --:--:-- --:--:-- 43470 [2022-08-10T17:47:54.414Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/92100646446235a3e652985d0d15702ea46b7061 [Pipeline] } [2022-08-10T17:47:54.439Z] 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-08-10T17:47:56.202Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-130/archives ] [2022-08-10T17:47:56.202Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-130/archives [2022-08-10T17:47:56.202Z] total 16 [2022-08-10T17:47:56.202Z] drwxr-xr-x 3 root root 4096 Aug 10 17:40 . [2022-08-10T17:47:56.202Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 10 17:40 .. [2022-08-10T17:47:56.202Z] drwxr-xr-x 2 root root 4096 Aug 10 17:40 cost [2022-08-10T17:47:56.202Z] -rw-r--r-- 1 root root 91 Aug 10 17:40 cost.csv [2022-08-10T17:47:56.202Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-130/archives [2022-08-10T17:47:56.202Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-130/archives [2022-08-10T17:47:56.202Z] total 16 [2022-08-10T17:47:56.202Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 10 17:40 . [2022-08-10T17:47:56.202Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 10 17:40 .. [2022-08-10T17:47:56.202Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 10 17:40 cost [2022-08-10T17:47:56.202Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 10 17:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-10T17:47:56.532Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-10T17:47:57.431Z] ---> package-listing.sh [2022-08-10T17:47:57.431Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-10T17:47:57.431Z] ++ facter osfamily [2022-08-10T17:47:57.693Z] + OS_FAMILY=debian [2022-08-10T17:47:57.693Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-130 [2022-08-10T17:47:57.693Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-10T17:47:57.693Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-10T17:47:57.693Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-10T17:47:57.693Z] + PACKAGES=/tmp/packages_start.txt [2022-08-10T17:47:57.693Z] + '[' /w/workspace/undry_device-onvif-camera_PR-130 ']' [2022-08-10T17:47:57.693Z] + PACKAGES=/tmp/packages_end.txt [2022-08-10T17:47:57.693Z] + case "${OS_FAMILY}" in [2022-08-10T17:47:57.693Z] + dpkg -l [2022-08-10T17:47:57.693Z] + grep '^ii' [2022-08-10T17:47:57.693Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-10T17:47:57.693Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-10T17:47:57.693Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-10T17:47:57.693Z] + '[' /w/workspace/undry_device-onvif-camera_PR-130 ']' [2022-08-10T17:47:57.693Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-130/archives/ [2022-08-10T17:47:57.693Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-130/archives/ [Pipeline] echo [2022-08-10T17:47:57.731Z] 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-130/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-10T17:47:58.026Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T17:47:58.666Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-10T17:47:58.666Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-10T17:47:58.825Z] prd-ubuntu20.04-docker-8c-8g-22423 does not seem to be running inside a container [2022-08-10T17:47:58.874Z] $ 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-130/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-130 -v /w/workspace/undry_device-onvif-camera_PR-130:/w/workspace/undry_device-onvif-camera_PR-130:rw,z -v /w/workspace/undry_device-onvif-camera_PR-130@tmp:/w/workspace/undry_device-onvif-camera_PR-130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-10T17:47:59.095Z] $ docker top 236cd695e010ae2e72a90dadbf7b4afb98aab1f2d2a4a72fa45be634feaa261e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-10T17:47:59.496Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-10T17:47:59.809Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-10T17:48:00.124Z] + ls /var/log/sa-host [2022-08-10T17:48:00.124Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-10T17:48:00.337Z] provisioning config files... [2022-08-10T17:48:00.348Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-130@tmp/config7637342686645407405tmp [Pipeline] { [Pipeline] echo [2022-08-10T17:48:00.400Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-10T17:48:00.723Z] ---> create-netrc.sh [Pipeline] } [2022-08-10T17:48:00.754Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-10T17:48:01.181Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-10T17:48:01.214Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-10T17:48:01.546Z] ---> sudo-logs.sh [2022-08-10T17:48:01.546Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-10T17:48:01.628Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-10T17:48:01.944Z] ---> job-cost.sh [2022-08-10T17:48:01.944Z] lf-activate-venv: SKIPPING [2022-08-10T17:48:01.944Z] DEBUG: total: 0.2199999988079071 [2022-08-10T17:48:01.944Z] INFO: Retrieving Stack Cost... [2022-08-10T17:48:02.517Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-10T17:48:02.779Z] INFO: Archiving Costs [Pipeline] echo [2022-08-10T17:48:02.816Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-10T17:48:03.136Z] ---> logs-deploy.sh [2022-08-10T17:48:03.136Z] lf-activate-venv: SKIPPING [2022-08-10T17:48:03.136Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-130/1 [2022-08-10T17:48:03.136Z] INFO: archiving workspace using pattern(s): [2022-08-10T17:48:04.081Z] Archives upload complete. [2022-08-10T17:48:04.347Z] INFO: archiving logs to Nexus [2022-08-10T17:48:04.921Z] ---> uname -a: [2022-08-10T17:48:04.921Z] Linux prd-ubuntu20-04-docker-8c-8g-22423 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-08-10T17:48:04.921Z] [2022-08-10T17:48:04.921Z] [2022-08-10T17:48:04.921Z] ---> lscpu: [2022-08-10T17:48:04.921Z] Architecture: x86_64 [2022-08-10T17:48:04.921Z] CPU op-mode(s): 32-bit, 64-bit [2022-08-10T17:48:04.921Z] Byte Order: Little Endian [2022-08-10T17:48:04.921Z] Address sizes: 40 bits physical, 48 bits virtual [2022-08-10T17:48:04.921Z] CPU(s): 8 [2022-08-10T17:48:04.921Z] On-line CPU(s) list: 0-7 [2022-08-10T17:48:04.921Z] Thread(s) per core: 1 [2022-08-10T17:48:04.921Z] Core(s) per socket: 1 [2022-08-10T17:48:04.921Z] Socket(s): 8 [2022-08-10T17:48:04.921Z] NUMA node(s): 1 [2022-08-10T17:48:04.921Z] Vendor ID: AuthenticAMD [2022-08-10T17:48:04.921Z] CPU family: 23 [2022-08-10T17:48:04.921Z] Model: 49 [2022-08-10T17:48:04.921Z] Model name: AMD EPYC-Rome Processor [2022-08-10T17:48:04.921Z] Stepping: 0 [2022-08-10T17:48:04.921Z] CPU MHz: 2799.996 [2022-08-10T17:48:04.921Z] BogoMIPS: 5599.99 [2022-08-10T17:48:04.921Z] Virtualization: AMD-V [2022-08-10T17:48:04.921Z] Hypervisor vendor: KVM [2022-08-10T17:48:04.921Z] Virtualization type: full [2022-08-10T17:48:04.921Z] L1d cache: 256 KiB [2022-08-10T17:48:04.921Z] L1i cache: 256 KiB [2022-08-10T17:48:04.922Z] L2 cache: 4 MiB [2022-08-10T17:48:04.922Z] L3 cache: 128 MiB [2022-08-10T17:48:04.922Z] NUMA node0 CPU(s): 0-7 [2022-08-10T17:48:04.922Z] Vulnerability Itlb multihit: Not affected [2022-08-10T17:48:04.922Z] Vulnerability L1tf: Not affected [2022-08-10T17:48:04.922Z] Vulnerability Mds: Not affected [2022-08-10T17:48:04.922Z] Vulnerability Meltdown: Not affected [2022-08-10T17:48:04.922Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-08-10T17:48:04.922Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-08-10T17:48:04.922Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-08-10T17:48:04.922Z] Vulnerability Srbds: Not affected [2022-08-10T17:48:04.922Z] Vulnerability Tsx async abort: Not affected [2022-08-10T17:48:04.922Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-08-10T17:48:04.922Z] [2022-08-10T17:48:04.922Z] [2022-08-10T17:48:04.922Z] ---> nproc: [2022-08-10T17:48:04.922Z] 8 [2022-08-10T17:48:04.922Z] [2022-08-10T17:48:04.922Z]