Pull request #155 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ccd7db685d4ea142e37eeac2a395e360f7489489+745ce0ececd70d604063f252cada215ed76a682d (72f824e55a56d0322229d85576b17a005ef4f3c2) 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-ssh2349354619563673656.key > 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-ssh15830131697936365580.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-155/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-155/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1802401408757715912.key > 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 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-ssh11876395743367936445.key > 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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-155/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-155/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2917238368240248613.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-28963’ Running on prd-ubuntu20.04-docker-8c-8g-28965 in /w/workspace/undry_device-onvif-camera_PR-155 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-155 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 745ce0ececd70d604063f252cada215ed76a682d into PR head commit ccd7db685d4ea142e37eeac2a395e360f7489489 Merge succeeded, producing ccd7db685d4ea142e37eeac2a395e360f7489489 Checking out Revision ccd7db685d4ea142e37eeac2a395e360f7489489 (PR-155) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/155/head:refs/remotes/origin/PR-155 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ccd7db685d4ea142e37eeac2a395e360f7489489 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 745ce0ececd70d604063f252cada215ed76a682d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ccd7db685d4ea142e37eeac2a395e360f7489489 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git rev-list --no-walk 144ea4ebd0ce6e623b56f0248e9e297d5681bdc1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-12T17:13:29.074Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-12T17:13:29.115Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-12T17:13:29.128Z] ========================================================= [2022-09-12T17:13:29.128Z] EdgeX Global Pipelines Version Info [2022-09-12T17:13:29.128Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-12T17:13:29.886Z] ------------------- [2022-09-12T17:13:29.886Z] stable info: [2022-09-12T17:13:29.886Z] ------------------- [2022-09-12T17:13:29.886Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-12T17:13:29.886Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-12T17:13:29.886Z] Message: update stable to v1.0.239 [2022-09-12T17:13:30.473Z] ------------------- [2022-09-12T17:13:30.473Z] experimental info: [2022-09-12T17:13:30.473Z] ------------------- [2022-09-12T17:13:30.473Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-12T17:13:30.473Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-12T17:13:30.473Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-12T17:13:30.653Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-12T17:13:30.662Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-12T17:13:30.670Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-12T17:13:30.688Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-12T17:13:30.707Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-12T17:13:30.719Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-12T17:13:30.733Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-12T17:13:30.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-12T17:13:30.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-12T17:13:30.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-12T17:13:30.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-12T17:13:30.791Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-12T17:13:30.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-12T17:13:30.813Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-12T17:13:30.826Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-12T17:13:30.836Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-12T17:13:30.847Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-12T17:13:30.863Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-12T17:13:30.880Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-12T17:13:30.897Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-12T17:13:30.910Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-12T17:13:30.921Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-12T17:13:30.932Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-12T17:13:30.946Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-12T17:13:30.957Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-12T17:13:30.967Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-12T17:13:30.975Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-12T17:13:31.042Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-155 [Pipeline] echo [2022-09-12T17:13:31.055Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-155 [Pipeline] echo [2022-09-12T17:13:31.068Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-155 [Pipeline] echo [2022-09-12T17:13:31.079Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ccd7db685d4ea142e37eeac2a395e360f7489489 [Pipeline] echo [2022-09-12T17:13:31.091Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ccd7db6 [Pipeline] echo [2022-09-12T17:13:31.104Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-12T17:13:31.145Z] provisioning config files... [2022-09-12T17:13:31.158Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-155@tmp/config7524227332216815234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-12T17:13:31.463Z] ---> docker-login.sh [2022-09-12T17:13:31.463Z] nexus3.edgexfoundry.org:10001 [2022-09-12T17:13:31.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T17:13:31.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T17:13:31.993Z] Configure a credential helper to remove this warning. See [2022-09-12T17:13:31.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T17:13:31.993Z] [2022-09-12T17:13:31.993Z] Login Succeeded [2022-09-12T17:13:31.993Z] nexus3.edgexfoundry.org:10002 [2022-09-12T17:13:31.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T17:13:31.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T17:13:31.993Z] Configure a credential helper to remove this warning. See [2022-09-12T17:13:31.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T17:13:31.993Z] [2022-09-12T17:13:31.993Z] Login Succeeded [2022-09-12T17:13:31.993Z] nexus3.edgexfoundry.org:10003 [2022-09-12T17:13:32.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T17:13:32.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T17:13:32.258Z] Configure a credential helper to remove this warning. See [2022-09-12T17:13:32.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T17:13:32.258Z] [2022-09-12T17:13:32.258Z] Login Succeeded [2022-09-12T17:13:32.258Z] nexus3.edgexfoundry.org:10004 [2022-09-12T17:13:32.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T17:13:32.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T17:13:32.258Z] Configure a credential helper to remove this warning. See [2022-09-12T17:13:32.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T17:13:32.258Z] [2022-09-12T17:13:32.258Z] Login Succeeded [2022-09-12T17:13:32.258Z] docker.io [2022-09-12T17:13:32.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T17:13:32.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T17:13:32.779Z] Configure a credential helper to remove this warning. See [2022-09-12T17:13:32.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T17:13:32.779Z] [2022-09-12T17:13:32.779Z] Login Succeeded [2022-09-12T17:13:32.779Z] ---> docker-login.sh ends [Pipeline] } [2022-09-12T17:13:32.787Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-12T17:13:33.138Z] + git rev-list -1 --merges ccd7db685d4ea142e37eeac2a395e360f7489489~1..ccd7db685d4ea142e37eeac2a395e360f7489489 [Pipeline] echo [2022-09-12T17:13:33.173Z] -----------> git rev-list -1 --merges ccd7db685d4ea142e37eeac2a395e360f7489489~1..ccd7db685d4ea142e37eeac2a395e360f7489489 ccd7db685d4ea142e37eeac2a395e360f7489489 [false] [Pipeline] sh [2022-09-12T17:13:33.466Z] + git log --format=format:%s -1 ccd7db685d4ea142e37eeac2a395e360f7489489 [Pipeline] echo [2022-09-12T17:13:33.481Z] ========================================================= [2022-09-12T17:13:33.481Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-12T17:13:33.481Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-12T17:13:33.821Z] + git log --format=format:%s -1 ccd7db685d4ea142e37eeac2a395e360f7489489 [Pipeline] echo [2022-09-12T17:13:33.833Z] [semverPrep] GIT_COMMIT: ccd7db685d4ea142e37eeac2a395e360f7489489, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-09-12T17:13:33.842Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-12T17:13:34.190Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-12T17:13:34.190Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-12T17:13:34.190Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-12T17:13:34.190Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-12T17:13:34.190Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-12T17:13:34.190Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-12T17:13:34.190Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T17:13:34.543Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-12T17:13:34.543Z] [2022-09-12T17:13:34.543Z] 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-12T17:13:34.849Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-12T17:13:34.849Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-12T17:13:34.849Z] b85a868b505f: Pulling fs layer [2022-09-12T17:13:34.849Z] e2be974225ed: Pulling fs layer [2022-09-12T17:13:34.849Z] 339a4e72a1f5: Pulling fs layer [2022-09-12T17:13:34.849Z] 988bab9f4d93: Pulling fs layer [2022-09-12T17:13:34.849Z] 1469e6f7b9e6: Pulling fs layer [2022-09-12T17:13:34.849Z] eaf3925da568: Pulling fs layer [2022-09-12T17:13:34.849Z] bab4dde63d76: Pulling fs layer [2022-09-12T17:13:34.849Z] bde34c3a00c8: Pulling fs layer [2022-09-12T17:13:34.849Z] b352a97aabf1: Pulling fs layer [2022-09-12T17:13:34.849Z] 4872d77fe225: Pulling fs layer [2022-09-12T17:13:34.849Z] 5851b861e8e6: Pulling fs layer [2022-09-12T17:13:34.849Z] bab4dde63d76: Waiting [2022-09-12T17:13:34.849Z] 988bab9f4d93: Waiting [2022-09-12T17:13:34.849Z] 1469e6f7b9e6: Waiting [2022-09-12T17:13:34.849Z] eaf3925da568: Waiting [2022-09-12T17:13:34.849Z] b352a97aabf1: Waiting [2022-09-12T17:13:34.849Z] 4872d77fe225: Waiting [2022-09-12T17:13:34.849Z] 5851b861e8e6: Waiting [2022-09-12T17:13:34.849Z] e2be974225ed: Verifying Checksum [2022-09-12T17:13:34.849Z] e2be974225ed: Download complete [2022-09-12T17:13:35.111Z] 988bab9f4d93: Verifying Checksum [2022-09-12T17:13:35.111Z] 988bab9f4d93: Download complete [2022-09-12T17:13:35.111Z] 339a4e72a1f5: Verifying Checksum [2022-09-12T17:13:35.111Z] 339a4e72a1f5: Download complete [2022-09-12T17:13:35.111Z] 1469e6f7b9e6: Verifying Checksum [2022-09-12T17:13:35.111Z] 1469e6f7b9e6: Download complete [2022-09-12T17:13:35.111Z] eaf3925da568: Verifying Checksum [2022-09-12T17:13:35.111Z] eaf3925da568: Download complete [2022-09-12T17:13:35.111Z] bde34c3a00c8: Verifying Checksum [2022-09-12T17:13:35.111Z] bde34c3a00c8: Download complete [2022-09-12T17:13:35.111Z] b352a97aabf1: Verifying Checksum [2022-09-12T17:13:35.111Z] b352a97aabf1: Download complete [2022-09-12T17:13:35.111Z] 4872d77fe225: Verifying Checksum [2022-09-12T17:13:35.111Z] 4872d77fe225: Download complete [2022-09-12T17:13:35.111Z] 5851b861e8e6: Verifying Checksum [2022-09-12T17:13:35.111Z] 5851b861e8e6: Download complete [2022-09-12T17:13:35.111Z] b85a868b505f: Verifying Checksum [2022-09-12T17:13:35.111Z] b85a868b505f: Download complete [2022-09-12T17:13:35.682Z] bab4dde63d76: Verifying Checksum [2022-09-12T17:13:35.682Z] bab4dde63d76: Download complete [2022-09-12T17:13:36.625Z] b85a868b505f: Pull complete [2022-09-12T17:13:36.885Z] e2be974225ed: Pull complete [2022-09-12T17:13:37.454Z] 339a4e72a1f5: Pull complete [2022-09-12T17:13:37.454Z] 988bab9f4d93: Pull complete [2022-09-12T17:13:37.714Z] 1469e6f7b9e6: Pull complete [2022-09-12T17:13:37.975Z] eaf3925da568: Pull complete [2022-09-12T17:13:39.882Z] bab4dde63d76: Pull complete [2022-09-12T17:13:39.882Z] bde34c3a00c8: Pull complete [2022-09-12T17:13:39.882Z] b352a97aabf1: Pull complete [2022-09-12T17:13:39.882Z] 4872d77fe225: Pull complete [2022-09-12T17:13:39.882Z] 5851b861e8e6: Pull complete [2022-09-12T17:13:39.882Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-12T17:13:39.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-12T17:13:39.882Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T17:13:39.977Z] prd-ubuntu20.04-docker-8c-8g-28965 does not seem to be running inside a container [2022-09-12T17:13:40.006Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-155 -v /w/workspace/undry_device-onvif-camera_PR-155:/w/workspace/undry_device-onvif-camera_PR-155:rw,z -v /w/workspace/undry_device-onvif-camera_PR-155@tmp:/w/workspace/undry_device-onvif-camera_PR-155@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-devops/py-git-semver:0.1.4 cat [2022-09-12T17:13:44.002Z] $ docker top bc5d595abd1c60a3dc414805a5aac28b940abea0095fe2300651286151559677 -eo pid,comm [2022-09-12T17:13:44.074Z] 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-12T17:13:44.074Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-12T17:13:44.112Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-12T17:13:44.112Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-12T17:13:44.240Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-12T17:13:44.240Z] $ docker exec bc5d595abd1c60a3dc414805a5aac28b940abea0095fe2300651286151559677 ssh-agent [2022-09-12T17:13:44.378Z] SSH_AUTH_SOCK=/tmp/ssh-HC0I8kSfzLI1/agent.33 [2022-09-12T17:13:44.378Z] SSH_AGENT_PID=40 [2022-09-12T17:13:44.384Z] Running ssh-add (command line suppressed) [2022-09-12T17:13:44.503Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-155@tmp/private_key_690734684006464842.key (/w/workspace/undry_device-onvif-camera_PR-155@tmp/private_key_690734684006464842.key) [2022-09-12T17:13:44.520Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-12T17:13:44.803Z] + git tag --points-at HEAD [Pipeline] } [2022-09-12T17:13:44.813Z] $ docker exec --env ******** --env ******** bc5d595abd1c60a3dc414805a5aac28b940abea0095fe2300651286151559677 ssh-agent -k [2022-09-12T17:13:44.928Z] unset SSH_AUTH_SOCK; [2022-09-12T17:13:44.929Z] unset SSH_AGENT_PID; [2022-09-12T17:13:44.929Z] echo Agent pid 40 killed; [2022-09-12T17:13:44.942Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-12T17:13:44.967Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-12T17:13:44.967Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-12T17:13:45.103Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-12T17:13:45.104Z] $ docker exec bc5d595abd1c60a3dc414805a5aac28b940abea0095fe2300651286151559677 ssh-agent [2022-09-12T17:13:45.232Z] SSH_AUTH_SOCK=/tmp/ssh-e4R49b5XKh2A/agent.75 [2022-09-12T17:13:45.232Z] SSH_AGENT_PID=81 [2022-09-12T17:13:45.238Z] Running ssh-add (command line suppressed) [2022-09-12T17:13:45.351Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-155@tmp/private_key_8940918056471678931.key (/w/workspace/undry_device-onvif-camera_PR-155@tmp/private_key_8940918056471678931.key) [2022-09-12T17:13:45.369Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-12T17:13:45.660Z] + git semver init [2022-09-12T17:13:45.920Z] 2022-09-12 17:13:45,862 [run_init] DEBUG init version:0.0.0 force:False [2022-09-12T17:13:45.920Z] 2022-09-12 17:13:45,863 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-155/.semver [2022-09-12T17:13:45.920Z] 2022-09-12 17:13:45,863 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-155/.semver [2022-09-12T17:13:45.920Z] 2022-09-12 17:13:45,863 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-155/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-155, universal_newlines=False, shell=None, istream=None) [2022-09-12T17:13:47.301Z] 2022-09-12 17:13:46,878 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-155/.git/info/exclude [2022-09-12T17:13:47.301Z] 2022-09-12 17:13:46,878 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-155/.semver/PR-155 with force:False [2022-09-12T17:13:47.301Z] 2022-09-12 17:13:46,878 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-155/.semver/PR-155 [2022-09-12T17:13:47.301Z] 2022-09-12 17:13:46,882 [execute] INFO git cat-file --batch-check [2022-09-12T17:13:47.301Z] 2022-09-12 17:13:46,882 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-155/.semver, universal_newlines=False, shell=None, istream=) [2022-09-12T17:13:47.301Z] 2022-09-12 17:13:46,888 [execute] INFO git cat-file --batch [2022-09-12T17:13:47.301Z] 2022-09-12 17:13:46,888 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-155/.semver, universal_newlines=False, shell=None, istream=) [2022-09-12T17:13:47.301Z] 2022-09-12 17:13:46,894 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-155/.semver/PR-155 [2022-09-12T17:13:47.301Z] 0.0.0 [Pipeline] } [2022-09-12T17:13:47.309Z] $ docker exec --env ******** --env ******** bc5d595abd1c60a3dc414805a5aac28b940abea0095fe2300651286151559677 ssh-agent -k [2022-09-12T17:13:47.429Z] unset SSH_AUTH_SOCK; [2022-09-12T17:13:47.430Z] unset SSH_AGENT_PID; [2022-09-12T17:13:47.430Z] echo Agent pid 81 killed; [2022-09-12T17:13:47.441Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-12T17:13:47.752Z] + git semver [Pipeline] } [2022-09-12T17:13:48.026Z] $ docker stop --time=1 bc5d595abd1c60a3dc414805a5aac28b940abea0095fe2300651286151559677 [2022-09-12T17:13:49.476Z] $ docker rm -f bc5d595abd1c60a3dc414805a5aac28b940abea0095fe2300651286151559677 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-12T17:13:49.839Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-12T17:13:50.064Z] Stashed 1 file(s) [Pipeline] echo [2022-09-12T17:13:50.067Z] [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-12T17:13:50.203Z] provisioning config files... [2022-09-12T17:13:50.213Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-155@tmp/config3016649467971796556tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-12T17:13:50.511Z] ---> docker-login.sh [2022-09-12T17:13:50.511Z] nexus3.edgexfoundry.org:10001 [2022-09-12T17:13:50.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T17:13:50.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T17:13:50.511Z] Configure a credential helper to remove this warning. See [2022-09-12T17:13:50.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T17:13:50.511Z] [2022-09-12T17:13:50.511Z] Login Succeeded [2022-09-12T17:13:50.511Z] nexus3.edgexfoundry.org:10002 [2022-09-12T17:13:50.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T17:13:50.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T17:13:50.771Z] Configure a credential helper to remove this warning. See [2022-09-12T17:13:50.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T17:13:50.771Z] [2022-09-12T17:13:50.771Z] Login Succeeded [2022-09-12T17:13:50.771Z] nexus3.edgexfoundry.org:10003 [2022-09-12T17:13:50.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T17:13:50.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T17:13:50.771Z] Configure a credential helper to remove this warning. See [2022-09-12T17:13:50.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T17:13:50.771Z] [2022-09-12T17:13:50.771Z] Login Succeeded [2022-09-12T17:13:50.771Z] nexus3.edgexfoundry.org:10004 [2022-09-12T17:13:51.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T17:13:51.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T17:13:51.030Z] Configure a credential helper to remove this warning. See [2022-09-12T17:13:51.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T17:13:51.030Z] [2022-09-12T17:13:51.030Z] Login Succeeded [2022-09-12T17:13:51.030Z] docker.io [2022-09-12T17:13:51.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T17:13:51.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T17:13:51.290Z] Configure a credential helper to remove this warning. See [2022-09-12T17:13:51.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T17:13:51.290Z] [2022-09-12T17:13:51.290Z] Login Succeeded [2022-09-12T17:13:51.290Z] ---> docker-login.sh ends [Pipeline] } [2022-09-12T17:13:51.298Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-12T17:13:51.369Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-12T17:13:51.385Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-12T17:13:51.394Z] ========================================================= [2022-09-12T17:13:51.394Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-12T17:13:51.394Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T17:13:51.711Z] + 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-12T17:13:51.711Z] Sending build context to Docker daemon 20.64MB [2022-09-12T17:13:51.711Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-12T17:13:51.711Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-12T17:13:51.971Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-12T17:13:51.971Z] 2408cc74d12b: Pulling fs layer [2022-09-12T17:13:51.971Z] ea60b727a1ce: Pulling fs layer [2022-09-12T17:13:51.971Z] 30c4a7721957: Pulling fs layer [2022-09-12T17:13:51.971Z] 370296b7ddb6: Pulling fs layer [2022-09-12T17:13:51.971Z] 7c6cee850709: Pulling fs layer [2022-09-12T17:13:51.971Z] 39a5fcdaea64: Pulling fs layer [2022-09-12T17:13:51.971Z] d94ebbe4e438: Pulling fs layer [2022-09-12T17:13:51.971Z] bcfd1f05c69d: Pulling fs layer [2022-09-12T17:13:51.971Z] 59ccb84bbe0f: Pulling fs layer [2022-09-12T17:13:51.971Z] 7c6cee850709: Waiting [2022-09-12T17:13:51.971Z] 39a5fcdaea64: Waiting [2022-09-12T17:13:51.971Z] d94ebbe4e438: Waiting [2022-09-12T17:13:51.971Z] bcfd1f05c69d: Waiting [2022-09-12T17:13:51.971Z] 59ccb84bbe0f: Waiting [2022-09-12T17:13:51.971Z] 370296b7ddb6: Waiting [2022-09-12T17:13:51.971Z] 30c4a7721957: Verifying Checksum [2022-09-12T17:13:51.971Z] 30c4a7721957: Download complete [2022-09-12T17:13:51.971Z] ea60b727a1ce: Verifying Checksum [2022-09-12T17:13:51.971Z] ea60b727a1ce: Download complete [2022-09-12T17:13:51.971Z] 7c6cee850709: Verifying Checksum [2022-09-12T17:13:51.971Z] 7c6cee850709: Download complete [2022-09-12T17:13:51.971Z] 39a5fcdaea64: Verifying Checksum [2022-09-12T17:13:51.971Z] 39a5fcdaea64: Download complete [2022-09-12T17:13:51.971Z] 2408cc74d12b: Verifying Checksum [2022-09-12T17:13:51.971Z] 2408cc74d12b: Download complete [2022-09-12T17:13:51.971Z] d94ebbe4e438: Verifying Checksum [2022-09-12T17:13:51.971Z] d94ebbe4e438: Download complete [2022-09-12T17:13:52.239Z] 2408cc74d12b: Pull complete [2022-09-12T17:13:52.239Z] ea60b727a1ce: Pull complete [2022-09-12T17:13:52.509Z] 30c4a7721957: Pull complete [2022-09-12T17:13:52.509Z] 59ccb84bbe0f: Verifying Checksum [2022-09-12T17:13:52.509Z] 59ccb84bbe0f: Download complete [2022-09-12T17:13:52.774Z] bcfd1f05c69d: Verifying Checksum [2022-09-12T17:13:52.774Z] 370296b7ddb6: Verifying Checksum [2022-09-12T17:13:52.774Z] 370296b7ddb6: Download complete [2022-09-12T17:13:56.977Z] 370296b7ddb6: Pull complete [2022-09-12T17:13:56.977Z] 7c6cee850709: Pull complete [2022-09-12T17:13:56.977Z] 39a5fcdaea64: Pull complete [2022-09-12T17:13:56.977Z] d94ebbe4e438: Pull complete [2022-09-12T17:13:58.883Z] bcfd1f05c69d: Pull complete [2022-09-12T17:13:59.821Z] 59ccb84bbe0f: Pull complete [2022-09-12T17:13:59.821Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-12T17:13:59.821Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-12T17:13:59.821Z] ---> a4fb48ad2a94 [2022-09-12T17:13:59.821Z] Step 3/13 : ARG MAKE="make build" [2022-09-12T17:14:05.164Z] Still waiting to schedule task [2022-09-12T17:14:05.165Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-28964’ [2022-09-12T17:14:06.408Z] ---> Running in 085a8733df0d [2022-09-12T17:14:06.408Z] Removing intermediate container 085a8733df0d [2022-09-12T17:14:06.408Z] ---> c38b4f350ff2 [2022-09-12T17:14:06.408Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-12T17:14:06.408Z] ---> Running in cadba13647da [2022-09-12T17:14:06.408Z] Removing intermediate container cadba13647da [2022-09-12T17:14:06.408Z] ---> fece1c329031 [2022-09-12T17:14:06.408Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-12T17:14:06.408Z] ---> Running in 654b39bafa0d [2022-09-12T17:14:06.408Z] Removing intermediate container 654b39bafa0d [2022-09-12T17:14:06.408Z] ---> 410bdc0dd062 [2022-09-12T17:14:06.408Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-12T17:14:06.408Z] ---> Running in 14763f0852f6 [2022-09-12T17:14:06.408Z] Removing intermediate container 14763f0852f6 [2022-09-12T17:14:06.408Z] ---> 884ea2c8c95c [2022-09-12T17:14:06.408Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-12T17:14:06.408Z] ---> Running in 958c413c85fc [2022-09-12T17:14:06.408Z] Removing intermediate container 958c413c85fc [2022-09-12T17:14:06.408Z] ---> fb47542146e0 [2022-09-12T17:14:06.408Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-12T17:14:06.408Z] ---> Running in ca42caacbefb [2022-09-12T17:14:06.668Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-12T17:14:07.609Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-12T17:14:07.869Z] OK: 211 MiB in 51 packages [2022-09-12T17:14:08.129Z] Removing intermediate container ca42caacbefb [2022-09-12T17:14:08.129Z] ---> 677a9ba8a706 [2022-09-12T17:14:08.129Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-12T17:14:08.129Z] ---> Running in 3eded19030f4 [2022-09-12T17:14:08.390Z] Removing intermediate container 3eded19030f4 [2022-09-12T17:14:08.390Z] ---> 063fa2559d24 [2022-09-12T17:14:08.390Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-12T17:14:08.390Z] ---> 9f4bd700844e [2022-09-12T17:14:08.390Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-12T17:14:08.650Z] ---> Running in 39f5d6e3067e [2022-09-12T17:14:35.228Z] Removing intermediate container 39f5d6e3067e [2022-09-12T17:14:35.228Z] ---> eb1fbc5eb9ce [2022-09-12T17:14:35.228Z] Step 12/13 : COPY . . [2022-09-12T17:14:35.797Z] ---> 78928217c133 [2022-09-12T17:14:35.797Z] Step 13/13 : RUN ${MAKE} [2022-09-12T17:14:35.797Z] ---> Running in 3b2c9347f9c0 [2022-09-12T17:14:36.056Z] noop [2022-09-12T17:14:36.324Z] Removing intermediate container 3b2c9347f9c0 [2022-09-12T17:14:36.324Z] ---> d72dc9e8f37e [2022-09-12T17:14:36.324Z] Successfully built d72dc9e8f37e [2022-09-12T17:14:36.324Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T17:14:36.643Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-12T17:14:36.643Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T17:14:36.716Z] prd-ubuntu20.04-docker-8c-8g-28965 does not seem to be running inside a container [2022-09-12T17:14:36.768Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-155 -v /w/workspace/undry_device-onvif-camera_PR-155:/w/workspace/undry_device-onvif-camera_PR-155:rw,z -v /w/workspace/undry_device-onvif-camera_PR-155@tmp:/w/workspace/undry_device-onvif-camera_PR-155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-12T17:14:37.154Z] $ docker top 56bb05f830b61699dc1273b4bc85b28e2ad5dc6964e269f3f570aca52aff8e0c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-12T17:14:37.545Z] + go version [2022-09-12T17:14:37.545Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-12T17:14:37.567Z] $ docker stop --time=1 56bb05f830b61699dc1273b4bc85b28e2ad5dc6964e269f3f570aca52aff8e0c [2022-09-12T17:14:38.822Z] $ docker rm -f 56bb05f830b61699dc1273b4bc85b28e2ad5dc6964e269f3f570aca52aff8e0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T17:14:39.234Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-12T17:14:39.234Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T17:14:39.326Z] prd-ubuntu20.04-docker-8c-8g-28965 does not seem to be running inside a container [2022-09-12T17:14:39.370Z] $ 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-155 -v /w/workspace/undry_device-onvif-camera_PR-155:/w/workspace/undry_device-onvif-camera_PR-155:rw,z -v /w/workspace/undry_device-onvif-camera_PR-155@tmp:/w/workspace/undry_device-onvif-camera_PR-155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-12T17:14:39.737Z] $ docker top 63844827265e194e3ff0886907fbbc6299239dc41e786c649a607ee191bca9e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-12T17:14:40.074Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-155 [Pipeline] fileExists [Pipeline] sh [2022-09-12T17:14:40.372Z] + make test [2022-09-12T17:14:40.372Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-12T17:14:40.629Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-12T17:14:50.601Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-12T17:14:51.170Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.6% of statements [2022-09-12T17:14:51.170Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-12T17:14:54.462Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.957s coverage: 13.8% of statements [2022-09-12T17:15:01.033Z] 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-12T17:15:01.033Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-12T17:15:05.239Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-12T17:15:05.240Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-12T17:15:05.240Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-12T17:15:05.252Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-12T17:15:05.270Z] $ docker stop --time=1 63844827265e194e3ff0886907fbbc6299239dc41e786c649a607ee191bca9e7 [2022-09-12T17:15:09.558Z] $ docker rm -f 63844827265e194e3ff0886907fbbc6299239dc41e786c649a607ee191bca9e7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-12T17:15:10.006Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-12T17:15:10.056Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-12T17:15:10.503Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-12T17:15:10.791Z] + ls -al . [2022-09-12T17:15:10.791Z] total 232 [2022-09-12T17:15:10.791Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 17:14 . [2022-09-12T17:15:10.791Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 17:13 .. [2022-09-12T17:15:10.791Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 17:14 .git [2022-09-12T17:15:10.791Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 17:13 .github [2022-09-12T17:15:10.791Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 12 17:13 .gitignore [2022-09-12T17:15:10.791Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 17:13 .golangci.yml [2022-09-12T17:15:10.791Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 17:13 .semver [2022-09-12T17:15:10.791Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 12 17:13 Attribution.txt [2022-09-12T17:15:10.791Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 12 17:13 CHANGELOG.md [2022-09-12T17:15:10.791Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 12 17:13 Dockerfile [2022-09-12T17:15:10.791Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 17:13 GOVERNANCE.md [2022-09-12T17:15:10.791Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 12 17:13 Jenkinsfile [2022-09-12T17:15:10.791Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 12 17:13 LICENSE [2022-09-12T17:15:10.791Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 12 17:13 Makefile [2022-09-12T17:15:10.791Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 12 17:13 OWNERS.md [2022-09-12T17:15:10.791Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 12 17:13 README.md [2022-09-12T17:15:10.791Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 17:13 VERSION [2022-09-12T17:15:10.791Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 17:13 bin [2022-09-12T17:15:10.791Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 17:13 cmd [2022-09-12T17:15:10.791Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 12 17:14 coverage.out [2022-09-12T17:15:10.791Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 17:13 doc [2022-09-12T17:15:10.791Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 12 17:13 go.mod [2022-09-12T17:15:10.791Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 12 17:13 go.sum [2022-09-12T17:15:10.791Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 17:13 internal [2022-09-12T17:15:10.791Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 17:13 snap [2022-09-12T17:15:10.791Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 12 17:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T17:15:11.240Z] + 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=ccd7db685d4ea142e37eeac2a395e360f7489489 --label arch=amd64 --label version=0.0.0 . [2022-09-12T17:15:11.240Z] Sending build context to Docker daemon 20.71MB [2022-09-12T17:15:11.240Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-12T17:15:11.240Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-12T17:15:11.240Z] ---> d72dc9e8f37e [2022-09-12T17:15:11.240Z] Step 3/26 : ARG MAKE="make build" [2022-09-12T17:15:11.501Z] ---> Running in 4a397a759c32 [2022-09-12T17:15:11.761Z] Removing intermediate container 4a397a759c32 [2022-09-12T17:15:11.761Z] ---> 309f939a13c1 [2022-09-12T17:15:11.761Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-12T17:15:11.761Z] ---> Running in d2406ec8419c [2022-09-12T17:15:11.761Z] Removing intermediate container d2406ec8419c [2022-09-12T17:15:11.761Z] ---> 7fcc17536100 [2022-09-12T17:15:11.761Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-12T17:15:11.761Z] ---> Running in 3afa6ee9ecca [2022-09-12T17:15:11.761Z] Removing intermediate container 3afa6ee9ecca [2022-09-12T17:15:11.761Z] ---> 5db5f5fb594c [2022-09-12T17:15:11.761Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-12T17:15:11.761Z] ---> Running in c3e29502222f [2022-09-12T17:15:12.022Z] Removing intermediate container c3e29502222f [2022-09-12T17:15:12.022Z] ---> 19240d459ec6 [2022-09-12T17:15:12.022Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-12T17:15:12.022Z] ---> Running in 12b60a125330 [2022-09-12T17:15:12.596Z] Removing intermediate container 12b60a125330 [2022-09-12T17:15:12.596Z] ---> 0fa323037835 [2022-09-12T17:15:12.596Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-12T17:15:12.596Z] ---> Running in d4a13c71b6cb [2022-09-12T17:15:12.857Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-12T17:15:13.428Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-12T17:15:13.999Z] OK: 211 MiB in 51 packages [2022-09-12T17:15:14.260Z] Removing intermediate container d4a13c71b6cb [2022-09-12T17:15:14.260Z] ---> 696c98e7668a [2022-09-12T17:15:14.260Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-12T17:15:14.260Z] ---> Running in ccb839c2b9e3 [2022-09-12T17:15:14.260Z] Removing intermediate container ccb839c2b9e3 [2022-09-12T17:15:14.260Z] ---> ca64d4bc7eee [2022-09-12T17:15:14.260Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-12T17:15:14.520Z] ---> 40672bd4bf92 [2022-09-12T17:15:14.520Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-12T17:15:14.520Z] ---> Running in ab282fccad0d [2022-09-12T17:15:15.092Z] Removing intermediate container ab282fccad0d [2022-09-12T17:15:15.092Z] ---> 27ea3a2f8560 [2022-09-12T17:15:15.092Z] Step 12/26 : COPY . . [2022-09-12T17:15:16.036Z] ---> ad9de4a46aa1 [2022-09-12T17:15:16.036Z] Step 13/26 : RUN ${MAKE} [2022-09-12T17:15:16.036Z] ---> Running in ed26a26c5e95 [2022-09-12T17:15:16.310Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-12T17:15:42.910Z] Removing intermediate container ed26a26c5e95 [2022-09-12T17:15:42.910Z] ---> a3e7dfad1bfb [2022-09-12T17:15:42.910Z] Step 14/26 : FROM alpine:3.16 [2022-09-12T17:15:42.910Z] 3.16: Pulling from library/alpine [2022-09-12T17:15:42.910Z] 213ec9aee27d: Pulling fs layer [2022-09-12T17:15:42.910Z] 213ec9aee27d: Verifying Checksum [2022-09-12T17:15:42.910Z] 213ec9aee27d: Download complete [2022-09-12T17:15:42.910Z] 213ec9aee27d: Pull complete [2022-09-12T17:15:42.910Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-12T17:15:42.910Z] Status: Downloaded newer image for alpine:3.16 [2022-09-12T17:15:42.910Z] ---> 9c6f07244728 [2022-09-12T17:15:42.910Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-12T17:15:42.910Z] ---> Running in e6a9370c610d [2022-09-12T17:15:42.910Z] Removing intermediate container e6a9370c610d [2022-09-12T17:15:42.910Z] ---> 4fe5da364192 [2022-09-12T17:15:42.910Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-12T17:15:42.910Z] ---> Running in 2a6795fcc077 [2022-09-12T17:15:42.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-12T17:15:42.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-12T17:15:42.910Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-12T17:15:42.910Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-12T17:15:42.910Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-12T17:15:42.910Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-12T17:15:42.910Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-12T17:15:42.910Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-12T17:15:42.910Z] Executing busybox-1.35.0-r17.trigger [2022-09-12T17:15:42.910Z] OK: 8 MiB in 20 packages [2022-09-12T17:15:43.482Z] Removing intermediate container 2a6795fcc077 [2022-09-12T17:15:43.482Z] ---> 4e5f9733db5a [2022-09-12T17:15:43.482Z] Step 17/26 : WORKDIR / [2022-09-12T17:15:43.482Z] ---> Running in 35f1bc9ccc40 [2022-09-12T17:15:43.482Z] Removing intermediate container 35f1bc9ccc40 [2022-09-12T17:15:43.482Z] ---> f0b8d796798e [2022-09-12T17:15:43.482Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-12T17:15:44.863Z] ---> 8ece500d2bbd [2022-09-12T17:15:44.863Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-12T17:15:44.863Z] ---> baab07bd252a [2022-09-12T17:15:44.863Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-12T17:15:44.863Z] ---> 6a688081f430 [2022-09-12T17:15:44.863Z] Step 21/26 : EXPOSE 59984 [2022-09-12T17:15:44.863Z] ---> Running in 1b32b086d7d7 [2022-09-12T17:15:44.863Z] Removing intermediate container 1b32b086d7d7 [2022-09-12T17:15:44.863Z] ---> 4da1e9859611 [2022-09-12T17:15:44.863Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-12T17:15:44.863Z] ---> Running in 60d11ccc43de [2022-09-12T17:15:45.123Z] Removing intermediate container 60d11ccc43de [2022-09-12T17:15:45.123Z] ---> fcd4ae35267d [2022-09-12T17:15:45.123Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-12T17:15:45.123Z] ---> Running in e4a0cbfa3e7d [2022-09-12T17:15:45.123Z] Removing intermediate container e4a0cbfa3e7d [2022-09-12T17:15:45.123Z] ---> 2840cfa13ecb [2022-09-12T17:15:45.123Z] Step 24/26 : LABEL arch=amd64 [2022-09-12T17:15:45.123Z] ---> Running in 342b93ecdd75 [2022-09-12T17:15:45.123Z] Removing intermediate container 342b93ecdd75 [2022-09-12T17:15:45.123Z] ---> 8a173a465f44 [2022-09-12T17:15:45.123Z] Step 25/26 : LABEL git_sha=ccd7db685d4ea142e37eeac2a395e360f7489489 [2022-09-12T17:15:45.383Z] ---> Running in c212a9b45b4a [2022-09-12T17:15:45.383Z] Removing intermediate container c212a9b45b4a [2022-09-12T17:15:45.383Z] ---> 7f41940d614d [2022-09-12T17:15:45.383Z] Step 26/26 : LABEL version=0.0.0 [2022-09-12T17:15:45.383Z] ---> Running in 981d4c226edb [2022-09-12T17:15:45.383Z] Removing intermediate container 981d4c226edb [2022-09-12T17:15:45.383Z] ---> b918f51acb7c [2022-09-12T17:15:45.383Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-12T17:15:45.383Z] Successfully built b918f51acb7c [2022-09-12T17:15:45.383Z] 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-12T17:15:45.801Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-12T17:15:45.801Z] [2022-09-12T17:15:45.801Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T17:15:46.100Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-12T17:15:46.100Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-12T17:15:46.100Z] 5eb5b503b376: Pulling fs layer [2022-09-12T17:15:46.100Z] 5c69ac0246d0: Pulling fs layer [2022-09-12T17:15:46.100Z] ec43610c2a17: Pulling fs layer [2022-09-12T17:15:46.100Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-12T17:15:46.100Z] 33b1e0a273af: Pulling fs layer [2022-09-12T17:15:46.100Z] 5d3b04190fa2: Pulling fs layer [2022-09-12T17:15:46.100Z] 3a2ae6a8a46f: Waiting [2022-09-12T17:15:46.100Z] 2f39f015ded8: Pulling fs layer [2022-09-12T17:15:46.100Z] 5d3b04190fa2: Waiting [2022-09-12T17:15:46.100Z] 2f39f015ded8: Waiting [2022-09-12T17:15:46.100Z] 5c69ac0246d0: Verifying Checksum [2022-09-12T17:15:46.100Z] 5c69ac0246d0: Download complete [2022-09-12T17:15:46.100Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-12T17:15:46.100Z] 3a2ae6a8a46f: Download complete [2022-09-12T17:15:46.100Z] 33b1e0a273af: Verifying Checksum [2022-09-12T17:15:46.100Z] 33b1e0a273af: Download complete [2022-09-12T17:15:46.359Z] 5d3b04190fa2: Verifying Checksum [2022-09-12T17:15:46.359Z] 5d3b04190fa2: Download complete [2022-09-12T17:15:46.359Z] ec43610c2a17: Verifying Checksum [2022-09-12T17:15:46.359Z] ec43610c2a17: Download complete [2022-09-12T17:15:46.359Z] 5eb5b503b376: Download complete [2022-09-12T17:15:46.926Z] 2f39f015ded8: Download complete [2022-09-12T17:15:47.864Z] 5eb5b503b376: Pull complete [2022-09-12T17:15:47.864Z] 5c69ac0246d0: Pull complete [2022-09-12T17:15:48.432Z] ec43610c2a17: Pull complete [2022-09-12T17:15:48.432Z] 3a2ae6a8a46f: Pull complete [2022-09-12T17:15:48.691Z] 33b1e0a273af: Pull complete [2022-09-12T17:15:48.691Z] 5d3b04190fa2: Pull complete [2022-09-12T17:15:52.881Z] 2f39f015ded8: Pull complete [2022-09-12T17:15:52.881Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-12T17:15:52.881Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-12T17:15:52.881Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T17:15:52.975Z] prd-ubuntu20.04-docker-8c-8g-28965 does not seem to be running inside a container [2022-09-12T17:15:53.015Z] $ 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-155 -v /w/workspace/undry_device-onvif-camera_PR-155:/w/workspace/undry_device-onvif-camera_PR-155:rw,z -v /w/workspace/undry_device-onvif-camera_PR-155@tmp:/w/workspace/undry_device-onvif-camera_PR-155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-12T17:15:57.195Z] $ docker top 4565fdc36e109f4da703edf87c4f48a9287ad338b6ba8d13a3593ca094cb06b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-12T17:15:57.583Z] ---> job-cost.sh [2022-09-12T17:15:57.583Z] lf-activate-venv: SKIPPING [2022-09-12T17:15:57.583Z] INFO: No Stack... [2022-09-12T17:15:58.154Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-12T17:15:58.414Z] INFO: Archiving Costs [Pipeline] sh [2022-09-12T17:15:58.702Z] + cat /w/workspace/undry_device-onvif-camera_PR-155/archives/cost.csv [2022-09-12T17:15:58.703Z] + cut -d, -f6 [Pipeline] lock [2022-09-12T17:15:58.717Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-155-2-stack-cost] [2022-09-12T17:15:58.724Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-155-2-stack-cost] did not exist. Created. [2022-09-12T17:15:58.724Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-155-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-12T17:15:59.028Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-12T17:15:59.062Z] Stashed 1 file(s) [Pipeline] } [2022-09-12T17:15:59.068Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-155-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-12T17:15:59.096Z] $ docker stop --time=1 4565fdc36e109f4da703edf87c4f48a9287ad338b6ba8d13a3593ca094cb06b3 [2022-09-12T17:16:00.541Z] $ docker rm -f 4565fdc36e109f4da703edf87c4f48a9287ad338b6ba8d13a3593ca094cb06b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-12T17:16:32.818Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-28967 in /w/workspace/undry_device-onvif-camera_PR-155 [Pipeline] { [Pipeline] ws [2022-09-12T17:16:32.830Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2022-09-12T17:16:32.920Z] Selected Git installation does not exist. Using Default [2022-09-12T17:16:32.920Z] The recommended git tool is: NONE [2022-09-12T17:16:41.215Z] using credential edgex-jenkins-ssh [2022-09-12T17:16:41.232Z] Cloning the remote Git repository [2022-09-12T17:16:41.311Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-12T17:16:41.476Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2022-09-12T17:16:41.640Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-12T17:16:41.641Z] > git --version # timeout=10 [2022-09-12T17:16:41.684Z] > git --version # 'git version 2.25.1' [2022-09-12T17:16:41.690Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-12T17:16:41.827Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-12T17:16:43.435Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-12T17:16:43.457Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-12T17:16:43.495Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-12T17:16:43.574Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-12T17:16:43.577Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-12T17:16:43.603Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/155/head:refs/remotes/origin/PR-155 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-12T17:16:44.149Z] Merging remotes/origin/main commit 745ce0ececd70d604063f252cada215ed76a682d into PR head commit ccd7db685d4ea142e37eeac2a395e360f7489489 [2022-09-12T17:16:44.574Z] Merge succeeded, producing ccd7db685d4ea142e37eeac2a395e360f7489489 [2022-09-12T17:16:44.574Z] Checking out Revision ccd7db685d4ea142e37eeac2a395e360f7489489 (PR-155) [2022-09-12T17:16:44.173Z] > git config core.sparsecheckout # timeout=10 [2022-09-12T17:16:44.199Z] > git checkout -f ccd7db685d4ea142e37eeac2a395e360f7489489 # timeout=10 [2022-09-12T17:16:44.462Z] > git remote # timeout=10 [2022-09-12T17:16:44.482Z] > git config --get remote.origin.url # timeout=10 [2022-09-12T17:16:44.512Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-12T17:16:44.525Z] > git merge 745ce0ececd70d604063f252cada215ed76a682d # timeout=10 [2022-09-12T17:16:44.556Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-12T17:16:44.584Z] > git config core.sparsecheckout # timeout=10 [2022-09-12T17:16:44.616Z] > git checkout -f ccd7db685d4ea142e37eeac2a395e360f7489489 # timeout=10 [2022-09-12T17:16:49.236Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-12T17:16:50.270Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-12T17:16:50.270Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-12T17:16:50.270Z] Dload Upload Total Spent Left Speed [2022-09-12T17:16:50.270Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 212k 0 --:--:-- --:--:-- --:--:-- 212k [Pipeline] sh [2022-09-12T17:16:51.031Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-12T17:16:51.398Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-12T17:16:51.398Z] + sudo tee /etc/docker/daemon.new [2022-09-12T17:16:51.398Z] { [2022-09-12T17:16:51.398Z] "registry-mirrors": [ [2022-09-12T17:16:51.398Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-12T17:16:51.398Z] ], [2022-09-12T17:16:51.398Z] "bip": "10.250.0.254/24", [2022-09-12T17:16:51.398Z] "hosts": [ [2022-09-12T17:16:51.398Z] "tcp://0.0.0.0:5555", [2022-09-12T17:16:51.398Z] "unix:///var/run/docker.sock" [2022-09-12T17:16:51.398Z] ], [2022-09-12T17:16:51.398Z] "mtu": 1458, [2022-09-12T17:16:51.398Z] "selinux-enabled": true, [2022-09-12T17:16:51.398Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-12T17:16:51.398Z] } [Pipeline] sh [2022-09-12T17:16:51.829Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-12T17:16:52.184Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-12T17:17:10.547Z] provisioning config files... [2022-09-12T17:17:10.575Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config2898374852614614415tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-12T17:17:11.131Z] ---> docker-login.sh [2022-09-12T17:17:11.131Z] nexus3.edgexfoundry.org:10001 [2022-09-12T17:17:11.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T17:17:12.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T17:17:12.344Z] Configure a credential helper to remove this warning. See [2022-09-12T17:17:12.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T17:17:12.344Z] [2022-09-12T17:17:12.344Z] Login Succeeded [2022-09-12T17:17:12.344Z] nexus3.edgexfoundry.org:10002 [2022-09-12T17:17:12.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T17:17:12.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T17:17:12.913Z] Configure a credential helper to remove this warning. See [2022-09-12T17:17:12.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T17:17:12.913Z] [2022-09-12T17:17:12.913Z] Login Succeeded [2022-09-12T17:17:12.913Z] nexus3.edgexfoundry.org:10003 [2022-09-12T17:17:13.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T17:17:13.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T17:17:13.195Z] Configure a credential helper to remove this warning. See [2022-09-12T17:17:13.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T17:17:13.195Z] [2022-09-12T17:17:13.195Z] Login Succeeded [2022-09-12T17:17:13.195Z] nexus3.edgexfoundry.org:10004 [2022-09-12T17:17:13.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T17:17:13.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T17:17:13.796Z] Configure a credential helper to remove this warning. See [2022-09-12T17:17:13.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T17:17:13.796Z] [2022-09-12T17:17:13.796Z] Login Succeeded [2022-09-12T17:17:13.796Z] docker.io [2022-09-12T17:17:14.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T17:17:14.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T17:17:14.673Z] Configure a credential helper to remove this warning. See [2022-09-12T17:17:14.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T17:17:14.673Z] [2022-09-12T17:17:14.673Z] Login Succeeded [2022-09-12T17:17:14.673Z] ---> docker-login.sh ends [Pipeline] } [2022-09-12T17:17:14.691Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-12T17:17:15.004Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-12T17:17:15.024Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-12T17:17:15.038Z] ========================================================= [2022-09-12T17:17:15.038Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-12T17:17:15.038Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T17:17:15.397Z] + 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-12T17:17:16.015Z] Sending build context to Docker daemon 14.11MB [2022-09-12T17:17:16.015Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-12T17:17:16.015Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-12T17:17:16.294Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-12T17:17:16.294Z] b3c136eddcbf: Pulling fs layer [2022-09-12T17:17:16.294Z] c0a3192eca97: Pulling fs layer [2022-09-12T17:17:16.294Z] a050256f5b6f: Pulling fs layer [2022-09-12T17:17:16.294Z] 656be50a0ddc: Pulling fs layer [2022-09-12T17:17:16.294Z] 2bbca73fdf42: Pulling fs layer [2022-09-12T17:17:16.294Z] 46d945488cbd: Pulling fs layer [2022-09-12T17:17:16.294Z] 8a5474983e97: Pulling fs layer [2022-09-12T17:17:16.294Z] 329c88fbcd65: Pulling fs layer [2022-09-12T17:17:16.294Z] 656be50a0ddc: Waiting [2022-09-12T17:17:16.294Z] 2bbca73fdf42: Waiting [2022-09-12T17:17:16.294Z] 329c88fbcd65: Waiting [2022-09-12T17:17:16.294Z] 46d945488cbd: Waiting [2022-09-12T17:17:16.294Z] 8a5474983e97: Waiting [2022-09-12T17:17:16.294Z] a050256f5b6f: Verifying Checksum [2022-09-12T17:17:16.294Z] a050256f5b6f: Download complete [2022-09-12T17:17:16.294Z] c0a3192eca97: Verifying Checksum [2022-09-12T17:17:16.295Z] c0a3192eca97: Download complete [2022-09-12T17:17:16.295Z] 2bbca73fdf42: Verifying Checksum [2022-09-12T17:17:16.295Z] 2bbca73fdf42: Download complete [2022-09-12T17:17:16.295Z] 46d945488cbd: Verifying Checksum [2022-09-12T17:17:16.295Z] 46d945488cbd: Download complete [2022-09-12T17:17:16.295Z] b3c136eddcbf: Verifying Checksum [2022-09-12T17:17:16.295Z] b3c136eddcbf: Download complete [2022-09-12T17:17:17.325Z] b3c136eddcbf: Pull complete [2022-09-12T17:17:17.605Z] 329c88fbcd65: Verifying Checksum [2022-09-12T17:17:17.605Z] 329c88fbcd65: Download complete [2022-09-12T17:17:17.888Z] c0a3192eca97: Pull complete [2022-09-12T17:17:18.505Z] a050256f5b6f: Pull complete [2022-09-12T17:17:18.786Z] 8a5474983e97: Verifying Checksum [2022-09-12T17:17:18.786Z] 8a5474983e97: Download complete [2022-09-12T17:17:19.394Z] 656be50a0ddc: Verifying Checksum [2022-09-12T17:17:19.394Z] 656be50a0ddc: Download complete [2022-09-12T17:17:31.835Z] 656be50a0ddc: Pull complete [2022-09-12T17:17:31.835Z] 2bbca73fdf42: Pull complete [2022-09-12T17:17:31.835Z] 46d945488cbd: Pull complete [2022-09-12T17:17:38.587Z] 8a5474983e97: Pull complete [2022-09-12T17:17:39.574Z] 329c88fbcd65: Pull complete [2022-09-12T17:17:39.574Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-12T17:17:39.574Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-12T17:17:39.574Z] ---> ff4287adb874 [2022-09-12T17:17:39.574Z] Step 3/13 : ARG MAKE="make build" [2022-09-12T17:17:41.560Z] ---> Running in 73164a8f92b6 [2022-09-12T17:17:41.836Z] Removing intermediate container 73164a8f92b6 [2022-09-12T17:17:41.836Z] ---> 8aed0b19c9f5 [2022-09-12T17:17:41.836Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-12T17:17:42.117Z] ---> Running in c579474e0457 [2022-09-12T17:17:42.391Z] Removing intermediate container c579474e0457 [2022-09-12T17:17:42.391Z] ---> a1346f598bea [2022-09-12T17:17:42.391Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-12T17:17:42.391Z] ---> Running in b8107104711d [2022-09-12T17:17:42.669Z] Removing intermediate container b8107104711d [2022-09-12T17:17:42.669Z] ---> d3633e92e6b7 [2022-09-12T17:17:42.669Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-12T17:17:42.943Z] ---> Running in 44ab48d747ce [2022-09-12T17:17:43.224Z] Removing intermediate container 44ab48d747ce [2022-09-12T17:17:43.224Z] ---> 77390b255063 [2022-09-12T17:17:43.224Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-12T17:17:43.224Z] ---> Running in 4edf32f86272 [2022-09-12T17:17:46.681Z] Removing intermediate container 4edf32f86272 [2022-09-12T17:17:46.681Z] ---> 591668e88740 [2022-09-12T17:17:46.681Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-12T17:17:46.681Z] ---> Running in 414c3e8f9f1d [2022-09-12T17:17:47.661Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-12T17:17:48.644Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-12T17:17:49.624Z] OK: 221 MiB in 51 packages [2022-09-12T17:17:50.636Z] Removing intermediate container 414c3e8f9f1d [2022-09-12T17:17:50.636Z] ---> 116ce6bf1f89 [2022-09-12T17:17:50.636Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-12T17:17:50.636Z] ---> Running in 95457fab57be [2022-09-12T17:17:50.908Z] Removing intermediate container 95457fab57be [2022-09-12T17:17:50.908Z] ---> 2ffd43807706 [2022-09-12T17:17:50.908Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-12T17:17:51.505Z] ---> 95f4f7083e30 [2022-09-12T17:17:51.505Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-12T17:17:51.505Z] ---> Running in 67406aeed752 [2022-09-12T17:18:48.053Z] Removing intermediate container 67406aeed752 [2022-09-12T17:18:48.053Z] ---> b3b13b2b2745 [2022-09-12T17:18:48.053Z] Step 12/13 : COPY . . [2022-09-12T17:18:48.328Z] ---> 37bd9251dc1f [2022-09-12T17:18:48.328Z] Step 13/13 : RUN ${MAKE} [2022-09-12T17:18:48.328Z] ---> Running in 2dafbd9c858a [2022-09-12T17:18:49.312Z] noop [2022-09-12T17:18:49.912Z] Removing intermediate container 2dafbd9c858a [2022-09-12T17:18:49.912Z] ---> fde45ece024d [2022-09-12T17:18:49.912Z] Successfully built fde45ece024d [2022-09-12T17:18:49.912Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T17:18:50.292Z] + docker inspect -f . ci-base-image-arm64 [2022-09-12T17:18:50.292Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T17:18:50.573Z] prd-ubuntu20.04-docker-arm64-4c-16g-28967 does not seem to be running inside a container [2022-09-12T17:18:50.666Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-12T17:18:52.024Z] $ docker top de5876f54e4aa6e871829626b4c25b50553fe18178114948bf746a72592ba902 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-12T17:18:52.962Z] + go version [2022-09-12T17:18:52.962Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-12T17:18:52.991Z] $ docker stop --time=1 de5876f54e4aa6e871829626b4c25b50553fe18178114948bf746a72592ba902 [2022-09-12T17:18:54.667Z] $ docker rm -f de5876f54e4aa6e871829626b4c25b50553fe18178114948bf746a72592ba902 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T17:18:55.327Z] + docker inspect -f . ci-base-image-arm64 [2022-09-12T17:18:55.327Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T17:18:55.577Z] prd-ubuntu20.04-docker-arm64-4c-16g-28967 does not seem to be running inside a container [2022-09-12T17:18:55.671Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-12T17:18:57.036Z] $ docker top 8326cbb230ef296671fb62b5bc90282f706602925a568e007e5a3122900f3cd8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-12T17:18:57.978Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2022-09-12T17:18:58.656Z] + make test [2022-09-12T17:18:58.656Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-12T17:19:00.664Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-12T17:20:37.585Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-12T17:20:44.346Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.198s coverage: 28.6% of statements [2022-09-12T17:20:44.346Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-12T17:21:02.708Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.459s coverage: 13.8% of statements [2022-09-12T17:21:02.708Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-12T17:21:02.708Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-12T17:21:29.553Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-12T17:21:29.553Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-12T17:21:29.553Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-12T17:21:29.576Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-12T17:21:29.593Z] $ docker stop --time=1 8326cbb230ef296671fb62b5bc90282f706602925a568e007e5a3122900f3cd8 [2022-09-12T17:21:31.409Z] $ docker rm -f 8326cbb230ef296671fb62b5bc90282f706602925a568e007e5a3122900f3cd8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-12T17:21:32.582Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-12T17:21:32.606Z] Warning: overwriting stash ‘coverage-report’ [2022-09-12T17:21:33.451Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-12T17:21:33.880Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-12T17:21:34.282Z] + ls -al . [2022-09-12T17:21:34.283Z] total 228 [2022-09-12T17:21:34.283Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 17:18 . [2022-09-12T17:21:34.283Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 17:16 .. [2022-09-12T17:21:34.283Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 17:16 .git [2022-09-12T17:21:34.283Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 17:16 .github [2022-09-12T17:21:34.283Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 12 17:16 .gitignore [2022-09-12T17:21:34.283Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 17:16 .golangci.yml [2022-09-12T17:21:34.283Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 12 17:16 Attribution.txt [2022-09-12T17:21:34.283Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 12 17:16 CHANGELOG.md [2022-09-12T17:21:34.283Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 12 17:16 Dockerfile [2022-09-12T17:21:34.283Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 17:16 GOVERNANCE.md [2022-09-12T17:21:34.283Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 12 17:16 Jenkinsfile [2022-09-12T17:21:34.283Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 12 17:16 LICENSE [2022-09-12T17:21:34.283Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 12 17:16 Makefile [2022-09-12T17:21:34.283Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 12 17:16 OWNERS.md [2022-09-12T17:21:34.283Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 12 17:16 README.md [2022-09-12T17:21:34.283Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 17:13 VERSION [2022-09-12T17:21:34.283Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 17:16 bin [2022-09-12T17:21:34.283Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 17:16 cmd [2022-09-12T17:21:34.283Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 12 17:21 coverage.out [2022-09-12T17:21:34.283Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 17:16 doc [2022-09-12T17:21:34.283Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 12 17:16 go.mod [2022-09-12T17:21:34.283Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 12 17:16 go.sum [2022-09-12T17:21:34.283Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 17:16 internal [2022-09-12T17:21:34.283Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 17:16 snap [2022-09-12T17:21:34.283Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 12 17:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T17:21:34.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=ccd7db685d4ea142e37eeac2a395e360f7489489 --label arch=arm64 --label version=0.0.0 . [2022-09-12T17:21:35.312Z] Sending build context to Docker daemon 14.19MB [2022-09-12T17:21:35.312Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-12T17:21:35.312Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-12T17:21:35.312Z] ---> fde45ece024d [2022-09-12T17:21:35.312Z] Step 3/26 : ARG MAKE="make build" [2022-09-12T17:21:35.587Z] ---> Running in 8a5c64a3621e [2022-09-12T17:21:35.862Z] Removing intermediate container 8a5c64a3621e [2022-09-12T17:21:35.862Z] ---> acddc123518c [2022-09-12T17:21:35.862Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-12T17:21:35.862Z] ---> Running in 585f8b0495f1 [2022-09-12T17:21:36.462Z] Removing intermediate container 585f8b0495f1 [2022-09-12T17:21:36.462Z] ---> 5de2261be50f [2022-09-12T17:21:36.462Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-12T17:21:36.462Z] ---> Running in 906492b6164a [2022-09-12T17:21:36.737Z] Removing intermediate container 906492b6164a [2022-09-12T17:21:36.737Z] ---> e2338227a8c8 [2022-09-12T17:21:36.737Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-12T17:21:36.737Z] ---> Running in ba63675e3aa9 [2022-09-12T17:21:37.020Z] Removing intermediate container ba63675e3aa9 [2022-09-12T17:21:37.020Z] ---> dfcebd3faa52 [2022-09-12T17:21:37.020Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-12T17:21:37.299Z] ---> Running in d3bdd424f073 [2022-09-12T17:21:39.289Z] Removing intermediate container d3bdd424f073 [2022-09-12T17:21:39.289Z] ---> f16a156eb8f7 [2022-09-12T17:21:39.289Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-12T17:21:39.289Z] ---> Running in 925bd3703c6c [2022-09-12T17:21:40.293Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-12T17:21:41.276Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-12T17:21:42.255Z] OK: 221 MiB in 51 packages [2022-09-12T17:21:43.245Z] Removing intermediate container 925bd3703c6c [2022-09-12T17:21:43.245Z] ---> 7f9f56b50673 [2022-09-12T17:21:43.245Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-12T17:21:43.245Z] ---> Running in 87216faa82b2 [2022-09-12T17:21:43.522Z] Removing intermediate container 87216faa82b2 [2022-09-12T17:21:43.522Z] ---> 7e3c25ed95e3 [2022-09-12T17:21:43.522Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-12T17:21:44.120Z] ---> 30baa7f45ecd [2022-09-12T17:21:44.120Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-12T17:21:44.120Z] ---> Running in 36cae6071c3b [2022-09-12T17:21:46.105Z] Removing intermediate container 36cae6071c3b [2022-09-12T17:21:46.105Z] ---> f65ccb8ca1c8 [2022-09-12T17:21:46.105Z] Step 12/26 : COPY . . [2022-09-12T17:21:48.096Z] ---> fed647a781f9 [2022-09-12T17:21:48.096Z] Step 13/26 : RUN ${MAKE} [2022-09-12T17:21:48.096Z] ---> Running in df809781e02f [2022-09-12T17:21:49.092Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-12T17:24:11.027Z] Removing intermediate container df809781e02f [2022-09-12T17:24:11.027Z] ---> e898f070a1c1 [2022-09-12T17:24:11.027Z] Step 14/26 : FROM alpine:3.16 [2022-09-12T17:24:11.625Z] 3.16: Pulling from library/alpine [2022-09-12T17:24:11.625Z] 9b18e9b68314: Pulling fs layer [2022-09-12T17:24:11.900Z] 9b18e9b68314: Verifying Checksum [2022-09-12T17:24:11.900Z] 9b18e9b68314: Download complete [2022-09-12T17:24:12.497Z] 9b18e9b68314: Pull complete [2022-09-12T17:24:12.497Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-12T17:24:12.497Z] Status: Downloaded newer image for alpine:3.16 [2022-09-12T17:24:12.497Z] ---> a6215f271958 [2022-09-12T17:24:12.497Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-12T17:24:12.771Z] ---> Running in 1d3f6ed28d8c [2022-09-12T17:24:13.051Z] Removing intermediate container 1d3f6ed28d8c [2022-09-12T17:24:13.051Z] ---> 1e3eb20ecaf6 [2022-09-12T17:24:13.051Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-12T17:24:13.051Z] ---> Running in 620b6558a570 [2022-09-12T17:24:14.031Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-12T17:24:14.306Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-12T17:24:15.289Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-12T17:24:15.289Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-12T17:24:15.289Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-12T17:24:15.289Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-12T17:24:15.565Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-12T17:24:15.565Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-12T17:24:15.565Z] Executing busybox-1.35.0-r17.trigger [2022-09-12T17:24:15.565Z] OK: 8 MiB in 20 packages [2022-09-12T17:24:16.548Z] Removing intermediate container 620b6558a570 [2022-09-12T17:24:16.548Z] ---> fcacf499ae45 [2022-09-12T17:24:16.548Z] Step 17/26 : WORKDIR / [2022-09-12T17:24:16.548Z] ---> Running in ba040d8bfd69 [2022-09-12T17:24:16.822Z] Removing intermediate container ba040d8bfd69 [2022-09-12T17:24:16.822Z] ---> 9e410bf31ae7 [2022-09-12T17:24:16.822Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-12T17:24:18.850Z] ---> f40e7289f633 [2022-09-12T17:24:18.850Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-12T17:24:19.127Z] ---> 5ca302b67567 [2022-09-12T17:24:19.127Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-12T17:24:19.732Z] ---> a6da64c0195a [2022-09-12T17:24:19.732Z] Step 21/26 : EXPOSE 59984 [2022-09-12T17:24:19.732Z] ---> Running in 3b50396d32f8 [2022-09-12T17:24:20.005Z] Removing intermediate container 3b50396d32f8 [2022-09-12T17:24:20.005Z] ---> 7bd9b706b4c7 [2022-09-12T17:24:20.005Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-12T17:24:20.286Z] ---> Running in a0550ba40be9 [2022-09-12T17:24:20.560Z] Removing intermediate container a0550ba40be9 [2022-09-12T17:24:20.560Z] ---> 4f7a45d08e9e [2022-09-12T17:24:20.560Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-12T17:24:20.560Z] ---> Running in 22ccba79e65e [2022-09-12T17:24:20.836Z] Removing intermediate container 22ccba79e65e [2022-09-12T17:24:20.836Z] ---> c38661d98d4f [2022-09-12T17:24:20.836Z] Step 24/26 : LABEL arch=arm64 [2022-09-12T17:24:21.119Z] ---> Running in 001910ecb4f4 [2022-09-12T17:24:21.393Z] Removing intermediate container 001910ecb4f4 [2022-09-12T17:24:21.393Z] ---> d24efcf56f51 [2022-09-12T17:24:21.393Z] Step 25/26 : LABEL git_sha=ccd7db685d4ea142e37eeac2a395e360f7489489 [2022-09-12T17:24:21.393Z] ---> Running in 64774ba52fa3 [2022-09-12T17:24:21.672Z] Removing intermediate container 64774ba52fa3 [2022-09-12T17:24:21.672Z] ---> f5d3f75d4a8f [2022-09-12T17:24:21.672Z] Step 26/26 : LABEL version=0.0.0 [2022-09-12T17:24:21.953Z] ---> Running in 205841b43c35 [2022-09-12T17:24:22.227Z] Removing intermediate container 205841b43c35 [2022-09-12T17:24:22.227Z] ---> e3eedd7b5494 [2022-09-12T17:24:22.227Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-12T17:24:22.227Z] Successfully built e3eedd7b5494 [2022-09-12T17:24:22.227Z] 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-12T17:24:22.681Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-12T17:24:22.681Z] [2022-09-12T17:24:22.681Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T17:24:23.038Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-12T17:24:23.313Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-12T17:24:23.313Z] 8998bd30e6a1: Pulling fs layer [2022-09-12T17:24:23.313Z] 04944245beec: Pulling fs layer [2022-09-12T17:24:23.313Z] 699f458cf7ca: Pulling fs layer [2022-09-12T17:24:23.313Z] 765212b225bb: Pulling fs layer [2022-09-12T17:24:23.313Z] f23df028b6ca: Pulling fs layer [2022-09-12T17:24:23.313Z] d65c8cfc05b1: Pulling fs layer [2022-09-12T17:24:23.313Z] 2437ff75d9bd: Pulling fs layer [2022-09-12T17:24:23.313Z] f23df028b6ca: Waiting [2022-09-12T17:24:23.313Z] 2437ff75d9bd: Waiting [2022-09-12T17:24:23.313Z] d65c8cfc05b1: Waiting [2022-09-12T17:24:23.313Z] 765212b225bb: Waiting [2022-09-12T17:24:23.313Z] 04944245beec: Verifying Checksum [2022-09-12T17:24:23.313Z] 04944245beec: Download complete [2022-09-12T17:24:23.313Z] 765212b225bb: Verifying Checksum [2022-09-12T17:24:23.313Z] 765212b225bb: Download complete [2022-09-12T17:24:23.313Z] f23df028b6ca: Verifying Checksum [2022-09-12T17:24:23.313Z] f23df028b6ca: Download complete [2022-09-12T17:24:23.588Z] d65c8cfc05b1: Verifying Checksum [2022-09-12T17:24:23.588Z] d65c8cfc05b1: Download complete [2022-09-12T17:24:23.588Z] 699f458cf7ca: Verifying Checksum [2022-09-12T17:24:23.588Z] 699f458cf7ca: Download complete [2022-09-12T17:24:23.865Z] 8998bd30e6a1: Download complete [2022-09-12T17:24:26.502Z] 2437ff75d9bd: Verifying Checksum [2022-09-12T17:24:26.502Z] 2437ff75d9bd: Download complete [2022-09-12T17:24:28.551Z] 8998bd30e6a1: Pull complete [2022-09-12T17:24:29.145Z] 04944245beec: Pull complete [2022-09-12T17:24:30.579Z] 699f458cf7ca: Pull complete [2022-09-12T17:24:30.853Z] 765212b225bb: Pull complete [2022-09-12T17:24:31.835Z] f23df028b6ca: Pull complete [2022-09-12T17:24:31.835Z] d65c8cfc05b1: Pull complete [2022-09-12T17:24:46.937Z] 2437ff75d9bd: Pull complete [2022-09-12T17:24:46.937Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-12T17:24:46.937Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-12T17:24:46.937Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T17:24:47.220Z] prd-ubuntu20.04-docker-arm64-4c-16g-28967 does not seem to be running inside a container [2022-09-12T17:24:47.320Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-12T17:24:49.984Z] $ docker top cc87f2bdf1c276413e2a1f79ec6fe2b44aca71efc05cb969d4af97c60a809360 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-12T17:24:50.933Z] ---> job-cost.sh [2022-09-12T17:24:50.933Z] lf-activate-venv: SKIPPING [2022-09-12T17:24:50.933Z] INFO: No Stack... [2022-09-12T17:24:51.529Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-12T17:24:52.508Z] INFO: Archiving Costs [Pipeline] sh [2022-09-12T17:24:53.172Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2022-09-12T17:24:53.172Z] + cut -d, -f6 [Pipeline] lock [2022-09-12T17:24:53.248Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-155-2-stack-cost] [2022-09-12T17:24:53.259Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-155-2-stack-cost] did not exist. Created. [2022-09-12T17:24:53.259Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-155-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-12T17:24:53.961Z] /w/workspace/device-onvif-camera/2@tmp/durable-645cff41/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-12T17:24:54.645Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-12T17:24:54.674Z] Warning: overwriting stash ‘stack-cost’ [2022-09-12T17:24:54.735Z] Stashed 1 file(s) [Pipeline] } [2022-09-12T17:24:54.743Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-155-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-12T17:24:54.770Z] $ docker stop --time=1 cc87f2bdf1c276413e2a1f79ec6fe2b44aca71efc05cb969d4af97c60a809360 [2022-09-12T17:24:56.307Z] $ docker rm -f cc87f2bdf1c276413e2a1f79ec6fe2b44aca71efc05cb969d4af97c60a809360 [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-12T17:24:56.780Z] provisioning config files... [2022-09-12T17:24:56.789Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-155@tmp/config729184583388702996tmp [Pipeline] { [Pipeline] sh [2022-09-12T17:24:57.089Z] + set +x [2022-09-12T17:24:57.089Z] + curl -s https://codecov.io/bash [2022-09-12T17:24:57.089Z] + bash -s -- [2022-09-12T17:24:57.089Z] [2022-09-12T17:24:57.089Z] _____ _ [2022-09-12T17:24:57.089Z] / ____| | | [2022-09-12T17:24:57.089Z] | | ___ __| | ___ ___ _____ __ [2022-09-12T17:24:57.089Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-12T17:24:57.089Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-12T17:24:57.089Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-12T17:24:57.089Z] Bash-1.0.6 [2022-09-12T17:24:57.089Z] [2022-09-12T17:24:57.089Z] [2022-09-12T17:24:57.089Z] ==> git version 2.25.1 found [2022-09-12T17:24:57.089Z] ==> 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-12T17:24:57.089Z] Release-Date: 2020-01-08 [2022-09-12T17:24:57.089Z] 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-12T17:24:57.089Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-12T17:24:57.089Z] ==> Jenkins CI detected. [2022-09-12T17:24:57.089Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-155 [2022-09-12T17:24:57.089Z] project root: . [2022-09-12T17:24:57.089Z] --> token set from env [2022-09-12T17:24:57.089Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-12T17:24:57.089Z] ==> Running gcov in . (disable via -X gcov) [2022-09-12T17:24:57.089Z] ==> Python coveragepy not found [2022-09-12T17:24:57.089Z] ==> Searching for coverage reports in: [2022-09-12T17:24:57.089Z] + . [2022-09-12T17:24:57.089Z] -> Found 1 reports [2022-09-12T17:24:57.089Z] ==> Detecting git/mercurial file structure [2022-09-12T17:24:57.089Z] ==> Reading reports [2022-09-12T17:24:57.089Z] + ./coverage.out bytes=77283 [2022-09-12T17:24:57.089Z] ==> Appending adjustments [2022-09-12T17:24:57.089Z] https://docs.codecov.io/docs/fixing-reports [2022-09-12T17:24:57.350Z] + Found adjustments [2022-09-12T17:24:57.350Z] ==> Gzipping contents [2022-09-12T17:24:57.350Z] 12K /tmp/codecov.K6Uj7z.gz [2022-09-12T17:24:57.350Z] ==> Uploading reports [2022-09-12T17:24:57.350Z] url: https://codecov.io [2022-09-12T17:24:57.350Z] query: branch=PR-155&commit=ccd7db685d4ea142e37eeac2a395e360f7489489&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-155%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=155&job=&cmd_args= [2022-09-12T17:24:57.350Z] -> Pinging Codecov [2022-09-12T17:24:57.350Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-155&commit=ccd7db685d4ea142e37eeac2a395e360f7489489&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-155%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=155&job=&cmd_args= [2022-09-12T17:24:57.612Z] -> Uploading to [2022-09-12T17:24:57.612Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-12/F29A59C45E3A92E06B3E522C9905F8EF/ccd7db685d4ea142e37eeac2a395e360f7489489/0569785a-dc8c-4e82-8681-d782146ae70e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220912T172457Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0417b58f2b2d4b5c272d82d78684509f11f583a3ef70524bc87df9bd728642bf [2022-09-12T17:24:57.612Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-12T17:24:57.612Z] Dload Upload Total Spent Left Speed [2022-09-12T17:24:57.872Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10534 0 0 100 10534 0 51637 --:--:-- --:--:-- --:--:-- 51385 100 10534 0 0 100 10534 0 40988 --:--:-- --:--:-- --:--:-- 40829 [2022-09-12T17:24:57.872Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/ccd7db685d4ea142e37eeac2a395e360f7489489 [Pipeline] } [2022-09-12T17:24:57.881Z] 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-12T17:24:58.610Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-155/archives ] [2022-09-12T17:24:58.611Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-155/archives [2022-09-12T17:24:58.611Z] total 16 [2022-09-12T17:24:58.611Z] drwxr-xr-x 3 root root 4096 Sep 12 17:15 . [2022-09-12T17:24:58.611Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 17:15 .. [2022-09-12T17:24:58.611Z] drwxr-xr-x 2 root root 4096 Sep 12 17:15 cost [2022-09-12T17:24:58.611Z] -rw-r--r-- 1 root root 91 Sep 12 17:15 cost.csv [2022-09-12T17:24:58.611Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-155/archives [2022-09-12T17:24:58.611Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-155/archives [2022-09-12T17:24:58.611Z] total 16 [2022-09-12T17:24:58.611Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 17:15 . [2022-09-12T17:24:58.611Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 17:15 .. [2022-09-12T17:24:58.611Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 17:15 cost [2022-09-12T17:24:58.611Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 12 17:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-12T17:24:58.907Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-12T17:24:59.767Z] ---> package-listing.sh [2022-09-12T17:24:59.768Z] ++ facter osfamily [2022-09-12T17:24:59.768Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-12T17:25:00.028Z] + OS_FAMILY=debian [2022-09-12T17:25:00.028Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-155 [2022-09-12T17:25:00.028Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-12T17:25:00.028Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-12T17:25:00.028Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-12T17:25:00.028Z] + PACKAGES=/tmp/packages_start.txt [2022-09-12T17:25:00.028Z] + '[' /w/workspace/undry_device-onvif-camera_PR-155 ']' [2022-09-12T17:25:00.028Z] + PACKAGES=/tmp/packages_end.txt [2022-09-12T17:25:00.028Z] + case "${OS_FAMILY}" in [2022-09-12T17:25:00.028Z] + dpkg -l [2022-09-12T17:25:00.028Z] + grep '^ii' [2022-09-12T17:25:00.028Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-12T17:25:00.029Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-12T17:25:00.029Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-12T17:25:00.029Z] + '[' /w/workspace/undry_device-onvif-camera_PR-155 ']' [2022-09-12T17:25:00.029Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-155/archives/ [2022-09-12T17:25:00.029Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-155/archives/ [Pipeline] echo [2022-09-12T17:25:00.041Z] 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-155/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-12T17:25:00.322Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T17:25:00.891Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-12T17:25:00.891Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T17:25:00.976Z] prd-ubuntu20.04-docker-8c-8g-28965 does not seem to be running inside a container [2022-09-12T17:25:01.025Z] $ 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-155/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-155 -v /w/workspace/undry_device-onvif-camera_PR-155:/w/workspace/undry_device-onvif-camera_PR-155:rw,z -v /w/workspace/undry_device-onvif-camera_PR-155@tmp:/w/workspace/undry_device-onvif-camera_PR-155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-12T17:25:01.234Z] $ docker top 49f6d0c1e9463d8883425b557f55d6ab1d81f945178c8a382dcfc7f7a5d8620f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-12T17:25:01.584Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-12T17:25:01.880Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-12T17:25:02.169Z] + ls /var/log/sa-host [2022-09-12T17:25:02.169Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-12T17:25:02.250Z] provisioning config files... [2022-09-12T17:25:02.261Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-155@tmp/config2698787801092849002tmp [Pipeline] { [Pipeline] echo [2022-09-12T17:25:02.274Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-12T17:25:02.559Z] ---> create-netrc.sh [Pipeline] } [2022-09-12T17:25:02.567Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-12T17:25:02.895Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-12T17:25:02.904Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-12T17:25:03.188Z] ---> sudo-logs.sh [2022-09-12T17:25:03.188Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-12T17:25:03.219Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-12T17:25:03.503Z] ---> job-cost.sh [2022-09-12T17:25:03.503Z] lf-activate-venv: SKIPPING [2022-09-12T17:25:03.503Z] DEBUG: total: 0.2199999988079071 [2022-09-12T17:25:03.503Z] INFO: Retrieving Stack Cost... [2022-09-12T17:25:04.442Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-12T17:25:04.702Z] INFO: Archiving Costs [Pipeline] echo [2022-09-12T17:25:04.714Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-12T17:25:05.000Z] ---> logs-deploy.sh [2022-09-12T17:25:05.000Z] lf-activate-venv: SKIPPING [2022-09-12T17:25:05.000Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-155/2 [2022-09-12T17:25:05.000Z] INFO: archiving workspace using pattern(s): [2022-09-12T17:25:05.940Z] Archives upload complete. [2022-09-12T17:25:05.940Z] INFO: archiving logs to Nexus