Pull request #164 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 50a13ee558ba2efde0d9211aba0413d3406de588+93a2116a16fd236fe7cdb3fd99bdb7206e0b648a (b36dcb24cc6d84e5e23b42181ef5be8029832899) 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-ssh8312860616662261034.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15150006727127561611.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-164/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-164/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17769393831322904962.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-164/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6777309796732571998.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16470068405016429846.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-164/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-164/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13958911692524777622.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-1462 in /w/workspace/undry_device-onvif-camera_PR-164 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-164 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/164/head:refs/remotes/origin/PR-164 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a into PR head commit 50a13ee558ba2efde0d9211aba0413d3406de588 Merge succeeded, producing 50a13ee558ba2efde0d9211aba0413d3406de588 Checking out Revision 50a13ee558ba2efde0d9211aba0413d3406de588 (PR-164) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a13ee558ba2efde0d9211aba0413d3406de588 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 50a13ee558ba2efde0d9211aba0413d3406de588 # timeout=10 Commit message: "build: Add option to build Service with NATS Capability" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-27T23:56:53.653Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-27T23:56:53.821Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-27T23:56:53.924Z] ========================================================= [2022-09-27T23:56:53.924Z] EdgeX Global Pipelines Version Info [2022-09-27T23:56:53.924Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-27T23:56:54.652Z] ------------------- [2022-09-27T23:56:54.652Z] stable info: [2022-09-27T23:56:54.652Z] ------------------- [2022-09-27T23:56:54.652Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-27T23:56:54.652Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T23:56:54.652Z] Message: update stable to v1.0.239 [2022-09-27T23:56:55.220Z] ------------------- [2022-09-27T23:56:55.220Z] experimental info: [2022-09-27T23:56:55.220Z] ------------------- [2022-09-27T23:56:55.220Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-27T23:56:55.220Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T23:56:55.220Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-27T23:56:55.498Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-27T23:56:55.534Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-27T23:56:55.572Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-27T23:56:55.614Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-27T23:56:55.655Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-27T23:56:55.696Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-27T23:56:55.738Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-27T23:56:55.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-27T23:56:55.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-27T23:56:55.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-27T23:56:55.894Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-27T23:56:55.929Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-27T23:56:55.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-27T23:56:56.009Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-27T23:56:56.046Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T23:56:56.086Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T23:56:56.121Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T23:56:56.163Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T23:56:56.202Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-27T23:56:56.243Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-27T23:56:56.286Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-27T23:56:56.325Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-27T23:56:56.367Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-27T23:56:56.409Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-27T23:56:56.447Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-27T23:56:56.486Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-27T23:56:56.522Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-27T23:56:56.567Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-164 [Pipeline] echo [2022-09-27T23:56:56.607Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-164 [Pipeline] echo [2022-09-27T23:56:56.646Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-164 [Pipeline] echo [2022-09-27T23:56:56.689Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 50a13ee558ba2efde0d9211aba0413d3406de588 [Pipeline] echo [2022-09-27T23:56:56.728Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 50a13ee [Pipeline] echo [2022-09-27T23:56:56.766Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T23:56:56.878Z] provisioning config files... [2022-09-27T23:56:56.890Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-164@tmp/config15140451757949530378tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T23:56:57.231Z] ---> docker-login.sh [2022-09-27T23:56:57.231Z] nexus3.edgexfoundry.org:10001 [2022-09-27T23:56:57.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T23:56:57.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T23:56:57.755Z] Configure a credential helper to remove this warning. See [2022-09-27T23:56:57.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T23:56:57.755Z] [2022-09-27T23:56:57.755Z] Login Succeeded [2022-09-27T23:56:57.755Z] nexus3.edgexfoundry.org:10002 [2022-09-27T23:56:57.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T23:56:57.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T23:56:57.755Z] Configure a credential helper to remove this warning. See [2022-09-27T23:56:57.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T23:56:57.755Z] [2022-09-27T23:56:57.755Z] Login Succeeded [2022-09-27T23:56:57.755Z] nexus3.edgexfoundry.org:10003 [2022-09-27T23:56:57.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T23:56:58.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T23:56:58.016Z] Configure a credential helper to remove this warning. See [2022-09-27T23:56:58.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T23:56:58.016Z] [2022-09-27T23:56:58.016Z] Login Succeeded [2022-09-27T23:56:58.016Z] nexus3.edgexfoundry.org:10004 [2022-09-27T23:56:58.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T23:56:58.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T23:56:58.016Z] Configure a credential helper to remove this warning. See [2022-09-27T23:56:58.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T23:56:58.017Z] [2022-09-27T23:56:58.017Z] Login Succeeded [2022-09-27T23:56:58.017Z] docker.io [2022-09-27T23:56:58.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T23:56:58.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T23:56:58.278Z] Configure a credential helper to remove this warning. See [2022-09-27T23:56:58.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T23:56:58.278Z] [2022-09-27T23:56:58.278Z] Login Succeeded [2022-09-27T23:56:58.540Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T23:56:58.566Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-27T23:56:59.182Z] + git rev-list -1 --merges 50a13ee558ba2efde0d9211aba0413d3406de588~1..50a13ee558ba2efde0d9211aba0413d3406de588 [Pipeline] echo [2022-09-27T23:56:59.224Z] -----------> git rev-list -1 --merges 50a13ee558ba2efde0d9211aba0413d3406de588~1..50a13ee558ba2efde0d9211aba0413d3406de588 50a13ee558ba2efde0d9211aba0413d3406de588 [false] [Pipeline] sh [2022-09-27T23:56:59.532Z] + git log --format=format:%s -1 50a13ee558ba2efde0d9211aba0413d3406de588 [Pipeline] echo [2022-09-27T23:56:59.564Z] ========================================================= [2022-09-27T23:56:59.564Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-27T23:56:59.564Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T23:56:59.999Z] + git log --format=format:%s -1 50a13ee558ba2efde0d9211aba0413d3406de588 [Pipeline] echo [2022-09-27T23:57:00.029Z] [semverPrep] GIT_COMMIT: 50a13ee558ba2efde0d9211aba0413d3406de588, Commit Message: build: Add option to build Service with NATS Capability [Pipeline] echo [2022-09-27T23:57:00.058Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-27T23:57:00.450Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-27T23:57:00.450Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-27T23:57:00.450Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-27T23:57:00.450Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-27T23:57:00.450Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2022-09-27T23:57:00.450Z] tee -a /etc/ssh/ssh_known_hosts [2022-09-27T23:57:00.450Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T23:57:00.939Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T23:57:00.939Z] [2022-09-27T23:57:00.939Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T23:57:01.318Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T23:57:01.319Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-27T23:57:01.319Z] b85a868b505f: Pulling fs layer [2022-09-27T23:57:01.319Z] e2be974225ed: Pulling fs layer [2022-09-27T23:57:01.319Z] 339a4e72a1f5: Pulling fs layer [2022-09-27T23:57:01.319Z] 988bab9f4d93: Pulling fs layer [2022-09-27T23:57:01.319Z] 1469e6f7b9e6: Pulling fs layer [2022-09-27T23:57:01.319Z] eaf3925da568: Pulling fs layer [2022-09-27T23:57:01.319Z] bab4dde63d76: Pulling fs layer [2022-09-27T23:57:01.319Z] bde34c3a00c8: Pulling fs layer [2022-09-27T23:57:01.319Z] b352a97aabf1: Pulling fs layer [2022-09-27T23:57:01.319Z] 4872d77fe225: Pulling fs layer [2022-09-27T23:57:01.319Z] 5851b861e8e6: Pulling fs layer [2022-09-27T23:57:01.319Z] 988bab9f4d93: Waiting [2022-09-27T23:57:01.319Z] 1469e6f7b9e6: Waiting [2022-09-27T23:57:01.319Z] eaf3925da568: Waiting [2022-09-27T23:57:01.319Z] bab4dde63d76: Waiting [2022-09-27T23:57:01.319Z] 4872d77fe225: Waiting [2022-09-27T23:57:01.319Z] 5851b861e8e6: Waiting [2022-09-27T23:57:01.319Z] bde34c3a00c8: Waiting [2022-09-27T23:57:01.319Z] b352a97aabf1: Waiting [2022-09-27T23:57:01.319Z] e2be974225ed: Download complete [2022-09-27T23:57:01.319Z] 988bab9f4d93: Download complete [2022-09-27T23:57:01.579Z] 339a4e72a1f5: Verifying Checksum [2022-09-27T23:57:01.579Z] 339a4e72a1f5: Download complete [2022-09-27T23:57:01.579Z] 1469e6f7b9e6: Verifying Checksum [2022-09-27T23:57:01.579Z] 1469e6f7b9e6: Download complete [2022-09-27T23:57:01.579Z] eaf3925da568: Verifying Checksum [2022-09-27T23:57:01.579Z] eaf3925da568: Download complete [2022-09-27T23:57:01.579Z] bde34c3a00c8: Verifying Checksum [2022-09-27T23:57:01.579Z] bde34c3a00c8: Download complete [2022-09-27T23:57:01.579Z] b352a97aabf1: Verifying Checksum [2022-09-27T23:57:01.579Z] b352a97aabf1: Download complete [2022-09-27T23:57:01.579Z] 4872d77fe225: Verifying Checksum [2022-09-27T23:57:01.579Z] 4872d77fe225: Download complete [2022-09-27T23:57:01.579Z] 5851b861e8e6: Verifying Checksum [2022-09-27T23:57:01.579Z] 5851b861e8e6: Download complete [2022-09-27T23:57:01.579Z] b85a868b505f: Download complete [2022-09-27T23:57:01.837Z] bab4dde63d76: Verifying Checksum [2022-09-27T23:57:01.837Z] bab4dde63d76: Download complete [2022-09-27T23:57:02.821Z] b85a868b505f: Pull complete [2022-09-27T23:57:02.821Z] e2be974225ed: Pull complete [2022-09-27T23:57:03.390Z] 339a4e72a1f5: Pull complete [2022-09-27T23:57:03.390Z] 988bab9f4d93: Pull complete [2022-09-27T23:57:03.648Z] 1469e6f7b9e6: Pull complete [2022-09-27T23:57:03.906Z] eaf3925da568: Pull complete [2022-09-27T23:57:05.811Z] bab4dde63d76: Pull complete [2022-09-27T23:57:05.811Z] bde34c3a00c8: Pull complete [2022-09-27T23:57:05.811Z] b352a97aabf1: Pull complete [2022-09-27T23:57:05.811Z] 4872d77fe225: Pull complete [2022-09-27T23:57:05.811Z] 5851b861e8e6: Pull complete [2022-09-27T23:57:05.811Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-27T23:57:05.811Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T23:57:05.811Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T23:57:06.030Z] prd-ubuntu20.04-docker-8c-8g-1462 does not seem to be running inside a container [2022-09-27T23:57:06.065Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-164 -v /w/workspace/undry_device-onvif-camera_PR-164:/w/workspace/undry_device-onvif-camera_PR-164:rw,z -v /w/workspace/undry_device-onvif-camera_PR-164@tmp:/w/workspace/undry_device-onvif-camera_PR-164@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-09-27T23:57:07.240Z] $ docker top 0551c8e2e31737a80651f8d25c6efdbcf911e2fdf87928af7fcb050d8c5c673d -eo pid,comm [2022-09-27T23:57:07.297Z] 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-09-27T23:57:07.297Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-27T23:57:07.422Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T23:57:07.422Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T23:57:07.533Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T23:57:07.538Z] $ docker exec 0551c8e2e31737a80651f8d25c6efdbcf911e2fdf87928af7fcb050d8c5c673d ssh-agent [2022-09-27T23:57:07.648Z] SSH_AUTH_SOCK=/tmp/ssh-6DqNbJkPHbWy/agent.32 [2022-09-27T23:57:07.648Z] SSH_AGENT_PID=38 [2022-09-27T23:57:07.654Z] Running ssh-add (command line suppressed) [2022-09-27T23:57:07.760Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-164@tmp/private_key_2438497299178476091.key (/w/workspace/undry_device-onvif-camera_PR-164@tmp/private_key_2438497299178476091.key) [2022-09-27T23:57:07.772Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T23:57:08.098Z] + git tag --points-at HEAD [Pipeline] } [2022-09-27T23:57:08.128Z] $ docker exec --env ******** --env ******** 0551c8e2e31737a80651f8d25c6efdbcf911e2fdf87928af7fcb050d8c5c673d ssh-agent -k [2022-09-27T23:57:08.226Z] unset SSH_AUTH_SOCK; [2022-09-27T23:57:08.227Z] unset SSH_AGENT_PID; [2022-09-27T23:57:08.227Z] echo Agent pid 38 killed; [2022-09-27T23:57:08.234Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-27T23:57:08.328Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T23:57:08.328Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T23:57:08.442Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T23:57:08.447Z] $ docker exec 0551c8e2e31737a80651f8d25c6efdbcf911e2fdf87928af7fcb050d8c5c673d ssh-agent [2022-09-27T23:57:08.544Z] SSH_AUTH_SOCK=/tmp/ssh-SCeFH1SMBcbk/agent.70 [2022-09-27T23:57:08.544Z] SSH_AGENT_PID=77 [2022-09-27T23:57:08.549Z] Running ssh-add (command line suppressed) [2022-09-27T23:57:08.662Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-164@tmp/private_key_16287209359739430819.key (/w/workspace/undry_device-onvif-camera_PR-164@tmp/private_key_16287209359739430819.key) [2022-09-27T23:57:08.673Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T23:57:08.999Z] + git semver init [2022-09-27T23:57:09.258Z] 2022-09-27 23:57:09,169 [run_init] DEBUG init version:0.0.0 force:False [2022-09-27T23:57:09.258Z] 2022-09-27 23:57:09,170 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-164/.semver [2022-09-27T23:57:09.258Z] 2022-09-27 23:57:09,170 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-164/.semver [2022-09-27T23:57:09.258Z] 2022-09-27 23:57:09,171 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-164/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-164, universal_newlines=False, shell=None, istream=None) [2022-09-27T23:57:10.197Z] 2022-09-27 23:57:10,128 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-164/.git/info/exclude [2022-09-27T23:57:10.197Z] 2022-09-27 23:57:10,129 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-164/.semver/PR-164 with force:False [2022-09-27T23:57:10.197Z] 2022-09-27 23:57:10,129 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-164/.semver/PR-164 [2022-09-27T23:57:10.197Z] 2022-09-27 23:57:10,132 [execute] INFO git cat-file --batch-check [2022-09-27T23:57:10.197Z] 2022-09-27 23:57:10,133 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-164/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T23:57:10.197Z] 2022-09-27 23:57:10,139 [execute] INFO git cat-file --batch [2022-09-27T23:57:10.197Z] 2022-09-27 23:57:10,140 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-164/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T23:57:10.197Z] 2022-09-27 23:57:10,146 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-164/.semver/PR-164 [2022-09-27T23:57:10.197Z] 0.0.0 [Pipeline] } [2022-09-27T23:57:10.226Z] $ docker exec --env ******** --env ******** 0551c8e2e31737a80651f8d25c6efdbcf911e2fdf87928af7fcb050d8c5c673d ssh-agent -k [2022-09-27T23:57:10.333Z] unset SSH_AUTH_SOCK; [2022-09-27T23:57:10.333Z] unset SSH_AGENT_PID; [2022-09-27T23:57:10.333Z] echo Agent pid 77 killed; [2022-09-27T23:57:10.344Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-27T23:57:10.774Z] + git semver [Pipeline] } [2022-09-27T23:57:11.060Z] $ docker stop --time=1 0551c8e2e31737a80651f8d25c6efdbcf911e2fdf87928af7fcb050d8c5c673d [2022-09-27T23:57:12.365Z] $ docker rm -f 0551c8e2e31737a80651f8d25c6efdbcf911e2fdf87928af7fcb050d8c5c673d [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T23:57:12.768Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-27T23:57:13.004Z] Stashed 1 file(s) [Pipeline] echo [2022-09-27T23:57:13.020Z] [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-09-27T23:57:13.596Z] provisioning config files... [2022-09-27T23:57:13.607Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-164@tmp/config7854013622877840937tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T23:57:13.949Z] ---> docker-login.sh [2022-09-27T23:57:13.949Z] nexus3.edgexfoundry.org:10001 [2022-09-27T23:57:13.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T23:57:13.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T23:57:13.949Z] Configure a credential helper to remove this warning. See [2022-09-27T23:57:13.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T23:57:13.949Z] [2022-09-27T23:57:13.949Z] Login Succeeded [2022-09-27T23:57:13.949Z] nexus3.edgexfoundry.org:10002 [2022-09-27T23:57:13.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T23:57:13.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T23:57:13.949Z] Configure a credential helper to remove this warning. See [2022-09-27T23:57:13.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T23:57:13.949Z] [2022-09-27T23:57:13.949Z] Login Succeeded [2022-09-27T23:57:13.949Z] nexus3.edgexfoundry.org:10003 [2022-09-27T23:57:14.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T23:57:14.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T23:57:14.209Z] Configure a credential helper to remove this warning. See [2022-09-27T23:57:14.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T23:57:14.209Z] [2022-09-27T23:57:14.209Z] Login Succeeded [2022-09-27T23:57:14.209Z] nexus3.edgexfoundry.org:10004 [2022-09-27T23:57:14.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T23:57:14.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T23:57:14.209Z] Configure a credential helper to remove this warning. See [2022-09-27T23:57:14.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T23:57:14.209Z] [2022-09-27T23:57:14.209Z] Login Succeeded [2022-09-27T23:57:14.209Z] docker.io [2022-09-27T23:57:14.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T23:57:14.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T23:57:14.730Z] Configure a credential helper to remove this warning. See [2022-09-27T23:57:14.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T23:57:14.730Z] [2022-09-27T23:57:14.730Z] Login Succeeded [2022-09-27T23:57:14.730Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T23:57:14.759Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T23:57:14.957Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T23:57:14.993Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T23:57:15.025Z] ========================================================= [2022-09-27T23:57:15.025Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-27T23:57:15.025Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T23:57:15.503Z] + 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-09-27T23:57:15.503Z] Sending build context to Docker daemon 20.76MB [2022-09-27T23:57:15.503Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T23:57:15.503Z] Step 2/14 : FROM ${BASE} AS builder [2022-09-27T23:57:15.503Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-27T23:57:15.503Z] 2408cc74d12b: Pulling fs layer [2022-09-27T23:57:15.503Z] ea60b727a1ce: Pulling fs layer [2022-09-27T23:57:15.503Z] 30c4a7721957: Pulling fs layer [2022-09-27T23:57:15.503Z] 370296b7ddb6: Pulling fs layer [2022-09-27T23:57:15.503Z] 7c6cee850709: Pulling fs layer [2022-09-27T23:57:15.503Z] 39a5fcdaea64: Pulling fs layer [2022-09-27T23:57:15.503Z] d94ebbe4e438: Pulling fs layer [2022-09-27T23:57:15.503Z] bcfd1f05c69d: Pulling fs layer [2022-09-27T23:57:15.503Z] 59ccb84bbe0f: Pulling fs layer [2022-09-27T23:57:15.503Z] 39a5fcdaea64: Waiting [2022-09-27T23:57:15.503Z] 370296b7ddb6: Waiting [2022-09-27T23:57:15.503Z] 59ccb84bbe0f: Waiting [2022-09-27T23:57:15.503Z] 7c6cee850709: Waiting [2022-09-27T23:57:15.503Z] d94ebbe4e438: Waiting [2022-09-27T23:57:15.503Z] 30c4a7721957: Verifying Checksum [2022-09-27T23:57:15.503Z] 30c4a7721957: Download complete [2022-09-27T23:57:15.768Z] ea60b727a1ce: Verifying Checksum [2022-09-27T23:57:15.769Z] ea60b727a1ce: Download complete [2022-09-27T23:57:15.769Z] 7c6cee850709: Verifying Checksum [2022-09-27T23:57:15.769Z] 7c6cee850709: Download complete [2022-09-27T23:57:15.769Z] 39a5fcdaea64: Verifying Checksum [2022-09-27T23:57:15.769Z] 39a5fcdaea64: Download complete [2022-09-27T23:57:15.769Z] 2408cc74d12b: Verifying Checksum [2022-09-27T23:57:15.769Z] 2408cc74d12b: Download complete [2022-09-27T23:57:15.769Z] d94ebbe4e438: Download complete [2022-09-27T23:57:15.769Z] 2408cc74d12b: Pull complete [2022-09-27T23:57:16.050Z] ea60b727a1ce: Pull complete [2022-09-27T23:57:16.050Z] 30c4a7721957: Pull complete [2022-09-27T23:57:16.656Z] 59ccb84bbe0f: Verifying Checksum [2022-09-27T23:57:16.656Z] 59ccb84bbe0f: Download complete [2022-09-27T23:57:16.917Z] 370296b7ddb6: Verifying Checksum [2022-09-27T23:57:16.917Z] 370296b7ddb6: Download complete [2022-09-27T23:57:16.917Z] bcfd1f05c69d: Verifying Checksum [2022-09-27T23:57:21.108Z] 370296b7ddb6: Pull complete [2022-09-27T23:57:21.108Z] 7c6cee850709: Pull complete [2022-09-27T23:57:21.108Z] 39a5fcdaea64: Pull complete [2022-09-27T23:57:21.108Z] d94ebbe4e438: Pull complete [2022-09-27T23:57:22.483Z] bcfd1f05c69d: Pull complete [2022-09-27T23:57:23.414Z] 59ccb84bbe0f: Pull complete [2022-09-27T23:57:23.414Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-27T23:57:23.414Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-27T23:57:23.414Z] ---> a4fb48ad2a94 [2022-09-27T23:57:23.414Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-09-27T23:57:24.807Z] ---> Running in e41a369cf45c [2022-09-27T23:57:24.807Z] Removing intermediate container e41a369cf45c [2022-09-27T23:57:24.807Z] ---> 477e03b08256 [2022-09-27T23:57:24.807Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T23:57:24.807Z] ---> Running in d638dcc9b8d9 [2022-09-27T23:57:24.807Z] Removing intermediate container d638dcc9b8d9 [2022-09-27T23:57:24.807Z] ---> 445e103cb872 [2022-09-27T23:57:24.807Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T23:57:25.064Z] ---> Running in 371521bc946f [2022-09-27T23:57:25.064Z] Removing intermediate container 371521bc946f [2022-09-27T23:57:25.064Z] ---> 78a66363eeef [2022-09-27T23:57:25.064Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T23:57:25.064Z] ---> Running in dc0b96cb1501 [2022-09-27T23:57:25.323Z] Removing intermediate container dc0b96cb1501 [2022-09-27T23:57:25.323Z] ---> a216eb215bd0 [2022-09-27T23:57:25.323Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-09-27T23:57:25.323Z] ---> Running in be4603f1bb1b [2022-09-27T23:57:25.323Z] Removing intermediate container be4603f1bb1b [2022-09-27T23:57:25.323Z] ---> bfd894764820 [2022-09-27T23:57:25.323Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T23:57:25.323Z] ---> Running in 36f7cf08d468 [2022-09-27T23:57:25.890Z] Removing intermediate container 36f7cf08d468 [2022-09-27T23:57:25.890Z] ---> e3af55985db3 [2022-09-27T23:57:25.890Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T23:57:25.890Z] ---> Running in 7ab0e6e9bf4f [2022-09-27T23:57:26.150Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T23:57:27.087Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T23:57:27.346Z] OK: 211 MiB in 51 packages [2022-09-27T23:57:27.911Z] Removing intermediate container 7ab0e6e9bf4f [2022-09-27T23:57:27.911Z] ---> f14c73847e5b [2022-09-27T23:57:27.911Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-09-27T23:57:27.911Z] ---> Running in 86139e81b3bb [2022-09-27T23:57:27.911Z] Removing intermediate container 86139e81b3bb [2022-09-27T23:57:27.911Z] ---> c5041a032f48 [2022-09-27T23:57:27.911Z] Step 11/14 : COPY go.mod vendor* ./ [2022-09-27T23:57:28.175Z] ---> 4248c3166849 [2022-09-27T23:57:28.175Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T23:57:28.175Z] ---> Running in 95bd0acb6793 [2022-09-27T23:57:28.428Z] Still waiting to schedule task [2022-09-27T23:57:28.428Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-27T23:57:46.260Z] Removing intermediate container 95bd0acb6793 [2022-09-27T23:57:46.260Z] ---> 72b2cb584cf2 [2022-09-27T23:57:46.260Z] Step 13/14 : COPY . . [2022-09-27T23:57:46.260Z] ---> 58c683e4894c [2022-09-27T23:57:46.260Z] Step 14/14 : RUN ${MAKE} [2022-09-27T23:57:46.260Z] ---> Running in e622969c42a2 [2022-09-27T23:57:46.260Z] noop [2022-09-27T23:57:46.260Z] Removing intermediate container e622969c42a2 [2022-09-27T23:57:46.260Z] ---> ac11dbe24b84 [2022-09-27T23:57:46.260Z] Successfully built ac11dbe24b84 [2022-09-27T23:57:46.260Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T23:57:46.703Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T23:57:46.703Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T23:57:46.840Z] prd-ubuntu20.04-docker-8c-8g-1462 does not seem to be running inside a container [2022-09-27T23:57:46.869Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-164 -v /w/workspace/undry_device-onvif-camera_PR-164:/w/workspace/undry_device-onvif-camera_PR-164:rw,z -v /w/workspace/undry_device-onvif-camera_PR-164@tmp:/w/workspace/undry_device-onvif-camera_PR-164@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-09-27T23:57:47.215Z] $ docker top b64c00d90e46c0355ee015b70db26bfa9fc944598db5b0689b863a5900dd8f24 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T23:57:47.596Z] + go version [2022-09-27T23:57:47.596Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-27T23:57:47.633Z] $ docker stop --time=1 b64c00d90e46c0355ee015b70db26bfa9fc944598db5b0689b863a5900dd8f24 [2022-09-27T23:57:48.984Z] $ docker rm -f b64c00d90e46c0355ee015b70db26bfa9fc944598db5b0689b863a5900dd8f24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T23:57:49.686Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T23:57:49.686Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T23:57:49.826Z] prd-ubuntu20.04-docker-8c-8g-1462 does not seem to be running inside a container [2022-09-27T23:57:49.853Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-164 -v /w/workspace/undry_device-onvif-camera_PR-164:/w/workspace/undry_device-onvif-camera_PR-164:rw,z -v /w/workspace/undry_device-onvif-camera_PR-164@tmp:/w/workspace/undry_device-onvif-camera_PR-164@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-09-27T23:57:50.222Z] $ docker top 88990d36a421c5ad9e5eabdabebe86227fa4c1447923a220cd6faf8240c46d59 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T23:57:50.607Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-164 [Pipeline] fileExists [Pipeline] sh [2022-09-27T23:57:50.973Z] + make test [2022-09-27T23:57:50.973Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-27T23:57:51.230Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-27T23:58:01.197Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-27T23:58:01.761Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.028s coverage: 28.2% of statements [2022-09-27T23:58:01.761Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-27T23:58:02.326Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.208s coverage: 86.5% of statements [2022-09-27T23:58:08.882Z] 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-09-27T23:58:08.882Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-27T23:58:12.166Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T23:58:12.166Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T23:58:12.166Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-27T23:58:12.207Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T23:58:12.238Z] $ docker stop --time=1 88990d36a421c5ad9e5eabdabebe86227fa4c1447923a220cd6faf8240c46d59 [2022-09-27T23:58:13.911Z] $ docker rm -f 88990d36a421c5ad9e5eabdabebe86227fa4c1447923a220cd6faf8240c46d59 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T23:58:14.409Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T23:58:14.476Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-27T23:58:15.179Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T23:58:15.487Z] + ls -al . [2022-09-27T23:58:15.487Z] total 236 [2022-09-27T23:58:15.487Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 23:57 . [2022-09-27T23:58:15.487Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 23:56 .. [2022-09-27T23:58:15.487Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 23:58 .git [2022-09-27T23:58:15.487Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 23:56 .github [2022-09-27T23:58:15.487Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 27 23:56 .gitignore [2022-09-27T23:58:15.487Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 23:56 .golangci.yml [2022-09-27T23:58:15.487Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 23:57 .semver [2022-09-27T23:58:15.487Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 27 23:56 Attribution.txt [2022-09-27T23:58:15.487Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 27 23:56 CHANGELOG.md [2022-09-27T23:58:15.487Z] -rw-rw-r-- 1 jenkins jenkins 1726 Sep 27 23:56 Dockerfile [2022-09-27T23:58:15.487Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 23:56 GOVERNANCE.md [2022-09-27T23:58:15.487Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 27 23:56 Jenkinsfile [2022-09-27T23:58:15.487Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 27 23:56 LICENSE [2022-09-27T23:58:15.487Z] -rw-rw-r-- 1 jenkins jenkins 2858 Sep 27 23:56 Makefile [2022-09-27T23:58:15.487Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 27 23:56 OWNERS.md [2022-09-27T23:58:15.487Z] -rw-rw-r-- 1 jenkins jenkins 6460 Sep 27 23:56 README.md [2022-09-27T23:58:15.487Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 23:57 VERSION [2022-09-27T23:58:15.487Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 23:56 bin [2022-09-27T23:58:15.487Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 23:56 cmd [2022-09-27T23:58:15.487Z] -rw-r--r-- 1 jenkins jenkins 78461 Sep 27 23:58 coverage.out [2022-09-27T23:58:15.487Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 23:56 doc [2022-09-27T23:58:15.487Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 27 23:56 go.mod [2022-09-27T23:58:15.487Z] -rw-rw-r-- 1 jenkins jenkins 39691 Sep 27 23:56 go.sum [2022-09-27T23:58:15.487Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 23:56 internal [2022-09-27T23:58:15.487Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 23:56 snap [2022-09-27T23:58:15.487Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 27 23:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T23:58:15.879Z] + 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=50a13ee558ba2efde0d9211aba0413d3406de588 --label arch=amd64 --label version=0.0.0 . [2022-09-27T23:58:15.879Z] Sending build context to Docker daemon 20.84MB [2022-09-27T23:58:15.879Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T23:58:15.879Z] Step 2/27 : FROM ${BASE} AS builder [2022-09-27T23:58:15.879Z] ---> ac11dbe24b84 [2022-09-27T23:58:15.879Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-09-27T23:58:16.138Z] ---> Running in b03d73dec3d1 [2022-09-27T23:58:16.138Z] Removing intermediate container b03d73dec3d1 [2022-09-27T23:58:16.138Z] ---> c5e65eadb7d7 [2022-09-27T23:58:16.138Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T23:58:16.138Z] ---> Running in 95dbcbe9e730 [2022-09-27T23:58:16.138Z] Removing intermediate container 95dbcbe9e730 [2022-09-27T23:58:16.138Z] ---> 53cb7c5865d7 [2022-09-27T23:58:16.138Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T23:58:16.138Z] ---> Running in e777226c1cc9 [2022-09-27T23:58:16.396Z] Removing intermediate container e777226c1cc9 [2022-09-27T23:58:16.396Z] ---> 1f93d9e175b1 [2022-09-27T23:58:16.396Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T23:58:16.396Z] ---> Running in 7b1da31035a3 [2022-09-27T23:58:16.396Z] Removing intermediate container 7b1da31035a3 [2022-09-27T23:58:16.396Z] ---> 33fd976f3af5 [2022-09-27T23:58:16.396Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-09-27T23:58:16.396Z] ---> Running in da65e1746f5c [2022-09-27T23:58:16.656Z] Removing intermediate container da65e1746f5c [2022-09-27T23:58:16.656Z] ---> 9ecee240c617 [2022-09-27T23:58:16.656Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T23:58:16.656Z] ---> Running in ac336e1ec5d0 [2022-09-27T23:58:17.223Z] Removing intermediate container ac336e1ec5d0 [2022-09-27T23:58:17.223Z] ---> 577613110a80 [2022-09-27T23:58:17.223Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T23:58:17.223Z] ---> Running in b91717926828 [2022-09-27T23:58:17.481Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T23:58:18.417Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T23:58:18.675Z] OK: 211 MiB in 51 packages [2022-09-27T23:58:18.934Z] Removing intermediate container b91717926828 [2022-09-27T23:58:18.934Z] ---> ad450b21dc15 [2022-09-27T23:58:18.934Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-09-27T23:58:18.934Z] ---> Running in 46d815b57f24 [2022-09-27T23:58:18.934Z] Removing intermediate container 46d815b57f24 [2022-09-27T23:58:18.934Z] ---> f756de99702e [2022-09-27T23:58:18.934Z] Step 11/27 : COPY go.mod vendor* ./ [2022-09-27T23:58:19.192Z] ---> 13a38cf7aa96 [2022-09-27T23:58:19.193Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T23:58:19.193Z] ---> Running in 54b69da23bd5 [2022-09-27T23:58:19.759Z] Removing intermediate container 54b69da23bd5 [2022-09-27T23:58:19.759Z] ---> c2f8bc23ab26 [2022-09-27T23:58:19.759Z] Step 13/27 : COPY . . [2022-09-27T23:58:20.324Z] ---> 7c11c95be6c6 [2022-09-27T23:58:20.324Z] Step 14/27 : RUN ${MAKE} [2022-09-27T23:58:20.324Z] ---> Running in 31a8d307e0a5 [2022-09-27T23:58:20.582Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.28" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-27T23:58:42.499Z] Removing intermediate container 31a8d307e0a5 [2022-09-27T23:58:42.499Z] ---> 2f0e987375d9 [2022-09-27T23:58:42.499Z] Step 15/27 : FROM alpine:3.16 [2022-09-27T23:58:42.499Z] 3.16: Pulling from library/alpine [2022-09-27T23:58:42.499Z] 213ec9aee27d: Pulling fs layer [2022-09-27T23:58:42.499Z] 213ec9aee27d: Verifying Checksum [2022-09-27T23:58:42.499Z] 213ec9aee27d: Download complete [2022-09-27T23:58:42.499Z] 213ec9aee27d: Pull complete [2022-09-27T23:58:42.499Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T23:58:42.499Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T23:58:42.499Z] ---> 9c6f07244728 [2022-09-27T23:58:42.499Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-27T23:58:42.499Z] ---> Running in 5a9c6c806f4a [2022-09-27T23:58:42.499Z] Removing intermediate container 5a9c6c806f4a [2022-09-27T23:58:42.499Z] ---> de09cbd4996e [2022-09-27T23:58:42.499Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-27T23:58:42.499Z] ---> Running in 9314751539d6 [2022-09-27T23:58:42.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T23:58:42.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T23:58:42.760Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-27T23:58:43.021Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T23:58:43.021Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-27T23:58:43.021Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T23:58:43.021Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-27T23:58:43.021Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-27T23:58:43.021Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T23:58:43.021Z] OK: 8 MiB in 20 packages [2022-09-27T23:58:43.281Z] Removing intermediate container 9314751539d6 [2022-09-27T23:58:43.281Z] ---> 0e1084c71024 [2022-09-27T23:58:43.281Z] Step 18/27 : WORKDIR / [2022-09-27T23:58:43.541Z] ---> Running in bed1cffc9144 [2022-09-27T23:58:43.541Z] Removing intermediate container bed1cffc9144 [2022-09-27T23:58:43.541Z] ---> cebe09397376 [2022-09-27T23:58:43.541Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-27T23:58:44.108Z] ---> e0c765b93273 [2022-09-27T23:58:44.108Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-27T23:58:44.366Z] ---> 352f11e5240e [2022-09-27T23:58:44.366Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-27T23:58:44.366Z] ---> 702a483d8cd8 [2022-09-27T23:58:44.366Z] Step 22/27 : EXPOSE 59984 [2022-09-27T23:58:44.626Z] ---> Running in 136f03727af4 [2022-09-27T23:58:44.626Z] Removing intermediate container 136f03727af4 [2022-09-27T23:58:44.626Z] ---> 465b1cbc1ed9 [2022-09-27T23:58:44.626Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-27T23:58:44.626Z] ---> Running in 86fdc6fd863e [2022-09-27T23:58:44.885Z] Removing intermediate container 86fdc6fd863e [2022-09-27T23:58:44.885Z] ---> 18e819660cc3 [2022-09-27T23:58:44.885Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-27T23:58:44.885Z] ---> Running in 7875e2098a2f [2022-09-27T23:58:44.885Z] Removing intermediate container 7875e2098a2f [2022-09-27T23:58:44.885Z] ---> a9139aa14d82 [2022-09-27T23:58:44.885Z] Step 25/27 : LABEL arch=amd64 [2022-09-27T23:58:44.885Z] ---> Running in 6f1e2f02cfa4 [2022-09-27T23:58:45.144Z] Removing intermediate container 6f1e2f02cfa4 [2022-09-27T23:58:45.144Z] ---> ff646da7c049 [2022-09-27T23:58:45.144Z] Step 26/27 : LABEL git_sha=50a13ee558ba2efde0d9211aba0413d3406de588 [2022-09-27T23:58:45.144Z] ---> Running in 495fc9b9c7e9 [2022-09-27T23:58:45.144Z] Removing intermediate container 495fc9b9c7e9 [2022-09-27T23:58:45.144Z] ---> 86cef2a36bda [2022-09-27T23:58:45.144Z] Step 27/27 : LABEL version=0.0.0 [2022-09-27T23:58:45.144Z] ---> Running in 7501aba54d4e [2022-09-27T23:58:45.403Z] Removing intermediate container 7501aba54d4e [2022-09-27T23:58:45.403Z] ---> 44dbb1002b25 [2022-09-27T23:58:45.403Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T23:58:45.403Z] Successfully built 44dbb1002b25 [2022-09-27T23:58:45.403Z] 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-09-27T23:58:46.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T23:58:46.224Z] [2022-09-27T23:58:46.224Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T23:58:46.593Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T23:58:46.593Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-27T23:58:46.593Z] 5eb5b503b376: Pulling fs layer [2022-09-27T23:58:46.593Z] 5c69ac0246d0: Pulling fs layer [2022-09-27T23:58:46.593Z] ec43610c2a17: Pulling fs layer [2022-09-27T23:58:46.593Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-27T23:58:46.593Z] 33b1e0a273af: Pulling fs layer [2022-09-27T23:58:46.593Z] 5d3b04190fa2: Pulling fs layer [2022-09-27T23:58:46.593Z] 2f39f015ded8: Pulling fs layer [2022-09-27T23:58:46.593Z] 3a2ae6a8a46f: Waiting [2022-09-27T23:58:46.593Z] 2f39f015ded8: Waiting [2022-09-27T23:58:46.593Z] 33b1e0a273af: Waiting [2022-09-27T23:58:46.593Z] 5d3b04190fa2: Waiting [2022-09-27T23:58:46.593Z] 5c69ac0246d0: Verifying Checksum [2022-09-27T23:58:46.593Z] 5c69ac0246d0: Download complete [2022-09-27T23:58:46.593Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-27T23:58:46.593Z] 3a2ae6a8a46f: Download complete [2022-09-27T23:58:46.854Z] 33b1e0a273af: Verifying Checksum [2022-09-27T23:58:46.854Z] 33b1e0a273af: Download complete [2022-09-27T23:58:46.854Z] ec43610c2a17: Verifying Checksum [2022-09-27T23:58:46.854Z] ec43610c2a17: Download complete [2022-09-27T23:58:46.854Z] 5d3b04190fa2: Verifying Checksum [2022-09-27T23:58:46.854Z] 5d3b04190fa2: Download complete [2022-09-27T23:58:46.854Z] 5eb5b503b376: Download complete [2022-09-27T23:58:47.421Z] 2f39f015ded8: Verifying Checksum [2022-09-27T23:58:47.421Z] 2f39f015ded8: Download complete [2022-09-27T23:58:47.987Z] 5eb5b503b376: Pull complete [2022-09-27T23:58:47.987Z] 5c69ac0246d0: Pull complete [2022-09-27T23:58:48.552Z] ec43610c2a17: Pull complete [2022-09-27T23:58:48.552Z] 3a2ae6a8a46f: Pull complete [2022-09-27T23:58:48.810Z] 33b1e0a273af: Pull complete [2022-09-27T23:58:48.810Z] 5d3b04190fa2: Pull complete [2022-09-27T23:58:52.992Z] 2f39f015ded8: Pull complete [2022-09-27T23:58:52.992Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-27T23:58:52.992Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T23:58:52.992Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T23:58:53.201Z] prd-ubuntu20.04-docker-8c-8g-1462 does not seem to be running inside a container [2022-09-27T23:58:53.233Z] $ 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-164 -v /w/workspace/undry_device-onvif-camera_PR-164:/w/workspace/undry_device-onvif-camera_PR-164:rw,z -v /w/workspace/undry_device-onvif-camera_PR-164@tmp:/w/workspace/undry_device-onvif-camera_PR-164@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-09-27T23:58:54.899Z] $ docker top 3e0da2db92d483b580e77e2003c2aff3bb40964973c8d04d928ba8ee90444fc3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T23:58:55.359Z] ---> job-cost.sh [2022-09-27T23:58:55.359Z] lf-activate-venv: SKIPPING [2022-09-27T23:58:55.359Z] INFO: No Stack... [2022-09-27T23:58:55.620Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T23:58:56.187Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T23:58:56.234Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1463 in /w/workspace/undry_device-onvif-camera_PR-164 [Pipeline] { [Pipeline] ws [2022-09-27T23:58:56.310Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-09-27T23:58:56.385Z] The recommended git tool is: git [2022-09-27T23:58:56.498Z] + cat /w/workspace/undry_device-onvif-camera_PR-164/archives/cost.csv [2022-09-27T23:58:56.498Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T23:58:56.537Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-164-1-stack-cost] [2022-09-27T23:58:56.542Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-164-1-stack-cost] did not exist. Created. [2022-09-27T23:58:56.542Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-164-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T23:58:56.931Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-27T23:58:56.988Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T23:58:57.009Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-164-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T23:58:57.094Z] $ docker stop --time=1 3e0da2db92d483b580e77e2003c2aff3bb40964973c8d04d928ba8ee90444fc3 [2022-09-27T23:58:58.297Z] $ docker rm -f 3e0da2db92d483b580e77e2003c2aff3bb40964973c8d04d928ba8ee90444fc3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-27T23:59:01.204Z] using credential edgex-jenkins-ssh [2022-09-27T23:59:01.244Z] Cloning the remote Git repository [2022-09-27T23:59:01.334Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-27T23:59:01.424Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-09-27T23:59:01.565Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-27T23:59:01.566Z] > git --version # timeout=10 [2022-09-27T23:59:01.588Z] > git --version # 'git version 2.25.1' [2022-09-27T23:59:01.590Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T23:59:01.639Z] Verifying host key using known hosts file [2022-09-27T23:59:01.830Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T23:59:01.840Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T23:59:03.067Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-27T23:59:03.092Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T23:59:03.862Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-27T23:59:04.602Z] Merging remotes/origin/main commit 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a into PR head commit 50a13ee558ba2efde0d9211aba0413d3406de588 [2022-09-27T23:59:04.961Z] Merge succeeded, producing 50a13ee558ba2efde0d9211aba0413d3406de588 [2022-09-27T23:59:04.962Z] Checking out Revision 50a13ee558ba2efde0d9211aba0413d3406de588 (PR-164) [2022-09-27T23:59:03.908Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-27T23:59:03.909Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T23:59:03.913Z] Verifying host key using known hosts file [2022-09-27T23:59:03.920Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T23:59:03.931Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/164/head:refs/remotes/origin/PR-164 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-27T23:59:04.616Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T23:59:04.640Z] > git checkout -f 50a13ee558ba2efde0d9211aba0413d3406de588 # timeout=10 [2022-09-27T23:59:04.863Z] > git remote # timeout=10 [2022-09-27T23:59:04.881Z] > git config --get remote.origin.url # timeout=10 [2022-09-27T23:59:04.897Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T23:59:04.902Z] Verifying host key using known hosts file [2022-09-27T23:59:04.905Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T23:59:04.913Z] > git merge 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a # timeout=10 [2022-09-27T23:59:04.942Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-27T23:59:04.964Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T23:59:04.977Z] > git checkout -f 50a13ee558ba2efde0d9211aba0413d3406de588 # timeout=10 [2022-09-27T23:59:08.644Z] Commit message: "build: Add option to build Service with NATS Capability" [2022-09-27T23:59:08.696Z] > git --version # timeout=10 [2022-09-27T23:59:08.709Z] > git --version # 'git version 2.25.1' [2022-09-27T23:59:08.723Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T23:59:09.802Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-27T23:59:09.802Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T23:59:09.802Z] Dload Upload Total Spent Left Speed [2022-09-27T23:59:09.802Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 87513 0 --:--:-- --:--:-- --:--:-- 88125 [Pipeline] sh [2022-09-27T23:59:10.489Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-27T23:59:10.830Z] + sudo tee /etc/docker/daemon.new [2022-09-27T23:59:10.830Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-27T23:59:10.830Z] { [2022-09-27T23:59:10.830Z] "registry-mirrors": [ [2022-09-27T23:59:10.830Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-27T23:59:10.830Z] ], [2022-09-27T23:59:10.830Z] "bip": "10.250.0.254/24", [2022-09-27T23:59:10.830Z] "hosts": [ [2022-09-27T23:59:10.830Z] "tcp://0.0.0.0:5555", [2022-09-27T23:59:10.830Z] "unix:///var/run/docker.sock" [2022-09-27T23:59:10.830Z] ], [2022-09-27T23:59:10.830Z] "mtu": 1458, [2022-09-27T23:59:10.830Z] "selinux-enabled": true, [2022-09-27T23:59:10.830Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-27T23:59:10.830Z] } [Pipeline] sh [2022-09-27T23:59:11.175Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-27T23:59:11.534Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T23:59:29.865Z] provisioning config files... [2022-09-27T23:59:29.892Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config7769597778868672543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T23:59:30.280Z] ---> docker-login.sh [2022-09-27T23:59:30.280Z] nexus3.edgexfoundry.org:10001 [2022-09-27T23:59:30.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T23:59:30.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T23:59:30.819Z] Configure a credential helper to remove this warning. See [2022-09-27T23:59:30.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T23:59:30.819Z] [2022-09-27T23:59:30.819Z] Login Succeeded [2022-09-27T23:59:30.819Z] nexus3.edgexfoundry.org:10002 [2022-09-27T23:59:31.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T23:59:31.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T23:59:31.357Z] Configure a credential helper to remove this warning. See [2022-09-27T23:59:31.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T23:59:31.357Z] [2022-09-27T23:59:31.357Z] Login Succeeded [2022-09-27T23:59:31.357Z] nexus3.edgexfoundry.org:10003 [2022-09-27T23:59:31.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T23:59:31.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T23:59:31.626Z] Configure a credential helper to remove this warning. See [2022-09-27T23:59:31.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T23:59:31.626Z] [2022-09-27T23:59:31.626Z] Login Succeeded [2022-09-27T23:59:31.626Z] nexus3.edgexfoundry.org:10004 [2022-09-27T23:59:31.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T23:59:31.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T23:59:31.897Z] Configure a credential helper to remove this warning. See [2022-09-27T23:59:31.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T23:59:31.897Z] [2022-09-27T23:59:31.897Z] Login Succeeded [2022-09-27T23:59:31.897Z] docker.io [2022-09-27T23:59:32.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T23:59:32.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T23:59:32.437Z] Configure a credential helper to remove this warning. See [2022-09-27T23:59:32.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T23:59:32.437Z] [2022-09-27T23:59:32.437Z] Login Succeeded [2022-09-27T23:59:32.437Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T23:59:32.464Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T23:59:32.733Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T23:59:32.765Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T23:59:32.796Z] ========================================================= [2022-09-27T23:59:32.796Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-27T23:59:32.796Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T23:59:33.276Z] + 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-09-27T23:59:33.863Z] Sending build context to Docker daemon 14.21MB [2022-09-27T23:59:33.863Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T23:59:33.863Z] Step 2/14 : FROM ${BASE} AS builder [2022-09-27T23:59:33.863Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-27T23:59:33.863Z] b3c136eddcbf: Pulling fs layer [2022-09-27T23:59:33.863Z] c0a3192eca97: Pulling fs layer [2022-09-27T23:59:33.863Z] a050256f5b6f: Pulling fs layer [2022-09-27T23:59:33.863Z] 656be50a0ddc: Pulling fs layer [2022-09-27T23:59:33.863Z] 2bbca73fdf42: Pulling fs layer [2022-09-27T23:59:33.863Z] 46d945488cbd: Pulling fs layer [2022-09-27T23:59:33.863Z] 8a5474983e97: Pulling fs layer [2022-09-27T23:59:33.863Z] 329c88fbcd65: Pulling fs layer [2022-09-27T23:59:33.863Z] 656be50a0ddc: Waiting [2022-09-27T23:59:33.863Z] 2bbca73fdf42: Waiting [2022-09-27T23:59:33.863Z] 46d945488cbd: Waiting [2022-09-27T23:59:33.863Z] 8a5474983e97: Waiting [2022-09-27T23:59:33.863Z] a050256f5b6f: Verifying Checksum [2022-09-27T23:59:33.863Z] a050256f5b6f: Download complete [2022-09-27T23:59:33.863Z] c0a3192eca97: Verifying Checksum [2022-09-27T23:59:33.863Z] c0a3192eca97: Download complete [2022-09-27T23:59:33.863Z] 2bbca73fdf42: Verifying Checksum [2022-09-27T23:59:33.863Z] 2bbca73fdf42: Download complete [2022-09-27T23:59:33.863Z] 46d945488cbd: Verifying Checksum [2022-09-27T23:59:33.863Z] 46d945488cbd: Download complete [2022-09-27T23:59:33.863Z] b3c136eddcbf: Download complete [2022-09-27T23:59:34.857Z] b3c136eddcbf: Pull complete [2022-09-27T23:59:35.130Z] 329c88fbcd65: Verifying Checksum [2022-09-27T23:59:35.130Z] 329c88fbcd65: Download complete [2022-09-27T23:59:35.399Z] c0a3192eca97: Pull complete [2022-09-27T23:59:35.668Z] a050256f5b6f: Pull complete [2022-09-27T23:59:36.256Z] 8a5474983e97: Verifying Checksum [2022-09-27T23:59:36.256Z] 8a5474983e97: Download complete [2022-09-27T23:59:36.854Z] 656be50a0ddc: Verifying Checksum [2022-09-27T23:59:36.854Z] 656be50a0ddc: Download complete [2022-09-27T23:59:49.189Z] 656be50a0ddc: Pull complete [2022-09-27T23:59:49.189Z] 2bbca73fdf42: Pull complete [2022-09-27T23:59:49.189Z] 46d945488cbd: Pull complete [2022-09-27T23:59:54.544Z] 8a5474983e97: Pull complete [2022-09-27T23:59:55.975Z] 329c88fbcd65: Pull complete [2022-09-27T23:59:55.975Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-27T23:59:55.975Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-27T23:59:55.975Z] ---> ff4287adb874 [2022-09-27T23:59:55.975Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-09-27T23:59:57.932Z] ---> Running in d635350a0220 [2022-09-27T23:59:57.932Z] Removing intermediate container d635350a0220 [2022-09-27T23:59:57.932Z] ---> 407e6b170b1a [2022-09-27T23:59:57.932Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T23:59:58.199Z] ---> Running in d5ced9f26e84 [2022-09-27T23:59:58.469Z] Removing intermediate container d5ced9f26e84 [2022-09-27T23:59:58.469Z] ---> 456a39aaf2c7 [2022-09-27T23:59:58.469Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T23:59:58.469Z] ---> Running in d5fb359654b6 [2022-09-27T23:59:58.737Z] Removing intermediate container d5fb359654b6 [2022-09-27T23:59:58.737Z] ---> 575d0f695f2e [2022-09-27T23:59:58.737Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T23:59:58.737Z] ---> Running in 6329a5517972 [2022-09-27T23:59:59.004Z] Removing intermediate container 6329a5517972 [2022-09-27T23:59:59.004Z] ---> 14d29a9e0da2 [2022-09-27T23:59:59.004Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-09-27T23:59:59.271Z] ---> Running in 719caed47689 [2022-09-27T23:59:59.539Z] Removing intermediate container 719caed47689 [2022-09-27T23:59:59.539Z] ---> 212d486d5a84 [2022-09-27T23:59:59.539Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T23:59:59.539Z] ---> Running in 6e9daa5ae8c9 [2022-09-28T00:00:01.493Z] Removing intermediate container 6e9daa5ae8c9 [2022-09-28T00:00:01.493Z] ---> 8887cb95c3fd [2022-09-28T00:00:01.493Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-28T00:00:01.764Z] ---> Running in 980d5cdeafa2 [2022-09-28T00:00:02.726Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-28T00:00:03.309Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-28T00:00:04.269Z] OK: 221 MiB in 51 packages [2022-09-28T00:00:05.235Z] Removing intermediate container 980d5cdeafa2 [2022-09-28T00:00:05.235Z] ---> 59293aeb344d [2022-09-28T00:00:05.235Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-09-28T00:00:05.235Z] ---> Running in c7232f345241 [2022-09-28T00:00:05.503Z] Removing intermediate container c7232f345241 [2022-09-28T00:00:05.503Z] ---> 712d2f2d48ea [2022-09-28T00:00:05.503Z] Step 11/14 : COPY go.mod vendor* ./ [2022-09-28T00:00:06.090Z] ---> d8f55b24e268 [2022-09-28T00:00:06.090Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-28T00:00:06.090Z] ---> Running in 0058f9492506 [2022-09-28T00:01:02.505Z] Removing intermediate container 0058f9492506 [2022-09-28T00:01:02.505Z] ---> 74ea1d4a813c [2022-09-28T00:01:02.505Z] Step 13/14 : COPY . . [2022-09-28T00:01:02.505Z] ---> 4477aefeab86 [2022-09-28T00:01:02.505Z] Step 14/14 : RUN ${MAKE} [2022-09-28T00:01:02.505Z] ---> Running in 8252607cf3c9 [2022-09-28T00:01:02.505Z] noop [2022-09-28T00:01:02.505Z] Removing intermediate container 8252607cf3c9 [2022-09-28T00:01:02.505Z] ---> 86151b99caba [2022-09-28T00:01:02.505Z] Successfully built 86151b99caba [2022-09-28T00:01:02.505Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T00:01:02.981Z] + docker inspect -f . ci-base-image-arm64 [2022-09-28T00:01:02.981Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T00:01:03.233Z] prd-ubuntu20.04-docker-arm64-4c-16g-1463 does not seem to be running inside a container [2022-09-28T00:01:03.289Z] $ 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 ******** ci-base-image-arm64 cat [2022-09-28T00:01:04.422Z] $ docker top e8bcf33cb03a3738d36bbfdb4776023a47eecc09e2eb5f7fb8706e4023a0e1f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T00:01:05.300Z] + go version [2022-09-28T00:01:05.300Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-28T00:01:05.332Z] $ docker stop --time=1 e8bcf33cb03a3738d36bbfdb4776023a47eecc09e2eb5f7fb8706e4023a0e1f2 [2022-09-28T00:01:06.919Z] $ docker rm -f e8bcf33cb03a3738d36bbfdb4776023a47eecc09e2eb5f7fb8706e4023a0e1f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T00:01:07.752Z] + docker inspect -f . ci-base-image-arm64 [2022-09-28T00:01:07.752Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T00:01:07.994Z] prd-ubuntu20.04-docker-arm64-4c-16g-1463 does not seem to be running inside a container [2022-09-28T00:01:08.051Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-28T00:01:09.156Z] $ docker top 3f0b418e01c2c5cef01c55cef337facd48948886a31c907528536f75a9fff530 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T00:01:09.707Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-09-28T00:01:10.086Z] + make test [2022-09-28T00:01:10.354Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-28T00:01:12.297Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-28T00:02:48.968Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-28T00:02:48.968Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.209s coverage: 28.2% of statements [2022-09-28T00:02:48.968Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-28T00:03:07.204Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.459s coverage: 86.5% of statements [2022-09-28T00:03:07.204Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-28T00:03:07.204Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-28T00:03:33.881Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-28T00:03:33.881Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-28T00:03:33.881Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-28T00:03:33.918Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-28T00:03:33.943Z] $ docker stop --time=1 3f0b418e01c2c5cef01c55cef337facd48948886a31c907528536f75a9fff530 [2022-09-28T00:03:35.882Z] $ docker rm -f 3f0b418e01c2c5cef01c55cef337facd48948886a31c907528536f75a9fff530 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-28T00:03:36.906Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-28T00:03:36.938Z] Warning: overwriting stash ‘coverage-report’ [2022-09-28T00:03:37.388Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-28T00:03:37.950Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-28T00:03:38.282Z] + ls -al . [2022-09-28T00:03:38.282Z] total 232 [2022-09-28T00:03:38.282Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 00:01 . [2022-09-28T00:03:38.282Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 23:59 .. [2022-09-28T00:03:38.282Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 23:59 .git [2022-09-28T00:03:38.282Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 23:59 .github [2022-09-28T00:03:38.282Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 27 23:59 .gitignore [2022-09-28T00:03:38.282Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 23:59 .golangci.yml [2022-09-28T00:03:38.282Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 27 23:59 Attribution.txt [2022-09-28T00:03:38.282Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 27 23:59 CHANGELOG.md [2022-09-28T00:03:38.282Z] -rw-rw-r-- 1 jenkins jenkins 1726 Sep 27 23:59 Dockerfile [2022-09-28T00:03:38.282Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 23:59 GOVERNANCE.md [2022-09-28T00:03:38.282Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 27 23:59 Jenkinsfile [2022-09-28T00:03:38.282Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 27 23:59 LICENSE [2022-09-28T00:03:38.282Z] -rw-rw-r-- 1 jenkins jenkins 2858 Sep 27 23:59 Makefile [2022-09-28T00:03:38.282Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 27 23:59 OWNERS.md [2022-09-28T00:03:38.282Z] -rw-rw-r-- 1 jenkins jenkins 6460 Sep 27 23:59 README.md [2022-09-28T00:03:38.282Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 23:57 VERSION [2022-09-28T00:03:38.282Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 23:59 bin [2022-09-28T00:03:38.282Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 23:59 cmd [2022-09-28T00:03:38.282Z] -rw-r--r-- 1 jenkins jenkins 78461 Sep 28 00:03 coverage.out [2022-09-28T00:03:38.282Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 23:59 doc [2022-09-28T00:03:38.282Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 27 23:59 go.mod [2022-09-28T00:03:38.282Z] -rw-rw-r-- 1 jenkins jenkins 39691 Sep 27 23:59 go.sum [2022-09-28T00:03:38.282Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 23:59 internal [2022-09-28T00:03:38.282Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 23:59 snap [2022-09-28T00:03:38.282Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 27 23:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T00:03:38.696Z] + 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=50a13ee558ba2efde0d9211aba0413d3406de588 --label arch=arm64 --label version=0.0.0 . [2022-09-28T00:03:39.288Z] Sending build context to Docker daemon 14.29MB [2022-09-28T00:03:39.288Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-09-28T00:03:39.288Z] Step 2/27 : FROM ${BASE} AS builder [2022-09-28T00:03:39.288Z] ---> 86151b99caba [2022-09-28T00:03:39.288Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-09-28T00:03:39.554Z] ---> Running in 93d404e53afb [2022-09-28T00:03:39.827Z] Removing intermediate container 93d404e53afb [2022-09-28T00:03:39.827Z] ---> 998072b56478 [2022-09-28T00:03:39.827Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-28T00:03:40.093Z] ---> Running in d7f754b0252e [2022-09-28T00:03:40.361Z] Removing intermediate container d7f754b0252e [2022-09-28T00:03:40.361Z] ---> 152f2be6a251 [2022-09-28T00:03:40.361Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-28T00:03:40.361Z] ---> Running in a8eba259a5d7 [2022-09-28T00:03:40.630Z] Removing intermediate container a8eba259a5d7 [2022-09-28T00:03:40.630Z] ---> 8af74daea91b [2022-09-28T00:03:40.630Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-09-28T00:03:40.900Z] ---> Running in 4615466df279 [2022-09-28T00:03:41.165Z] Removing intermediate container 4615466df279 [2022-09-28T00:03:41.165Z] ---> 098b79557f20 [2022-09-28T00:03:41.165Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-09-28T00:03:41.165Z] ---> Running in 09425e20bf28 [2022-09-28T00:03:41.434Z] Removing intermediate container 09425e20bf28 [2022-09-28T00:03:41.434Z] ---> ded29674661b [2022-09-28T00:03:41.434Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-28T00:03:41.434Z] ---> Running in ffd017ed253c [2022-09-28T00:03:43.512Z] Removing intermediate container ffd017ed253c [2022-09-28T00:03:43.512Z] ---> fd6849c03262 [2022-09-28T00:03:43.512Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-28T00:03:43.512Z] ---> Running in b425faef31d6 [2022-09-28T00:03:44.511Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-28T00:03:45.118Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-28T00:03:46.093Z] OK: 221 MiB in 51 packages [2022-09-28T00:03:47.526Z] Removing intermediate container b425faef31d6 [2022-09-28T00:03:47.526Z] ---> 0bebc7b36055 [2022-09-28T00:03:47.526Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-09-28T00:03:47.526Z] ---> Running in abe1520fa269 [2022-09-28T00:03:48.117Z] Removing intermediate container abe1520fa269 [2022-09-28T00:03:48.117Z] ---> 3c48160f6e5e [2022-09-28T00:03:48.117Z] Step 11/27 : COPY go.mod vendor* ./ [2022-09-28T00:03:48.710Z] ---> bf55c3640572 [2022-09-28T00:03:48.710Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-28T00:03:48.710Z] ---> Running in 75a3078b04e7 [2022-09-28T00:03:50.673Z] Removing intermediate container 75a3078b04e7 [2022-09-28T00:03:50.673Z] ---> aa9c1dc0d7ab [2022-09-28T00:03:50.673Z] Step 13/27 : COPY . . [2022-09-28T00:03:53.268Z] ---> 89adfb273b65 [2022-09-28T00:03:53.268Z] Step 14/27 : RUN ${MAKE} [2022-09-28T00:03:53.268Z] ---> Running in 9b61f417f0a3 [2022-09-28T00:03:54.242Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.28" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-28T00:06:15.967Z] Removing intermediate container 9b61f417f0a3 [2022-09-28T00:06:15.967Z] ---> 56595a734625 [2022-09-28T00:06:15.967Z] Step 15/27 : FROM alpine:3.16 [2022-09-28T00:06:15.967Z] 3.16: Pulling from library/alpine [2022-09-28T00:06:15.967Z] 9b18e9b68314: Pulling fs layer [2022-09-28T00:06:15.967Z] 9b18e9b68314: Download complete [2022-09-28T00:06:15.967Z] 9b18e9b68314: Pull complete [2022-09-28T00:06:15.967Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-28T00:06:15.967Z] Status: Downloaded newer image for alpine:3.16 [2022-09-28T00:06:15.967Z] ---> a6215f271958 [2022-09-28T00:06:15.967Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-28T00:06:15.967Z] ---> Running in 92d7434670fb [2022-09-28T00:06:15.967Z] Removing intermediate container 92d7434670fb [2022-09-28T00:06:15.967Z] ---> 04cbcd46c296 [2022-09-28T00:06:15.967Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-28T00:06:15.967Z] ---> Running in 9fbae9670212 [2022-09-28T00:06:16.551Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-28T00:06:16.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-28T00:06:17.781Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-28T00:06:17.781Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-28T00:06:17.781Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-28T00:06:17.781Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-28T00:06:17.781Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-28T00:06:17.781Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-28T00:06:17.781Z] Executing busybox-1.35.0-r17.trigger [2022-09-28T00:06:17.781Z] OK: 8 MiB in 20 packages [2022-09-28T00:06:18.744Z] Removing intermediate container 9fbae9670212 [2022-09-28T00:06:18.744Z] ---> f6f657e1513b [2022-09-28T00:06:18.744Z] Step 18/27 : WORKDIR / [2022-09-28T00:06:18.744Z] ---> Running in 45f27dc7b6ca [2022-09-28T00:06:19.010Z] Removing intermediate container 45f27dc7b6ca [2022-09-28T00:06:19.010Z] ---> 06c1af951553 [2022-09-28T00:06:19.010Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-28T00:06:20.418Z] ---> 13fc5f49da00 [2022-09-28T00:06:20.418Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-28T00:06:21.005Z] ---> 5a9d7918e829 [2022-09-28T00:06:21.005Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-28T00:06:21.272Z] ---> c5d17ed60092 [2022-09-28T00:06:21.272Z] Step 22/27 : EXPOSE 59984 [2022-09-28T00:06:21.540Z] ---> Running in c2f56be500a8 [2022-09-28T00:06:21.807Z] Removing intermediate container c2f56be500a8 [2022-09-28T00:06:21.807Z] ---> 71f3e905a577 [2022-09-28T00:06:21.807Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-28T00:06:21.807Z] ---> Running in 600b60d076be [2022-09-28T00:06:22.075Z] Removing intermediate container 600b60d076be [2022-09-28T00:06:22.075Z] ---> 663cee0d5f0a [2022-09-28T00:06:22.075Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-28T00:06:22.075Z] ---> Running in e3d53b7ee0a1 [2022-09-28T00:06:22.342Z] Removing intermediate container e3d53b7ee0a1 [2022-09-28T00:06:22.342Z] ---> 18e64989b334 [2022-09-28T00:06:22.342Z] Step 25/27 : LABEL arch=arm64 [2022-09-28T00:06:22.619Z] ---> Running in c85ef88bfdd9 [2022-09-28T00:06:22.897Z] Removing intermediate container c85ef88bfdd9 [2022-09-28T00:06:22.897Z] ---> de4133e31d15 [2022-09-28T00:06:22.897Z] Step 26/27 : LABEL git_sha=50a13ee558ba2efde0d9211aba0413d3406de588 [2022-09-28T00:06:22.897Z] ---> Running in 7cfee75e105c [2022-09-28T00:06:23.165Z] Removing intermediate container 7cfee75e105c [2022-09-28T00:06:23.165Z] ---> 4bf7a4bdde88 [2022-09-28T00:06:23.165Z] Step 27/27 : LABEL version=0.0.0 [2022-09-28T00:06:23.165Z] ---> Running in 99a418a3777d [2022-09-28T00:06:23.433Z] Removing intermediate container 99a418a3777d [2022-09-28T00:06:23.433Z] ---> 665838806feb [2022-09-28T00:06:23.433Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-28T00:06:23.433Z] Successfully built 665838806feb [2022-09-28T00:06:23.433Z] 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-09-28T00:06:24.212Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-28T00:06:24.212Z] [2022-09-28T00:06:24.212Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T00:06:24.621Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-28T00:06:24.621Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-28T00:06:24.621Z] 8998bd30e6a1: Pulling fs layer [2022-09-28T00:06:24.621Z] 04944245beec: Pulling fs layer [2022-09-28T00:06:24.621Z] 699f458cf7ca: Pulling fs layer [2022-09-28T00:06:24.621Z] 765212b225bb: Pulling fs layer [2022-09-28T00:06:24.621Z] f23df028b6ca: Pulling fs layer [2022-09-28T00:06:24.621Z] d65c8cfc05b1: Pulling fs layer [2022-09-28T00:06:24.621Z] 2437ff75d9bd: Pulling fs layer [2022-09-28T00:06:24.621Z] f23df028b6ca: Waiting [2022-09-28T00:06:24.621Z] d65c8cfc05b1: Waiting [2022-09-28T00:06:24.621Z] 2437ff75d9bd: Waiting [2022-09-28T00:06:24.621Z] 765212b225bb: Waiting [2022-09-28T00:06:24.896Z] 04944245beec: Verifying Checksum [2022-09-28T00:06:24.896Z] 04944245beec: Download complete [2022-09-28T00:06:24.896Z] 765212b225bb: Verifying Checksum [2022-09-28T00:06:24.896Z] 765212b225bb: Download complete [2022-09-28T00:06:24.896Z] f23df028b6ca: Verifying Checksum [2022-09-28T00:06:24.896Z] f23df028b6ca: Download complete [2022-09-28T00:06:24.896Z] d65c8cfc05b1: Verifying Checksum [2022-09-28T00:06:24.896Z] d65c8cfc05b1: Download complete [2022-09-28T00:06:24.896Z] 699f458cf7ca: Verifying Checksum [2022-09-28T00:06:24.896Z] 699f458cf7ca: Download complete [2022-09-28T00:06:25.482Z] 8998bd30e6a1: Verifying Checksum [2022-09-28T00:06:25.482Z] 8998bd30e6a1: Download complete [2022-09-28T00:06:27.423Z] 2437ff75d9bd: Verifying Checksum [2022-09-28T00:06:27.423Z] 2437ff75d9bd: Download complete [2022-09-28T00:06:29.366Z] 8998bd30e6a1: Pull complete [2022-09-28T00:06:29.633Z] 04944245beec: Pull complete [2022-09-28T00:06:31.042Z] 699f458cf7ca: Pull complete [2022-09-28T00:06:31.042Z] 765212b225bb: Pull complete [2022-09-28T00:06:31.628Z] f23df028b6ca: Pull complete [2022-09-28T00:06:31.895Z] d65c8cfc05b1: Pull complete [2022-09-28T00:06:46.893Z] 2437ff75d9bd: Pull complete [2022-09-28T00:06:46.893Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-28T00:06:46.893Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-28T00:06:46.893Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T00:06:47.215Z] prd-ubuntu20.04-docker-arm64-4c-16g-1463 does not seem to be running inside a container [2022-09-28T00:06:47.273Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-28T00:06:49.837Z] $ docker top 1a48cb615f4dedb4696a88b28418f2ffcd6d21f9595536099634511b1e120cd3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-28T00:06:50.399Z] ---> job-cost.sh [2022-09-28T00:06:50.668Z] lf-activate-venv: SKIPPING [2022-09-28T00:06:50.668Z] INFO: No Stack... [2022-09-28T00:06:50.933Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-28T00:06:51.885Z] INFO: Archiving Costs [Pipeline] sh [2022-09-28T00:06:52.217Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-09-28T00:06:52.217Z] + cut -d, -f6 [Pipeline] lock [2022-09-28T00:06:52.289Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-164-1-stack-cost] [2022-09-28T00:06:52.294Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-164-1-stack-cost] did not exist. Created. [2022-09-28T00:06:52.294Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-164-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-28T00:06:52.697Z] /w/workspace/device-onvif-camera/1@tmp/durable-b5e83ea5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-28T00:06:53.042Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-28T00:06:53.075Z] Warning: overwriting stash ‘stack-cost’ [2022-09-28T00:06:53.130Z] Stashed 1 file(s) [Pipeline] } [2022-09-28T00:06:53.147Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-164-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-28T00:06:53.213Z] $ docker stop --time=1 1a48cb615f4dedb4696a88b28418f2ffcd6d21f9595536099634511b1e120cd3 [2022-09-28T00:06:54.667Z] $ docker rm -f 1a48cb615f4dedb4696a88b28418f2ffcd6d21f9595536099634511b1e120cd3 [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-09-28T00:06:55.618Z] provisioning config files... [2022-09-28T00:06:55.631Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-164@tmp/config15843960087460020648tmp [Pipeline] { [Pipeline] sh [2022-09-28T00:06:55.955Z] + set +x [2022-09-28T00:06:55.955Z] + curl -s https://codecov.io/bash [2022-09-28T00:06:55.955Z] + bash -s -- [2022-09-28T00:06:55.955Z] [2022-09-28T00:06:55.955Z] _____ _ [2022-09-28T00:06:55.955Z] / ____| | | [2022-09-28T00:06:55.955Z] | | ___ __| | ___ ___ _____ __ [2022-09-28T00:06:55.955Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-28T00:06:55.955Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-28T00:06:55.955Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-28T00:06:55.955Z] Bash-1.0.6 [2022-09-28T00:06:55.955Z] [2022-09-28T00:06:55.955Z] [2022-09-28T00:06:55.955Z] ==> git version 2.25.1 found [2022-09-28T00:06:55.955Z] ==> 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-09-28T00:06:55.955Z] Release-Date: 2020-01-08 [2022-09-28T00:06:55.955Z] 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-09-28T00:06:55.955Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-28T00:06:55.955Z] ==> Jenkins CI detected. [2022-09-28T00:06:55.955Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-164 [2022-09-28T00:06:55.955Z] project root: . [2022-09-28T00:06:55.955Z] --> token set from env [2022-09-28T00:06:55.955Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-28T00:06:55.955Z] ==> Running gcov in . (disable via -X gcov) [2022-09-28T00:06:55.955Z] ==> Python coveragepy not found [2022-09-28T00:06:55.955Z] ==> Searching for coverage reports in: [2022-09-28T00:06:55.955Z] + . [2022-09-28T00:06:55.955Z] -> Found 1 reports [2022-09-28T00:06:55.955Z] ==> Detecting git/mercurial file structure [2022-09-28T00:06:55.955Z] ==> Reading reports [2022-09-28T00:06:56.216Z] + ./coverage.out bytes=78461 [2022-09-28T00:06:56.216Z] ==> Appending adjustments [2022-09-28T00:06:56.216Z] https://docs.codecov.io/docs/fixing-reports [2022-09-28T00:06:56.216Z] + Found adjustments [2022-09-28T00:06:56.216Z] ==> Gzipping contents [2022-09-28T00:06:56.216Z] 12K /tmp/codecov.LwEVs8.gz [2022-09-28T00:06:56.216Z] ==> Uploading reports [2022-09-28T00:06:56.216Z] url: https://codecov.io [2022-09-28T00:06:56.216Z] query: branch=PR-164&commit=50a13ee558ba2efde0d9211aba0413d3406de588&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-164%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=164&job=&cmd_args= [2022-09-28T00:06:56.216Z] -> Pinging Codecov [2022-09-28T00:06:56.216Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-164&commit=50a13ee558ba2efde0d9211aba0413d3406de588&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-164%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=164&job=&cmd_args= [2022-09-28T00:06:57.601Z] -> Uploading to [2022-09-28T00:06:57.601Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-28/F29A59C45E3A92E06B3E522C9905F8EF/50a13ee558ba2efde0d9211aba0413d3406de588/da6671be-fc80-4e4e-ab15-cb1532ac3463.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220928T000657Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f72866132f27641e55e924869429c8dcff13fb10d0942f57919d7bfdcfa07f4c [2022-09-28T00:06:57.601Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-28T00:06:57.601Z] Dload Upload Total Spent Left Speed [2022-09-28T00:06:57.601Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10742 0 0 100 10742 0 37298 --:--:-- --:--:-- --:--:-- 37298 [2022-09-28T00:06:57.861Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/50a13ee558ba2efde0d9211aba0413d3406de588 [Pipeline] } [2022-09-28T00:06:57.887Z] 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-09-28T00:06:59.601Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-164/archives ] [2022-09-28T00:06:59.601Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-164/archives [2022-09-28T00:06:59.601Z] total 16 [2022-09-28T00:06:59.601Z] drwxr-xr-x 3 root root 4096 Sep 27 23:58 . [2022-09-28T00:06:59.601Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 23:58 .. [2022-09-28T00:06:59.601Z] drwxr-xr-x 2 root root 4096 Sep 27 23:58 cost [2022-09-28T00:06:59.601Z] -rw-r--r-- 1 root root 91 Sep 27 23:58 cost.csv [2022-09-28T00:06:59.601Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-164/archives [2022-09-28T00:06:59.601Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-164/archives [2022-09-28T00:06:59.601Z] total 16 [2022-09-28T00:06:59.601Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 23:58 . [2022-09-28T00:06:59.601Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 23:58 .. [2022-09-28T00:06:59.601Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 23:58 cost [2022-09-28T00:06:59.601Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 27 23:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-28T00:06:59.936Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T00:07:00.830Z] ---> package-listing.sh [2022-09-28T00:07:00.830Z] ++ facter osfamily [2022-09-28T00:07:00.830Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-28T00:07:00.830Z] + OS_FAMILY=debian [2022-09-28T00:07:00.830Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-164 [2022-09-28T00:07:00.830Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-28T00:07:00.830Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-28T00:07:00.830Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-28T00:07:00.830Z] + PACKAGES=/tmp/packages_start.txt [2022-09-28T00:07:00.830Z] + '[' /w/workspace/undry_device-onvif-camera_PR-164 ']' [2022-09-28T00:07:00.830Z] + PACKAGES=/tmp/packages_end.txt [2022-09-28T00:07:00.830Z] + case "${OS_FAMILY}" in [2022-09-28T00:07:00.830Z] + dpkg -l [2022-09-28T00:07:00.830Z] + grep '^ii' [2022-09-28T00:07:01.088Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-28T00:07:01.088Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-28T00:07:01.088Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-28T00:07:01.088Z] + '[' /w/workspace/undry_device-onvif-camera_PR-164 ']' [2022-09-28T00:07:01.088Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-164/archives/ [2022-09-28T00:07:01.088Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-164/archives/ [Pipeline] echo [2022-09-28T00:07:01.122Z] 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-164/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-28T00:07:01.414Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T00:07:02.046Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-28T00:07:02.046Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T00:07:02.189Z] prd-ubuntu20.04-docker-8c-8g-1462 does not seem to be running inside a container [2022-09-28T00:07:02.216Z] $ 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-164/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-164 -v /w/workspace/undry_device-onvif-camera_PR-164:/w/workspace/undry_device-onvif-camera_PR-164:rw,z -v /w/workspace/undry_device-onvif-camera_PR-164@tmp:/w/workspace/undry_device-onvif-camera_PR-164@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-09-28T00:07:02.464Z] $ docker top 5ffd3ca5ddb9adc339c96f6cca7fbb96dcf63000cf3262638253135c68d2a3a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T00:07:02.917Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-28T00:07:03.228Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-28T00:07:03.537Z] + ls /var/log/sa-host [2022-09-28T00:07:03.537Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-28T00:07:03.760Z] provisioning config files... [2022-09-28T00:07:03.772Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-164@tmp/config8022415298179316093tmp [Pipeline] { [Pipeline] echo [2022-09-28T00:07:03.819Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T00:07:04.132Z] ---> create-netrc.sh [Pipeline] } [2022-09-28T00:07:04.159Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-28T00:07:04.565Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-28T00:07:04.597Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T00:07:04.904Z] ---> sudo-logs.sh [2022-09-28T00:07:04.904Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-28T00:07:04.989Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T00:07:05.299Z] ---> job-cost.sh [2022-09-28T00:07:05.299Z] lf-activate-venv: SKIPPING [2022-09-28T00:07:05.299Z] DEBUG: total: 0.2199999988079071 [2022-09-28T00:07:05.299Z] INFO: Retrieving Stack Cost... [2022-09-28T00:07:05.867Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-28T00:07:06.126Z] INFO: Archiving Costs [Pipeline] echo [2022-09-28T00:07:06.160Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T00:07:06.468Z] ---> logs-deploy.sh [2022-09-28T00:07:06.469Z] lf-activate-venv: SKIPPING [2022-09-28T00:07:06.469Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-164/1 [2022-09-28T00:07:06.469Z] INFO: archiving workspace using pattern(s): [2022-09-28T00:07:07.408Z] Archives upload complete. [2022-09-28T00:07:07.408Z] INFO: archiving logs to Nexus