Pull request #166 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at f5732e31f5803dbff04c89d6285bbaabf5e55c73 rather than c3626bb86b21f48d8941a27b221fb9960f911969 Obtained Jenkinsfile from f5732e31f5803dbff04c89d6285bbaabf5e55c73 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-ssh13671523091248874241.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-ssh16414672878302878128.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-166/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-166/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4786582745740700910.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-166/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2521122015261990135.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-ssh197603868278589321.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-166/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-166/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7399377168110776878.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1847 in /w/workspace/undry_device-onvif-camera_PR-166 [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-166 # 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/166/head:refs/remotes/origin/PR-166 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f5732e31f5803dbff04c89d6285bbaabf5e55c73 into PR head commit c3626bb86b21f48d8941a27b221fb9960f911969 Merge succeeded, producing c3626bb86b21f48d8941a27b221fb9960f911969 Checking out Revision c3626bb86b21f48d8941a27b221fb9960f911969 (PR-166) > git config core.sparsecheckout # timeout=10 > git checkout -f c3626bb86b21f48d8941a27b221fb9960f911969 # 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 f5732e31f5803dbff04c89d6285bbaabf5e55c73 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3626bb86b21f48d8941a27b221fb9960f911969 # timeout=10 Commit message: "Merge branch 'edgexfoundry:main' into main" 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-28T17:57:14.195Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-28T17:57:14.341Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-28T17:57:14.438Z] ========================================================= [2022-09-28T17:57:14.438Z] EdgeX Global Pipelines Version Info [2022-09-28T17:57:14.438Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-28T17:57:15.174Z] ------------------- [2022-09-28T17:57:15.174Z] stable info: [2022-09-28T17:57:15.174Z] ------------------- [2022-09-28T17:57:15.174Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-28T17:57:15.174Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-28T17:57:15.174Z] Message: update stable to v1.0.239 [2022-09-28T17:57:15.744Z] ------------------- [2022-09-28T17:57:15.744Z] experimental info: [2022-09-28T17:57:15.744Z] ------------------- [2022-09-28T17:57:15.744Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-28T17:57:15.744Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-28T17:57:15.744Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-28T17:57:16.008Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-28T17:57:16.049Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-28T17:57:16.090Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-28T17:57:16.122Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-28T17:57:16.161Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-28T17:57:16.195Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-28T17:57:16.235Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-28T17:57:16.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-28T17:57:16.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-28T17:57:16.352Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-28T17:57:16.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-28T17:57:16.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-28T17:57:16.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-28T17:57:16.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-28T17:57:16.548Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-28T17:57:16.589Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-28T17:57:16.624Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-28T17:57:16.661Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-28T17:57:16.698Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-28T17:57:16.737Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-28T17:57:16.777Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-28T17:57:16.817Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-28T17:57:16.853Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-28T17:57:16.892Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-28T17:57:16.935Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-28T17:57:16.976Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-28T17:57:17.013Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-28T17:57:17.051Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-166 [Pipeline] echo [2022-09-28T17:57:17.090Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-166 [Pipeline] echo [2022-09-28T17:57:17.123Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-166 [Pipeline] echo [2022-09-28T17:57:17.157Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c3626bb86b21f48d8941a27b221fb9960f911969 [Pipeline] echo [2022-09-28T17:57:17.191Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c3626bb [Pipeline] echo [2022-09-28T17:57:17.224Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-28T17:57:17.323Z] provisioning config files... [2022-09-28T17:57:17.337Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-166@tmp/config18406324299208518832tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-28T17:57:17.667Z] ---> docker-login.sh [2022-09-28T17:57:17.667Z] nexus3.edgexfoundry.org:10001 [2022-09-28T17:57:17.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T17:57:17.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T17:57:17.926Z] Configure a credential helper to remove this warning. See [2022-09-28T17:57:17.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T17:57:17.926Z] [2022-09-28T17:57:17.926Z] Login Succeeded [2022-09-28T17:57:17.926Z] nexus3.edgexfoundry.org:10002 [2022-09-28T17:57:17.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T17:57:17.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T17:57:17.926Z] Configure a credential helper to remove this warning. See [2022-09-28T17:57:17.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T17:57:17.926Z] [2022-09-28T17:57:17.926Z] Login Succeeded [2022-09-28T17:57:17.926Z] nexus3.edgexfoundry.org:10003 [2022-09-28T17:57:18.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T17:57:18.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T17:57:18.185Z] Configure a credential helper to remove this warning. See [2022-09-28T17:57:18.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T17:57:18.185Z] [2022-09-28T17:57:18.185Z] Login Succeeded [2022-09-28T17:57:18.185Z] nexus3.edgexfoundry.org:10004 [2022-09-28T17:57:18.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T17:57:18.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T17:57:18.185Z] Configure a credential helper to remove this warning. See [2022-09-28T17:57:18.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T17:57:18.185Z] [2022-09-28T17:57:18.185Z] Login Succeeded [2022-09-28T17:57:18.185Z] docker.io [2022-09-28T17:57:18.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T17:57:18.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T17:57:18.703Z] Configure a credential helper to remove this warning. See [2022-09-28T17:57:18.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T17:57:18.703Z] [2022-09-28T17:57:18.703Z] Login Succeeded [2022-09-28T17:57:18.703Z] ---> docker-login.sh ends [Pipeline] } [2022-09-28T17:57:18.729Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-28T17:57:19.353Z] + git rev-list -1 --merges c3626bb86b21f48d8941a27b221fb9960f911969~1..c3626bb86b21f48d8941a27b221fb9960f911969 [Pipeline] echo [2022-09-28T17:57:19.399Z] -----------> git rev-list -1 --merges c3626bb86b21f48d8941a27b221fb9960f911969~1..c3626bb86b21f48d8941a27b221fb9960f911969 c3626bb86b21f48d8941a27b221fb9960f911969 [2022-09-28T17:57:19.399Z] c3626bb86b21f48d8941a27b221fb9960f911969 [false] [Pipeline] sh [2022-09-28T17:57:19.706Z] + git log --format=format:%s -1 c3626bb86b21f48d8941a27b221fb9960f911969 [Pipeline] echo [2022-09-28T17:57:19.740Z] ========================================================= [2022-09-28T17:57:19.740Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-28T17:57:19.740Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-28T17:57:20.174Z] + git log --format=format:%s -1 c3626bb86b21f48d8941a27b221fb9960f911969 [Pipeline] echo [2022-09-28T17:57:20.209Z] [semverPrep] GIT_COMMIT: c3626bb86b21f48d8941a27b221fb9960f911969, Commit Message: Merge branch 'edgexfoundry:main' into main [Pipeline] echo [2022-09-28T17:57:20.239Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-28T17:57:20.607Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-28T17:57:20.607Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-28T17:57:20.607Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-28T17:57:20.607Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-28T17:57:20.607Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-28T17:57:20.607Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-28T17:57:20.607Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T17:57:21.028Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-28T17:57:21.028Z] [2022-09-28T17:57:21.028Z] 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-28T17:57:21.411Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-28T17:57:21.411Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-28T17:57:21.411Z] b85a868b505f: Pulling fs layer [2022-09-28T17:57:21.411Z] e2be974225ed: Pulling fs layer [2022-09-28T17:57:21.411Z] 339a4e72a1f5: Pulling fs layer [2022-09-28T17:57:21.411Z] 988bab9f4d93: Pulling fs layer [2022-09-28T17:57:21.411Z] 1469e6f7b9e6: Pulling fs layer [2022-09-28T17:57:21.411Z] eaf3925da568: Pulling fs layer [2022-09-28T17:57:21.411Z] bab4dde63d76: Pulling fs layer [2022-09-28T17:57:21.411Z] bde34c3a00c8: Pulling fs layer [2022-09-28T17:57:21.411Z] b352a97aabf1: Pulling fs layer [2022-09-28T17:57:21.411Z] 4872d77fe225: Pulling fs layer [2022-09-28T17:57:21.411Z] 5851b861e8e6: Pulling fs layer [2022-09-28T17:57:21.411Z] b352a97aabf1: Waiting [2022-09-28T17:57:21.411Z] 1469e6f7b9e6: Waiting [2022-09-28T17:57:21.411Z] 4872d77fe225: Waiting [2022-09-28T17:57:21.411Z] 5851b861e8e6: Waiting [2022-09-28T17:57:21.411Z] eaf3925da568: Waiting [2022-09-28T17:57:21.411Z] bab4dde63d76: Waiting [2022-09-28T17:57:21.411Z] bde34c3a00c8: Waiting [2022-09-28T17:57:21.411Z] e2be974225ed: Verifying Checksum [2022-09-28T17:57:21.411Z] e2be974225ed: Download complete [2022-09-28T17:57:21.411Z] 988bab9f4d93: Download complete [2022-09-28T17:57:21.671Z] 339a4e72a1f5: Verifying Checksum [2022-09-28T17:57:21.671Z] 339a4e72a1f5: Download complete [2022-09-28T17:57:21.671Z] 1469e6f7b9e6: Verifying Checksum [2022-09-28T17:57:21.671Z] 1469e6f7b9e6: Download complete [2022-09-28T17:57:21.671Z] eaf3925da568: Verifying Checksum [2022-09-28T17:57:21.671Z] eaf3925da568: Download complete [2022-09-28T17:57:21.671Z] bde34c3a00c8: Verifying Checksum [2022-09-28T17:57:21.671Z] bde34c3a00c8: Download complete [2022-09-28T17:57:21.671Z] b352a97aabf1: Verifying Checksum [2022-09-28T17:57:21.671Z] b352a97aabf1: Download complete [2022-09-28T17:57:21.671Z] 4872d77fe225: Verifying Checksum [2022-09-28T17:57:21.671Z] 4872d77fe225: Download complete [2022-09-28T17:57:21.671Z] 5851b861e8e6: Verifying Checksum [2022-09-28T17:57:21.671Z] 5851b861e8e6: Download complete [2022-09-28T17:57:21.671Z] b85a868b505f: Download complete [2022-09-28T17:57:21.930Z] bab4dde63d76: Verifying Checksum [2022-09-28T17:57:21.930Z] bab4dde63d76: Download complete [2022-09-28T17:57:23.303Z] b85a868b505f: Pull complete [2022-09-28T17:57:23.303Z] e2be974225ed: Pull complete [2022-09-28T17:57:23.561Z] 339a4e72a1f5: Pull complete [2022-09-28T17:57:23.819Z] 988bab9f4d93: Pull complete [2022-09-28T17:57:24.077Z] 1469e6f7b9e6: Pull complete [2022-09-28T17:57:24.077Z] eaf3925da568: Pull complete [2022-09-28T17:57:26.610Z] bab4dde63d76: Pull complete [2022-09-28T17:57:26.610Z] bde34c3a00c8: Pull complete [2022-09-28T17:57:26.872Z] b352a97aabf1: Pull complete [2022-09-28T17:57:26.872Z] 4872d77fe225: Pull complete [2022-09-28T17:57:26.872Z] 5851b861e8e6: Pull complete [2022-09-28T17:57:26.872Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-28T17:57:26.872Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-28T17:57:27.132Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T17:57:27.345Z] prd-ubuntu20.04-docker-8c-8g-1847 does not seem to be running inside a container [2022-09-28T17:57:27.380Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-166 -v /w/workspace/undry_device-onvif-camera_PR-166:/w/workspace/undry_device-onvif-camera_PR-166:rw,z -v /w/workspace/undry_device-onvif-camera_PR-166@tmp:/w/workspace/undry_device-onvif-camera_PR-166@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-28T17:57:28.907Z] $ docker top c9d616087875e237ca463ae764403a0e246fd5066f460433cc5c6df30ce848ab -eo pid,comm [2022-09-28T17:57:28.984Z] 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-28T17:57:28.984Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-28T17:57:29.110Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-28T17:57:29.110Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-28T17:57:29.230Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-28T17:57:29.235Z] $ docker exec c9d616087875e237ca463ae764403a0e246fd5066f460433cc5c6df30ce848ab ssh-agent [2022-09-28T17:57:29.363Z] SSH_AUTH_SOCK=/tmp/ssh-NTMo3CLcRXk3/agent.32 [2022-09-28T17:57:29.363Z] SSH_AGENT_PID=38 [2022-09-28T17:57:29.369Z] Running ssh-add (command line suppressed) [2022-09-28T17:57:29.477Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-166@tmp/private_key_11247477650501650117.key (/w/workspace/undry_device-onvif-camera_PR-166@tmp/private_key_11247477650501650117.key) [2022-09-28T17:57:29.489Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-28T17:57:29.821Z] + git tag --points-at HEAD [Pipeline] } [2022-09-28T17:57:29.848Z] $ docker exec --env ******** --env ******** c9d616087875e237ca463ae764403a0e246fd5066f460433cc5c6df30ce848ab ssh-agent -k [2022-09-28T17:57:29.968Z] unset SSH_AUTH_SOCK; [2022-09-28T17:57:29.969Z] unset SSH_AGENT_PID; [2022-09-28T17:57:29.969Z] echo Agent pid 38 killed; [2022-09-28T17:57:29.979Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-28T17:57:30.066Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-28T17:57:30.066Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-28T17:57:30.208Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-28T17:57:30.213Z] $ docker exec c9d616087875e237ca463ae764403a0e246fd5066f460433cc5c6df30ce848ab ssh-agent [2022-09-28T17:57:30.328Z] SSH_AUTH_SOCK=/tmp/ssh-ykZRcQlPdWWZ/agent.70 [2022-09-28T17:57:30.328Z] SSH_AGENT_PID=76 [2022-09-28T17:57:30.332Z] Running ssh-add (command line suppressed) [2022-09-28T17:57:30.435Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-166@tmp/private_key_15458985053096504412.key (/w/workspace/undry_device-onvif-camera_PR-166@tmp/private_key_15458985053096504412.key) [2022-09-28T17:57:30.448Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-28T17:57:30.784Z] + git semver init [2022-09-28T17:57:31.043Z] 2022-09-28 17:57:30,967 [run_init] DEBUG init version:0.0.0 force:False [2022-09-28T17:57:31.043Z] 2022-09-28 17:57:30,967 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-166/.semver [2022-09-28T17:57:31.043Z] 2022-09-28 17:57:30,968 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-166/.semver [2022-09-28T17:57:31.043Z] 2022-09-28 17:57:30,968 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-166/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-166, universal_newlines=False, shell=None, istream=None) [2022-09-28T17:57:32.420Z] 2022-09-28 17:57:31,984 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-166/.git/info/exclude [2022-09-28T17:57:32.420Z] 2022-09-28 17:57:31,985 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-166/.semver/PR-166 with force:False [2022-09-28T17:57:32.420Z] 2022-09-28 17:57:31,985 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-166/.semver/PR-166 [2022-09-28T17:57:32.420Z] 2022-09-28 17:57:31,990 [execute] INFO git cat-file --batch-check [2022-09-28T17:57:32.420Z] 2022-09-28 17:57:31,990 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-166/.semver, universal_newlines=False, shell=None, istream=) [2022-09-28T17:57:32.420Z] 2022-09-28 17:57:31,997 [execute] INFO git cat-file --batch [2022-09-28T17:57:32.420Z] 2022-09-28 17:57:31,997 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-166/.semver, universal_newlines=False, shell=None, istream=) [2022-09-28T17:57:32.420Z] 2022-09-28 17:57:32,002 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-166/.semver/PR-166 [2022-09-28T17:57:32.420Z] 0.0.0 [Pipeline] } [2022-09-28T17:57:32.446Z] $ docker exec --env ******** --env ******** c9d616087875e237ca463ae764403a0e246fd5066f460433cc5c6df30ce848ab ssh-agent -k [2022-09-28T17:57:32.541Z] unset SSH_AUTH_SOCK; [2022-09-28T17:57:32.542Z] unset SSH_AGENT_PID; [2022-09-28T17:57:32.542Z] echo Agent pid 76 killed; [2022-09-28T17:57:32.549Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-28T17:57:32.975Z] + git semver [Pipeline] } [2022-09-28T17:57:33.261Z] $ docker stop --time=1 c9d616087875e237ca463ae764403a0e246fd5066f460433cc5c6df30ce848ab [2022-09-28T17:57:34.614Z] $ docker rm -f c9d616087875e237ca463ae764403a0e246fd5066f460433cc5c6df30ce848ab [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-28T17:57:35.012Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-28T17:57:35.257Z] Stashed 1 file(s) [Pipeline] echo [2022-09-28T17:57:35.273Z] [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-28T17:57:35.799Z] provisioning config files... [2022-09-28T17:57:35.809Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-166@tmp/config9028321796293658359tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-28T17:57:36.156Z] ---> docker-login.sh [2022-09-28T17:57:36.156Z] nexus3.edgexfoundry.org:10001 [2022-09-28T17:57:36.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T17:57:36.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T17:57:36.420Z] Configure a credential helper to remove this warning. See [2022-09-28T17:57:36.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T17:57:36.420Z] [2022-09-28T17:57:36.420Z] Login Succeeded [2022-09-28T17:57:36.420Z] nexus3.edgexfoundry.org:10002 [2022-09-28T17:57:36.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T17:57:36.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T17:57:36.420Z] Configure a credential helper to remove this warning. See [2022-09-28T17:57:36.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T17:57:36.420Z] [2022-09-28T17:57:36.420Z] Login Succeeded [2022-09-28T17:57:36.420Z] nexus3.edgexfoundry.org:10003 [2022-09-28T17:57:36.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T17:57:36.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T17:57:36.680Z] Configure a credential helper to remove this warning. See [2022-09-28T17:57:36.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T17:57:36.680Z] [2022-09-28T17:57:36.680Z] Login Succeeded [2022-09-28T17:57:36.680Z] nexus3.edgexfoundry.org:10004 [2022-09-28T17:57:36.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T17:57:36.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T17:57:36.680Z] Configure a credential helper to remove this warning. See [2022-09-28T17:57:36.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T17:57:36.680Z] [2022-09-28T17:57:36.680Z] Login Succeeded [2022-09-28T17:57:36.680Z] docker.io [2022-09-28T17:57:36.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T17:57:37.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T17:57:37.248Z] Configure a credential helper to remove this warning. See [2022-09-28T17:57:37.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T17:57:37.248Z] [2022-09-28T17:57:37.248Z] Login Succeeded [2022-09-28T17:57:37.248Z] ---> docker-login.sh ends [Pipeline] } [2022-09-28T17:57:37.277Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-28T17:57:37.443Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-28T17:57:37.476Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-28T17:57:37.502Z] ========================================================= [2022-09-28T17:57:37.502Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-28T17:57:37.502Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T17:57:37.960Z] + 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-28T17:57:37.960Z] Sending build context to Docker daemon 20.74MB [2022-09-28T17:57:37.960Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-28T17:57:37.960Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-28T17:57:38.221Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-28T17:57:38.221Z] 2408cc74d12b: Pulling fs layer [2022-09-28T17:57:38.221Z] ea60b727a1ce: Pulling fs layer [2022-09-28T17:57:38.221Z] 30c4a7721957: Pulling fs layer [2022-09-28T17:57:38.221Z] 370296b7ddb6: Pulling fs layer [2022-09-28T17:57:38.221Z] 7c6cee850709: Pulling fs layer [2022-09-28T17:57:38.221Z] 39a5fcdaea64: Pulling fs layer [2022-09-28T17:57:38.221Z] d94ebbe4e438: Pulling fs layer [2022-09-28T17:57:38.221Z] bcfd1f05c69d: Pulling fs layer [2022-09-28T17:57:38.221Z] 59ccb84bbe0f: Pulling fs layer [2022-09-28T17:57:38.221Z] 370296b7ddb6: Waiting [2022-09-28T17:57:38.221Z] 7c6cee850709: Waiting [2022-09-28T17:57:38.221Z] 39a5fcdaea64: Waiting [2022-09-28T17:57:38.221Z] d94ebbe4e438: Waiting [2022-09-28T17:57:38.221Z] bcfd1f05c69d: Waiting [2022-09-28T17:57:38.221Z] 59ccb84bbe0f: Waiting [2022-09-28T17:57:38.221Z] 30c4a7721957: Download complete [2022-09-28T17:57:38.221Z] ea60b727a1ce: Download complete [2022-09-28T17:57:38.221Z] 7c6cee850709: Verifying Checksum [2022-09-28T17:57:38.221Z] 7c6cee850709: Download complete [2022-09-28T17:57:38.221Z] 39a5fcdaea64: Verifying Checksum [2022-09-28T17:57:38.221Z] 39a5fcdaea64: Download complete [2022-09-28T17:57:38.221Z] 2408cc74d12b: Verifying Checksum [2022-09-28T17:57:38.221Z] 2408cc74d12b: Download complete [2022-09-28T17:57:38.221Z] d94ebbe4e438: Verifying Checksum [2022-09-28T17:57:38.221Z] d94ebbe4e438: Download complete [2022-09-28T17:57:38.221Z] 2408cc74d12b: Pull complete [2022-09-28T17:57:38.480Z] ea60b727a1ce: Pull complete [2022-09-28T17:57:38.480Z] 30c4a7721957: Pull complete [2022-09-28T17:57:39.047Z] 370296b7ddb6: Verifying Checksum [2022-09-28T17:57:39.047Z] 370296b7ddb6: Download complete [2022-09-28T17:57:39.047Z] 59ccb84bbe0f: Verifying Checksum [2022-09-28T17:57:39.047Z] 59ccb84bbe0f: Download complete [2022-09-28T17:57:39.304Z] bcfd1f05c69d: Verifying Checksum [2022-09-28T17:57:39.304Z] bcfd1f05c69d: Download complete [2022-09-28T17:57:43.492Z] 370296b7ddb6: Pull complete [2022-09-28T17:57:43.492Z] 7c6cee850709: Pull complete [2022-09-28T17:57:43.492Z] 39a5fcdaea64: Pull complete [2022-09-28T17:57:43.492Z] d94ebbe4e438: Pull complete [2022-09-28T17:57:45.394Z] bcfd1f05c69d: Pull complete [2022-09-28T17:57:45.964Z] 59ccb84bbe0f: Pull complete [2022-09-28T17:57:45.964Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-28T17:57:45.964Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-28T17:57:45.964Z] ---> a4fb48ad2a94 [2022-09-28T17:57:45.964Z] Step 3/13 : ARG MAKE="make build" [2022-09-28T17:57:48.500Z] ---> Running in 5a267f616a25 [2022-09-28T17:57:48.500Z] Removing intermediate container 5a267f616a25 [2022-09-28T17:57:48.500Z] ---> 5701ef6ad794 [2022-09-28T17:57:48.500Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-28T17:57:48.500Z] ---> Running in 15230c682cd0 [2022-09-28T17:57:48.500Z] Removing intermediate container 15230c682cd0 [2022-09-28T17:57:48.500Z] ---> 88ff3cc90ace [2022-09-28T17:57:48.500Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-28T17:57:48.500Z] ---> Running in 6f74ed844d13 [2022-09-28T17:57:48.500Z] Removing intermediate container 6f74ed844d13 [2022-09-28T17:57:48.500Z] ---> 6e92e67e09b0 [2022-09-28T17:57:48.500Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-28T17:57:48.500Z] ---> Running in 23c9692ad473 [2022-09-28T17:57:48.760Z] Removing intermediate container 23c9692ad473 [2022-09-28T17:57:48.760Z] ---> 326f49b54497 [2022-09-28T17:57:48.760Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-28T17:57:48.760Z] ---> Running in 25381ed02668 [2022-09-28T17:57:49.330Z] Removing intermediate container 25381ed02668 [2022-09-28T17:57:49.330Z] ---> 0a34a20a9afe [2022-09-28T17:57:49.330Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-28T17:57:49.330Z] ---> Running in 24bfedf45153 [2022-09-28T17:57:49.589Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-28T17:57:50.528Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-28T17:57:50.638Z] Still waiting to schedule task [2022-09-28T17:57:50.638Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-09-28T17:57:50.789Z] OK: 211 MiB in 51 packages [2022-09-28T17:57:51.048Z] Removing intermediate container 24bfedf45153 [2022-09-28T17:57:51.048Z] ---> 10f5c6195662 [2022-09-28T17:57:51.048Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-28T17:57:51.308Z] ---> Running in 175d4a023ac0 [2022-09-28T17:57:51.308Z] Removing intermediate container 175d4a023ac0 [2022-09-28T17:57:51.308Z] ---> 19af2849b6ed [2022-09-28T17:57:51.308Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-28T17:57:51.308Z] ---> 5acaf3302718 [2022-09-28T17:57:51.308Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-28T17:57:51.568Z] ---> Running in 235d8c241975 [2022-09-28T17:58:09.653Z] Removing intermediate container 235d8c241975 [2022-09-28T17:58:09.653Z] ---> 493ac7c52197 [2022-09-28T17:58:09.653Z] Step 12/13 : COPY . . [2022-09-28T17:58:09.653Z] ---> 2e01d628094e [2022-09-28T17:58:09.653Z] Step 13/13 : RUN ${MAKE} [2022-09-28T17:58:09.653Z] ---> Running in 0f7852e0baa4 [2022-09-28T17:58:09.653Z] noop [2022-09-28T17:58:09.653Z] Removing intermediate container 0f7852e0baa4 [2022-09-28T17:58:09.653Z] ---> ff84a03ec77a [2022-09-28T17:58:09.653Z] Successfully built ff84a03ec77a [2022-09-28T17:58:09.653Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T17:58:10.085Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-28T17:58:10.085Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T17:58:10.229Z] prd-ubuntu20.04-docker-8c-8g-1847 does not seem to be running inside a container [2022-09-28T17:58:10.255Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-166 -v /w/workspace/undry_device-onvif-camera_PR-166:/w/workspace/undry_device-onvif-camera_PR-166:rw,z -v /w/workspace/undry_device-onvif-camera_PR-166@tmp:/w/workspace/undry_device-onvif-camera_PR-166@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-28T17:58:10.688Z] $ docker top f2a9ad624a33865422713375dd1f311a22e7504ca65a268e00cd497ac4b5c5a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T17:58:11.088Z] + go version [2022-09-28T17:58:11.088Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-28T17:58:11.176Z] $ docker stop --time=1 f2a9ad624a33865422713375dd1f311a22e7504ca65a268e00cd497ac4b5c5a4 [2022-09-28T17:58:12.469Z] $ docker rm -f f2a9ad624a33865422713375dd1f311a22e7504ca65a268e00cd497ac4b5c5a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T17:58:13.183Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-28T17:58:13.183Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T17:58:13.323Z] prd-ubuntu20.04-docker-8c-8g-1847 does not seem to be running inside a container [2022-09-28T17:58:13.354Z] $ 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-166 -v /w/workspace/undry_device-onvif-camera_PR-166:/w/workspace/undry_device-onvif-camera_PR-166:rw,z -v /w/workspace/undry_device-onvif-camera_PR-166@tmp:/w/workspace/undry_device-onvif-camera_PR-166@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-28T17:58:13.743Z] $ docker top cc0817614d4afe3af99a24210a3e52e0944c13d0fb97a7b6b2dc31a4c3c411b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T17:58:14.130Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-166 [Pipeline] fileExists [Pipeline] sh [2022-09-28T17:58:14.482Z] + make test [2022-09-28T17:58:14.482Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-28T17:58:14.740Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-28T17:58:26.927Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-28T17:58:27.186Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.2% of statements [2022-09-28T17:58:27.186Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-28T17:58:27.186Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.514s coverage: 86.5% of statements [2022-09-28T17:58:35.292Z] 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-28T17:58:35.292Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-28T17:58:39.492Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-28T17:58:39.492Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-28T17:58:39.492Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-28T17:58:39.528Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-28T17:58:39.554Z] $ docker stop --time=1 cc0817614d4afe3af99a24210a3e52e0944c13d0fb97a7b6b2dc31a4c3c411b1 [2022-09-28T17:58:41.444Z] $ docker rm -f cc0817614d4afe3af99a24210a3e52e0944c13d0fb97a7b6b2dc31a4c3c411b1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-28T17:58:41.972Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-28T17:58:42.041Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-28T17:58:42.630Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-28T17:58:42.938Z] + ls -al . [2022-09-28T17:58:42.938Z] total 236 [2022-09-28T17:58:42.938Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 17:58 . [2022-09-28T17:58:42.938Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 17:57 .. [2022-09-28T17:58:42.938Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 17:58 .git [2022-09-28T17:58:42.938Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 17:57 .github [2022-09-28T17:58:42.938Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 28 17:57 .gitignore [2022-09-28T17:58:42.938Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 17:57 .golangci.yml [2022-09-28T17:58:42.938Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 17:57 .semver [2022-09-28T17:58:42.938Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 28 17:57 Attribution.txt [2022-09-28T17:58:42.938Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 28 17:57 CHANGELOG.md [2022-09-28T17:58:42.938Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 28 17:57 Dockerfile [2022-09-28T17:58:42.938Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 17:57 GOVERNANCE.md [2022-09-28T17:58:42.938Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 28 17:57 Jenkinsfile [2022-09-28T17:58:42.938Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 17:57 LICENSE [2022-09-28T17:58:42.938Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 28 17:57 Makefile [2022-09-28T17:58:42.938Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 28 17:57 OWNERS.md [2022-09-28T17:58:42.938Z] -rw-rw-r-- 1 jenkins jenkins 5931 Sep 28 17:57 README.md [2022-09-28T17:58:42.938Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 17:57 VERSION [2022-09-28T17:58:42.938Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 17:57 bin [2022-09-28T17:58:42.938Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 17:57 cmd [2022-09-28T17:58:42.938Z] -rw-r--r-- 1 jenkins jenkins 78461 Sep 28 17:58 coverage.out [2022-09-28T17:58:42.938Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 28 17:57 doc [2022-09-28T17:58:42.938Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 28 17:57 go.mod [2022-09-28T17:58:42.938Z] -rw-rw-r-- 1 jenkins jenkins 39691 Sep 28 17:57 go.sum [2022-09-28T17:58:42.938Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 17:57 internal [2022-09-28T17:58:42.938Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 17:57 snap [2022-09-28T17:58:42.938Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 28 17:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T17:58:43.327Z] + 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=c3626bb86b21f48d8941a27b221fb9960f911969 --label arch=amd64 --label version=0.0.0 . [2022-09-28T17:58:43.327Z] Sending build context to Docker daemon 20.82MB [2022-09-28T17:58:43.327Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-28T17:58:43.327Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-28T17:58:43.327Z] ---> ff84a03ec77a [2022-09-28T17:58:43.327Z] Step 3/26 : ARG MAKE="make build" [2022-09-28T17:58:43.587Z] ---> Running in 76cad9ce40fa [2022-09-28T17:58:43.587Z] Removing intermediate container 76cad9ce40fa [2022-09-28T17:58:43.587Z] ---> 09cc860dfd02 [2022-09-28T17:58:43.587Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-28T17:58:43.846Z] ---> Running in a29b77fdf0a0 [2022-09-28T17:58:43.846Z] Removing intermediate container a29b77fdf0a0 [2022-09-28T17:58:43.846Z] ---> a5c599d3021e [2022-09-28T17:58:43.846Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-28T17:58:43.846Z] ---> Running in c615a0fdb3ee [2022-09-28T17:58:43.846Z] Removing intermediate container c615a0fdb3ee [2022-09-28T17:58:43.846Z] ---> fbcd982b96ab [2022-09-28T17:58:43.846Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-28T17:58:44.108Z] ---> Running in 91200c59f6e4 [2022-09-28T17:58:44.108Z] Removing intermediate container 91200c59f6e4 [2022-09-28T17:58:44.108Z] ---> b16d2ff3238c [2022-09-28T17:58:44.108Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-28T17:58:44.108Z] ---> Running in 8c0a8706a3ec [2022-09-28T17:58:44.680Z] Removing intermediate container 8c0a8706a3ec [2022-09-28T17:58:44.680Z] ---> d842fd689b6c [2022-09-28T17:58:44.680Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-28T17:58:44.942Z] ---> Running in d5e3a9355699 [2022-09-28T17:58:45.200Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-28T17:58:46.140Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-28T17:58:46.409Z] OK: 211 MiB in 51 packages [2022-09-28T17:58:46.667Z] Removing intermediate container d5e3a9355699 [2022-09-28T17:58:46.667Z] ---> d1433d8ad621 [2022-09-28T17:58:46.667Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-28T17:58:46.667Z] ---> Running in 122b57bf792d [2022-09-28T17:58:46.667Z] Removing intermediate container 122b57bf792d [2022-09-28T17:58:46.667Z] ---> 41f5142bb2d0 [2022-09-28T17:58:46.667Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-28T17:58:46.928Z] ---> bc3ec5761e58 [2022-09-28T17:58:46.928Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-28T17:58:46.928Z] ---> Running in 0766785d149b [2022-09-28T17:58:47.863Z] Removing intermediate container 0766785d149b [2022-09-28T17:58:47.863Z] ---> d7929b22a773 [2022-09-28T17:58:47.863Z] Step 12/26 : COPY . . [2022-09-28T17:58:48.431Z] ---> 698de307bfc7 [2022-09-28T17:58:48.431Z] Step 13/26 : RUN ${MAKE} [2022-09-28T17:58:48.431Z] ---> Running in 8618000ccfa6 [2022-09-28T17:58:48.690Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-28T17:59:15.224Z] Removing intermediate container 8618000ccfa6 [2022-09-28T17:59:15.224Z] ---> 0d3d56fee772 [2022-09-28T17:59:15.224Z] Step 14/26 : FROM alpine:3.16 [2022-09-28T17:59:15.224Z] 3.16: Pulling from library/alpine [2022-09-28T17:59:15.224Z] 213ec9aee27d: Pulling fs layer [2022-09-28T17:59:15.224Z] 213ec9aee27d: Verifying Checksum [2022-09-28T17:59:15.224Z] 213ec9aee27d: Download complete [2022-09-28T17:59:15.224Z] 213ec9aee27d: Pull complete [2022-09-28T17:59:15.224Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-28T17:59:15.224Z] Status: Downloaded newer image for alpine:3.16 [2022-09-28T17:59:15.224Z] ---> 9c6f07244728 [2022-09-28T17:59:15.224Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-28T17:59:15.224Z] ---> Running in 6e2b8ca69d21 [2022-09-28T17:59:15.224Z] Removing intermediate container 6e2b8ca69d21 [2022-09-28T17:59:15.224Z] ---> 765f410400ab [2022-09-28T17:59:15.224Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-28T17:59:15.224Z] ---> Running in 815b9970b57c [2022-09-28T17:59:15.224Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-28T17:59:15.224Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-28T17:59:15.225Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-28T17:59:15.225Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-28T17:59:15.225Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-28T17:59:15.225Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-28T17:59:15.225Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-28T17:59:15.225Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-28T17:59:15.225Z] Executing busybox-1.35.0-r17.trigger [2022-09-28T17:59:15.225Z] OK: 8 MiB in 20 packages [2022-09-28T17:59:15.225Z] Removing intermediate container 815b9970b57c [2022-09-28T17:59:15.225Z] ---> 134819fea3bf [2022-09-28T17:59:15.225Z] Step 17/26 : WORKDIR / [2022-09-28T17:59:15.225Z] ---> Running in fa285087def0 [2022-09-28T17:59:15.225Z] Removing intermediate container fa285087def0 [2022-09-28T17:59:15.225Z] ---> 3ebe08f8cda9 [2022-09-28T17:59:15.225Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-28T17:59:15.225Z] ---> ccaa0b65ec5f [2022-09-28T17:59:15.225Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-28T17:59:15.225Z] ---> 31690d8f3fdb [2022-09-28T17:59:15.225Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-28T17:59:15.484Z] ---> eb763f97e388 [2022-09-28T17:59:15.484Z] Step 21/26 : EXPOSE 59984 [2022-09-28T17:59:15.484Z] ---> Running in 9c1ed1a7e63e [2022-09-28T17:59:15.484Z] Removing intermediate container 9c1ed1a7e63e [2022-09-28T17:59:15.484Z] ---> 1d944eeddb4a [2022-09-28T17:59:15.484Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-28T17:59:15.743Z] ---> Running in c86f47353cfe [2022-09-28T17:59:15.743Z] Removing intermediate container c86f47353cfe [2022-09-28T17:59:15.743Z] ---> 3f509daeab93 [2022-09-28T17:59:15.744Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-28T17:59:15.744Z] ---> Running in d433d8ce4ddd [2022-09-28T17:59:16.002Z] Removing intermediate container d433d8ce4ddd [2022-09-28T17:59:16.002Z] ---> 1afb121390ca [2022-09-28T17:59:16.002Z] Step 24/26 : LABEL arch=amd64 [2022-09-28T17:59:16.002Z] ---> Running in 3329a2fe686d [2022-09-28T17:59:16.002Z] Removing intermediate container 3329a2fe686d [2022-09-28T17:59:16.002Z] ---> 279bed5645ce [2022-09-28T17:59:16.002Z] Step 25/26 : LABEL git_sha=c3626bb86b21f48d8941a27b221fb9960f911969 [2022-09-28T17:59:16.002Z] ---> Running in 2f49bad6a847 [2022-09-28T17:59:16.261Z] Removing intermediate container 2f49bad6a847 [2022-09-28T17:59:16.261Z] ---> 7bc98f59f6b4 [2022-09-28T17:59:16.261Z] Step 26/26 : LABEL version=0.0.0 [2022-09-28T17:59:16.261Z] ---> Running in 478e2426c6ee [2022-09-28T17:59:16.261Z] Removing intermediate container 478e2426c6ee [2022-09-28T17:59:16.261Z] ---> 6a497e56e46f [2022-09-28T17:59:16.261Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-28T17:59:16.261Z] Successfully built 6a497e56e46f [2022-09-28T17:59:16.261Z] 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-28T17:59:17.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-28T17:59:17.149Z] [2022-09-28T17:59:17.149Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T17:59:17.527Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-28T17:59:17.528Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-28T17:59:17.528Z] 5eb5b503b376: Pulling fs layer [2022-09-28T17:59:17.528Z] 5c69ac0246d0: Pulling fs layer [2022-09-28T17:59:17.528Z] ec43610c2a17: Pulling fs layer [2022-09-28T17:59:17.528Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-28T17:59:17.528Z] 33b1e0a273af: Pulling fs layer [2022-09-28T17:59:17.528Z] 5d3b04190fa2: Pulling fs layer [2022-09-28T17:59:17.528Z] 2f39f015ded8: Pulling fs layer [2022-09-28T17:59:17.528Z] 33b1e0a273af: Waiting [2022-09-28T17:59:17.528Z] 5d3b04190fa2: Waiting [2022-09-28T17:59:17.528Z] 2f39f015ded8: Waiting [2022-09-28T17:59:17.528Z] 3a2ae6a8a46f: Waiting [2022-09-28T17:59:17.528Z] 5c69ac0246d0: Download complete [2022-09-28T17:59:17.528Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-28T17:59:17.528Z] 3a2ae6a8a46f: Download complete [2022-09-28T17:59:17.790Z] 33b1e0a273af: Verifying Checksum [2022-09-28T17:59:17.790Z] 33b1e0a273af: Download complete [2022-09-28T17:59:17.790Z] ec43610c2a17: Verifying Checksum [2022-09-28T17:59:17.790Z] ec43610c2a17: Download complete [2022-09-28T17:59:17.790Z] 5d3b04190fa2: Verifying Checksum [2022-09-28T17:59:17.790Z] 5d3b04190fa2: Download complete [2022-09-28T17:59:17.790Z] 5eb5b503b376: Download complete [2022-09-28T17:59:18.356Z] 2f39f015ded8: Download complete [2022-09-28T17:59:19.294Z] 5eb5b503b376: Pull complete [2022-09-28T17:59:19.294Z] 5c69ac0246d0: Pull complete [2022-09-28T17:59:19.866Z] ec43610c2a17: Pull complete [2022-09-28T17:59:19.866Z] 3a2ae6a8a46f: Pull complete [2022-09-28T17:59:20.124Z] 33b1e0a273af: Pull complete [2022-09-28T17:59:20.124Z] 5d3b04190fa2: Pull complete [2022-09-28T17:59:24.349Z] 2f39f015ded8: Pull complete [2022-09-28T17:59:24.349Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-28T17:59:24.349Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-28T17:59:24.349Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T17:59:24.591Z] prd-ubuntu20.04-docker-8c-8g-1847 does not seem to be running inside a container [2022-09-28T17:59:24.674Z] $ 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-166 -v /w/workspace/undry_device-onvif-camera_PR-166:/w/workspace/undry_device-onvif-camera_PR-166:rw,z -v /w/workspace/undry_device-onvif-camera_PR-166@tmp:/w/workspace/undry_device-onvif-camera_PR-166@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-28T17:59:27.535Z] $ docker top 69d94d78c61cbf507843474f8edcd4baf81bdf438d2ec8ecd6861dd30d78bce7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-28T17:59:27.972Z] ---> job-cost.sh [2022-09-28T17:59:27.972Z] lf-activate-venv: SKIPPING [2022-09-28T17:59:27.972Z] INFO: No Stack... [2022-09-28T17:59:28.231Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-28T17:59:28.798Z] INFO: Archiving Costs [Pipeline] sh [2022-09-28T17:59:29.107Z] + cat /w/workspace/undry_device-onvif-camera_PR-166/archives/cost.csv [2022-09-28T17:59:29.107Z] + cut -d, -f6 [Pipeline] lock [2022-09-28T17:59:29.146Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-166-1-stack-cost] [2022-09-28T17:59:29.151Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-166-1-stack-cost] did not exist. Created. [2022-09-28T17:59:29.151Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-166-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-28T17:59:29.547Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-28T17:59:29.595Z] Stashed 1 file(s) [Pipeline] } [2022-09-28T17:59:29.624Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-166-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-28T17:59:29.701Z] $ docker stop --time=1 69d94d78c61cbf507843474f8edcd4baf81bdf438d2ec8ecd6861dd30d78bce7 [2022-09-28T17:59:30.944Z] $ docker rm -f 69d94d78c61cbf507843474f8edcd4baf81bdf438d2ec8ecd6861dd30d78bce7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-28T18:00:44.005Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1849 in /w/workspace/undry_device-onvif-camera_PR-166 [Pipeline] { [Pipeline] ws [2022-09-28T18:00:44.048Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-09-28T18:00:44.132Z] The recommended git tool is: git [2022-09-28T18:00:49.694Z] using credential edgex-jenkins-ssh [2022-09-28T18:00:49.710Z] Cloning the remote Git repository [2022-09-28T18:00:49.755Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-28T18:00:49.836Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-09-28T18:00:49.986Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-28T18:00:49.987Z] > git --version # timeout=10 [2022-09-28T18:00:50.007Z] > git --version # 'git version 2.25.1' [2022-09-28T18:00:50.009Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-28T18:00:50.062Z] Verifying host key using known hosts file [2022-09-28T18:00:50.272Z] 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-28T18:00:50.288Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-28T18:00:51.631Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-28T18:00:51.650Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-28T18:00:52.509Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-28T18:00:52.552Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-28T18:00:52.553Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-28T18:00:52.558Z] Verifying host key using known hosts file [2022-09-28T18:00:52.564Z] 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-28T18:00:52.575Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/166/head:refs/remotes/origin/PR-166 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-28T18:00:53.190Z] Merging remotes/origin/main commit f5732e31f5803dbff04c89d6285bbaabf5e55c73 into PR head commit c3626bb86b21f48d8941a27b221fb9960f911969 [2022-09-28T18:00:53.587Z] Merge succeeded, producing c3626bb86b21f48d8941a27b221fb9960f911969 [2022-09-28T18:00:53.587Z] Checking out Revision c3626bb86b21f48d8941a27b221fb9960f911969 (PR-166) [2022-09-28T18:00:53.206Z] > git config core.sparsecheckout # timeout=10 [2022-09-28T18:00:53.225Z] > git checkout -f c3626bb86b21f48d8941a27b221fb9960f911969 # timeout=10 [2022-09-28T18:00:53.462Z] > git remote # timeout=10 [2022-09-28T18:00:53.481Z] > git config --get remote.origin.url # timeout=10 [2022-09-28T18:00:53.510Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-28T18:00:53.516Z] Verifying host key using known hosts file [2022-09-28T18:00:53.521Z] 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-28T18:00:53.531Z] > git merge f5732e31f5803dbff04c89d6285bbaabf5e55c73 # timeout=10 [2022-09-28T18:00:53.561Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-28T18:00:53.593Z] > git config core.sparsecheckout # timeout=10 [2022-09-28T18:00:53.621Z] > git checkout -f c3626bb86b21f48d8941a27b221fb9960f911969 # timeout=10 [2022-09-28T18:00:57.378Z] Commit message: "Merge branch 'edgexfoundry:main' into main" [2022-09-28T18:00:57.433Z] > git --version # timeout=10 [2022-09-28T18:00:57.444Z] > git --version # 'git version 2.25.1' [2022-09-28T18:00:57.459Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-28T18:00:58.506Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-28T18:00:58.506Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-28T18:00:58.506Z] Dload Upload Total Spent Left Speed [2022-09-28T18:00:58.506Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 198k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh [2022-09-28T18:00:59.339Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-28T18:00:59.710Z] + sudo tee /etc/docker/daemon.new [2022-09-28T18:00:59.710Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-28T18:00:59.710Z] { [2022-09-28T18:00:59.710Z] "registry-mirrors": [ [2022-09-28T18:00:59.710Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-28T18:00:59.710Z] ], [2022-09-28T18:00:59.710Z] "bip": "10.250.0.254/24", [2022-09-28T18:00:59.710Z] "hosts": [ [2022-09-28T18:00:59.710Z] "tcp://0.0.0.0:5555", [2022-09-28T18:00:59.710Z] "unix:///var/run/docker.sock" [2022-09-28T18:00:59.710Z] ], [2022-09-28T18:00:59.710Z] "mtu": 1458, [2022-09-28T18:00:59.710Z] "selinux-enabled": true, [2022-09-28T18:00:59.710Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-28T18:00:59.710Z] } [Pipeline] sh [2022-09-28T18:01:00.069Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-28T18:01:00.423Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-28T18:01:18.787Z] provisioning config files... [2022-09-28T18:01:18.818Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config9442690118079263784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-28T18:01:19.213Z] ---> docker-login.sh [2022-09-28T18:01:19.213Z] nexus3.edgexfoundry.org:10001 [2022-09-28T18:01:19.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T18:01:19.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T18:01:19.753Z] Configure a credential helper to remove this warning. See [2022-09-28T18:01:19.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T18:01:19.753Z] [2022-09-28T18:01:19.753Z] Login Succeeded [2022-09-28T18:01:19.753Z] nexus3.edgexfoundry.org:10002 [2022-09-28T18:01:20.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T18:01:20.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T18:01:20.022Z] Configure a credential helper to remove this warning. See [2022-09-28T18:01:20.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T18:01:20.022Z] [2022-09-28T18:01:20.022Z] Login Succeeded [2022-09-28T18:01:20.291Z] nexus3.edgexfoundry.org:10003 [2022-09-28T18:01:20.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T18:01:20.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T18:01:20.560Z] Configure a credential helper to remove this warning. See [2022-09-28T18:01:20.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T18:01:20.560Z] [2022-09-28T18:01:20.560Z] Login Succeeded [2022-09-28T18:01:20.560Z] nexus3.edgexfoundry.org:10004 [2022-09-28T18:01:20.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T18:01:20.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T18:01:20.832Z] Configure a credential helper to remove this warning. See [2022-09-28T18:01:20.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T18:01:20.832Z] [2022-09-28T18:01:20.832Z] Login Succeeded [2022-09-28T18:01:20.832Z] docker.io [2022-09-28T18:01:21.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T18:01:21.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T18:01:21.373Z] Configure a credential helper to remove this warning. See [2022-09-28T18:01:21.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T18:01:21.373Z] [2022-09-28T18:01:21.373Z] Login Succeeded [2022-09-28T18:01:21.642Z] ---> docker-login.sh ends [Pipeline] } [2022-09-28T18:01:21.672Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-28T18:01:21.951Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-28T18:01:21.983Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-28T18:01:22.015Z] ========================================================= [2022-09-28T18:01:22.015Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-28T18:01:22.015Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T18:01:22.506Z] + 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-28T18:01:23.106Z] Sending build context to Docker daemon 14.18MB [2022-09-28T18:01:23.106Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-28T18:01:23.106Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-28T18:01:23.106Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-28T18:01:23.106Z] b3c136eddcbf: Pulling fs layer [2022-09-28T18:01:23.106Z] c0a3192eca97: Pulling fs layer [2022-09-28T18:01:23.106Z] a050256f5b6f: Pulling fs layer [2022-09-28T18:01:23.106Z] 656be50a0ddc: Pulling fs layer [2022-09-28T18:01:23.106Z] 2bbca73fdf42: Pulling fs layer [2022-09-28T18:01:23.106Z] 46d945488cbd: Pulling fs layer [2022-09-28T18:01:23.106Z] 8a5474983e97: Pulling fs layer [2022-09-28T18:01:23.106Z] 329c88fbcd65: Pulling fs layer [2022-09-28T18:01:23.106Z] 46d945488cbd: Waiting [2022-09-28T18:01:23.106Z] 8a5474983e97: Waiting [2022-09-28T18:01:23.106Z] 329c88fbcd65: Waiting [2022-09-28T18:01:23.106Z] 656be50a0ddc: Waiting [2022-09-28T18:01:23.106Z] 2bbca73fdf42: Waiting [2022-09-28T18:01:23.106Z] a050256f5b6f: Verifying Checksum [2022-09-28T18:01:23.106Z] a050256f5b6f: Download complete [2022-09-28T18:01:23.106Z] c0a3192eca97: Verifying Checksum [2022-09-28T18:01:23.106Z] c0a3192eca97: Download complete [2022-09-28T18:01:23.106Z] 2bbca73fdf42: Download complete [2022-09-28T18:01:23.106Z] 46d945488cbd: Verifying Checksum [2022-09-28T18:01:23.106Z] 46d945488cbd: Download complete [2022-09-28T18:01:23.379Z] b3c136eddcbf: Download complete [2022-09-28T18:01:23.980Z] b3c136eddcbf: Pull complete [2022-09-28T18:01:24.253Z] 329c88fbcd65: Verifying Checksum [2022-09-28T18:01:24.253Z] 329c88fbcd65: Download complete [2022-09-28T18:01:24.850Z] c0a3192eca97: Pull complete [2022-09-28T18:01:25.125Z] a050256f5b6f: Pull complete [2022-09-28T18:01:25.717Z] 8a5474983e97: Verifying Checksum [2022-09-28T18:01:25.717Z] 8a5474983e97: Download complete [2022-09-28T18:01:26.310Z] 656be50a0ddc: Verifying Checksum [2022-09-28T18:01:26.310Z] 656be50a0ddc: Download complete [2022-09-28T18:01:38.671Z] 656be50a0ddc: Pull complete [2022-09-28T18:01:38.671Z] 2bbca73fdf42: Pull complete [2022-09-28T18:01:38.941Z] 46d945488cbd: Pull complete [2022-09-28T18:01:45.628Z] 8a5474983e97: Pull complete [2022-09-28T18:01:46.591Z] 329c88fbcd65: Pull complete [2022-09-28T18:01:46.591Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-28T18:01:46.591Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-28T18:01:46.591Z] ---> ff4287adb874 [2022-09-28T18:01:46.591Z] Step 3/13 : ARG MAKE="make build" [2022-09-28T18:01:49.188Z] ---> Running in c88d6adba194 [2022-09-28T18:01:49.188Z] Removing intermediate container c88d6adba194 [2022-09-28T18:01:49.188Z] ---> 3e5d0411c9d3 [2022-09-28T18:01:49.188Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-28T18:01:49.188Z] ---> Running in ea71d85a3e3c [2022-09-28T18:01:49.458Z] Removing intermediate container ea71d85a3e3c [2022-09-28T18:01:49.458Z] ---> aa5b23e9d98e [2022-09-28T18:01:49.458Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-28T18:01:49.458Z] ---> Running in 0e383407bbf7 [2022-09-28T18:01:50.045Z] Removing intermediate container 0e383407bbf7 [2022-09-28T18:01:50.045Z] ---> faee089caa93 [2022-09-28T18:01:50.045Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-28T18:01:50.045Z] ---> Running in 10e0df4a4ae0 [2022-09-28T18:01:50.313Z] Removing intermediate container 10e0df4a4ae0 [2022-09-28T18:01:50.313Z] ---> 859a77a2ac9a [2022-09-28T18:01:50.313Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-28T18:01:50.313Z] ---> Running in 7e0ab1e2d1ed [2022-09-28T18:01:52.266Z] Removing intermediate container 7e0ab1e2d1ed [2022-09-28T18:01:52.266Z] ---> 8b799ecb4a70 [2022-09-28T18:01:52.266Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-28T18:01:52.266Z] ---> Running in f9d3472ebab2 [2022-09-28T18:01:53.230Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-28T18:01:54.193Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-28T18:01:55.158Z] OK: 221 MiB in 51 packages [2022-09-28T18:01:56.126Z] Removing intermediate container f9d3472ebab2 [2022-09-28T18:01:56.126Z] ---> 531e06b7a21e [2022-09-28T18:01:56.126Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-28T18:01:56.126Z] ---> Running in 57e54a912153 [2022-09-28T18:01:56.397Z] Removing intermediate container 57e54a912153 [2022-09-28T18:01:56.397Z] ---> 1775e1f7c7f6 [2022-09-28T18:01:56.397Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-28T18:01:56.985Z] ---> 42acc491481d [2022-09-28T18:01:56.985Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-28T18:01:56.985Z] ---> Running in 37af53751106 [2022-09-28T18:02:53.442Z] Removing intermediate container 37af53751106 [2022-09-28T18:02:53.442Z] ---> 969df0624a6a [2022-09-28T18:02:53.442Z] Step 12/13 : COPY . . [2022-09-28T18:02:53.442Z] ---> 42f2b0ccbe0d [2022-09-28T18:02:53.442Z] Step 13/13 : RUN ${MAKE} [2022-09-28T18:02:53.442Z] ---> Running in 6147f4ed4fb9 [2022-09-28T18:02:53.442Z] noop [2022-09-28T18:02:53.442Z] Removing intermediate container 6147f4ed4fb9 [2022-09-28T18:02:53.442Z] ---> 3cc76c3bee50 [2022-09-28T18:02:53.442Z] Successfully built 3cc76c3bee50 [2022-09-28T18:02:53.442Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T18:02:53.930Z] + docker inspect -f . ci-base-image-arm64 [2022-09-28T18:02:53.930Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T18:02:54.220Z] prd-ubuntu20.04-docker-arm64-4c-16g-1849 does not seem to be running inside a container [2022-09-28T18:02:54.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 ******** ci-base-image-arm64 cat [2022-09-28T18:02:55.584Z] $ docker top 1d069fb95b08df48d9967947fe6623510598c5e47432d901f1ff7a99f464c521 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T18:02:56.484Z] + go version [2022-09-28T18:02:56.485Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-28T18:02:56.515Z] $ docker stop --time=1 1d069fb95b08df48d9967947fe6623510598c5e47432d901f1ff7a99f464c521 [2022-09-28T18:02:58.180Z] $ docker rm -f 1d069fb95b08df48d9967947fe6623510598c5e47432d901f1ff7a99f464c521 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T18:02:59.008Z] + docker inspect -f . ci-base-image-arm64 [2022-09-28T18:02:59.008Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T18:02:59.277Z] prd-ubuntu20.04-docker-arm64-4c-16g-1849 does not seem to be running inside a container [2022-09-28T18:02:59.344Z] $ 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 ******** ci-base-image-arm64 cat [2022-09-28T18:03:00.605Z] $ docker top 40044a502309662222dd0a524e997c6e6801caa8bfb2856b8d0ed74b0a3b9af6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T18:03:01.502Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-09-28T18:03:02.213Z] + make test [2022-09-28T18:03:02.213Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-28T18:03:04.174Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-28T18:04:40.896Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-28T18:04:49.141Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.200s coverage: 28.2% of statements [2022-09-28T18:04:49.141Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-28T18:05:07.356Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.116s coverage: 86.5% of statements [2022-09-28T18:05:07.356Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-28T18:05:07.356Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-28T18:05:39.643Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-28T18:05:39.643Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-28T18:05:39.643Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-28T18:05:39.684Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-28T18:05:39.710Z] $ docker stop --time=1 40044a502309662222dd0a524e997c6e6801caa8bfb2856b8d0ed74b0a3b9af6 [2022-09-28T18:05:41.727Z] $ docker rm -f 40044a502309662222dd0a524e997c6e6801caa8bfb2856b8d0ed74b0a3b9af6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-28T18:05:42.796Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-28T18:05:42.847Z] Warning: overwriting stash ‘coverage-report’ [2022-09-28T18:05:43.330Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-28T18:05:43.936Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-28T18:05:44.275Z] + ls -al . [2022-09-28T18:05:44.275Z] total 232 [2022-09-28T18:05:44.275Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 18:03 . [2022-09-28T18:05:44.275Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 18:00 .. [2022-09-28T18:05:44.275Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 18:00 .git [2022-09-28T18:05:44.275Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 18:00 .github [2022-09-28T18:05:44.275Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 28 18:00 .gitignore [2022-09-28T18:05:44.275Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 18:00 .golangci.yml [2022-09-28T18:05:44.275Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 28 18:00 Attribution.txt [2022-09-28T18:05:44.275Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 28 18:00 CHANGELOG.md [2022-09-28T18:05:44.275Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 28 18:00 Dockerfile [2022-09-28T18:05:44.275Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 18:00 GOVERNANCE.md [2022-09-28T18:05:44.275Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 28 18:00 Jenkinsfile [2022-09-28T18:05:44.275Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 18:00 LICENSE [2022-09-28T18:05:44.275Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 28 18:00 Makefile [2022-09-28T18:05:44.275Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 28 18:00 OWNERS.md [2022-09-28T18:05:44.275Z] -rw-rw-r-- 1 jenkins jenkins 5931 Sep 28 18:00 README.md [2022-09-28T18:05:44.275Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 17:57 VERSION [2022-09-28T18:05:44.275Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 18:00 bin [2022-09-28T18:05:44.275Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 18:00 cmd [2022-09-28T18:05:44.275Z] -rw-r--r-- 1 jenkins jenkins 78461 Sep 28 18:05 coverage.out [2022-09-28T18:05:44.275Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 28 18:00 doc [2022-09-28T18:05:44.275Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 28 18:00 go.mod [2022-09-28T18:05:44.275Z] -rw-rw-r-- 1 jenkins jenkins 39691 Sep 28 18:00 go.sum [2022-09-28T18:05:44.275Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 18:00 internal [2022-09-28T18:05:44.275Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 18:00 snap [2022-09-28T18:05:44.275Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 28 18:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T18:05:44.695Z] + 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=c3626bb86b21f48d8941a27b221fb9960f911969 --label arch=arm64 --label version=0.0.0 . [2022-09-28T18:05:45.278Z] Sending build context to Docker daemon 14.26MB [2022-09-28T18:05:45.278Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-28T18:05:45.278Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-28T18:05:45.278Z] ---> 3cc76c3bee50 [2022-09-28T18:05:45.278Z] Step 3/26 : ARG MAKE="make build" [2022-09-28T18:05:45.278Z] ---> Running in 94df4afed77b [2022-09-28T18:05:45.555Z] Removing intermediate container 94df4afed77b [2022-09-28T18:05:45.555Z] ---> e1f55872b48e [2022-09-28T18:05:45.555Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-28T18:05:45.824Z] ---> Running in 99798cdbfc32 [2022-09-28T18:05:46.094Z] Removing intermediate container 99798cdbfc32 [2022-09-28T18:05:46.094Z] ---> cf429dcbc1b8 [2022-09-28T18:05:46.094Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-28T18:05:46.094Z] ---> Running in d090bbc7ddea [2022-09-28T18:05:48.043Z] Removing intermediate container d090bbc7ddea [2022-09-28T18:05:48.043Z] ---> 05405573d5a6 [2022-09-28T18:05:48.043Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-28T18:05:48.043Z] ---> Running in 679f735c63af [2022-09-28T18:05:48.043Z] Removing intermediate container 679f735c63af [2022-09-28T18:05:48.043Z] ---> c63ed8731104 [2022-09-28T18:05:48.043Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-28T18:05:48.313Z] ---> Running in a02f31edaa0e [2022-09-28T18:05:51.656Z] Removing intermediate container a02f31edaa0e [2022-09-28T18:05:51.656Z] ---> 0f96cd36f493 [2022-09-28T18:05:51.656Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-28T18:05:51.656Z] ---> Running in d2ed07a7c432 [2022-09-28T18:05:52.615Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-28T18:05:53.581Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-28T18:05:54.986Z] OK: 221 MiB in 51 packages [2022-09-28T18:05:55.569Z] Removing intermediate container d2ed07a7c432 [2022-09-28T18:05:55.569Z] ---> 8970f36db0a9 [2022-09-28T18:05:55.569Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-28T18:05:55.836Z] ---> Running in 01d952e8c4bd [2022-09-28T18:05:57.775Z] Removing intermediate container 01d952e8c4bd [2022-09-28T18:05:57.775Z] ---> 970b802462ab [2022-09-28T18:05:57.775Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-28T18:05:58.051Z] ---> 763290e911f0 [2022-09-28T18:05:58.051Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-28T18:05:58.051Z] ---> Running in 3e4c83308c71 [2022-09-28T18:06:00.634Z] Removing intermediate container 3e4c83308c71 [2022-09-28T18:06:00.634Z] ---> 11f12a5b6deb [2022-09-28T18:06:00.634Z] Step 12/26 : COPY . . [2022-09-28T18:06:01.594Z] ---> f8cfc95d9829 [2022-09-28T18:06:01.594Z] Step 13/26 : RUN ${MAKE} [2022-09-28T18:06:01.861Z] ---> Running in 2a90fa012dda [2022-09-28T18:06:02.824Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-28T18:08:24.780Z] Removing intermediate container 2a90fa012dda [2022-09-28T18:08:24.780Z] ---> 78f814004d5e [2022-09-28T18:08:24.780Z] Step 14/26 : FROM alpine:3.16 [2022-09-28T18:08:24.780Z] 3.16: Pulling from library/alpine [2022-09-28T18:08:24.780Z] 9b18e9b68314: Pulling fs layer [2022-09-28T18:08:24.780Z] 9b18e9b68314: Verifying Checksum [2022-09-28T18:08:24.780Z] 9b18e9b68314: Download complete [2022-09-28T18:08:24.780Z] 9b18e9b68314: Pull complete [2022-09-28T18:08:24.780Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-28T18:08:24.780Z] Status: Downloaded newer image for alpine:3.16 [2022-09-28T18:08:24.780Z] ---> a6215f271958 [2022-09-28T18:08:24.780Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-28T18:08:24.780Z] ---> Running in ca9d6046f57c [2022-09-28T18:08:24.780Z] Removing intermediate container ca9d6046f57c [2022-09-28T18:08:24.780Z] ---> aa0d43c83add [2022-09-28T18:08:24.780Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-28T18:08:24.780Z] ---> Running in 2a29e06304b0 [2022-09-28T18:08:24.780Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-28T18:08:24.780Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-28T18:08:25.363Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-28T18:08:25.363Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-28T18:08:25.363Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-28T18:08:25.363Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-28T18:08:25.363Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-28T18:08:25.629Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-28T18:08:25.629Z] Executing busybox-1.35.0-r17.trigger [2022-09-28T18:08:25.629Z] OK: 8 MiB in 20 packages [2022-09-28T18:08:26.584Z] Removing intermediate container 2a29e06304b0 [2022-09-28T18:08:26.584Z] ---> 1ab7e99ddb5c [2022-09-28T18:08:26.584Z] Step 17/26 : WORKDIR / [2022-09-28T18:08:26.584Z] ---> Running in 8a3d4b8276ed [2022-09-28T18:08:26.853Z] Removing intermediate container 8a3d4b8276ed [2022-09-28T18:08:26.853Z] ---> bf4a070563b7 [2022-09-28T18:08:26.853Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-28T18:08:28.262Z] ---> e0d76656d7c0 [2022-09-28T18:08:28.262Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-28T18:08:28.528Z] ---> 562b2f8d2f4d [2022-09-28T18:08:28.528Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-28T18:08:29.114Z] ---> 1bfd928fa1f1 [2022-09-28T18:08:29.114Z] Step 21/26 : EXPOSE 59984 [2022-09-28T18:08:29.114Z] ---> Running in 87795e125c7c [2022-09-28T18:08:29.383Z] Removing intermediate container 87795e125c7c [2022-09-28T18:08:29.383Z] ---> eadb2497586c [2022-09-28T18:08:29.383Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-28T18:08:29.383Z] ---> Running in 3c0e87919d01 [2022-09-28T18:08:29.650Z] Removing intermediate container 3c0e87919d01 [2022-09-28T18:08:29.650Z] ---> 2e8dceee48aa [2022-09-28T18:08:29.650Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-28T18:08:29.650Z] ---> Running in 601d52e8db8c [2022-09-28T18:08:29.917Z] Removing intermediate container 601d52e8db8c [2022-09-28T18:08:29.917Z] ---> e554ca39dbe6 [2022-09-28T18:08:29.917Z] Step 24/26 : LABEL arch=arm64 [2022-09-28T18:08:30.186Z] ---> Running in f2b9e5b166e0 [2022-09-28T18:08:30.453Z] Removing intermediate container f2b9e5b166e0 [2022-09-28T18:08:30.453Z] ---> 4b65ce6be621 [2022-09-28T18:08:30.453Z] Step 25/26 : LABEL git_sha=c3626bb86b21f48d8941a27b221fb9960f911969 [2022-09-28T18:08:30.453Z] ---> Running in ffee3c321206 [2022-09-28T18:08:30.720Z] Removing intermediate container ffee3c321206 [2022-09-28T18:08:30.720Z] ---> 9246ea3cf0dc [2022-09-28T18:08:30.720Z] Step 26/26 : LABEL version=0.0.0 [2022-09-28T18:08:30.720Z] ---> Running in c580e9042623 [2022-09-28T18:08:30.984Z] Removing intermediate container c580e9042623 [2022-09-28T18:08:30.984Z] ---> 55ac80d8e9dc [2022-09-28T18:08:30.984Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-28T18:08:30.984Z] Successfully built 55ac80d8e9dc [2022-09-28T18:08:30.984Z] 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-28T18:08:31.815Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-28T18:08:31.815Z] [2022-09-28T18:08:31.815Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T18:08:32.234Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-28T18:08:32.501Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-28T18:08:32.501Z] 8998bd30e6a1: Pulling fs layer [2022-09-28T18:08:32.501Z] 04944245beec: Pulling fs layer [2022-09-28T18:08:32.501Z] 699f458cf7ca: Pulling fs layer [2022-09-28T18:08:32.501Z] 765212b225bb: Pulling fs layer [2022-09-28T18:08:32.501Z] f23df028b6ca: Pulling fs layer [2022-09-28T18:08:32.501Z] d65c8cfc05b1: Pulling fs layer [2022-09-28T18:08:32.501Z] 2437ff75d9bd: Pulling fs layer [2022-09-28T18:08:32.501Z] 765212b225bb: Waiting [2022-09-28T18:08:32.501Z] f23df028b6ca: Waiting [2022-09-28T18:08:32.501Z] 2437ff75d9bd: Waiting [2022-09-28T18:08:32.501Z] d65c8cfc05b1: Waiting [2022-09-28T18:08:32.501Z] 04944245beec: Download complete [2022-09-28T18:08:32.501Z] 765212b225bb: Verifying Checksum [2022-09-28T18:08:32.501Z] 765212b225bb: Download complete [2022-09-28T18:08:32.501Z] f23df028b6ca: Download complete [2022-09-28T18:08:32.769Z] d65c8cfc05b1: Verifying Checksum [2022-09-28T18:08:32.769Z] d65c8cfc05b1: Download complete [2022-09-28T18:08:32.769Z] 699f458cf7ca: Verifying Checksum [2022-09-28T18:08:32.769Z] 699f458cf7ca: Download complete [2022-09-28T18:08:33.037Z] 8998bd30e6a1: Verifying Checksum [2022-09-28T18:08:33.037Z] 8998bd30e6a1: Download complete [2022-09-28T18:08:35.623Z] 2437ff75d9bd: Verifying Checksum [2022-09-28T18:08:35.623Z] 2437ff75d9bd: Download complete [2022-09-28T18:08:37.029Z] 8998bd30e6a1: Pull complete [2022-09-28T18:08:37.298Z] 04944245beec: Pull complete [2022-09-28T18:08:38.705Z] 699f458cf7ca: Pull complete [2022-09-28T18:08:38.705Z] 765212b225bb: Pull complete [2022-09-28T18:08:39.660Z] f23df028b6ca: Pull complete [2022-09-28T18:08:39.660Z] d65c8cfc05b1: Pull complete [2022-09-28T18:08:54.640Z] 2437ff75d9bd: Pull complete [2022-09-28T18:08:54.640Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-28T18:08:54.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-28T18:08:54.640Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T18:08:54.956Z] prd-ubuntu20.04-docker-arm64-4c-16g-1849 does not seem to be running inside a container [2022-09-28T18:08:55.010Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-28T18:08:57.426Z] $ docker top cd0c4e2dbe7695bad4475c9b18daf266f02f5c06beb6a077d49493b985482e4c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-28T18:08:58.303Z] ---> job-cost.sh [2022-09-28T18:08:58.303Z] lf-activate-venv: SKIPPING [2022-09-28T18:08:58.303Z] INFO: No Stack... [2022-09-28T18:08:58.569Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-28T18:08:59.524Z] INFO: Archiving Costs [Pipeline] sh [2022-09-28T18:08:59.857Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-09-28T18:08:59.857Z] + cut -d, -f6 [Pipeline] lock [2022-09-28T18:09:00.196Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-166-1-stack-cost] [2022-09-28T18:09:00.201Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-166-1-stack-cost] did not exist. Created. [2022-09-28T18:09:00.201Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-166-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-28T18:09:00.601Z] /w/workspace/device-onvif-camera/1@tmp/durable-38423574/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-28T18:09:01.261Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-28T18:09:01.296Z] Warning: overwriting stash ‘stack-cost’ [2022-09-28T18:09:01.350Z] Stashed 1 file(s) [Pipeline] } [2022-09-28T18:09:01.363Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-166-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-28T18:09:01.436Z] $ docker stop --time=1 cd0c4e2dbe7695bad4475c9b18daf266f02f5c06beb6a077d49493b985482e4c [2022-09-28T18:09:02.914Z] $ docker rm -f cd0c4e2dbe7695bad4475c9b18daf266f02f5c06beb6a077d49493b985482e4c [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-28T18:09:03.846Z] provisioning config files... [2022-09-28T18:09:03.854Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-166@tmp/config12210795789575231607tmp [Pipeline] { [Pipeline] sh [2022-09-28T18:09:04.186Z] + set +x [2022-09-28T18:09:04.187Z] + bash -s -- [2022-09-28T18:09:04.187Z] + curl -s https://codecov.io/bash [2022-09-28T18:09:04.187Z] [2022-09-28T18:09:04.187Z] _____ _ [2022-09-28T18:09:04.187Z] / ____| | | [2022-09-28T18:09:04.187Z] | | ___ __| | ___ ___ _____ __ [2022-09-28T18:09:04.187Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-28T18:09:04.187Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-28T18:09:04.187Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-28T18:09:04.187Z] Bash-1.0.6 [2022-09-28T18:09:04.187Z] [2022-09-28T18:09:04.187Z] [2022-09-28T18:09:04.187Z] ==> git version 2.25.1 found [2022-09-28T18:09:04.187Z] ==> 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-28T18:09:04.187Z] Release-Date: 2020-01-08 [2022-09-28T18:09:04.187Z] 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-28T18:09:04.187Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-28T18:09:04.187Z] ==> Jenkins CI detected. [2022-09-28T18:09:04.187Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-166 [2022-09-28T18:09:04.187Z] project root: . [2022-09-28T18:09:04.187Z] --> token set from env [2022-09-28T18:09:04.187Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-28T18:09:04.187Z] ==> Running gcov in . (disable via -X gcov) [2022-09-28T18:09:04.187Z] ==> Python coveragepy not found [2022-09-28T18:09:04.187Z] ==> Searching for coverage reports in: [2022-09-28T18:09:04.187Z] + . [2022-09-28T18:09:04.187Z] -> Found 1 reports [2022-09-28T18:09:04.187Z] ==> Detecting git/mercurial file structure [2022-09-28T18:09:04.187Z] ==> Reading reports [2022-09-28T18:09:04.187Z] + ./coverage.out bytes=78461 [2022-09-28T18:09:04.187Z] ==> Appending adjustments [2022-09-28T18:09:04.187Z] https://docs.codecov.io/docs/fixing-reports [2022-09-28T18:09:04.447Z] + Found adjustments [2022-09-28T18:09:04.447Z] ==> Gzipping contents [2022-09-28T18:09:04.447Z] 12K /tmp/codecov.6jMIsw.gz [2022-09-28T18:09:04.447Z] ==> Uploading reports [2022-09-28T18:09:04.447Z] url: https://codecov.io [2022-09-28T18:09:04.447Z] query: branch=PR-166&commit=c3626bb86b21f48d8941a27b221fb9960f911969&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-166%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=166&job=&cmd_args= [2022-09-28T18:09:04.447Z] -> Pinging Codecov [2022-09-28T18:09:04.447Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-166&commit=c3626bb86b21f48d8941a27b221fb9960f911969&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-166%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=166&job=&cmd_args= [2022-09-28T18:09:05.017Z] -> Uploading to [2022-09-28T18:09:05.017Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-28/F29A59C45E3A92E06B3E522C9905F8EF/c3626bb86b21f48d8941a27b221fb9960f911969/50bac81c-0812-4876-81fb-d0241a044e8c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220928T180904Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=669eb1bc63c36127dd1aeb4d0936ab4210471c72ee05b63a6e754d88d7ee22af [2022-09-28T18:09:05.017Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-28T18:09:05.017Z] Dload Upload Total Spent Left Speed [2022-09-28T18:09:05.017Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10750 0 0 100 10750 0 47149 --:--:-- --:--:-- --:--:-- 47149 [2022-09-28T18:09:05.017Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c3626bb86b21f48d8941a27b221fb9960f911969 [Pipeline] } [2022-09-28T18:09:05.044Z] 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-28T18:09:06.670Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-166/archives ] [2022-09-28T18:09:06.670Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-166/archives [2022-09-28T18:09:06.670Z] total 16 [2022-09-28T18:09:06.670Z] drwxr-xr-x 3 root root 4096 Sep 28 17:59 . [2022-09-28T18:09:06.670Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 17:59 .. [2022-09-28T18:09:06.670Z] drwxr-xr-x 2 root root 4096 Sep 28 17:59 cost [2022-09-28T18:09:06.670Z] -rw-r--r-- 1 root root 91 Sep 28 17:59 cost.csv [2022-09-28T18:09:06.670Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-166/archives [2022-09-28T18:09:06.670Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-166/archives [2022-09-28T18:09:06.670Z] total 16 [2022-09-28T18:09:06.670Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 17:59 . [2022-09-28T18:09:06.670Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 17:59 .. [2022-09-28T18:09:06.670Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 17:59 cost [2022-09-28T18:09:06.670Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 28 17:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-28T18:09:06.991Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T18:09:07.879Z] ---> package-listing.sh [2022-09-28T18:09:07.879Z] ++ facter osfamily [2022-09-28T18:09:07.879Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-28T18:09:08.139Z] + OS_FAMILY=debian [2022-09-28T18:09:08.139Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-166 [2022-09-28T18:09:08.139Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-28T18:09:08.139Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-28T18:09:08.139Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-28T18:09:08.139Z] + PACKAGES=/tmp/packages_start.txt [2022-09-28T18:09:08.139Z] + '[' /w/workspace/undry_device-onvif-camera_PR-166 ']' [2022-09-28T18:09:08.139Z] + PACKAGES=/tmp/packages_end.txt [2022-09-28T18:09:08.139Z] + case "${OS_FAMILY}" in [2022-09-28T18:09:08.139Z] + dpkg -l [2022-09-28T18:09:08.139Z] + grep '^ii' [2022-09-28T18:09:08.139Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-28T18:09:08.139Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-28T18:09:08.139Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-28T18:09:08.139Z] + '[' /w/workspace/undry_device-onvif-camera_PR-166 ']' [2022-09-28T18:09:08.139Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-166/archives/ [2022-09-28T18:09:08.139Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-166/archives/ [Pipeline] echo [2022-09-28T18:09:08.170Z] 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-166/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-28T18:09:08.462Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T18:09:09.083Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-28T18:09:09.083Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T18:09:09.218Z] prd-ubuntu20.04-docker-8c-8g-1847 does not seem to be running inside a container [2022-09-28T18:09:09.250Z] $ 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-166/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-166 -v /w/workspace/undry_device-onvif-camera_PR-166:/w/workspace/undry_device-onvif-camera_PR-166:rw,z -v /w/workspace/undry_device-onvif-camera_PR-166@tmp:/w/workspace/undry_device-onvif-camera_PR-166@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-28T18:09:09.495Z] $ docker top d412aef365ededb5cc2698e7c3590f1abdeb6ebfb336c5d42264b6629698fd49 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T18:09:09.888Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-28T18:09:10.197Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-28T18:09:10.515Z] + ls /var/log/sa-host [2022-09-28T18:09:10.515Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-28T18:09:10.649Z] provisioning config files... [2022-09-28T18:09:10.658Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-166@tmp/config167035826605934194tmp [Pipeline] { [Pipeline] echo [2022-09-28T18:09:10.709Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T18:09:11.017Z] ---> create-netrc.sh [Pipeline] } [2022-09-28T18:09:11.046Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-28T18:09:11.441Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-28T18:09:11.473Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T18:09:11.780Z] ---> sudo-logs.sh [2022-09-28T18:09:11.781Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-28T18:09:11.861Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T18:09:12.171Z] ---> job-cost.sh [2022-09-28T18:09:12.171Z] lf-activate-venv: SKIPPING [2022-09-28T18:09:12.171Z] DEBUG: total: 0.2199999988079071 [2022-09-28T18:09:12.172Z] INFO: Retrieving Stack Cost... [2022-09-28T18:09:12.742Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-28T18:09:13.001Z] INFO: Archiving Costs [Pipeline] echo [2022-09-28T18:09:13.033Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T18:09:13.346Z] ---> logs-deploy.sh [2022-09-28T18:09:13.346Z] lf-activate-venv: SKIPPING [2022-09-28T18:09:13.346Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-166/1 [2022-09-28T18:09:13.346Z] INFO: archiving workspace using pattern(s): [2022-09-28T18:09:14.283Z] Archives upload complete. [2022-09-28T18:09:14.543Z] INFO: archiving logs to Nexus