Pull request #362 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4+c4faddb2a87debb4847eb62e77eafc712bf7e65e (da7bd65f879470adb8e1c1e42f19db4612782485) 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-ssh13794222546415035222.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh10650829321303805229.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-362/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-362/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1090479507291184152.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-362/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14611426256705780223.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17262534087851080138.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-362/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-362/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14953396190864114616.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 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/v3]] ========================================================= [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.20 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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15553 in /w/workspace/undry_device-onvif-camera_PR-362 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-362 # 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 > 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/362/head:refs/remotes/origin/PR-362 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c4faddb2a87debb4847eb62e77eafc712bf7e65e into PR head commit 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 Merge succeeded, producing 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 Checking out Revision 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 (PR-362) Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-16T10:07:15.844Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 # 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 c4faddb2a87debb4847eb62e77eafc712bf7e65e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-16T10:07:16.033Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-16T10:07:16.139Z] ========================================================= [2023-05-16T10:07:16.139Z] EdgeX Global Pipelines Version Info [2023-05-16T10:07:16.139Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:07:16.892Z] ------------------- [2023-05-16T10:07:16.892Z] stable info: [2023-05-16T10:07:16.892Z] ------------------- [2023-05-16T10:07:16.892Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-16T10:07:16.892Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T10:07:16.892Z] Message: update stable to v1.0.249 [2023-05-16T10:07:17.462Z] ------------------- [2023-05-16T10:07:17.462Z] experimental info: [2023-05-16T10:07:17.462Z] ------------------- [2023-05-16T10:07:17.462Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-16T10:07:17.462Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T10:07:17.462Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-16T10:07:17.762Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-05-16T10:07:17.802Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-05-16T10:07:17.844Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-16T10:07:17.883Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-16T10:07:17.926Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-16T10:07:17.969Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-16T10:07:18.016Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-16T10:07:18.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-16T10:07:18.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-16T10:07:18.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-16T10:07:18.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-16T10:07:18.269Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-05-16T10:07:18.319Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-16T10:07:18.368Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-16T10:07:18.413Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-16T10:07:18.461Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-16T10:07:18.516Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T10:07:18.563Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T10:07:18.607Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-16T10:07:18.648Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-16T10:07:18.697Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-16T10:07:18.740Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2023-05-16T10:07:18.786Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-16T10:07:18.847Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-16T10:07:18.901Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-16T10:07:18.944Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-16T10:07:18.987Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-16T10:07:19.039Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-362 [Pipeline] echo [2023-05-16T10:07:19.088Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-362 [Pipeline] echo [2023-05-16T10:07:19.130Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-362 [Pipeline] echo [2023-05-16T10:07:19.171Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 [Pipeline] echo [2023-05-16T10:07:19.217Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7cbd27c [Pipeline] echo [2023-05-16T10:07:19.262Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T10:07:19.400Z] provisioning config files... [2023-05-16T10:07:19.413Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-362@tmp/config12444660491764449630tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:07:19.859Z] ---> docker-login.sh [2023-05-16T10:07:19.859Z] nexus3.edgexfoundry.org:10001 [2023-05-16T10:07:20.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:07:20.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:07:20.120Z] Configure a credential helper to remove this warning. See [2023-05-16T10:07:20.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:07:20.120Z] [2023-05-16T10:07:20.120Z] Login Succeeded [2023-05-16T10:07:20.120Z] nexus3.edgexfoundry.org:10002 [2023-05-16T10:07:20.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:07:20.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:07:20.120Z] Configure a credential helper to remove this warning. See [2023-05-16T10:07:20.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:07:20.120Z] [2023-05-16T10:07:20.120Z] Login Succeeded [2023-05-16T10:07:20.120Z] nexus3.edgexfoundry.org:10003 [2023-05-16T10:07:20.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:07:20.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:07:20.384Z] Configure a credential helper to remove this warning. See [2023-05-16T10:07:20.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:07:20.384Z] [2023-05-16T10:07:20.384Z] Login Succeeded [2023-05-16T10:07:20.384Z] nexus3.edgexfoundry.org:10004 [2023-05-16T10:07:20.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:07:20.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:07:20.384Z] Configure a credential helper to remove this warning. See [2023-05-16T10:07:20.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:07:20.384Z] [2023-05-16T10:07:20.384Z] Login Succeeded [2023-05-16T10:07:20.384Z] docker.io [2023-05-16T10:07:20.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:07:21.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:07:21.769Z] Configure a credential helper to remove this warning. See [2023-05-16T10:07:21.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:07:21.769Z] [2023-05-16T10:07:21.769Z] Login Succeeded [2023-05-16T10:07:21.769Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T10:07:21.794Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-16T10:07:22.447Z] + git rev-list -1 --merges 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4~1..7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 [Pipeline] echo [2023-05-16T10:07:22.514Z] -----------> git rev-list -1 --merges 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4~1..7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 [false] [Pipeline] sh [2023-05-16T10:07:22.823Z] + git log --format=format:%s -1 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 [Pipeline] echo [2023-05-16T10:07:22.859Z] ========================================================= [2023-05-16T10:07:22.859Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-16T10:07:22.859Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T10:07:23.289Z] + git log --format=format:%s -1 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 [Pipeline] echo [2023-05-16T10:07:23.323Z] [semverPrep] GIT_COMMIT: 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v3 [Pipeline] echo [2023-05-16T10:07:23.358Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-16T10:07:23.748Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-16T10:07:23.748Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-16T10:07:23.748Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-16T10:07:23.748Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-16T10:07:23.748Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-16T10:07:23.748Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-16T10:07:23.748Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:07:24.181Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T10:07:24.181Z] [2023-05-16T10:07:24.181Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:07:24.568Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T10:07:24.568Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-16T10:07:24.568Z] b85a868b505f: Pulling fs layer [2023-05-16T10:07:24.568Z] e2be974225ed: Pulling fs layer [2023-05-16T10:07:24.568Z] 339a4e72a1f5: Pulling fs layer [2023-05-16T10:07:24.568Z] 988bab9f4d93: Pulling fs layer [2023-05-16T10:07:24.568Z] 1469e6f7b9e6: Pulling fs layer [2023-05-16T10:07:24.568Z] eaf3925da568: Pulling fs layer [2023-05-16T10:07:24.568Z] bab4dde63d76: Pulling fs layer [2023-05-16T10:07:24.568Z] bde34c3a00c8: Pulling fs layer [2023-05-16T10:07:24.568Z] b352a97aabf1: Pulling fs layer [2023-05-16T10:07:24.568Z] 4872d77fe225: Pulling fs layer [2023-05-16T10:07:24.568Z] 5851b861e8e6: Pulling fs layer [2023-05-16T10:07:24.568Z] 988bab9f4d93: Waiting [2023-05-16T10:07:24.568Z] eaf3925da568: Waiting [2023-05-16T10:07:24.568Z] bab4dde63d76: Waiting [2023-05-16T10:07:24.568Z] bde34c3a00c8: Waiting [2023-05-16T10:07:24.568Z] b352a97aabf1: Waiting [2023-05-16T10:07:24.568Z] 4872d77fe225: Waiting [2023-05-16T10:07:24.568Z] e2be974225ed: Verifying Checksum [2023-05-16T10:07:24.568Z] e2be974225ed: Download complete [2023-05-16T10:07:24.568Z] 988bab9f4d93: Verifying Checksum [2023-05-16T10:07:24.568Z] 988bab9f4d93: Download complete [2023-05-16T10:07:24.568Z] 339a4e72a1f5: Verifying Checksum [2023-05-16T10:07:24.568Z] 339a4e72a1f5: Download complete [2023-05-16T10:07:24.568Z] eaf3925da568: Verifying Checksum [2023-05-16T10:07:24.568Z] eaf3925da568: Download complete [2023-05-16T10:07:24.827Z] 1469e6f7b9e6: Verifying Checksum [2023-05-16T10:07:24.827Z] 1469e6f7b9e6: Download complete [2023-05-16T10:07:24.827Z] bde34c3a00c8: Verifying Checksum [2023-05-16T10:07:24.827Z] bde34c3a00c8: Download complete [2023-05-16T10:07:24.827Z] b352a97aabf1: Download complete [2023-05-16T10:07:24.827Z] 4872d77fe225: Verifying Checksum [2023-05-16T10:07:24.827Z] 4872d77fe225: Download complete [2023-05-16T10:07:24.827Z] 5851b861e8e6: Verifying Checksum [2023-05-16T10:07:24.827Z] 5851b861e8e6: Download complete [2023-05-16T10:07:24.827Z] b85a868b505f: Verifying Checksum [2023-05-16T10:07:24.827Z] b85a868b505f: Download complete [2023-05-16T10:07:25.085Z] bab4dde63d76: Verifying Checksum [2023-05-16T10:07:25.085Z] bab4dde63d76: Download complete [2023-05-16T10:07:26.019Z] b85a868b505f: Pull complete [2023-05-16T10:07:26.019Z] e2be974225ed: Pull complete [2023-05-16T10:07:26.588Z] 339a4e72a1f5: Pull complete [2023-05-16T10:07:26.588Z] 988bab9f4d93: Pull complete [2023-05-16T10:07:26.847Z] 1469e6f7b9e6: Pull complete [2023-05-16T10:07:26.847Z] eaf3925da568: Pull complete [2023-05-16T10:07:28.747Z] bab4dde63d76: Pull complete [2023-05-16T10:07:28.747Z] bde34c3a00c8: Pull complete [2023-05-16T10:07:28.747Z] b352a97aabf1: Pull complete [2023-05-16T10:07:28.747Z] 4872d77fe225: Pull complete [2023-05-16T10:07:28.747Z] 5851b861e8e6: Pull complete [2023-05-16T10:07:28.747Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-16T10:07:28.747Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T10:07:28.747Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:07:28.962Z] prd-ubuntu20.04-docker-8c-8g-15553 does not seem to be running inside a container [2023-05-16T10:07:29.001Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-362 -v /w/workspace/undry_device-onvif-camera_PR-362:/w/workspace/undry_device-onvif-camera_PR-362:rw,z -v /w/workspace/undry_device-onvif-camera_PR-362@tmp:/w/workspace/undry_device-onvif-camera_PR-362@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-16T10:07:32.188Z] $ docker top b76aeef8e852dd01e8da75c7ca3af306b119c39c5d29dc3059166bc6aeb0778b -eo pid,comm [2023-05-16T10:07:32.241Z] 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). [2023-05-16T10:07:32.241Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-16T10:07:32.382Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T10:07:32.382Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T10:07:32.511Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T10:07:32.516Z] $ docker exec b76aeef8e852dd01e8da75c7ca3af306b119c39c5d29dc3059166bc6aeb0778b ssh-agent [2023-05-16T10:07:32.609Z] SSH_AUTH_SOCK=/tmp/ssh-xRXwgIiBnp5A/agent.31 [2023-05-16T10:07:32.609Z] SSH_AGENT_PID=37 [2023-05-16T10:07:32.615Z] Running ssh-add (command line suppressed) [2023-05-16T10:07:32.704Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-362@tmp/private_key_16651143704866912156.key (/w/workspace/undry_device-onvif-camera_PR-362@tmp/private_key_16651143704866912156.key) [2023-05-16T10:07:32.716Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T10:07:33.058Z] + git tag --points-at HEAD [Pipeline] } [2023-05-16T10:07:33.088Z] $ docker exec --env ******** --env ******** b76aeef8e852dd01e8da75c7ca3af306b119c39c5d29dc3059166bc6aeb0778b ssh-agent -k [2023-05-16T10:07:33.188Z] unset SSH_AUTH_SOCK; [2023-05-16T10:07:33.188Z] unset SSH_AGENT_PID; [2023-05-16T10:07:33.189Z] echo Agent pid 37 killed; [2023-05-16T10:07:33.198Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-16T10:07:33.297Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T10:07:33.297Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T10:07:33.408Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T10:07:33.413Z] $ docker exec b76aeef8e852dd01e8da75c7ca3af306b119c39c5d29dc3059166bc6aeb0778b ssh-agent [2023-05-16T10:07:33.515Z] SSH_AUTH_SOCK=/tmp/ssh-IfV7TFbgnYX7/agent.69 [2023-05-16T10:07:33.515Z] SSH_AGENT_PID=75 [2023-05-16T10:07:33.520Z] Running ssh-add (command line suppressed) [2023-05-16T10:07:33.624Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-362@tmp/private_key_16005132375427516719.key (/w/workspace/undry_device-onvif-camera_PR-362@tmp/private_key_16005132375427516719.key) [2023-05-16T10:07:33.636Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T10:07:33.967Z] + git semver init [2023-05-16T10:07:34.227Z] 2023-05-16 10:07:34,128 [run_init] DEBUG init version:0.0.0 force:False [2023-05-16T10:07:34.227Z] 2023-05-16 10:07:34,129 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-362/.semver [2023-05-16T10:07:34.227Z] 2023-05-16 10:07:34,129 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-362/.semver [2023-05-16T10:07:34.227Z] 2023-05-16 10:07:34,129 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-362/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-362, universal_newlines=False, shell=None, istream=None) [2023-05-16T10:07:35.608Z] 2023-05-16 10:07:35,185 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-362/.git/info/exclude [2023-05-16T10:07:35.608Z] 2023-05-16 10:07:35,186 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-362/.semver/PR-362 with force:False [2023-05-16T10:07:35.608Z] 2023-05-16 10:07:35,186 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-362/.semver/PR-362 [2023-05-16T10:07:35.608Z] 2023-05-16 10:07:35,192 [execute] INFO git cat-file --batch-check [2023-05-16T10:07:35.608Z] 2023-05-16 10:07:35,192 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-362/.semver, universal_newlines=False, shell=None, istream=) [2023-05-16T10:07:35.608Z] 2023-05-16 10:07:35,199 [execute] INFO git cat-file --batch [2023-05-16T10:07:35.608Z] 2023-05-16 10:07:35,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-362/.semver, universal_newlines=False, shell=None, istream=) [2023-05-16T10:07:35.608Z] 2023-05-16 10:07:35,206 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-362/.semver/PR-362 [2023-05-16T10:07:35.608Z] 0.0.0 [Pipeline] } [2023-05-16T10:07:35.640Z] $ docker exec --env ******** --env ******** b76aeef8e852dd01e8da75c7ca3af306b119c39c5d29dc3059166bc6aeb0778b ssh-agent -k [2023-05-16T10:07:35.750Z] unset SSH_AUTH_SOCK; [2023-05-16T10:07:35.751Z] unset SSH_AGENT_PID; [2023-05-16T10:07:35.751Z] echo Agent pid 75 killed; [2023-05-16T10:07:35.759Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-16T10:07:36.209Z] + git semver [Pipeline] } [2023-05-16T10:07:36.496Z] $ docker stop --time=1 b76aeef8e852dd01e8da75c7ca3af306b119c39c5d29dc3059166bc6aeb0778b [2023-05-16T10:07:37.793Z] $ docker rm -f --volumes b76aeef8e852dd01e8da75c7ca3af306b119c39c5d29dc3059166bc6aeb0778b [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T10:07:38.261Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-16T10:07:38.590Z] Stashed 1 file(s) [Pipeline] echo [2023-05-16T10:07:38.608Z] [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 [2023-05-16T10:07:39.495Z] provisioning config files... [2023-05-16T10:07:39.507Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-362@tmp/config11151725216472135989tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:07:39.874Z] ---> docker-login.sh [2023-05-16T10:07:39.874Z] nexus3.edgexfoundry.org:10001 [2023-05-16T10:07:39.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:07:39.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:07:39.874Z] Configure a credential helper to remove this warning. See [2023-05-16T10:07:39.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:07:39.874Z] [2023-05-16T10:07:39.874Z] Login Succeeded [2023-05-16T10:07:39.874Z] nexus3.edgexfoundry.org:10002 [2023-05-16T10:07:39.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:07:39.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:07:39.874Z] Configure a credential helper to remove this warning. See [2023-05-16T10:07:39.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:07:39.874Z] [2023-05-16T10:07:39.874Z] Login Succeeded [2023-05-16T10:07:39.874Z] nexus3.edgexfoundry.org:10003 [2023-05-16T10:07:40.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:07:40.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:07:40.146Z] Configure a credential helper to remove this warning. See [2023-05-16T10:07:40.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:07:40.146Z] [2023-05-16T10:07:40.146Z] Login Succeeded [2023-05-16T10:07:40.146Z] nexus3.edgexfoundry.org:10004 [2023-05-16T10:07:40.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:07:40.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:07:40.146Z] Configure a credential helper to remove this warning. See [2023-05-16T10:07:40.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:07:40.146Z] [2023-05-16T10:07:40.146Z] Login Succeeded [2023-05-16T10:07:40.146Z] docker.io [2023-05-16T10:07:40.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:07:40.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:07:40.408Z] Configure a credential helper to remove this warning. See [2023-05-16T10:07:40.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:07:40.408Z] [2023-05-16T10:07:40.408Z] Login Succeeded [2023-05-16T10:07:40.408Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T10:07:40.441Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-16T10:07:40.646Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T10:07:40.686Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T10:07:40.729Z] ========================================================= [2023-05-16T10:07:40.729Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-16T10:07:40.729Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:07:41.215Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-16T10:07:41.215Z] Sending build context to Docker daemon 21.83MB [2023-05-16T10:07:41.215Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T10:07:41.215Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-16T10:07:41.215Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-16T10:07:41.215Z] f56be85fc22e: Pulling fs layer [2023-05-16T10:07:41.215Z] 85791d961cd3: Pulling fs layer [2023-05-16T10:07:41.215Z] d694b5ae8c79: Pulling fs layer [2023-05-16T10:07:41.215Z] 9f32a84ed3da: Pulling fs layer [2023-05-16T10:07:41.215Z] 4d19c01a9841: Pulling fs layer [2023-05-16T10:07:41.215Z] 9325e15d5711: Pulling fs layer [2023-05-16T10:07:41.215Z] 556b6ee489ea: Pulling fs layer [2023-05-16T10:07:41.215Z] c5a4b2cf53e6: Pulling fs layer [2023-05-16T10:07:41.215Z] 9f32a84ed3da: Waiting [2023-05-16T10:07:41.474Z] 4d19c01a9841: Waiting [2023-05-16T10:07:41.474Z] 9325e15d5711: Waiting [2023-05-16T10:07:41.474Z] 556b6ee489ea: Waiting [2023-05-16T10:07:41.474Z] c5a4b2cf53e6: Waiting [2023-05-16T10:07:41.474Z] 85791d961cd3: Download complete [2023-05-16T10:07:41.474Z] 9f32a84ed3da: Download complete [2023-05-16T10:07:41.474Z] 4d19c01a9841: Verifying Checksum [2023-05-16T10:07:41.474Z] 4d19c01a9841: Download complete [2023-05-16T10:07:41.474Z] f56be85fc22e: Verifying Checksum [2023-05-16T10:07:41.474Z] f56be85fc22e: Download complete [2023-05-16T10:07:41.474Z] 9325e15d5711: Verifying Checksum [2023-05-16T10:07:41.474Z] 9325e15d5711: Download complete [2023-05-16T10:07:41.474Z] f56be85fc22e: Pull complete [2023-05-16T10:07:41.735Z] 85791d961cd3: Pull complete [2023-05-16T10:07:41.994Z] c5a4b2cf53e6: Verifying Checksum [2023-05-16T10:07:41.994Z] c5a4b2cf53e6: Download complete [2023-05-16T10:07:41.994Z] d694b5ae8c79: Verifying Checksum [2023-05-16T10:07:41.994Z] d694b5ae8c79: Download complete [2023-05-16T10:07:42.253Z] 556b6ee489ea: Verifying Checksum [2023-05-16T10:07:44.778Z] d694b5ae8c79: Pull complete [2023-05-16T10:07:44.778Z] 9f32a84ed3da: Pull complete [2023-05-16T10:07:45.037Z] 4d19c01a9841: Pull complete [2023-05-16T10:07:45.037Z] 9325e15d5711: Pull complete [2023-05-16T10:07:47.608Z] 556b6ee489ea: Pull complete [2023-05-16T10:07:48.173Z] c5a4b2cf53e6: Pull complete [2023-05-16T10:07:48.173Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-16T10:07:48.173Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-16T10:07:48.173Z] ---> c4be618373d6 [2023-05-16T10:07:48.173Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-16T10:07:53.701Z] ---> Running in b0ace23161d9 [2023-05-16T10:07:53.701Z] Removing intermediate container b0ace23161d9 [2023-05-16T10:07:53.701Z] ---> 3c29a531cc88 [2023-05-16T10:07:53.701Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T10:07:53.701Z] ---> Running in f65fb124657a [2023-05-16T10:07:53.701Z] Removing intermediate container f65fb124657a [2023-05-16T10:07:53.701Z] ---> 90f44e3aa31e [2023-05-16T10:07:53.701Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-05-16T10:07:53.701Z] ---> Running in 962525080ea3 [2023-05-16T10:07:53.701Z] Removing intermediate container 962525080ea3 [2023-05-16T10:07:53.701Z] ---> 5bd17bdb28c5 [2023-05-16T10:07:53.701Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-05-16T10:07:53.701Z] ---> Running in 27306c370680 [2023-05-16T10:07:53.701Z] Removing intermediate container 27306c370680 [2023-05-16T10:07:53.701Z] ---> 3a28c0b9e051 [2023-05-16T10:07:53.701Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-05-16T10:07:53.701Z] ---> Running in 01ef7ffcfa8f [2023-05-16T10:07:53.701Z] Removing intermediate container 01ef7ffcfa8f [2023-05-16T10:07:53.701Z] ---> 1c9e7bd16b5d [2023-05-16T10:07:53.701Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T10:07:53.701Z] ---> Running in 914f00fb08f1 [2023-05-16T10:07:53.701Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T10:07:53.701Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T10:07:53.962Z] OK: 265 MiB in 53 packages [2023-05-16T10:07:54.126Z] Still waiting to schedule task [2023-05-16T10:07:54.127Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-16T10:07:54.222Z] Removing intermediate container 914f00fb08f1 [2023-05-16T10:07:54.222Z] ---> bfdd315336f6 [2023-05-16T10:07:54.222Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-05-16T10:07:54.222Z] ---> Running in e9f12a2df4ca [2023-05-16T10:07:54.482Z] Removing intermediate container e9f12a2df4ca [2023-05-16T10:07:54.482Z] ---> 854767cec219 [2023-05-16T10:07:54.482Z] Step 10/13 : COPY go.mod vendor* ./ [2023-05-16T10:07:54.482Z] ---> 73782a461233 [2023-05-16T10:07:54.482Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T10:07:54.482Z] ---> Running in 5284cf0210c2 [2023-05-16T10:08:21.076Z] Removing intermediate container 5284cf0210c2 [2023-05-16T10:08:21.076Z] ---> e0a249e11edd [2023-05-16T10:08:21.076Z] Step 12/13 : COPY . . [2023-05-16T10:08:21.076Z] ---> 17ac744c7e55 [2023-05-16T10:08:21.076Z] Step 13/13 : RUN ${MAKE} [2023-05-16T10:08:21.076Z] ---> Running in dbbbf1c0a8e3 [2023-05-16T10:08:21.076Z] noop [2023-05-16T10:08:21.076Z] Removing intermediate container dbbbf1c0a8e3 [2023-05-16T10:08:21.076Z] ---> dfa76f9eee32 [2023-05-16T10:08:21.076Z] Successfully built dfa76f9eee32 [2023-05-16T10:08:21.076Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:08:21.545Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-16T10:08:21.545Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:08:21.729Z] prd-ubuntu20.04-docker-8c-8g-15553 does not seem to be running inside a container [2023-05-16T10:08:21.773Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-362 -v /w/workspace/undry_device-onvif-camera_PR-362:/w/workspace/undry_device-onvif-camera_PR-362:rw,z -v /w/workspace/undry_device-onvif-camera_PR-362@tmp:/w/workspace/undry_device-onvif-camera_PR-362@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-16T10:08:22.121Z] $ docker top 9ecb82c553669ad76cc1fef660eee5a8f6db3978099b88e44364df1103181ad5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T10:08:22.552Z] + go version [2023-05-16T10:08:22.552Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-16T10:08:22.589Z] $ docker stop --time=1 9ecb82c553669ad76cc1fef660eee5a8f6db3978099b88e44364df1103181ad5 [2023-05-16T10:08:23.856Z] $ docker rm -f --volumes 9ecb82c553669ad76cc1fef660eee5a8f6db3978099b88e44364df1103181ad5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:08:24.627Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-16T10:08:24.627Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:08:24.805Z] prd-ubuntu20.04-docker-8c-8g-15553 does not seem to be running inside a container [2023-05-16T10:08:24.844Z] $ 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-362 -v /w/workspace/undry_device-onvif-camera_PR-362:/w/workspace/undry_device-onvif-camera_PR-362:rw,z -v /w/workspace/undry_device-onvif-camera_PR-362@tmp:/w/workspace/undry_device-onvif-camera_PR-362@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-16T10:08:25.157Z] $ docker top c08f911949dfbc83135bca4620c530949a751eccbb9fa94de017339b48a29723 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T10:08:25.584Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-362 [Pipeline] fileExists [Pipeline] sh [2023-05-16T10:08:26.098Z] + make test [2023-05-16T10:08:26.098Z] go test ./... -coverprofile=coverage.out ./... [2023-05-16T10:08:31.456Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-05-16T10:08:41.571Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-05-16T10:08:41.840Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-05-16T10:08:43.748Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.039s coverage: 31.4% of statements [2023-05-16T10:08:44.007Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.287s coverage: 86.5% of statements [2023-05-16T10:08:52.112Z] go vet ./... [2023-05-16T10:08:54.638Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-16T10:08:54.638Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-16T10:08:54.638Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-16T10:08:54.680Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-16T10:08:54.721Z] $ docker stop --time=1 c08f911949dfbc83135bca4620c530949a751eccbb9fa94de017339b48a29723 [2023-05-16T10:08:57.897Z] $ docker rm -f --volumes c08f911949dfbc83135bca4620c530949a751eccbb9fa94de017339b48a29723 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T10:08:58.422Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-16T10:08:58.498Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-16T10:08:59.133Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-16T10:08:59.455Z] + ls -al . [2023-05-16T10:08:59.455Z] total 232 [2023-05-16T10:08:59.455Z] drwxrwxr-x 10 jenkins jenkins 4096 May 16 10:08 . [2023-05-16T10:08:59.455Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:07 .. [2023-05-16T10:08:59.455Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 10:07 .git [2023-05-16T10:08:59.455Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:07 .github [2023-05-16T10:08:59.455Z] -rw-rw-r-- 1 jenkins jenkins 496 May 16 10:07 .gitignore [2023-05-16T10:08:59.456Z] -rw-rw-r-- 1 jenkins jenkins 42 May 16 10:07 .golangci.yml [2023-05-16T10:08:59.456Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 10:07 .semver [2023-05-16T10:08:59.456Z] -rw-rw-r-- 1 jenkins jenkins 10087 May 16 10:07 Attribution.txt [2023-05-16T10:08:59.456Z] -rw-rw-r-- 1 jenkins jenkins 6312 May 16 10:07 CHANGELOG.md [2023-05-16T10:08:59.456Z] -rw-rw-r-- 1 jenkins jenkins 1574 May 16 10:07 Dockerfile [2023-05-16T10:08:59.456Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 10:07 GOVERNANCE.md [2023-05-16T10:08:59.456Z] -rw-rw-r-- 1 jenkins jenkins 739 May 16 10:07 Jenkinsfile [2023-05-16T10:08:59.456Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 16 10:07 LICENSE [2023-05-16T10:08:59.456Z] -rw-rw-r-- 1 jenkins jenkins 2751 May 16 10:07 Makefile [2023-05-16T10:08:59.456Z] -rw-rw-r-- 1 jenkins jenkins 625 May 16 10:07 OWNERS.md [2023-05-16T10:08:59.456Z] -rw-rw-r-- 1 jenkins jenkins 2690 May 16 10:07 README.md [2023-05-16T10:08:59.456Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 10:07 VERSION [2023-05-16T10:08:59.456Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:07 bin [2023-05-16T10:08:59.456Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:07 cmd [2023-05-16T10:08:59.456Z] -rw-r--r-- 1 jenkins jenkins 78459 May 16 10:08 coverage.out [2023-05-16T10:08:59.456Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:07 doc [2023-05-16T10:08:59.456Z] -rw-rw-r-- 1 jenkins jenkins 3642 May 16 10:07 go.mod [2023-05-16T10:08:59.456Z] -rw-rw-r-- 1 jenkins jenkins 33491 May 16 10:07 go.sum [2023-05-16T10:08:59.456Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:07 internal [2023-05-16T10:08:59.456Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:07 snap [2023-05-16T10:08:59.456Z] -rw-rw-r-- 1 jenkins jenkins 236 May 16 10:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:08:59.952Z] + 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=7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 --label arch=amd64 --label version=0.0.0 . [2023-05-16T10:08:59.952Z] Sending build context to Docker daemon 21.91MB [2023-05-16T10:08:59.952Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T10:08:59.952Z] Step 2/26 : FROM ${BASE} AS builder [2023-05-16T10:08:59.952Z] ---> dfa76f9eee32 [2023-05-16T10:08:59.952Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-05-16T10:09:00.211Z] ---> Running in 50741c5c3b4c [2023-05-16T10:09:00.478Z] Removing intermediate container 50741c5c3b4c [2023-05-16T10:09:00.478Z] ---> 33b6ad859e4f [2023-05-16T10:09:00.478Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T10:09:00.478Z] ---> Running in d592910cec48 [2023-05-16T10:09:00.478Z] Removing intermediate container d592910cec48 [2023-05-16T10:09:00.478Z] ---> 88c53c17b942 [2023-05-16T10:09:00.478Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-05-16T10:09:00.478Z] ---> Running in 2bc28304bff0 [2023-05-16T10:09:00.478Z] Removing intermediate container 2bc28304bff0 [2023-05-16T10:09:00.478Z] ---> 78b50ad99e7b [2023-05-16T10:09:00.478Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-05-16T10:09:00.478Z] ---> Running in d1eedfeb27a2 [2023-05-16T10:09:00.737Z] Removing intermediate container d1eedfeb27a2 [2023-05-16T10:09:00.737Z] ---> 142c68c25277 [2023-05-16T10:09:00.737Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-05-16T10:09:00.737Z] ---> Running in 18310c553429 [2023-05-16T10:09:00.737Z] Removing intermediate container 18310c553429 [2023-05-16T10:09:00.737Z] ---> afbee37335e9 [2023-05-16T10:09:00.737Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T10:09:00.737Z] ---> Running in 5d939d7269da [2023-05-16T10:09:00.998Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T10:09:01.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T10:09:01.516Z] OK: 265 MiB in 53 packages [2023-05-16T10:09:01.775Z] Removing intermediate container 5d939d7269da [2023-05-16T10:09:01.775Z] ---> f2109277fd15 [2023-05-16T10:09:01.775Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-05-16T10:09:01.775Z] ---> Running in d4d06d90f4cf [2023-05-16T10:09:01.775Z] Removing intermediate container d4d06d90f4cf [2023-05-16T10:09:01.775Z] ---> 75c722b4c14b [2023-05-16T10:09:01.775Z] Step 10/26 : COPY go.mod vendor* ./ [2023-05-16T10:09:01.775Z] ---> ad0f426739c8 [2023-05-16T10:09:01.775Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T10:09:01.775Z] ---> Running in f4ceadc46364 [2023-05-16T10:09:02.716Z] Removing intermediate container f4ceadc46364 [2023-05-16T10:09:02.716Z] ---> d83e2e8cc408 [2023-05-16T10:09:02.716Z] Step 12/26 : COPY . . [2023-05-16T10:09:03.283Z] ---> f4c6b96068d5 [2023-05-16T10:09:03.283Z] Step 13/26 : RUN ${MAKE} [2023-05-16T10:09:03.283Z] ---> Running in 5ac442681973 [2023-05-16T10:09:03.542Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-05-16T10:09:25.754Z] Removing intermediate container 5ac442681973 [2023-05-16T10:09:25.754Z] ---> 27a65c6eaf0f [2023-05-16T10:09:25.754Z] Step 14/26 : FROM alpine:3.17 [2023-05-16T10:09:25.754Z] 3.17: Pulling from library/alpine [2023-05-16T10:09:25.754Z] f56be85fc22e: Already exists [2023-05-16T10:09:25.754Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-16T10:09:25.754Z] Status: Downloaded newer image for alpine:3.17 [2023-05-16T10:09:25.754Z] ---> 9ed4aefc74f6 [2023-05-16T10:09:25.754Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-16T10:09:25.754Z] ---> Running in 5a0793f312a8 [2023-05-16T10:09:25.754Z] Removing intermediate container 5a0793f312a8 [2023-05-16T10:09:25.754Z] ---> 29a595fcc2cf [2023-05-16T10:09:25.754Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-05-16T10:09:25.754Z] ---> Running in 6bd6290eb765 [2023-05-16T10:09:25.754Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T10:09:25.754Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T10:09:25.754Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-16T10:09:25.754Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T10:09:25.754Z] OK: 7 MiB in 16 packages [2023-05-16T10:09:25.754Z] Removing intermediate container 6bd6290eb765 [2023-05-16T10:09:25.754Z] ---> f19e15b4cc3b [2023-05-16T10:09:25.754Z] Step 17/26 : WORKDIR / [2023-05-16T10:09:25.754Z] ---> Running in b5ef85315a66 [2023-05-16T10:09:25.754Z] Removing intermediate container b5ef85315a66 [2023-05-16T10:09:25.754Z] ---> e779c218d39b [2023-05-16T10:09:25.754Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-05-16T10:09:25.754Z] ---> 81884c74d171 [2023-05-16T10:09:25.754Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-05-16T10:09:25.754Z] ---> 3098c165e874 [2023-05-16T10:09:25.754Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-05-16T10:09:25.754Z] ---> fed62e334038 [2023-05-16T10:09:25.754Z] Step 21/26 : EXPOSE 59984 [2023-05-16T10:09:25.754Z] ---> Running in 49701bd6873b [2023-05-16T10:09:25.754Z] Removing intermediate container 49701bd6873b [2023-05-16T10:09:25.754Z] ---> 250b6d007e2d [2023-05-16T10:09:25.754Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-05-16T10:09:25.754Z] ---> Running in 2b1d23686892 [2023-05-16T10:09:25.754Z] Removing intermediate container 2b1d23686892 [2023-05-16T10:09:25.754Z] ---> a353d69e98c9 [2023-05-16T10:09:25.754Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-16T10:09:25.754Z] ---> Running in 57201cd9e6cf [2023-05-16T10:09:25.754Z] Removing intermediate container 57201cd9e6cf [2023-05-16T10:09:25.754Z] ---> d3f015861b76 [2023-05-16T10:09:25.754Z] Step 24/26 : LABEL arch=amd64 [2023-05-16T10:09:25.754Z] ---> Running in 385f6830306a [2023-05-16T10:09:25.754Z] Removing intermediate container 385f6830306a [2023-05-16T10:09:25.754Z] ---> fc04d66a5c94 [2023-05-16T10:09:25.754Z] Step 25/26 : LABEL git_sha=7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 [2023-05-16T10:09:25.754Z] ---> Running in ca8a2ee9bc5c [2023-05-16T10:09:25.754Z] Removing intermediate container ca8a2ee9bc5c [2023-05-16T10:09:25.754Z] ---> b37bd3b2d937 [2023-05-16T10:09:25.754Z] Step 26/26 : LABEL version=0.0.0 [2023-05-16T10:09:25.754Z] ---> Running in 8e9922ac5955 [2023-05-16T10:09:25.754Z] Removing intermediate container 8e9922ac5955 [2023-05-16T10:09:25.754Z] ---> c9d1b466c40d [2023-05-16T10:09:25.754Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-16T10:09:25.754Z] Successfully built c9d1b466c40d [2023-05-16T10:09:25.754Z] 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 [2023-05-16T10:09:26.622Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T10:09:26.622Z] [2023-05-16T10:09:26.622Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:09:27.003Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T10:09:27.003Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-16T10:09:27.003Z] 5eb5b503b376: Pulling fs layer [2023-05-16T10:09:27.003Z] 5c69ac0246d0: Pulling fs layer [2023-05-16T10:09:27.003Z] ec43610c2a17: Pulling fs layer [2023-05-16T10:09:27.003Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-16T10:09:27.003Z] 33b1e0a273af: Pulling fs layer [2023-05-16T10:09:27.003Z] 5d3b04190fa2: Pulling fs layer [2023-05-16T10:09:27.003Z] 2f39f015ded8: Pulling fs layer [2023-05-16T10:09:27.003Z] 33b1e0a273af: Waiting [2023-05-16T10:09:27.003Z] 3a2ae6a8a46f: Waiting [2023-05-16T10:09:27.003Z] 5c69ac0246d0: Download complete [2023-05-16T10:09:27.003Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-16T10:09:27.003Z] 3a2ae6a8a46f: Download complete [2023-05-16T10:09:27.003Z] 33b1e0a273af: Verifying Checksum [2023-05-16T10:09:27.003Z] 33b1e0a273af: Download complete [2023-05-16T10:09:27.003Z] ec43610c2a17: Verifying Checksum [2023-05-16T10:09:27.003Z] ec43610c2a17: Download complete [2023-05-16T10:09:27.003Z] 5d3b04190fa2: Download complete [2023-05-16T10:09:27.264Z] 5eb5b503b376: Verifying Checksum [2023-05-16T10:09:27.264Z] 5eb5b503b376: Download complete [2023-05-16T10:09:28.663Z] 5eb5b503b376: Pull complete [2023-05-16T10:09:28.663Z] 5c69ac0246d0: Pull complete [2023-05-16T10:09:29.233Z] ec43610c2a17: Pull complete [2023-05-16T10:09:29.233Z] 3a2ae6a8a46f: Pull complete [2023-05-16T10:09:29.492Z] 33b1e0a273af: Pull complete [2023-05-16T10:09:29.492Z] 5d3b04190fa2: Pull complete [2023-05-16T10:09:33.685Z] 2f39f015ded8: Pull complete [2023-05-16T10:09:33.685Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-16T10:09:33.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T10:09:33.685Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:09:33.912Z] prd-ubuntu20.04-docker-8c-8g-15553 does not seem to be running inside a container [2023-05-16T10:09:33.948Z] $ 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-362 -v /w/workspace/undry_device-onvif-camera_PR-362:/w/workspace/undry_device-onvif-camera_PR-362:rw,z -v /w/workspace/undry_device-onvif-camera_PR-362@tmp:/w/workspace/undry_device-onvif-camera_PR-362@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-16T10:09:37.002Z] $ docker top 74c8a8079ce0fce3f0b9e300b58dfc258fdd68dfb41634ebe4cffee6cc30d65a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:09:37.433Z] ---> job-cost.sh [2023-05-16T10:09:37.433Z] lf-activate-venv: SKIPPING [2023-05-16T10:09:37.433Z] INFO: No Stack... [2023-05-16T10:09:37.691Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-16T10:09:38.257Z] INFO: Archiving Costs [Pipeline] sh [2023-05-16T10:09:38.585Z] + cat /w/workspace/undry_device-onvif-camera_PR-362/archives/cost.csv [2023-05-16T10:09:38.585Z] + cut -d, -f6 [Pipeline] lock [2023-05-16T10:09:38.626Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-362-1-stack-cost] [2023-05-16T10:09:38.631Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-362-1-stack-cost] did not exist. Created. [2023-05-16T10:09:38.631Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-362-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-16T10:09:39.030Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-16T10:09:39.083Z] Stashed 1 file(s) [Pipeline] } [2023-05-16T10:09:39.108Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-362-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-16T10:09:39.194Z] $ docker stop --time=1 74c8a8079ce0fce3f0b9e300b58dfc258fdd68dfb41634ebe4cffee6cc30d65a [2023-05-16T10:09:40.347Z] $ docker rm -f --volumes 74c8a8079ce0fce3f0b9e300b58dfc258fdd68dfb41634ebe4cffee6cc30d65a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-16T10:10:51.893Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15560 in /w/workspace/undry_device-onvif-camera_PR-362 [Pipeline] { [Pipeline] ws [2023-05-16T10:10:51.962Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-05-16T10:10:52.128Z] The recommended git tool is: git [2023-05-16T10:11:02.498Z] using credential edgex-jenkins-ssh [2023-05-16T10:11:02.528Z] Cloning the remote Git repository [2023-05-16T10:11:02.674Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-16T10:11:02.919Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-05-16T10:11:03.449Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-16T10:11:03.451Z] > git --version # timeout=10 [2023-05-16T10:11:03.552Z] > git --version # 'git version 2.25.1' [2023-05-16T10:11:03.556Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T10:11:04.020Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-16T10:11:06.533Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-05-16T10:11:06.649Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-16T10:11:09.312Z] Merging remotes/origin/main commit c4faddb2a87debb4847eb62e77eafc712bf7e65e into PR head commit 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 [2023-05-16T10:11:08.533Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-05-16T10:11:08.631Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-16T10:11:08.633Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T10:11:08.655Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/362/head:refs/remotes/origin/PR-362 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-16T10:11:09.347Z] > git config core.sparsecheckout # timeout=10 [2023-05-16T10:11:10.038Z] Merge succeeded, producing 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 [2023-05-16T10:11:10.039Z] Checking out Revision 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 (PR-362) [2023-05-16T10:11:11.118Z] Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v3" [2023-05-16T10:11:09.512Z] > git checkout -f 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 # timeout=10 [2023-05-16T10:11:09.824Z] > git remote # timeout=10 [2023-05-16T10:11:09.867Z] > git config --get remote.origin.url # timeout=10 [2023-05-16T10:11:09.899Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T10:11:09.923Z] > git merge c4faddb2a87debb4847eb62e77eafc712bf7e65e # timeout=10 [2023-05-16T10:11:09.983Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-16T10:11:10.057Z] > git config core.sparsecheckout # timeout=10 [2023-05-16T10:11:10.095Z] > git checkout -f 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 # timeout=10 [2023-05-16T10:11:11.224Z] > git --version # timeout=10 [2023-05-16T10:11:11.241Z] > git --version # 'git version 2.25.1' [2023-05-16T10:11:11.259Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T10:11:12.577Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-16T10:11:12.577Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T10:11:12.577Z] Dload Upload Total Spent Left Speed [2023-05-16T10:11:12.577Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 150k 0 --:--:-- --:--:-- --:--:-- 150k [Pipeline] sh [2023-05-16T10:11:13.724Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-16T10:11:14.119Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-16T10:11:14.119Z] + sudo tee /etc/docker/daemon.new [2023-05-16T10:11:14.399Z] { [2023-05-16T10:11:14.399Z] "registry-mirrors": [ [2023-05-16T10:11:14.399Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-16T10:11:14.399Z] ], [2023-05-16T10:11:14.399Z] "bip": "10.250.0.254/24", [2023-05-16T10:11:14.399Z] "hosts": [ [2023-05-16T10:11:14.399Z] "tcp://0.0.0.0:5555", [2023-05-16T10:11:14.399Z] "unix:///var/run/docker.sock" [2023-05-16T10:11:14.399Z] ], [2023-05-16T10:11:14.399Z] "mtu": 1458, [2023-05-16T10:11:14.399Z] "selinux-enabled": true, [2023-05-16T10:11:14.399Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-16T10:11:14.399Z] } [Pipeline] sh [2023-05-16T10:11:14.793Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-16T10:11:15.172Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T10:11:37.486Z] provisioning config files... [2023-05-16T10:11:37.524Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config13087615689844734100tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:11:37.955Z] ---> docker-login.sh [2023-05-16T10:11:37.956Z] nexus3.edgexfoundry.org:10001 [2023-05-16T10:11:38.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:11:38.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:11:38.558Z] Configure a credential helper to remove this warning. See [2023-05-16T10:11:38.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:11:38.558Z] [2023-05-16T10:11:38.558Z] Login Succeeded [2023-05-16T10:11:38.558Z] nexus3.edgexfoundry.org:10002 [2023-05-16T10:11:38.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:11:39.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:11:39.110Z] Configure a credential helper to remove this warning. See [2023-05-16T10:11:39.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:11:39.110Z] [2023-05-16T10:11:39.110Z] Login Succeeded [2023-05-16T10:11:39.110Z] nexus3.edgexfoundry.org:10003 [2023-05-16T10:11:39.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:11:39.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:11:39.384Z] Configure a credential helper to remove this warning. See [2023-05-16T10:11:39.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:11:39.384Z] [2023-05-16T10:11:39.384Z] Login Succeeded [2023-05-16T10:11:39.384Z] nexus3.edgexfoundry.org:10004 [2023-05-16T10:11:39.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:11:39.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:11:39.932Z] Configure a credential helper to remove this warning. See [2023-05-16T10:11:39.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:11:39.932Z] [2023-05-16T10:11:39.932Z] Login Succeeded [2023-05-16T10:11:39.932Z] docker.io [2023-05-16T10:11:40.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:11:40.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:11:40.476Z] Configure a credential helper to remove this warning. See [2023-05-16T10:11:40.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:11:40.476Z] [2023-05-16T10:11:40.476Z] Login Succeeded [2023-05-16T10:11:40.476Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T10:11:40.508Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-16T10:11:40.984Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T10:11:41.025Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T10:11:41.067Z] ========================================================= [2023-05-16T10:11:41.067Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-16T10:11:41.067Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:11:41.609Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-16T10:11:42.210Z] Sending build context to Docker daemon 14.33MB [2023-05-16T10:11:42.210Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T10:11:42.210Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-16T10:11:42.488Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-16T10:11:42.488Z] c41833b44d91: Pulling fs layer [2023-05-16T10:11:42.488Z] ed15518f5707: Pulling fs layer [2023-05-16T10:11:42.488Z] feae8fd75edb: Pulling fs layer [2023-05-16T10:11:42.488Z] 242c74f7c9fa: Pulling fs layer [2023-05-16T10:11:42.488Z] 3cdef696dda3: Pulling fs layer [2023-05-16T10:11:42.488Z] 2ced38df9373: Pulling fs layer [2023-05-16T10:11:42.488Z] 58f1dce35555: Pulling fs layer [2023-05-16T10:11:42.488Z] 242c74f7c9fa: Waiting [2023-05-16T10:11:42.488Z] 3cdef696dda3: Waiting [2023-05-16T10:11:42.488Z] 2ced38df9373: Waiting [2023-05-16T10:11:42.488Z] 58f1dce35555: Waiting [2023-05-16T10:11:42.488Z] ed15518f5707: Download complete [2023-05-16T10:11:42.488Z] 242c74f7c9fa: Verifying Checksum [2023-05-16T10:11:42.488Z] 242c74f7c9fa: Download complete [2023-05-16T10:11:42.488Z] 3cdef696dda3: Verifying Checksum [2023-05-16T10:11:42.488Z] 3cdef696dda3: Download complete [2023-05-16T10:11:42.488Z] c41833b44d91: Verifying Checksum [2023-05-16T10:11:42.488Z] c41833b44d91: Download complete [2023-05-16T10:11:43.480Z] c41833b44d91: Pull complete [2023-05-16T10:11:44.082Z] 58f1dce35555: Verifying Checksum [2023-05-16T10:11:44.082Z] 58f1dce35555: Download complete [2023-05-16T10:11:44.362Z] ed15518f5707: Pull complete [2023-05-16T10:11:45.346Z] feae8fd75edb: Verifying Checksum [2023-05-16T10:11:45.346Z] feae8fd75edb: Download complete [2023-05-16T10:11:45.346Z] 2ced38df9373: Verifying Checksum [2023-05-16T10:11:45.346Z] 2ced38df9373: Download complete [2023-05-16T10:11:57.771Z] feae8fd75edb: Pull complete [2023-05-16T10:11:57.771Z] 242c74f7c9fa: Pull complete [2023-05-16T10:11:57.771Z] 3cdef696dda3: Pull complete [2023-05-16T10:12:04.479Z] 2ced38df9373: Pull complete [2023-05-16T10:12:05.906Z] 58f1dce35555: Pull complete [2023-05-16T10:12:05.906Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-16T10:12:05.906Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-16T10:12:05.906Z] ---> fadd8f120f05 [2023-05-16T10:12:05.906Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-16T10:12:06.887Z] ---> Running in 3493120ed8d4 [2023-05-16T10:12:07.481Z] Removing intermediate container 3493120ed8d4 [2023-05-16T10:12:07.481Z] ---> 1b8a62c58eed [2023-05-16T10:12:07.481Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T10:12:07.481Z] ---> Running in 88957f4819a1 [2023-05-16T10:12:07.752Z] Removing intermediate container 88957f4819a1 [2023-05-16T10:12:07.752Z] ---> 45953c835b6a [2023-05-16T10:12:07.752Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-05-16T10:12:07.752Z] ---> Running in dc39e78365dd [2023-05-16T10:12:08.023Z] Removing intermediate container dc39e78365dd [2023-05-16T10:12:08.023Z] ---> d4defebf9c76 [2023-05-16T10:12:08.023Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-05-16T10:12:08.296Z] ---> Running in b8a11a084eb2 [2023-05-16T10:12:08.569Z] Removing intermediate container b8a11a084eb2 [2023-05-16T10:12:08.569Z] ---> 8042e5cddf5a [2023-05-16T10:12:08.569Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-05-16T10:12:08.569Z] ---> Running in c242f6783fb4 [2023-05-16T10:12:08.840Z] Removing intermediate container c242f6783fb4 [2023-05-16T10:12:08.840Z] ---> d090260267df [2023-05-16T10:12:08.840Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T10:12:09.111Z] ---> Running in 609f0528f4c4 [2023-05-16T10:12:10.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T10:12:11.133Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T10:12:12.558Z] OK: 263 MiB in 53 packages [2023-05-16T10:12:14.531Z] Removing intermediate container 609f0528f4c4 [2023-05-16T10:12:14.531Z] ---> 8779f20f2bb8 [2023-05-16T10:12:14.531Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-05-16T10:12:14.804Z] ---> Running in 49003697860e [2023-05-16T10:12:15.076Z] Removing intermediate container 49003697860e [2023-05-16T10:12:15.076Z] ---> 6214bcc74d0d [2023-05-16T10:12:15.076Z] Step 10/13 : COPY go.mod vendor* ./ [2023-05-16T10:12:15.672Z] ---> 7abb53277e4a [2023-05-16T10:12:15.672Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T10:12:15.672Z] ---> Running in 3c6bdb270a8c [2023-05-16T10:13:23.673Z] Removing intermediate container 3c6bdb270a8c [2023-05-16T10:13:23.673Z] ---> 65399c9d69c4 [2023-05-16T10:13:23.673Z] Step 12/13 : COPY . . [2023-05-16T10:13:24.266Z] ---> 757230cfbef5 [2023-05-16T10:13:24.266Z] Step 13/13 : RUN ${MAKE} [2023-05-16T10:13:24.266Z] ---> Running in a43b2547b1ee [2023-05-16T10:13:25.696Z] noop [2023-05-16T10:13:26.290Z] Removing intermediate container a43b2547b1ee [2023-05-16T10:13:26.290Z] ---> 7b30861b1253 [2023-05-16T10:13:26.290Z] Successfully built 7b30861b1253 [2023-05-16T10:13:26.290Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:13:26.783Z] + docker inspect -f . ci-base-image-arm64 [2023-05-16T10:13:26.783Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:13:27.118Z] prd-ubuntu20.04-docker-arm64-4c-16g-15560 does not seem to be running inside a container [2023-05-16T10:13:27.215Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-16T10:13:28.625Z] $ docker top bf3b16afb74cbac4892fb32d23d07c5c5693f20ee633e7effae0a457877f6b40 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T10:13:29.555Z] + go version [2023-05-16T10:13:29.555Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-16T10:13:29.598Z] $ docker stop --time=1 bf3b16afb74cbac4892fb32d23d07c5c5693f20ee633e7effae0a457877f6b40 [2023-05-16T10:13:31.330Z] $ docker rm -f --volumes bf3b16afb74cbac4892fb32d23d07c5c5693f20ee633e7effae0a457877f6b40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:13:32.243Z] + docker inspect -f . ci-base-image-arm64 [2023-05-16T10:13:32.243Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:13:32.547Z] prd-ubuntu20.04-docker-arm64-4c-16g-15560 does not seem to be running inside a container [2023-05-16T10:13:32.646Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-16T10:13:35.587Z] $ docker top da1f52ef323e202ddd65e3230ed54bf811e3cbbba622c87350acba47345f29c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T10:13:36.514Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-05-16T10:13:37.248Z] + make test [2023-05-16T10:13:37.248Z] go test ./... -coverprofile=coverage.out ./... [2023-05-16T10:14:16.193Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-05-16T10:16:53.355Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-05-16T10:16:53.355Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-05-16T10:16:53.355Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.229s coverage: 31.4% of statements [2023-05-16T10:17:08.415Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.824s coverage: 86.5% of statements [2023-05-16T10:17:08.415Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-16T10:17:08.415Z] go vet ./... [2023-05-16T10:17:47.403Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-16T10:17:47.403Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-16T10:17:47.403Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-16T10:17:47.446Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-16T10:17:47.496Z] $ docker stop --time=1 da1f52ef323e202ddd65e3230ed54bf811e3cbbba622c87350acba47345f29c9 [2023-05-16T10:17:49.567Z] $ docker rm -f --volumes da1f52ef323e202ddd65e3230ed54bf811e3cbbba622c87350acba47345f29c9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T10:17:51.052Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-16T10:17:51.098Z] Warning: overwriting stash ‘coverage-report’ [2023-05-16T10:17:51.913Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T10:17:52.579Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-16T10:17:52.939Z] + ls -al . [2023-05-16T10:17:52.939Z] total 228 [2023-05-16T10:17:52.939Z] drwxrwxr-x 9 jenkins jenkins 4096 May 16 10:13 . [2023-05-16T10:17:52.939Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:11 .. [2023-05-16T10:17:52.939Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 10:11 .git [2023-05-16T10:17:52.939Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:11 .github [2023-05-16T10:17:52.939Z] -rw-rw-r-- 1 jenkins jenkins 496 May 16 10:11 .gitignore [2023-05-16T10:17:52.939Z] -rw-rw-r-- 1 jenkins jenkins 42 May 16 10:11 .golangci.yml [2023-05-16T10:17:52.939Z] -rw-rw-r-- 1 jenkins jenkins 10087 May 16 10:11 Attribution.txt [2023-05-16T10:17:52.939Z] -rw-rw-r-- 1 jenkins jenkins 6312 May 16 10:11 CHANGELOG.md [2023-05-16T10:17:52.939Z] -rw-rw-r-- 1 jenkins jenkins 1574 May 16 10:11 Dockerfile [2023-05-16T10:17:52.939Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 10:11 GOVERNANCE.md [2023-05-16T10:17:52.939Z] -rw-rw-r-- 1 jenkins jenkins 739 May 16 10:11 Jenkinsfile [2023-05-16T10:17:52.939Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 16 10:11 LICENSE [2023-05-16T10:17:52.939Z] -rw-rw-r-- 1 jenkins jenkins 2751 May 16 10:11 Makefile [2023-05-16T10:17:52.939Z] -rw-rw-r-- 1 jenkins jenkins 625 May 16 10:11 OWNERS.md [2023-05-16T10:17:52.939Z] -rw-rw-r-- 1 jenkins jenkins 2690 May 16 10:11 README.md [2023-05-16T10:17:52.939Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 10:07 VERSION [2023-05-16T10:17:52.939Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:11 bin [2023-05-16T10:17:52.939Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:11 cmd [2023-05-16T10:17:52.939Z] -rw-r--r-- 1 jenkins jenkins 78459 May 16 10:17 coverage.out [2023-05-16T10:17:52.939Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:11 doc [2023-05-16T10:17:52.939Z] -rw-rw-r-- 1 jenkins jenkins 3642 May 16 10:11 go.mod [2023-05-16T10:17:52.939Z] -rw-rw-r-- 1 jenkins jenkins 33491 May 16 10:11 go.sum [2023-05-16T10:17:52.939Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:11 internal [2023-05-16T10:17:52.939Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:11 snap [2023-05-16T10:17:52.939Z] -rw-rw-r-- 1 jenkins jenkins 236 May 16 10:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:17:53.386Z] + 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=7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 --label arch=arm64 --label version=0.0.0 . [2023-05-16T10:17:53.995Z] Sending build context to Docker daemon 14.41MB [2023-05-16T10:17:53.995Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T10:17:53.995Z] Step 2/26 : FROM ${BASE} AS builder [2023-05-16T10:17:53.995Z] ---> 7b30861b1253 [2023-05-16T10:17:53.995Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-05-16T10:17:54.271Z] ---> Running in 0fab9a2580dd [2023-05-16T10:17:54.880Z] Removing intermediate container 0fab9a2580dd [2023-05-16T10:17:54.880Z] ---> 753678a56561 [2023-05-16T10:17:54.880Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T10:17:54.880Z] ---> Running in 8574f82a541e [2023-05-16T10:17:55.159Z] Removing intermediate container 8574f82a541e [2023-05-16T10:17:55.159Z] ---> 20cc0aed59e2 [2023-05-16T10:17:55.159Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-05-16T10:17:55.430Z] ---> Running in e08063dec738 [2023-05-16T10:17:55.705Z] Removing intermediate container e08063dec738 [2023-05-16T10:17:55.705Z] ---> c57250c0d871 [2023-05-16T10:17:55.705Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-05-16T10:17:55.705Z] ---> Running in 5466538c0584 [2023-05-16T10:17:56.295Z] Removing intermediate container 5466538c0584 [2023-05-16T10:17:56.295Z] ---> 668c2dfe20c9 [2023-05-16T10:17:56.295Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-05-16T10:17:56.295Z] ---> Running in ac62fa238c7a [2023-05-16T10:17:56.566Z] Removing intermediate container ac62fa238c7a [2023-05-16T10:17:56.567Z] ---> b1e4ba04b9fd [2023-05-16T10:17:56.567Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T10:17:56.838Z] ---> Running in c669108c50ed [2023-05-16T10:17:57.808Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T10:17:58.780Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T10:18:00.218Z] OK: 263 MiB in 53 packages [2023-05-16T10:18:01.233Z] Removing intermediate container c669108c50ed [2023-05-16T10:18:01.233Z] ---> 029de771d1a2 [2023-05-16T10:18:01.233Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-05-16T10:18:01.504Z] ---> Running in bede6f78675d [2023-05-16T10:18:01.782Z] Removing intermediate container bede6f78675d [2023-05-16T10:18:01.782Z] ---> 0f8ada615258 [2023-05-16T10:18:01.782Z] Step 10/26 : COPY go.mod vendor* ./ [2023-05-16T10:18:02.377Z] ---> 65df51143517 [2023-05-16T10:18:02.377Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T10:18:02.647Z] ---> Running in 01af3ae64625 [2023-05-16T10:18:06.028Z] Removing intermediate container 01af3ae64625 [2023-05-16T10:18:06.028Z] ---> f01aae8dc817 [2023-05-16T10:18:06.028Z] Step 12/26 : COPY . . [2023-05-16T10:18:07.460Z] ---> a13b7e9dcb83 [2023-05-16T10:18:07.460Z] Step 13/26 : RUN ${MAKE} [2023-05-16T10:18:07.460Z] ---> Running in 74289a98e03b [2023-05-16T10:18:08.912Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-05-16T10:21:15.832Z] Removing intermediate container 74289a98e03b [2023-05-16T10:21:15.832Z] ---> e2622d68aada [2023-05-16T10:21:15.832Z] Step 14/26 : FROM alpine:3.17 [2023-05-16T10:21:15.832Z] 3.17: Pulling from library/alpine [2023-05-16T10:21:15.832Z] c41833b44d91: Already exists [2023-05-16T10:21:15.832Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-16T10:21:15.832Z] Status: Downloaded newer image for alpine:3.17 [2023-05-16T10:21:15.832Z] ---> 51e60588ff2c [2023-05-16T10:21:15.832Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-16T10:21:15.832Z] ---> Running in e6063ce06187 [2023-05-16T10:21:15.832Z] Removing intermediate container e6063ce06187 [2023-05-16T10:21:15.832Z] ---> 96fa1547c7ea [2023-05-16T10:21:15.832Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-05-16T10:21:15.832Z] ---> Running in 585bfdf301bc [2023-05-16T10:21:15.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T10:21:15.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T10:21:15.832Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-16T10:21:15.832Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T10:21:15.832Z] OK: 8 MiB in 16 packages [2023-05-16T10:21:15.832Z] Removing intermediate container 585bfdf301bc [2023-05-16T10:21:15.832Z] ---> 9cb2f68c56c0 [2023-05-16T10:21:15.832Z] Step 17/26 : WORKDIR / [2023-05-16T10:21:15.832Z] ---> Running in f32b42d8ad8b [2023-05-16T10:21:15.832Z] Removing intermediate container f32b42d8ad8b [2023-05-16T10:21:15.832Z] ---> 844d28486e76 [2023-05-16T10:21:15.832Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-05-16T10:21:15.832Z] ---> cc8ba7e06143 [2023-05-16T10:21:15.832Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-05-16T10:21:16.104Z] ---> ba928ac725d4 [2023-05-16T10:21:16.104Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-05-16T10:21:16.703Z] ---> dcfbafed1598 [2023-05-16T10:21:16.703Z] Step 21/26 : EXPOSE 59984 [2023-05-16T10:21:16.976Z] ---> Running in accfa83fd099 [2023-05-16T10:21:17.246Z] Removing intermediate container accfa83fd099 [2023-05-16T10:21:17.246Z] ---> 4949024163b2 [2023-05-16T10:21:17.246Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-05-16T10:21:17.246Z] ---> Running in 6ce066c03369 [2023-05-16T10:21:17.521Z] Removing intermediate container 6ce066c03369 [2023-05-16T10:21:17.521Z] ---> f3f69107c6c3 [2023-05-16T10:21:17.521Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-16T10:21:17.799Z] ---> Running in f95a01cf85b9 [2023-05-16T10:21:18.071Z] Removing intermediate container f95a01cf85b9 [2023-05-16T10:21:18.072Z] ---> 1d5d34c6719a [2023-05-16T10:21:18.072Z] Step 24/26 : LABEL arch=arm64 [2023-05-16T10:21:18.072Z] ---> Running in 7ec47f35d57f [2023-05-16T10:21:18.675Z] Removing intermediate container 7ec47f35d57f [2023-05-16T10:21:18.675Z] ---> 31b781d51798 [2023-05-16T10:21:18.675Z] Step 25/26 : LABEL git_sha=7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 [2023-05-16T10:21:18.675Z] ---> Running in d13207ca6aeb [2023-05-16T10:21:18.946Z] Removing intermediate container d13207ca6aeb [2023-05-16T10:21:18.946Z] ---> bafab3e23ba5 [2023-05-16T10:21:18.946Z] Step 26/26 : LABEL version=0.0.0 [2023-05-16T10:21:19.223Z] ---> Running in ac21a07f858c [2023-05-16T10:21:19.496Z] Removing intermediate container ac21a07f858c [2023-05-16T10:21:19.496Z] ---> 1fe8bf05b824 [2023-05-16T10:21:19.496Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-16T10:21:19.496Z] Successfully built 1fe8bf05b824 [2023-05-16T10:21:19.496Z] 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 [2023-05-16T10:21:20.367Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T10:21:20.367Z] [2023-05-16T10:21:20.367Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:21:20.794Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T10:21:21.072Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-16T10:21:21.072Z] 8998bd30e6a1: Pulling fs layer [2023-05-16T10:21:21.072Z] 04944245beec: Pulling fs layer [2023-05-16T10:21:21.072Z] 699f458cf7ca: Pulling fs layer [2023-05-16T10:21:21.072Z] 765212b225bb: Pulling fs layer [2023-05-16T10:21:21.072Z] f23df028b6ca: Pulling fs layer [2023-05-16T10:21:21.072Z] d65c8cfc05b1: Pulling fs layer [2023-05-16T10:21:21.072Z] 2437ff75d9bd: Pulling fs layer [2023-05-16T10:21:21.072Z] f23df028b6ca: Waiting [2023-05-16T10:21:21.072Z] d65c8cfc05b1: Waiting [2023-05-16T10:21:21.072Z] 765212b225bb: Waiting [2023-05-16T10:21:21.072Z] 2437ff75d9bd: Waiting [2023-05-16T10:21:21.072Z] 04944245beec: Verifying Checksum [2023-05-16T10:21:21.072Z] 04944245beec: Download complete [2023-05-16T10:21:21.072Z] 765212b225bb: Verifying Checksum [2023-05-16T10:21:21.072Z] 765212b225bb: Download complete [2023-05-16T10:21:21.072Z] f23df028b6ca: Verifying Checksum [2023-05-16T10:21:21.072Z] f23df028b6ca: Download complete [2023-05-16T10:21:21.350Z] d65c8cfc05b1: Verifying Checksum [2023-05-16T10:21:21.350Z] d65c8cfc05b1: Download complete [2023-05-16T10:21:21.350Z] 699f458cf7ca: Verifying Checksum [2023-05-16T10:21:21.350Z] 699f458cf7ca: Download complete [2023-05-16T10:21:21.623Z] 8998bd30e6a1: Verifying Checksum [2023-05-16T10:21:21.623Z] 8998bd30e6a1: Download complete [2023-05-16T10:21:24.236Z] 2437ff75d9bd: Verifying Checksum [2023-05-16T10:21:24.236Z] 2437ff75d9bd: Download complete [2023-05-16T10:21:26.205Z] 8998bd30e6a1: Pull complete [2023-05-16T10:21:26.801Z] 04944245beec: Pull complete [2023-05-16T10:21:28.766Z] 699f458cf7ca: Pull complete [2023-05-16T10:21:28.766Z] 765212b225bb: Pull complete [2023-05-16T10:21:29.740Z] f23df028b6ca: Pull complete [2023-05-16T10:21:29.740Z] d65c8cfc05b1: Pull complete [2023-05-16T10:21:44.785Z] 2437ff75d9bd: Pull complete [2023-05-16T10:21:44.785Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-16T10:21:44.785Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T10:21:44.785Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:21:45.153Z] prd-ubuntu20.04-docker-arm64-4c-16g-15560 does not seem to be running inside a container [2023-05-16T10:21:45.310Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-16T10:21:48.479Z] $ docker top 7bc311f60cd1dfe8d1ada2259f26ca57886ba78c5382e833d470523bfcc23d48 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:21:49.469Z] ---> job-cost.sh [2023-05-16T10:21:49.469Z] lf-activate-venv: SKIPPING [2023-05-16T10:21:49.469Z] INFO: No Stack... [2023-05-16T10:21:50.068Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-16T10:21:50.663Z] INFO: Archiving Costs [Pipeline] sh [2023-05-16T10:21:51.346Z] + cut -d, -f6 [2023-05-16T10:21:51.346Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2023-05-16T10:21:51.461Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-362-1-stack-cost] [2023-05-16T10:21:51.466Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-362-1-stack-cost] did not exist. Created. [2023-05-16T10:21:51.466Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-362-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-16T10:21:52.231Z] /w/workspace/device-onvif-camera/1@tmp/durable-a0242f33/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-16T10:21:52.930Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-16T10:21:52.967Z] Warning: overwriting stash ‘stack-cost’ [2023-05-16T10:21:53.042Z] Stashed 1 file(s) [Pipeline] } [2023-05-16T10:21:53.062Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-362-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-16T10:21:53.175Z] $ docker stop --time=1 7bc311f60cd1dfe8d1ada2259f26ca57886ba78c5382e833d470523bfcc23d48 [2023-05-16T10:21:54.828Z] $ docker rm -f --volumes 7bc311f60cd1dfe8d1ada2259f26ca57886ba78c5382e833d470523bfcc23d48 [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 [2023-05-16T10:21:55.869Z] provisioning config files... [2023-05-16T10:21:55.876Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-362@tmp/config10878941031966595549tmp [Pipeline] { [Pipeline] sh [2023-05-16T10:21:56.239Z] + set +x [2023-05-16T10:21:56.239Z] + bash -s -- [2023-05-16T10:21:56.239Z] + curl -s https://codecov.io/bash [2023-05-16T10:21:56.239Z] [2023-05-16T10:21:56.239Z] _____ _ [2023-05-16T10:21:56.239Z] / ____| | | [2023-05-16T10:21:56.239Z] | | ___ __| | ___ ___ _____ __ [2023-05-16T10:21:56.239Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-16T10:21:56.239Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-16T10:21:56.239Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-16T10:21:56.239Z] Bash-1.0.6 [2023-05-16T10:21:56.239Z] [2023-05-16T10:21:56.239Z] [2023-05-16T10:21:56.239Z] ==> git version 2.25.1 found [2023-05-16T10:21:56.239Z] ==> 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 [2023-05-16T10:21:56.239Z] Release-Date: 2020-01-08 [2023-05-16T10:21:56.239Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-05-16T10:21:56.239Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-16T10:21:56.239Z] ==> Jenkins CI detected. [2023-05-16T10:21:56.239Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-362 [2023-05-16T10:21:56.239Z] project root: . [2023-05-16T10:21:56.239Z] --> token set from env [2023-05-16T10:21:56.239Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-16T10:21:56.239Z] ==> Running gcov in . (disable via -X gcov) [2023-05-16T10:21:56.239Z] ==> Python coveragepy not found [2023-05-16T10:21:56.239Z] ==> Searching for coverage reports in: [2023-05-16T10:21:56.239Z] + . [2023-05-16T10:21:56.239Z] -> Found 1 reports [2023-05-16T10:21:56.239Z] ==> Detecting git/mercurial file structure [2023-05-16T10:21:56.239Z] ==> Reading reports [2023-05-16T10:21:56.239Z] + ./coverage.out bytes=78459 [2023-05-16T10:21:56.239Z] ==> Appending adjustments [2023-05-16T10:21:56.239Z] https://docs.codecov.io/docs/fixing-reports [2023-05-16T10:21:56.499Z] + Found adjustments [2023-05-16T10:21:56.499Z] ==> Gzipping contents [2023-05-16T10:21:56.499Z] 12K /tmp/codecov.wzBz2i.gz [2023-05-16T10:21:56.499Z] ==> Uploading reports [2023-05-16T10:21:56.499Z] url: https://codecov.io [2023-05-16T10:21:56.499Z] query: branch=PR-362&commit=7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-362%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=362&job=&cmd_args= [2023-05-16T10:21:56.499Z] -> Pinging Codecov [2023-05-16T10:21:56.499Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-362&commit=7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-362%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=362&job=&cmd_args= [2023-05-16T10:21:56.759Z] -> Uploading to [2023-05-16T10:21:56.760Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-16/F29A59C45E3A92E06B3E522C9905F8EF/7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4/9cefef82-e8dd-48a4-8245-d6c988d992f7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T102156Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0584947481b5a8a134a509b0256d86e56e08d0962ea26409849eb2ff8b22dfdd [2023-05-16T10:21:56.760Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T10:21:56.760Z] Dload Upload Total Spent Left Speed [2023-05-16T10:21:57.022Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 52522 --:--:-- --:--:-- --:--:-- 52522 [2023-05-16T10:21:57.022Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 [Pipeline] } [2023-05-16T10:21:57.055Z] 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 [2023-05-16T10:21:58.865Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-362/archives ] [2023-05-16T10:21:58.865Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-362/archives [2023-05-16T10:21:58.865Z] total 16 [2023-05-16T10:21:58.865Z] drwxr-xr-x 3 root root 4096 May 16 10:09 . [2023-05-16T10:21:58.865Z] drwxrwxr-x 11 jenkins jenkins 4096 May 16 10:09 .. [2023-05-16T10:21:58.865Z] drwxr-xr-x 2 root root 4096 May 16 10:09 cost [2023-05-16T10:21:58.865Z] -rw-r--r-- 1 root root 91 May 16 10:09 cost.csv [2023-05-16T10:21:58.865Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-362/archives [2023-05-16T10:21:58.865Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-362/archives [2023-05-16T10:21:58.865Z] total 16 [2023-05-16T10:21:58.865Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 10:09 . [2023-05-16T10:21:58.865Z] drwxrwxr-x 11 jenkins jenkins 4096 May 16 10:09 .. [2023-05-16T10:21:58.865Z] drwxr-xr-x 2 jenkins jenkins 4096 May 16 10:09 cost [2023-05-16T10:21:58.865Z] -rw-r--r-- 1 jenkins jenkins 91 May 16 10:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:21:59.193Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:22:00.082Z] ---> package-listing.sh [2023-05-16T10:22:00.082Z] ++ facter osfamily [2023-05-16T10:22:00.082Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-16T10:22:00.341Z] + OS_FAMILY=debian [2023-05-16T10:22:00.341Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-362 [2023-05-16T10:22:00.341Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-16T10:22:00.341Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-16T10:22:00.341Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-16T10:22:00.341Z] + PACKAGES=/tmp/packages_start.txt [2023-05-16T10:22:00.341Z] + '[' /w/workspace/undry_device-onvif-camera_PR-362 ']' [2023-05-16T10:22:00.341Z] + PACKAGES=/tmp/packages_end.txt [2023-05-16T10:22:00.341Z] + case "${OS_FAMILY}" in [2023-05-16T10:22:00.341Z] + dpkg -l [2023-05-16T10:22:00.341Z] + grep '^ii' [2023-05-16T10:22:00.341Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-16T10:22:00.341Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-16T10:22:00.341Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-16T10:22:00.341Z] + '[' /w/workspace/undry_device-onvif-camera_PR-362 ']' [2023-05-16T10:22:00.341Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-362/archives/ [2023-05-16T10:22:00.341Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-362/archives/ [Pipeline] echo [2023-05-16T10:22:00.376Z] 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-362/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-16T10:22:00.670Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:22:01.302Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T10:22:01.303Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:22:01.450Z] prd-ubuntu20.04-docker-8c-8g-15553 does not seem to be running inside a container [2023-05-16T10:22:01.486Z] $ 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-362/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-362 -v /w/workspace/undry_device-onvif-camera_PR-362:/w/workspace/undry_device-onvif-camera_PR-362:rw,z -v /w/workspace/undry_device-onvif-camera_PR-362@tmp:/w/workspace/undry_device-onvif-camera_PR-362@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-16T10:22:01.675Z] $ docker top 495ce1efe466a6fdcb6fc4a3d7b188d6d74a06e5b1c20e54136e561fada34cb0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T10:22:02.056Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-16T10:22:02.380Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-16T10:22:02.700Z] + ls /var/log/sa-host [2023-05-16T10:22:02.700Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T10:22:02.846Z] provisioning config files... [2023-05-16T10:22:02.854Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-362@tmp/config2490545892035762954tmp [Pipeline] { [Pipeline] echo [2023-05-16T10:22:02.916Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:22:03.229Z] ---> create-netrc.sh [Pipeline] } [2023-05-16T10:22:03.256Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:22:03.660Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-16T10:22:03.695Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:22:04.013Z] ---> sudo-logs.sh [2023-05-16T10:22:04.013Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-16T10:22:04.103Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:22:04.417Z] ---> job-cost.sh [2023-05-16T10:22:04.417Z] lf-activate-venv: SKIPPING [2023-05-16T10:22:04.417Z] DEBUG: total: 0.2199999988079071 [2023-05-16T10:22:04.417Z] INFO: Retrieving Stack Cost... [2023-05-16T10:22:04.676Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-16T10:22:05.246Z] INFO: Archiving Costs [Pipeline] echo [2023-05-16T10:22:05.285Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:22:05.601Z] ---> logs-deploy.sh [2023-05-16T10:22:05.601Z] lf-activate-venv: SKIPPING [2023-05-16T10:22:05.601Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-362/1 [2023-05-16T10:22:05.601Z] INFO: archiving workspace using pattern(s): [2023-05-16T10:22:06.543Z] Archives upload complete. [2023-05-16T10:22:06.543Z] INFO: archiving logs to Nexus