Pull request #260 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 10e92f17d01bd25b46edefd6a25baf6c1226522e+ef0e1dc43e01e3af63e43192147483735d9789c0 (04f0b28106697656fb30fd1c947aad67c35b2378) 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-ssh14608135426629885740.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh12586091248213977856.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-260/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-260/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2529670118809259611.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-260/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12596379881390308735.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh17850089086875977066.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-260/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-260/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13174438653352997625.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9925 in /w/workspace/undry_device-onvif-camera_PR-260 [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-260 # 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/260/head:refs/remotes/origin/PR-260 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 Merging remotes/origin/levski commit ef0e1dc43e01e3af63e43192147483735d9789c0 into PR head commit 10e92f17d01bd25b46edefd6a25baf6c1226522e Merge succeeded, producing 10e92f17d01bd25b46edefd6a25baf6c1226522e Checking out Revision 10e92f17d01bd25b46edefd6a25baf6c1226522e (PR-260) Commit message: "fix: patch levski device sdk to fix cache issue" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-13T17:37:54.469Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-13T17:37:54.641Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 10e92f17d01bd25b46edefd6a25baf6c1226522e # 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 ef0e1dc43e01e3af63e43192147483735d9789c0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 10e92f17d01bd25b46edefd6a25baf6c1226522e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-13T17:37:54.747Z] ========================================================= [2023-03-13T17:37:54.747Z] EdgeX Global Pipelines Version Info [2023-03-13T17:37:54.747Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:37:55.479Z] ------------------- [2023-03-13T17:37:55.479Z] stable info: [2023-03-13T17:37:55.479Z] ------------------- [2023-03-13T17:37:55.479Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-13T17:37:55.479Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T17:37:55.479Z] Message: update stable to v1.0.244 [2023-03-13T17:37:56.050Z] ------------------- [2023-03-13T17:37:56.050Z] experimental info: [2023-03-13T17:37:56.050Z] ------------------- [2023-03-13T17:37:56.050Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-13T17:37:56.050Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T17:37:56.050Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-13T17:37:56.379Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-13T17:37:56.417Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-13T17:37:56.454Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-13T17:37:56.489Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-13T17:37:56.525Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-13T17:37:56.562Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-13T17:37:56.609Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-13T17:37:56.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-13T17:37:56.681Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-13T17:37:56.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-13T17:37:56.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-13T17:37:56.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-13T17:37:56.827Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-13T17:37:56.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-13T17:37:56.906Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T17:37:56.945Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T17:37:56.980Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T17:37:57.016Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T17:37:57.060Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-13T17:37:57.100Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-13T17:37:57.134Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-13T17:37:57.180Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-13T17:37:57.215Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-13T17:37:57.251Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-13T17:37:57.288Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-13T17:37:57.324Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-13T17:37:57.363Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-13T17:37:57.399Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-260 [Pipeline] echo [2023-03-13T17:37:57.444Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-260 [Pipeline] echo [2023-03-13T17:37:57.485Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-260 [Pipeline] echo [2023-03-13T17:37:57.528Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 10e92f17d01bd25b46edefd6a25baf6c1226522e [Pipeline] echo [2023-03-13T17:37:57.568Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 10e92f1 [Pipeline] echo [2023-03-13T17:37:57.611Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T17:37:57.731Z] provisioning config files... [2023-03-13T17:37:57.748Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-260@tmp/config9580207579814359056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:37:58.103Z] ---> docker-login.sh [2023-03-13T17:37:58.103Z] nexus3.edgexfoundry.org:10001 [2023-03-13T17:37:58.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:37:58.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:37:58.364Z] Configure a credential helper to remove this warning. See [2023-03-13T17:37:58.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:37:58.364Z] [2023-03-13T17:37:58.364Z] Login Succeeded [2023-03-13T17:37:58.364Z] nexus3.edgexfoundry.org:10002 [2023-03-13T17:37:58.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:37:58.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:37:58.364Z] Configure a credential helper to remove this warning. See [2023-03-13T17:37:58.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:37:58.364Z] [2023-03-13T17:37:58.364Z] Login Succeeded [2023-03-13T17:37:58.364Z] nexus3.edgexfoundry.org:10003 [2023-03-13T17:37:58.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:37:58.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:37:58.625Z] Configure a credential helper to remove this warning. See [2023-03-13T17:37:58.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:37:58.625Z] [2023-03-13T17:37:58.625Z] Login Succeeded [2023-03-13T17:37:58.625Z] nexus3.edgexfoundry.org:10004 [2023-03-13T17:37:58.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:37:58.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:37:58.625Z] Configure a credential helper to remove this warning. See [2023-03-13T17:37:58.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:37:58.625Z] [2023-03-13T17:37:58.625Z] Login Succeeded [2023-03-13T17:37:58.625Z] docker.io [2023-03-13T17:37:58.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:37:58.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:37:58.886Z] Configure a credential helper to remove this warning. See [2023-03-13T17:37:58.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:37:58.886Z] [2023-03-13T17:37:58.886Z] Login Succeeded [2023-03-13T17:37:58.886Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T17:37:58.915Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-13T17:37:59.542Z] + git rev-list -1 --merges 10e92f17d01bd25b46edefd6a25baf6c1226522e~1..10e92f17d01bd25b46edefd6a25baf6c1226522e [Pipeline] echo [2023-03-13T17:37:59.615Z] -----------> git rev-list -1 --merges 10e92f17d01bd25b46edefd6a25baf6c1226522e~1..10e92f17d01bd25b46edefd6a25baf6c1226522e 10e92f17d01bd25b46edefd6a25baf6c1226522e [false] [Pipeline] sh [2023-03-13T17:37:59.923Z] + git log --format=format:%s -1 10e92f17d01bd25b46edefd6a25baf6c1226522e [Pipeline] echo [2023-03-13T17:37:59.967Z] ========================================================= [2023-03-13T17:37:59.967Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-13T17:37:59.967Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T17:38:00.390Z] + git log --format=format:%s -1 10e92f17d01bd25b46edefd6a25baf6c1226522e [Pipeline] echo [2023-03-13T17:38:00.424Z] [semverPrep] GIT_COMMIT: 10e92f17d01bd25b46edefd6a25baf6c1226522e, Commit Message: fix: patch levski device sdk to fix cache issue [Pipeline] echo [2023-03-13T17:38:00.459Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-13T17:38:00.868Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-13T17:38:00.869Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-13T17:38:00.869Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-13T17:38:00.869Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-13T17:38:00.869Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-03-13T17:38:00.869Z] -a /etc/ssh/ssh_known_hosts [2023-03-13T17:38:00.869Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:38:01.381Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T17:38:01.381Z] [2023-03-13T17:38:01.381Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:38:01.770Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T17:38:01.770Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-13T17:38:01.770Z] b85a868b505f: Pulling fs layer [2023-03-13T17:38:01.770Z] e2be974225ed: Pulling fs layer [2023-03-13T17:38:01.770Z] 339a4e72a1f5: Pulling fs layer [2023-03-13T17:38:01.770Z] 988bab9f4d93: Pulling fs layer [2023-03-13T17:38:01.770Z] 1469e6f7b9e6: Pulling fs layer [2023-03-13T17:38:01.770Z] eaf3925da568: Pulling fs layer [2023-03-13T17:38:01.770Z] bab4dde63d76: Pulling fs layer [2023-03-13T17:38:01.770Z] bde34c3a00c8: Pulling fs layer [2023-03-13T17:38:01.770Z] b352a97aabf1: Pulling fs layer [2023-03-13T17:38:01.770Z] 4872d77fe225: Pulling fs layer [2023-03-13T17:38:01.770Z] 5851b861e8e6: Pulling fs layer [2023-03-13T17:38:01.770Z] eaf3925da568: Waiting [2023-03-13T17:38:01.770Z] bab4dde63d76: Waiting [2023-03-13T17:38:01.770Z] bde34c3a00c8: Waiting [2023-03-13T17:38:01.770Z] b352a97aabf1: Waiting [2023-03-13T17:38:01.770Z] 4872d77fe225: Waiting [2023-03-13T17:38:01.770Z] 1469e6f7b9e6: Waiting [2023-03-13T17:38:01.770Z] 5851b861e8e6: Waiting [2023-03-13T17:38:01.770Z] 988bab9f4d93: Waiting [2023-03-13T17:38:01.770Z] e2be974225ed: Download complete [2023-03-13T17:38:01.770Z] 988bab9f4d93: Verifying Checksum [2023-03-13T17:38:01.770Z] 988bab9f4d93: Download complete [2023-03-13T17:38:02.034Z] 1469e6f7b9e6: Verifying Checksum [2023-03-13T17:38:02.034Z] 1469e6f7b9e6: Download complete [2023-03-13T17:38:02.034Z] 339a4e72a1f5: Verifying Checksum [2023-03-13T17:38:02.034Z] 339a4e72a1f5: Download complete [2023-03-13T17:38:02.034Z] eaf3925da568: Verifying Checksum [2023-03-13T17:38:02.034Z] eaf3925da568: Download complete [2023-03-13T17:38:02.034Z] bde34c3a00c8: Verifying Checksum [2023-03-13T17:38:02.034Z] bde34c3a00c8: Download complete [2023-03-13T17:38:02.034Z] b352a97aabf1: Verifying Checksum [2023-03-13T17:38:02.034Z] b352a97aabf1: Download complete [2023-03-13T17:38:02.034Z] 4872d77fe225: Verifying Checksum [2023-03-13T17:38:02.034Z] 4872d77fe225: Download complete [2023-03-13T17:38:02.034Z] 5851b861e8e6: Verifying Checksum [2023-03-13T17:38:02.034Z] 5851b861e8e6: Download complete [2023-03-13T17:38:02.034Z] b85a868b505f: Verifying Checksum [2023-03-13T17:38:02.034Z] b85a868b505f: Download complete [2023-03-13T17:38:02.294Z] bab4dde63d76: Verifying Checksum [2023-03-13T17:38:02.294Z] bab4dde63d76: Download complete [2023-03-13T17:38:03.232Z] b85a868b505f: Pull complete [2023-03-13T17:38:03.491Z] e2be974225ed: Pull complete [2023-03-13T17:38:04.059Z] 339a4e72a1f5: Pull complete [2023-03-13T17:38:04.060Z] 988bab9f4d93: Pull complete [2023-03-13T17:38:04.326Z] 1469e6f7b9e6: Pull complete [2023-03-13T17:38:04.326Z] eaf3925da568: Pull complete [2023-03-13T17:38:06.245Z] bab4dde63d76: Pull complete [2023-03-13T17:38:06.245Z] bde34c3a00c8: Pull complete [2023-03-13T17:38:06.505Z] b352a97aabf1: Pull complete [2023-03-13T17:38:06.505Z] 4872d77fe225: Pull complete [2023-03-13T17:38:06.505Z] 5851b861e8e6: Pull complete [2023-03-13T17:38:06.505Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-13T17:38:06.505Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T17:38:06.505Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T17:38:06.738Z] prd-ubuntu20.04-docker-8c-8g-9925 does not seem to be running inside a container [2023-03-13T17:38:06.769Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-260 -v /w/workspace/undry_device-onvif-camera_PR-260:/w/workspace/undry_device-onvif-camera_PR-260:rw,z -v /w/workspace/undry_device-onvif-camera_PR-260@tmp:/w/workspace/undry_device-onvif-camera_PR-260@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-13T17:38:07.973Z] $ docker top ac62a372d81d92dbe1bdcd29b4ffd0891f6d5bd1bab15efe30d3517e26934c13 -eo pid,comm [2023-03-13T17:38:08.024Z] 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-03-13T17:38:08.024Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-13T17:38:08.165Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T17:38:08.165Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T17:38:08.266Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T17:38:08.271Z] $ docker exec ac62a372d81d92dbe1bdcd29b4ffd0891f6d5bd1bab15efe30d3517e26934c13 ssh-agent [2023-03-13T17:38:08.371Z] SSH_AUTH_SOCK=/tmp/ssh-md2bOwzpIY0N/agent.32 [2023-03-13T17:38:08.371Z] SSH_AGENT_PID=38 [2023-03-13T17:38:08.378Z] Running ssh-add (command line suppressed) [2023-03-13T17:38:08.478Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-260@tmp/private_key_13917106861576266879.key (/w/workspace/undry_device-onvif-camera_PR-260@tmp/private_key_13917106861576266879.key) [2023-03-13T17:38:08.489Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T17:38:08.821Z] + git tag --points-at HEAD [Pipeline] } [2023-03-13T17:38:08.850Z] $ docker exec --env ******** --env ******** ac62a372d81d92dbe1bdcd29b4ffd0891f6d5bd1bab15efe30d3517e26934c13 ssh-agent -k [2023-03-13T17:38:08.944Z] unset SSH_AUTH_SOCK; [2023-03-13T17:38:08.946Z] unset SSH_AGENT_PID; [2023-03-13T17:38:08.946Z] echo Agent pid 38 killed; [2023-03-13T17:38:08.952Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-13T17:38:09.030Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T17:38:09.030Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T17:38:09.136Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T17:38:09.142Z] $ docker exec ac62a372d81d92dbe1bdcd29b4ffd0891f6d5bd1bab15efe30d3517e26934c13 ssh-agent [2023-03-13T17:38:09.266Z] SSH_AUTH_SOCK=/tmp/ssh-BUG2fe2TgKos/agent.70 [2023-03-13T17:38:09.266Z] SSH_AGENT_PID=76 [2023-03-13T17:38:09.271Z] Running ssh-add (command line suppressed) [2023-03-13T17:38:09.383Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-260@tmp/private_key_6002108866788154962.key (/w/workspace/undry_device-onvif-camera_PR-260@tmp/private_key_6002108866788154962.key) [2023-03-13T17:38:09.394Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T17:38:09.720Z] + git semver init [2023-03-13T17:38:09.979Z] 2023-03-13 17:38:09,901 [run_init] DEBUG init version:0.0.0 force:False [2023-03-13T17:38:09.979Z] 2023-03-13 17:38:09,902 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-260/.semver [2023-03-13T17:38:09.979Z] 2023-03-13 17:38:09,902 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-260/.semver [2023-03-13T17:38:09.979Z] 2023-03-13 17:38:09,902 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-260/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-260, universal_newlines=False, shell=None, istream=None) [2023-03-13T17:38:10.919Z] 2023-03-13 17:38:10,779 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-260/.git/info/exclude [2023-03-13T17:38:10.919Z] 2023-03-13 17:38:10,780 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-260/.semver/PR-260 with force:False [2023-03-13T17:38:10.919Z] 2023-03-13 17:38:10,780 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-260/.semver/PR-260 [2023-03-13T17:38:10.919Z] 2023-03-13 17:38:10,784 [execute] INFO git cat-file --batch-check [2023-03-13T17:38:10.919Z] 2023-03-13 17:38:10,785 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-260/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T17:38:10.919Z] 2023-03-13 17:38:10,791 [execute] INFO git cat-file --batch [2023-03-13T17:38:10.919Z] 2023-03-13 17:38:10,791 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-260/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T17:38:10.919Z] 2023-03-13 17:38:10,798 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-260/.semver/PR-260 [2023-03-13T17:38:10.919Z] 0.0.0 [Pipeline] } [2023-03-13T17:38:10.948Z] $ docker exec --env ******** --env ******** ac62a372d81d92dbe1bdcd29b4ffd0891f6d5bd1bab15efe30d3517e26934c13 ssh-agent -k [2023-03-13T17:38:11.044Z] unset SSH_AUTH_SOCK; [2023-03-13T17:38:11.045Z] unset SSH_AGENT_PID; [2023-03-13T17:38:11.045Z] echo Agent pid 76 killed; [2023-03-13T17:38:11.051Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-13T17:38:11.473Z] + git semver [Pipeline] } [2023-03-13T17:38:11.761Z] $ docker stop --time=1 ac62a372d81d92dbe1bdcd29b4ffd0891f6d5bd1bab15efe30d3517e26934c13 [2023-03-13T17:38:13.046Z] $ docker rm -f --volumes ac62a372d81d92dbe1bdcd29b4ffd0891f6d5bd1bab15efe30d3517e26934c13 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T17:38:13.466Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-13T17:38:13.756Z] Stashed 1 file(s) [Pipeline] echo [2023-03-13T17:38:13.775Z] [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-03-13T17:38:14.397Z] provisioning config files... [2023-03-13T17:38:14.408Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-260@tmp/config2524825665988977504tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:38:14.760Z] ---> docker-login.sh [2023-03-13T17:38:14.760Z] nexus3.edgexfoundry.org:10001 [2023-03-13T17:38:14.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:38:14.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:38:14.760Z] Configure a credential helper to remove this warning. See [2023-03-13T17:38:14.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:38:14.760Z] [2023-03-13T17:38:14.760Z] Login Succeeded [2023-03-13T17:38:14.760Z] nexus3.edgexfoundry.org:10002 [2023-03-13T17:38:14.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:38:14.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:38:14.760Z] Configure a credential helper to remove this warning. See [2023-03-13T17:38:14.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:38:14.760Z] [2023-03-13T17:38:14.760Z] Login Succeeded [2023-03-13T17:38:14.760Z] nexus3.edgexfoundry.org:10003 [2023-03-13T17:38:15.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:38:15.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:38:15.019Z] Configure a credential helper to remove this warning. See [2023-03-13T17:38:15.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:38:15.019Z] [2023-03-13T17:38:15.020Z] Login Succeeded [2023-03-13T17:38:15.020Z] nexus3.edgexfoundry.org:10004 [2023-03-13T17:38:15.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:38:15.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:38:15.020Z] Configure a credential helper to remove this warning. See [2023-03-13T17:38:15.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:38:15.020Z] [2023-03-13T17:38:15.020Z] Login Succeeded [2023-03-13T17:38:15.020Z] docker.io [2023-03-13T17:38:15.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:38:15.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:38:15.280Z] Configure a credential helper to remove this warning. See [2023-03-13T17:38:15.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:38:15.280Z] [2023-03-13T17:38:15.280Z] Login Succeeded [2023-03-13T17:38:15.280Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T17:38:15.312Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T17:38:15.513Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T17:38:15.552Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T17:38:15.586Z] ========================================================= [2023-03-13T17:38:15.586Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-13T17:38:15.586Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:38:16.063Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-13T17:38:16.063Z] Sending build context to Docker daemon 27.91MB [2023-03-13T17:38:16.063Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T17:38:16.063Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-13T17:38:16.323Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-13T17:38:16.323Z] 213ec9aee27d: Pulling fs layer [2023-03-13T17:38:16.323Z] 4583459ba037: Pulling fs layer [2023-03-13T17:38:16.323Z] 93c1e223e6f2: Pulling fs layer [2023-03-13T17:38:16.323Z] 53926ce57604: Pulling fs layer [2023-03-13T17:38:16.323Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-13T17:38:16.323Z] 22ff95d597cd: Pulling fs layer [2023-03-13T17:38:16.323Z] 12d6caf4c0d1: Pulling fs layer [2023-03-13T17:38:16.323Z] 96b7cbca73a9: Pulling fs layer [2023-03-13T17:38:16.323Z] a7acece74701: Pulling fs layer [2023-03-13T17:38:16.323Z] 96b7cbca73a9: Waiting [2023-03-13T17:38:16.323Z] a7acece74701: Waiting [2023-03-13T17:38:16.323Z] 22ff95d597cd: Waiting [2023-03-13T17:38:16.323Z] 21b2b0c7a3f4: Waiting [2023-03-13T17:38:16.323Z] 53926ce57604: Waiting [2023-03-13T17:38:16.323Z] 12d6caf4c0d1: Waiting [2023-03-13T17:38:16.323Z] 93c1e223e6f2: Verifying Checksum [2023-03-13T17:38:16.323Z] 93c1e223e6f2: Download complete [2023-03-13T17:38:16.323Z] 4583459ba037: Verifying Checksum [2023-03-13T17:38:16.323Z] 4583459ba037: Download complete [2023-03-13T17:38:16.323Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-13T17:38:16.323Z] 21b2b0c7a3f4: Download complete [2023-03-13T17:38:16.323Z] 22ff95d597cd: Verifying Checksum [2023-03-13T17:38:16.323Z] 22ff95d597cd: Download complete [2023-03-13T17:38:16.323Z] 213ec9aee27d: Verifying Checksum [2023-03-13T17:38:16.323Z] 213ec9aee27d: Download complete [2023-03-13T17:38:16.323Z] 12d6caf4c0d1: Download complete [2023-03-13T17:38:16.323Z] 213ec9aee27d: Pull complete [2023-03-13T17:38:16.585Z] 4583459ba037: Pull complete [2023-03-13T17:38:16.585Z] 93c1e223e6f2: Pull complete [2023-03-13T17:38:16.847Z] a7acece74701: Verifying Checksum [2023-03-13T17:38:16.847Z] a7acece74701: Download complete [2023-03-13T17:38:17.108Z] 96b7cbca73a9: Verifying Checksum [2023-03-13T17:38:17.108Z] 96b7cbca73a9: Download complete [2023-03-13T17:38:17.108Z] 53926ce57604: Verifying Checksum [2023-03-13T17:38:17.108Z] 53926ce57604: Download complete [2023-03-13T17:38:21.300Z] 53926ce57604: Pull complete [2023-03-13T17:38:21.300Z] 21b2b0c7a3f4: Pull complete [2023-03-13T17:38:21.300Z] 22ff95d597cd: Pull complete [2023-03-13T17:38:21.300Z] 12d6caf4c0d1: Pull complete [2023-03-13T17:38:23.199Z] 96b7cbca73a9: Pull complete [2023-03-13T17:38:24.139Z] a7acece74701: Pull complete [2023-03-13T17:38:24.139Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-13T17:38:24.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-13T17:38:24.139Z] ---> db6d94c90886 [2023-03-13T17:38:24.139Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-13T17:38:26.045Z] ---> Running in 15205ac1e809 [2023-03-13T17:38:26.045Z] Removing intermediate container 15205ac1e809 [2023-03-13T17:38:26.045Z] ---> 4837906c526b [2023-03-13T17:38:26.045Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T17:38:26.045Z] ---> Running in dfb121a49dc7 [2023-03-13T17:38:26.045Z] Removing intermediate container dfb121a49dc7 [2023-03-13T17:38:26.045Z] ---> ee083aa81353 [2023-03-13T17:38:26.045Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-13T17:38:26.045Z] ---> Running in 223bd6a8c2d1 [2023-03-13T17:38:26.045Z] Removing intermediate container 223bd6a8c2d1 [2023-03-13T17:38:26.045Z] ---> e385b856b780 [2023-03-13T17:38:26.045Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T17:38:26.045Z] ---> Running in 4f0c883c1407 [2023-03-13T17:38:26.045Z] Removing intermediate container 4f0c883c1407 [2023-03-13T17:38:26.045Z] ---> 6007ba5748bf [2023-03-13T17:38:26.045Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-13T17:38:26.045Z] ---> Running in 48799a62338b [2023-03-13T17:38:26.302Z] Removing intermediate container 48799a62338b [2023-03-13T17:38:26.302Z] ---> ffafa1174f3e [2023-03-13T17:38:26.302Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T17:38:26.302Z] ---> Running in a347bf8cc5df [2023-03-13T17:38:26.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T17:38:26.820Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T17:38:27.080Z] OK: 211 MiB in 51 packages [2023-03-13T17:38:27.341Z] Removing intermediate container a347bf8cc5df [2023-03-13T17:38:27.341Z] ---> fd20e43d7aad [2023-03-13T17:38:27.341Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-13T17:38:27.341Z] ---> Running in a89e0a23c593 [2023-03-13T17:38:27.341Z] Removing intermediate container a89e0a23c593 [2023-03-13T17:38:27.341Z] ---> c70dc0023d71 [2023-03-13T17:38:27.341Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-13T17:38:27.600Z] ---> c0e7d8d85add [2023-03-13T17:38:27.600Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T17:38:27.600Z] ---> Running in f3b213dd9e29 [2023-03-13T17:38:29.224Z] Still waiting to schedule task [2023-03-13T17:38:29.224Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-13T17:38:42.486Z] Removing intermediate container f3b213dd9e29 [2023-03-13T17:38:42.486Z] ---> 96ce08f49dc1 [2023-03-13T17:38:42.486Z] Step 12/13 : COPY . . [2023-03-13T17:38:42.746Z] ---> 22b9bd3a48b2 [2023-03-13T17:38:42.746Z] Step 13/13 : RUN ${MAKE} [2023-03-13T17:38:42.746Z] ---> Running in 1ac140dc17ae [2023-03-13T17:38:43.005Z] noop [2023-03-13T17:38:43.262Z] Removing intermediate container 1ac140dc17ae [2023-03-13T17:38:43.262Z] ---> bfcb4b93f396 [2023-03-13T17:38:43.262Z] Successfully built bfcb4b93f396 [2023-03-13T17:38:43.262Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:38:43.711Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T17:38:43.711Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T17:38:43.858Z] prd-ubuntu20.04-docker-8c-8g-9925 does not seem to be running inside a container [2023-03-13T17:38:43.890Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-260 -v /w/workspace/undry_device-onvif-camera_PR-260:/w/workspace/undry_device-onvif-camera_PR-260:rw,z -v /w/workspace/undry_device-onvif-camera_PR-260@tmp:/w/workspace/undry_device-onvif-camera_PR-260@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-13T17:38:44.238Z] $ docker top 092cc98ed7183f30d45f9453f45e7f08d3ff30fa088a889ba52b5f2177a2ca3e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T17:38:44.629Z] + go version [2023-03-13T17:38:44.629Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-13T17:38:44.661Z] $ docker stop --time=1 092cc98ed7183f30d45f9453f45e7f08d3ff30fa088a889ba52b5f2177a2ca3e [2023-03-13T17:38:45.933Z] $ docker rm -f --volumes 092cc98ed7183f30d45f9453f45e7f08d3ff30fa088a889ba52b5f2177a2ca3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:38:46.630Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T17:38:46.630Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T17:38:46.790Z] prd-ubuntu20.04-docker-8c-8g-9925 does not seem to be running inside a container [2023-03-13T17:38:46.819Z] $ 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-260 -v /w/workspace/undry_device-onvif-camera_PR-260:/w/workspace/undry_device-onvif-camera_PR-260:rw,z -v /w/workspace/undry_device-onvif-camera_PR-260@tmp:/w/workspace/undry_device-onvif-camera_PR-260@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-13T17:38:47.145Z] $ docker top bd40b7c2ede7d99511805d90f4c5c12f5a5250b76764c0e5deec2800f960635f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T17:38:47.533Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-260 [Pipeline] fileExists [Pipeline] sh [2023-03-13T17:38:47.895Z] + make test [2023-03-13T17:38:47.895Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-03-13T17:38:48.153Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-13T17:39:00.356Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-13T17:39:02.259Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.045s coverage: 29.3% of statements [2023-03-13T17:39:02.259Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-13T17:39:02.259Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.484s coverage: 86.5% of statements [2023-03-13T17:39:10.368Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-13T17:39:10.368Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-03-13T17:39:13.649Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-13T17:39:13.649Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-13T17:39:13.908Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-13T17:39:13.944Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-13T17:39:13.981Z] $ docker stop --time=1 bd40b7c2ede7d99511805d90f4c5c12f5a5250b76764c0e5deec2800f960635f [2023-03-13T17:39:15.632Z] $ docker rm -f --volumes bd40b7c2ede7d99511805d90f4c5c12f5a5250b76764c0e5deec2800f960635f [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T17:39:16.198Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-13T17:39:16.272Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-13T17:39:16.859Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-13T17:39:17.172Z] + ls -al . [2023-03-13T17:39:17.172Z] total 252 [2023-03-13T17:39:17.172Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 17:38 . [2023-03-13T17:39:17.172Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 17:37 .. [2023-03-13T17:39:17.172Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 17:39 .git [2023-03-13T17:39:17.172Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 17:37 .github [2023-03-13T17:39:17.172Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 13 17:37 .gitignore [2023-03-13T17:39:17.172Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 13 17:37 .golangci.yml [2023-03-13T17:39:17.172Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 17:38 .semver [2023-03-13T17:39:17.172Z] -rw-rw-r-- 1 jenkins jenkins 9739 Mar 13 17:37 Attribution.txt [2023-03-13T17:39:17.172Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 13 17:37 CHANGELOG.md [2023-03-13T17:39:17.172Z] -rw-rw-r-- 1 jenkins jenkins 1637 Mar 13 17:37 Dockerfile [2023-03-13T17:39:17.172Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 17:37 GOVERNANCE.md [2023-03-13T17:39:17.172Z] -rw-rw-r-- 1 jenkins jenkins 734 Mar 13 17:37 Jenkinsfile [2023-03-13T17:39:17.172Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 13 17:37 LICENSE [2023-03-13T17:39:17.172Z] -rw-rw-r-- 1 jenkins jenkins 2858 Mar 13 17:37 Makefile [2023-03-13T17:39:17.172Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 13 17:37 OWNERS.md [2023-03-13T17:39:17.172Z] -rw-rw-r-- 1 jenkins jenkins 6595 Mar 13 17:37 README.md [2023-03-13T17:39:17.172Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 17:38 VERSION [2023-03-13T17:39:17.172Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 17:37 bin [2023-03-13T17:39:17.172Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 17:37 cmd [2023-03-13T17:39:17.172Z] -rw-r--r-- 1 jenkins jenkins 79184 Mar 13 17:39 coverage.out [2023-03-13T17:39:17.172Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 13 17:37 doc [2023-03-13T17:39:17.172Z] -rw-rw-r-- 1 jenkins jenkins 3693 Mar 13 17:37 go.mod [2023-03-13T17:39:17.172Z] -rw-rw-r-- 1 jenkins jenkins 53023 Mar 13 17:37 go.sum [2023-03-13T17:39:17.172Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 17:37 internal [2023-03-13T17:39:17.172Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 17:37 snap [2023-03-13T17:39:17.172Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 13 17:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:39:17.556Z] + 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=10e92f17d01bd25b46edefd6a25baf6c1226522e --label arch=amd64 --label version=0.0.0 . [2023-03-13T17:39:17.556Z] Sending build context to Docker daemon 27.99MB [2023-03-13T17:39:17.556Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T17:39:17.556Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-13T17:39:17.556Z] ---> bfcb4b93f396 [2023-03-13T17:39:17.556Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-13T17:39:17.815Z] ---> Running in 51986f655612 [2023-03-13T17:39:17.815Z] Removing intermediate container 51986f655612 [2023-03-13T17:39:17.815Z] ---> a5379b02a19a [2023-03-13T17:39:17.815Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T17:39:17.816Z] ---> Running in b728f92d5f03 [2023-03-13T17:39:17.816Z] Removing intermediate container b728f92d5f03 [2023-03-13T17:39:17.816Z] ---> d883b04bf6ab [2023-03-13T17:39:17.816Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-13T17:39:17.816Z] ---> Running in b4989171f653 [2023-03-13T17:39:18.079Z] Removing intermediate container b4989171f653 [2023-03-13T17:39:18.079Z] ---> a06c9b2122ab [2023-03-13T17:39:18.079Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T17:39:18.079Z] ---> Running in bd08cf583a7f [2023-03-13T17:39:18.079Z] Removing intermediate container bd08cf583a7f [2023-03-13T17:39:18.079Z] ---> 71ab6de5798b [2023-03-13T17:39:18.079Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-13T17:39:18.079Z] ---> Running in c353bb5e881b [2023-03-13T17:39:18.079Z] Removing intermediate container c353bb5e881b [2023-03-13T17:39:18.079Z] ---> b84b4119de6c [2023-03-13T17:39:18.079Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T17:39:18.079Z] ---> Running in 96a040844a60 [2023-03-13T17:39:18.341Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T17:39:18.600Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T17:39:18.600Z] OK: 211 MiB in 51 packages [2023-03-13T17:39:19.167Z] Removing intermediate container 96a040844a60 [2023-03-13T17:39:19.167Z] ---> ef2038373350 [2023-03-13T17:39:19.167Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-13T17:39:19.167Z] ---> Running in 340ed38ef2e2 [2023-03-13T17:39:19.167Z] Removing intermediate container 340ed38ef2e2 [2023-03-13T17:39:19.167Z] ---> 8d341c506813 [2023-03-13T17:39:19.167Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-13T17:39:19.424Z] ---> 8b118139eb15 [2023-03-13T17:39:19.424Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T17:39:19.424Z] ---> Running in 13f12abdf62f [2023-03-13T17:39:19.991Z] Removing intermediate container 13f12abdf62f [2023-03-13T17:39:19.991Z] ---> b26940b047c4 [2023-03-13T17:39:19.991Z] Step 12/26 : COPY . . [2023-03-13T17:39:20.560Z] ---> 0dc439878a9e [2023-03-13T17:39:20.560Z] Step 13/26 : RUN ${MAKE} [2023-03-13T17:39:20.560Z] ---> Running in a751bd1994a7 [2023-03-13T17:39:20.819Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-03-13T17:39:42.940Z] Removing intermediate container a751bd1994a7 [2023-03-13T17:39:42.940Z] ---> e1e71e2aaa2c [2023-03-13T17:39:42.940Z] Step 14/26 : FROM alpine:3.16 [2023-03-13T17:39:42.940Z] 3.16: Pulling from library/alpine [2023-03-13T17:39:42.940Z] ef5531b6e74e: Pulling fs layer [2023-03-13T17:39:42.940Z] ef5531b6e74e: Verifying Checksum [2023-03-13T17:39:42.940Z] ef5531b6e74e: Download complete [2023-03-13T17:39:43.199Z] ef5531b6e74e: Pull complete [2023-03-13T17:39:43.199Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-13T17:39:43.199Z] Status: Downloaded newer image for alpine:3.16 [2023-03-13T17:39:43.199Z] ---> dfd21b5a31f5 [2023-03-13T17:39:43.199Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-13T17:39:43.199Z] ---> Running in 07f76484bcfc [2023-03-13T17:39:43.199Z] Removing intermediate container 07f76484bcfc [2023-03-13T17:39:43.199Z] ---> 91937095403f [2023-03-13T17:39:43.199Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-03-13T17:39:43.199Z] ---> Running in 8bea9b553a16 [2023-03-13T17:39:43.459Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T17:39:43.721Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T17:39:43.981Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-03-13T17:39:43.981Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-03-13T17:39:43.981Z] (3/6) Installing libsodium (1.0.18-r0) [2023-03-13T17:39:43.981Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-13T17:39:43.981Z] (5/6) Installing libzmq (4.3.4-r0) [2023-03-13T17:39:43.981Z] (6/6) Installing zeromq (4.3.4-r0) [2023-03-13T17:39:43.981Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T17:39:43.981Z] OK: 8 MiB in 20 packages [2023-03-13T17:39:44.550Z] Removing intermediate container 8bea9b553a16 [2023-03-13T17:39:44.550Z] ---> 5cdd6b028144 [2023-03-13T17:39:44.550Z] Step 17/26 : WORKDIR / [2023-03-13T17:39:44.550Z] ---> Running in 686191eee442 [2023-03-13T17:39:44.550Z] Removing intermediate container 686191eee442 [2023-03-13T17:39:44.550Z] ---> 223aafc21671 [2023-03-13T17:39:44.550Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-13T17:39:45.120Z] ---> f2827c12fc0e [2023-03-13T17:39:45.120Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-13T17:39:45.120Z] ---> 9630ed3c55b2 [2023-03-13T17:39:45.120Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-13T17:39:45.380Z] ---> 03e04aaffa78 [2023-03-13T17:39:45.380Z] Step 21/26 : EXPOSE 59984 [2023-03-13T17:39:45.380Z] ---> Running in 558fe3c8b417 [2023-03-13T17:39:45.380Z] Removing intermediate container 558fe3c8b417 [2023-03-13T17:39:45.380Z] ---> fe3beb281d14 [2023-03-13T17:39:45.380Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-13T17:39:45.380Z] ---> Running in e0ebede9789f [2023-03-13T17:39:45.380Z] Removing intermediate container e0ebede9789f [2023-03-13T17:39:45.380Z] ---> 3bd8c207ff52 [2023-03-13T17:39:45.380Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-03-13T17:39:45.380Z] ---> Running in a0502b38828c [2023-03-13T17:39:45.638Z] Removing intermediate container a0502b38828c [2023-03-13T17:39:45.638Z] ---> c670161bd776 [2023-03-13T17:39:45.638Z] Step 24/26 : LABEL arch=amd64 [2023-03-13T17:39:45.638Z] ---> Running in 8cb784bda152 [2023-03-13T17:39:45.638Z] Removing intermediate container 8cb784bda152 [2023-03-13T17:39:45.638Z] ---> e3231bd22c2c [2023-03-13T17:39:45.638Z] Step 25/26 : LABEL git_sha=10e92f17d01bd25b46edefd6a25baf6c1226522e [2023-03-13T17:39:45.638Z] ---> Running in 09a471a09755 [2023-03-13T17:39:45.638Z] Removing intermediate container 09a471a09755 [2023-03-13T17:39:45.638Z] ---> 81c4d8dd7275 [2023-03-13T17:39:45.638Z] Step 26/26 : LABEL version=0.0.0 [2023-03-13T17:39:45.898Z] ---> Running in edc22e50973d [2023-03-13T17:39:45.898Z] Removing intermediate container edc22e50973d [2023-03-13T17:39:45.898Z] ---> af01f1173932 [2023-03-13T17:39:45.898Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-13T17:39:45.898Z] Successfully built af01f1173932 [2023-03-13T17:39:45.898Z] 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-03-13T17:39:46.718Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T17:39:46.718Z] [2023-03-13T17:39:46.718Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:39:47.100Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T17:39:47.100Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-13T17:39:47.100Z] 5eb5b503b376: Pulling fs layer [2023-03-13T17:39:47.100Z] 5c69ac0246d0: Pulling fs layer [2023-03-13T17:39:47.100Z] ec43610c2a17: Pulling fs layer [2023-03-13T17:39:47.100Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-13T17:39:47.100Z] 33b1e0a273af: Pulling fs layer [2023-03-13T17:39:47.100Z] 5d3b04190fa2: Pulling fs layer [2023-03-13T17:39:47.100Z] 2f39f015ded8: Pulling fs layer [2023-03-13T17:39:47.100Z] 3a2ae6a8a46f: Waiting [2023-03-13T17:39:47.100Z] 33b1e0a273af: Waiting [2023-03-13T17:39:47.100Z] 5d3b04190fa2: Waiting [2023-03-13T17:39:47.100Z] 2f39f015ded8: Waiting [2023-03-13T17:39:47.100Z] 5c69ac0246d0: Verifying Checksum [2023-03-13T17:39:47.100Z] 5c69ac0246d0: Download complete [2023-03-13T17:39:47.100Z] 3a2ae6a8a46f: Download complete [2023-03-13T17:39:47.360Z] 33b1e0a273af: Verifying Checksum [2023-03-13T17:39:47.360Z] 33b1e0a273af: Download complete [2023-03-13T17:39:47.360Z] 5d3b04190fa2: Verifying Checksum [2023-03-13T17:39:47.360Z] 5d3b04190fa2: Download complete [2023-03-13T17:39:47.360Z] ec43610c2a17: Verifying Checksum [2023-03-13T17:39:47.360Z] ec43610c2a17: Download complete [2023-03-13T17:39:47.360Z] 5eb5b503b376: Download complete [2023-03-13T17:39:47.929Z] 2f39f015ded8: Download complete [2023-03-13T17:39:48.866Z] 5eb5b503b376: Pull complete [2023-03-13T17:39:48.866Z] 5c69ac0246d0: Pull complete [2023-03-13T17:39:49.432Z] ec43610c2a17: Pull complete [2023-03-13T17:39:49.432Z] 3a2ae6a8a46f: Pull complete [2023-03-13T17:39:49.690Z] 33b1e0a273af: Pull complete [2023-03-13T17:39:49.690Z] 5d3b04190fa2: Pull complete [2023-03-13T17:39:54.965Z] 2f39f015ded8: Pull complete [2023-03-13T17:39:54.965Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-13T17:39:54.965Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T17:39:54.965Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T17:39:55.189Z] prd-ubuntu20.04-docker-8c-8g-9925 does not seem to be running inside a container [2023-03-13T17:39:55.225Z] $ 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-260 -v /w/workspace/undry_device-onvif-camera_PR-260:/w/workspace/undry_device-onvif-camera_PR-260:rw,z -v /w/workspace/undry_device-onvif-camera_PR-260@tmp:/w/workspace/undry_device-onvif-camera_PR-260@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-13T17:39:56.510Z] $ docker top 84076b55b94e2973d2ddcf5f377d44d8a64e62de97411c04968c2d95d628f643 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:39:56.963Z] ---> job-cost.sh [2023-03-13T17:39:56.963Z] lf-activate-venv: SKIPPING [2023-03-13T17:39:56.963Z] INFO: No Stack... [2023-03-13T17:39:57.222Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T17:39:57.481Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T17:39:57.796Z] + + cut -d, -f6 [2023-03-13T17:39:57.796Z] cat /w/workspace/undry_device-onvif-camera_PR-260/archives/cost.csv [Pipeline] lock [2023-03-13T17:39:57.833Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-260-1-stack-cost] [2023-03-13T17:39:57.838Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-260-1-stack-cost] did not exist. Created. [2023-03-13T17:39:57.838Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-260-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T17:39:58.226Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-13T17:39:58.275Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T17:39:58.300Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-260-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T17:39:58.373Z] $ docker stop --time=1 84076b55b94e2973d2ddcf5f377d44d8a64e62de97411c04968c2d95d628f643 [2023-03-13T17:39:59.529Z] $ docker rm -f --volumes 84076b55b94e2973d2ddcf5f377d44d8a64e62de97411c04968c2d95d628f643 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-13T17:41:40.828Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9926 in /w/workspace/undry_device-onvif-camera_PR-260 [Pipeline] { [Pipeline] ws [2023-03-13T17:41:40.888Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-03-13T17:41:40.969Z] The recommended git tool is: git [2023-03-13T17:41:46.540Z] using credential edgex-jenkins-ssh [2023-03-13T17:41:46.560Z] Cloning the remote Git repository [2023-03-13T17:41:46.602Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-13T17:41:46.676Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-03-13T17:41:46.834Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-13T17:41:46.835Z] > git --version # timeout=10 [2023-03-13T17:41:46.856Z] > git --version # 'git version 2.25.1' [2023-03-13T17:41:46.858Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T17:41:46.917Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T17:41:48.317Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-13T17:41:48.355Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T17:41:49.309Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-13T17:41:49.355Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-13T17:41:49.356Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T17:41:49.375Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/260/head:refs/remotes/origin/PR-260 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 [2023-03-13T17:41:49.885Z] Merging remotes/origin/levski commit ef0e1dc43e01e3af63e43192147483735d9789c0 into PR head commit 10e92f17d01bd25b46edefd6a25baf6c1226522e [2023-03-13T17:41:50.342Z] Merge succeeded, producing 10e92f17d01bd25b46edefd6a25baf6c1226522e [2023-03-13T17:41:50.342Z] Checking out Revision 10e92f17d01bd25b46edefd6a25baf6c1226522e (PR-260) [2023-03-13T17:41:49.904Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T17:41:49.922Z] > git checkout -f 10e92f17d01bd25b46edefd6a25baf6c1226522e # timeout=10 [2023-03-13T17:41:50.227Z] > git remote # timeout=10 [2023-03-13T17:41:50.255Z] > git config --get remote.origin.url # timeout=10 [2023-03-13T17:41:50.279Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T17:41:50.294Z] > git merge ef0e1dc43e01e3af63e43192147483735d9789c0 # timeout=10 [2023-03-13T17:41:50.323Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-13T17:41:50.347Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T17:41:50.362Z] > git checkout -f 10e92f17d01bd25b46edefd6a25baf6c1226522e # timeout=10 [2023-03-13T17:41:51.146Z] Commit message: "fix: patch levski device sdk to fix cache issue" [2023-03-13T17:41:51.200Z] > git --version # timeout=10 [2023-03-13T17:41:51.212Z] > git --version # 'git version 2.25.1' [2023-03-13T17:41:51.231Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T17:41:52.563Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-13T17:41:52.564Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T17:41:52.564Z] Dload Upload Total Spent Left Speed [2023-03-13T17:41:52.564Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2023-03-13T17:41:53.186Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-13T17:41:53.547Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-13T17:41:53.547Z] + sudo tee /etc/docker/daemon.new [2023-03-13T17:41:53.547Z] { [2023-03-13T17:41:53.547Z] "registry-mirrors": [ [2023-03-13T17:41:53.547Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-13T17:41:53.547Z] ], [2023-03-13T17:41:53.547Z] "bip": "10.250.0.254/24", [2023-03-13T17:41:53.547Z] "hosts": [ [2023-03-13T17:41:53.547Z] "tcp://0.0.0.0:5555", [2023-03-13T17:41:53.547Z] "unix:///var/run/docker.sock" [2023-03-13T17:41:53.547Z] ], [2023-03-13T17:41:53.547Z] "mtu": 1458, [2023-03-13T17:41:53.547Z] "selinux-enabled": true, [2023-03-13T17:41:53.547Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-13T17:41:53.547Z] } [Pipeline] sh [2023-03-13T17:41:53.912Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-13T17:41:54.272Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T17:42:12.674Z] provisioning config files... [2023-03-13T17:42:12.703Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config15574491658696678701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:42:13.088Z] ---> docker-login.sh [2023-03-13T17:42:13.088Z] nexus3.edgexfoundry.org:10001 [2023-03-13T17:42:13.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:42:13.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:42:13.953Z] Configure a credential helper to remove this warning. See [2023-03-13T17:42:13.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:42:13.953Z] [2023-03-13T17:42:13.953Z] Login Succeeded [2023-03-13T17:42:13.953Z] nexus3.edgexfoundry.org:10002 [2023-03-13T17:42:13.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:42:14.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:42:14.224Z] Configure a credential helper to remove this warning. See [2023-03-13T17:42:14.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:42:14.224Z] [2023-03-13T17:42:14.224Z] Login Succeeded [2023-03-13T17:42:14.224Z] nexus3.edgexfoundry.org:10003 [2023-03-13T17:42:14.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:42:14.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:42:14.498Z] Configure a credential helper to remove this warning. See [2023-03-13T17:42:14.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:42:14.498Z] [2023-03-13T17:42:14.498Z] Login Succeeded [2023-03-13T17:42:14.498Z] nexus3.edgexfoundry.org:10004 [2023-03-13T17:42:14.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:42:14.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:42:14.772Z] Configure a credential helper to remove this warning. See [2023-03-13T17:42:14.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:42:14.772Z] [2023-03-13T17:42:14.772Z] Login Succeeded [2023-03-13T17:42:14.772Z] docker.io [2023-03-13T17:42:15.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:42:15.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:42:15.314Z] Configure a credential helper to remove this warning. See [2023-03-13T17:42:15.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:42:15.314Z] [2023-03-13T17:42:15.314Z] Login Succeeded [2023-03-13T17:42:15.314Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T17:42:15.346Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T17:42:15.731Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T17:42:15.770Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T17:42:15.802Z] ========================================================= [2023-03-13T17:42:15.802Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-13T17:42:15.802Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:42:16.303Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-13T17:42:16.898Z] Sending build context to Docker daemon 20.66MB [2023-03-13T17:42:16.898Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T17:42:16.898Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-13T17:42:16.898Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-13T17:42:16.898Z] 9b18e9b68314: Pulling fs layer [2023-03-13T17:42:16.898Z] 35d82f9e3411: Pulling fs layer [2023-03-13T17:42:16.898Z] e16973657156: Pulling fs layer [2023-03-13T17:42:16.898Z] fc693d55d65f: Pulling fs layer [2023-03-13T17:42:16.898Z] 7e9fc2657dce: Pulling fs layer [2023-03-13T17:42:16.898Z] dda99020689f: Pulling fs layer [2023-03-13T17:42:16.898Z] db1c61fa0a46: Pulling fs layer [2023-03-13T17:42:16.898Z] 891c053d2c06: Pulling fs layer [2023-03-13T17:42:16.898Z] dda99020689f: Waiting [2023-03-13T17:42:16.898Z] 891c053d2c06: Waiting [2023-03-13T17:42:16.898Z] fc693d55d65f: Waiting [2023-03-13T17:42:16.898Z] db1c61fa0a46: Waiting [2023-03-13T17:42:16.898Z] 7e9fc2657dce: Waiting [2023-03-13T17:42:16.898Z] e16973657156: Verifying Checksum [2023-03-13T17:42:16.898Z] e16973657156: Download complete [2023-03-13T17:42:16.898Z] 35d82f9e3411: Download complete [2023-03-13T17:42:17.189Z] 7e9fc2657dce: Verifying Checksum [2023-03-13T17:42:17.189Z] 7e9fc2657dce: Download complete [2023-03-13T17:42:17.189Z] dda99020689f: Verifying Checksum [2023-03-13T17:42:17.189Z] dda99020689f: Download complete [2023-03-13T17:42:17.189Z] 9b18e9b68314: Verifying Checksum [2023-03-13T17:42:17.189Z] 9b18e9b68314: Download complete [2023-03-13T17:42:18.174Z] 9b18e9b68314: Pull complete [2023-03-13T17:42:18.174Z] 891c053d2c06: Verifying Checksum [2023-03-13T17:42:18.174Z] 891c053d2c06: Download complete [2023-03-13T17:42:19.149Z] db1c61fa0a46: Verifying Checksum [2023-03-13T17:42:19.149Z] db1c61fa0a46: Download complete [2023-03-13T17:42:19.738Z] fc693d55d65f: Verifying Checksum [2023-03-13T17:42:19.738Z] fc693d55d65f: Download complete [2023-03-13T17:42:19.738Z] 35d82f9e3411: Pull complete [2023-03-13T17:42:20.009Z] e16973657156: Pull complete [2023-03-13T17:42:32.336Z] fc693d55d65f: Pull complete [2023-03-13T17:42:32.336Z] 7e9fc2657dce: Pull complete [2023-03-13T17:42:32.336Z] dda99020689f: Pull complete [2023-03-13T17:42:36.612Z] db1c61fa0a46: Pull complete [2023-03-13T17:42:37.593Z] 891c053d2c06: Pull complete [2023-03-13T17:42:37.862Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-13T17:42:37.862Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-13T17:42:37.862Z] ---> f96f9c87975a [2023-03-13T17:42:37.862Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-13T17:42:39.818Z] ---> Running in 2d2121e33e80 [2023-03-13T17:42:39.818Z] Removing intermediate container 2d2121e33e80 [2023-03-13T17:42:39.818Z] ---> b0e503f99ff4 [2023-03-13T17:42:39.818Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T17:42:39.818Z] ---> Running in 83d16c00dd6e [2023-03-13T17:42:40.086Z] Removing intermediate container 83d16c00dd6e [2023-03-13T17:42:40.086Z] ---> 9eb182f312e7 [2023-03-13T17:42:40.086Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-13T17:42:40.353Z] ---> Running in 0c36c264d964 [2023-03-13T17:42:40.620Z] Removing intermediate container 0c36c264d964 [2023-03-13T17:42:40.620Z] ---> 1275f4499462 [2023-03-13T17:42:40.620Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T17:42:40.620Z] ---> Running in 9550f63db256 [2023-03-13T17:42:40.888Z] Removing intermediate container 9550f63db256 [2023-03-13T17:42:40.888Z] ---> d93d1dca31d9 [2023-03-13T17:42:40.888Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-13T17:42:40.888Z] ---> Running in a28e3929488e [2023-03-13T17:42:41.157Z] Removing intermediate container a28e3929488e [2023-03-13T17:42:41.157Z] ---> d7d6ffa928b0 [2023-03-13T17:42:41.157Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T17:42:41.157Z] ---> Running in 9e3b36e64082 [2023-03-13T17:42:42.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T17:42:42.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T17:42:43.535Z] OK: 221 MiB in 51 packages [2023-03-13T17:42:44.496Z] Removing intermediate container 9e3b36e64082 [2023-03-13T17:42:44.496Z] ---> f645ca32d2d2 [2023-03-13T17:42:44.496Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-13T17:42:44.496Z] ---> Running in 3c7785badc55 [2023-03-13T17:42:44.765Z] Removing intermediate container 3c7785badc55 [2023-03-13T17:42:44.765Z] ---> ff62be901ca5 [2023-03-13T17:42:44.765Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-13T17:42:45.357Z] ---> 67664c3d13e7 [2023-03-13T17:42:45.357Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T17:42:45.357Z] ---> Running in 10e9c007a656 [2023-03-13T17:43:41.816Z] Removing intermediate container 10e9c007a656 [2023-03-13T17:43:41.816Z] ---> 239cb7483152 [2023-03-13T17:43:41.816Z] Step 12/13 : COPY . . [2023-03-13T17:43:41.816Z] ---> d3149c0796c4 [2023-03-13T17:43:41.816Z] Step 13/13 : RUN ${MAKE} [2023-03-13T17:43:41.816Z] ---> Running in d2b4675c31f8 [2023-03-13T17:43:41.816Z] noop [2023-03-13T17:43:41.816Z] Removing intermediate container d2b4675c31f8 [2023-03-13T17:43:41.816Z] ---> c6fdb2f9b91b [2023-03-13T17:43:41.816Z] Successfully built c6fdb2f9b91b [2023-03-13T17:43:41.816Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:43:42.300Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T17:43:42.300Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T17:43:42.572Z] prd-ubuntu20.04-docker-arm64-4c-16g-9926 does not seem to be running inside a container [2023-03-13T17:43:42.648Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-13T17:43:43.849Z] $ docker top 2e8182062de9368893d7f46421b58bda99c839552af73570bef92ccde2859d76 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T17:43:44.720Z] + go version [2023-03-13T17:43:44.720Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-13T17:43:44.762Z] $ docker stop --time=1 2e8182062de9368893d7f46421b58bda99c839552af73570bef92ccde2859d76 [2023-03-13T17:43:46.317Z] $ docker rm -f --volumes 2e8182062de9368893d7f46421b58bda99c839552af73570bef92ccde2859d76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:43:47.128Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T17:43:47.128Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T17:43:47.385Z] prd-ubuntu20.04-docker-arm64-4c-16g-9926 does not seem to be running inside a container [2023-03-13T17:43:47.454Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-13T17:43:51.304Z] $ docker top ffaad938435ae1dd954a7b841480a07845949f77e10d7fa5d4ef329995f78e3c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T17:43:51.842Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-03-13T17:43:52.228Z] + make test [2023-03-13T17:43:52.228Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-03-13T17:43:54.173Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-13T17:45:30.820Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-13T17:45:30.820Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.198s coverage: 29.3% of statements [2023-03-13T17:45:30.820Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-13T17:45:49.051Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.666s coverage: 86.5% of statements [2023-03-13T17:45:49.051Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-13T17:45:49.051Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-03-13T17:46:15.756Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-13T17:46:15.756Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-13T17:46:15.756Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-13T17:46:15.794Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-13T17:46:15.834Z] $ docker stop --time=1 ffaad938435ae1dd954a7b841480a07845949f77e10d7fa5d4ef329995f78e3c [2023-03-13T17:46:17.790Z] $ docker rm -f --volumes ffaad938435ae1dd954a7b841480a07845949f77e10d7fa5d4ef329995f78e3c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T17:46:18.777Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-13T17:46:18.817Z] Warning: overwriting stash ‘coverage-report’ [2023-03-13T17:46:19.374Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T17:46:19.968Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-13T17:46:20.312Z] + ls -al . [2023-03-13T17:46:20.312Z] total 248 [2023-03-13T17:46:20.312Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 17:43 . [2023-03-13T17:46:20.312Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 17:41 .. [2023-03-13T17:46:20.312Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 17:41 .git [2023-03-13T17:46:20.312Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 17:41 .github [2023-03-13T17:46:20.312Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 13 17:41 .gitignore [2023-03-13T17:46:20.312Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 13 17:41 .golangci.yml [2023-03-13T17:46:20.312Z] -rw-rw-r-- 1 jenkins jenkins 9739 Mar 13 17:41 Attribution.txt [2023-03-13T17:46:20.312Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 13 17:41 CHANGELOG.md [2023-03-13T17:46:20.312Z] -rw-rw-r-- 1 jenkins jenkins 1637 Mar 13 17:41 Dockerfile [2023-03-13T17:46:20.312Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 17:41 GOVERNANCE.md [2023-03-13T17:46:20.312Z] -rw-rw-r-- 1 jenkins jenkins 734 Mar 13 17:41 Jenkinsfile [2023-03-13T17:46:20.312Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 13 17:41 LICENSE [2023-03-13T17:46:20.312Z] -rw-rw-r-- 1 jenkins jenkins 2858 Mar 13 17:41 Makefile [2023-03-13T17:46:20.312Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 13 17:41 OWNERS.md [2023-03-13T17:46:20.312Z] -rw-rw-r-- 1 jenkins jenkins 6595 Mar 13 17:41 README.md [2023-03-13T17:46:20.312Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 17:38 VERSION [2023-03-13T17:46:20.312Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 17:41 bin [2023-03-13T17:46:20.312Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 17:41 cmd [2023-03-13T17:46:20.312Z] -rw-r--r-- 1 jenkins jenkins 79184 Mar 13 17:45 coverage.out [2023-03-13T17:46:20.312Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 13 17:41 doc [2023-03-13T17:46:20.312Z] -rw-rw-r-- 1 jenkins jenkins 3693 Mar 13 17:41 go.mod [2023-03-13T17:46:20.312Z] -rw-rw-r-- 1 jenkins jenkins 53023 Mar 13 17:41 go.sum [2023-03-13T17:46:20.312Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 17:41 internal [2023-03-13T17:46:20.312Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 17:41 snap [2023-03-13T17:46:20.312Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 13 17:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:46:20.720Z] + 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=10e92f17d01bd25b46edefd6a25baf6c1226522e --label arch=arm64 --label version=0.0.0 . [2023-03-13T17:46:21.305Z] Sending build context to Docker daemon 20.74MB [2023-03-13T17:46:21.305Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T17:46:21.305Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-13T17:46:21.305Z] ---> c6fdb2f9b91b [2023-03-13T17:46:21.305Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-13T17:46:21.577Z] ---> Running in af8c34a22900 [2023-03-13T17:46:21.843Z] Removing intermediate container af8c34a22900 [2023-03-13T17:46:21.843Z] ---> 1444bc39aceb [2023-03-13T17:46:21.843Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T17:46:21.843Z] ---> Running in 278020c1d963 [2023-03-13T17:46:22.109Z] Removing intermediate container 278020c1d963 [2023-03-13T17:46:22.109Z] ---> 1adab498c6b3 [2023-03-13T17:46:22.109Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-13T17:46:22.109Z] ---> Running in b2efffc42b44 [2023-03-13T17:46:22.704Z] Removing intermediate container b2efffc42b44 [2023-03-13T17:46:22.704Z] ---> 16be2ff57d28 [2023-03-13T17:46:22.704Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T17:46:22.704Z] ---> Running in 97ed998fda4d [2023-03-13T17:46:22.974Z] Removing intermediate container 97ed998fda4d [2023-03-13T17:46:22.974Z] ---> 923418e564b0 [2023-03-13T17:46:22.974Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-13T17:46:22.974Z] ---> Running in 8aca4e2c694c [2023-03-13T17:46:23.243Z] Removing intermediate container 8aca4e2c694c [2023-03-13T17:46:23.243Z] ---> e8a63f51b593 [2023-03-13T17:46:23.243Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T17:46:23.510Z] ---> Running in dbeff02b9b75 [2023-03-13T17:46:24.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T17:46:24.733Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T17:46:25.694Z] OK: 221 MiB in 51 packages [2023-03-13T17:46:26.742Z] Removing intermediate container dbeff02b9b75 [2023-03-13T17:46:26.742Z] ---> 82ba7a49f103 [2023-03-13T17:46:26.742Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-13T17:46:26.742Z] ---> Running in 7c1edc0fd79d [2023-03-13T17:46:27.028Z] Removing intermediate container 7c1edc0fd79d [2023-03-13T17:46:27.028Z] ---> d346e9cac129 [2023-03-13T17:46:27.028Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-13T17:46:27.656Z] ---> 14756de45d1d [2023-03-13T17:46:27.656Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T17:46:27.656Z] ---> Running in 5ccad4ddc80f [2023-03-13T17:46:30.311Z] Removing intermediate container 5ccad4ddc80f [2023-03-13T17:46:30.311Z] ---> 468ba8f99039 [2023-03-13T17:46:30.311Z] Step 12/26 : COPY . . [2023-03-13T17:46:33.663Z] ---> d5042fe8aa71 [2023-03-13T17:46:33.663Z] Step 13/26 : RUN ${MAKE} [2023-03-13T17:46:33.663Z] ---> Running in 4872fe24440e [2023-03-13T17:46:34.263Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-03-13T17:49:11.042Z] Removing intermediate container 4872fe24440e [2023-03-13T17:49:11.042Z] ---> 26bab58b8a47 [2023-03-13T17:49:11.042Z] Step 14/26 : FROM alpine:3.16 [2023-03-13T17:49:11.042Z] 3.16: Pulling from library/alpine [2023-03-13T17:49:11.042Z] 3760b48202b3: Pulling fs layer [2023-03-13T17:49:11.042Z] 3760b48202b3: Verifying Checksum [2023-03-13T17:49:11.042Z] 3760b48202b3: Download complete [2023-03-13T17:49:11.042Z] 3760b48202b3: Pull complete [2023-03-13T17:49:11.042Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-13T17:49:11.042Z] Status: Downloaded newer image for alpine:3.16 [2023-03-13T17:49:11.042Z] ---> 4c81e5bf8899 [2023-03-13T17:49:11.042Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-13T17:49:11.042Z] ---> Running in 00db51603edc [2023-03-13T17:49:11.042Z] Removing intermediate container 00db51603edc [2023-03-13T17:49:11.042Z] ---> b7d5b391b7ac [2023-03-13T17:49:11.042Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-03-13T17:49:11.042Z] ---> Running in bbd72f742e49 [2023-03-13T17:49:11.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T17:49:11.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T17:49:11.042Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-03-13T17:49:11.042Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-03-13T17:49:11.042Z] (3/6) Installing libsodium (1.0.18-r0) [2023-03-13T17:49:11.042Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-13T17:49:11.042Z] (5/6) Installing libzmq (4.3.4-r0) [2023-03-13T17:49:11.042Z] (6/6) Installing zeromq (4.3.4-r0) [2023-03-13T17:49:11.042Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T17:49:11.042Z] OK: 8 MiB in 20 packages [2023-03-13T17:49:11.042Z] Removing intermediate container bbd72f742e49 [2023-03-13T17:49:11.042Z] ---> dff193068de1 [2023-03-13T17:49:11.042Z] Step 17/26 : WORKDIR / [2023-03-13T17:49:11.042Z] ---> Running in e4fc5f5e8a0e [2023-03-13T17:49:11.042Z] Removing intermediate container e4fc5f5e8a0e [2023-03-13T17:49:11.042Z] ---> 914eaeefafc5 [2023-03-13T17:49:11.042Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-13T17:49:11.042Z] ---> f08b7f9dd69a [2023-03-13T17:49:11.042Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-13T17:49:11.309Z] ---> 4cd62269f4bf [2023-03-13T17:49:11.309Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-13T17:49:11.578Z] ---> 3ddd767178f5 [2023-03-13T17:49:11.578Z] Step 21/26 : EXPOSE 59984 [2023-03-13T17:49:11.849Z] ---> Running in 49d11d42ab6c [2023-03-13T17:49:12.117Z] Removing intermediate container 49d11d42ab6c [2023-03-13T17:49:12.118Z] ---> 4ecd48fa30e5 [2023-03-13T17:49:12.118Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-13T17:49:12.118Z] ---> Running in c99fb3a4b453 [2023-03-13T17:49:12.385Z] Removing intermediate container c99fb3a4b453 [2023-03-13T17:49:12.385Z] ---> ff309d57bbbc [2023-03-13T17:49:12.385Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-03-13T17:49:12.385Z] ---> Running in 586f23b7a66a [2023-03-13T17:49:12.653Z] Removing intermediate container 586f23b7a66a [2023-03-13T17:49:12.653Z] ---> 576231f11a74 [2023-03-13T17:49:12.653Z] Step 24/26 : LABEL arch=arm64 [2023-03-13T17:49:12.653Z] ---> Running in 71d5c4915b74 [2023-03-13T17:49:13.235Z] Removing intermediate container 71d5c4915b74 [2023-03-13T17:49:13.235Z] ---> 5ea2435fa314 [2023-03-13T17:49:13.235Z] Step 25/26 : LABEL git_sha=10e92f17d01bd25b46edefd6a25baf6c1226522e [2023-03-13T17:49:13.235Z] ---> Running in 5ecc706d62a9 [2023-03-13T17:49:13.502Z] Removing intermediate container 5ecc706d62a9 [2023-03-13T17:49:13.502Z] ---> 43585bc3dd4d [2023-03-13T17:49:13.502Z] Step 26/26 : LABEL version=0.0.0 [2023-03-13T17:49:13.502Z] ---> Running in 02f775467b89 [2023-03-13T17:49:13.769Z] Removing intermediate container 02f775467b89 [2023-03-13T17:49:13.769Z] ---> 9430e1a9d244 [2023-03-13T17:49:13.769Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-13T17:49:13.769Z] Successfully built 9430e1a9d244 [2023-03-13T17:49:13.769Z] 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-03-13T17:49:14.624Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T17:49:14.624Z] [2023-03-13T17:49:14.624Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:49:15.032Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T17:49:15.032Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-13T17:49:15.032Z] 8998bd30e6a1: Pulling fs layer [2023-03-13T17:49:15.032Z] 04944245beec: Pulling fs layer [2023-03-13T17:49:15.032Z] 699f458cf7ca: Pulling fs layer [2023-03-13T17:49:15.032Z] 765212b225bb: Pulling fs layer [2023-03-13T17:49:15.032Z] f23df028b6ca: Pulling fs layer [2023-03-13T17:49:15.032Z] d65c8cfc05b1: Pulling fs layer [2023-03-13T17:49:15.032Z] 2437ff75d9bd: Pulling fs layer [2023-03-13T17:49:15.032Z] 765212b225bb: Waiting [2023-03-13T17:49:15.032Z] f23df028b6ca: Waiting [2023-03-13T17:49:15.032Z] d65c8cfc05b1: Waiting [2023-03-13T17:49:15.032Z] 2437ff75d9bd: Waiting [2023-03-13T17:49:15.302Z] 04944245beec: Verifying Checksum [2023-03-13T17:49:15.302Z] 04944245beec: Download complete [2023-03-13T17:49:15.302Z] 765212b225bb: Verifying Checksum [2023-03-13T17:49:15.302Z] 765212b225bb: Download complete [2023-03-13T17:49:15.302Z] f23df028b6ca: Download complete [2023-03-13T17:49:15.302Z] d65c8cfc05b1: Verifying Checksum [2023-03-13T17:49:15.302Z] d65c8cfc05b1: Download complete [2023-03-13T17:49:15.571Z] 699f458cf7ca: Verifying Checksum [2023-03-13T17:49:15.571Z] 699f458cf7ca: Download complete [2023-03-13T17:49:15.845Z] 8998bd30e6a1: Verifying Checksum [2023-03-13T17:49:15.845Z] 8998bd30e6a1: Download complete [2023-03-13T17:49:18.429Z] 2437ff75d9bd: Verifying Checksum [2023-03-13T17:49:18.429Z] 2437ff75d9bd: Download complete [2023-03-13T17:49:19.396Z] 8998bd30e6a1: Pull complete [2023-03-13T17:49:19.983Z] 04944245beec: Pull complete [2023-03-13T17:49:21.396Z] 699f458cf7ca: Pull complete [2023-03-13T17:49:21.665Z] 765212b225bb: Pull complete [2023-03-13T17:49:22.253Z] f23df028b6ca: Pull complete [2023-03-13T17:49:22.521Z] d65c8cfc05b1: Pull complete [2023-03-13T17:49:37.509Z] 2437ff75d9bd: Pull complete [2023-03-13T17:49:37.509Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-13T17:49:37.509Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T17:49:37.509Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T17:49:37.831Z] prd-ubuntu20.04-docker-arm64-4c-16g-9926 does not seem to be running inside a container [2023-03-13T17:49:37.906Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-13T17:49:40.731Z] $ docker top 813ad22320bfa5b66aa43a62efab03f35191a0ca3f927aff75a962a9fc5f5544 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:49:41.643Z] ---> job-cost.sh [2023-03-13T17:49:41.643Z] lf-activate-venv: SKIPPING [2023-03-13T17:49:41.643Z] INFO: No Stack... [2023-03-13T17:49:42.226Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-13T17:49:42.807Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T17:49:43.150Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-03-13T17:49:43.150Z] + cut -d, -f6 [Pipeline] lock [2023-03-13T17:49:43.224Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-260-1-stack-cost] [2023-03-13T17:49:43.229Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-260-1-stack-cost] did not exist. Created. [2023-03-13T17:49:43.229Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-260-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T17:49:43.645Z] /w/workspace/device-onvif-camera/1@tmp/durable-9cd965a2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-13T17:49:43.997Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-13T17:49:44.033Z] Warning: overwriting stash ‘stack-cost’ [2023-03-13T17:49:44.094Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T17:49:44.108Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-260-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T17:49:44.200Z] $ docker stop --time=1 813ad22320bfa5b66aa43a62efab03f35191a0ca3f927aff75a962a9fc5f5544 [2023-03-13T17:49:45.631Z] $ docker rm -f --volumes 813ad22320bfa5b66aa43a62efab03f35191a0ca3f927aff75a962a9fc5f5544 [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-03-13T17:49:46.730Z] provisioning config files... [2023-03-13T17:49:46.738Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-260@tmp/config3050040800918617902tmp [Pipeline] { [Pipeline] sh [2023-03-13T17:49:47.080Z] + set +x [2023-03-13T17:49:47.080Z] + curl -s https://codecov.io/bash [2023-03-13T17:49:47.080Z] + bash -s -- [2023-03-13T17:49:47.080Z] [2023-03-13T17:49:47.080Z] _____ _ [2023-03-13T17:49:47.080Z] / ____| | | [2023-03-13T17:49:47.080Z] | | ___ __| | ___ ___ _____ __ [2023-03-13T17:49:47.080Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-13T17:49:47.080Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-13T17:49:47.080Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-13T17:49:47.080Z] Bash-1.0.6 [2023-03-13T17:49:47.080Z] [2023-03-13T17:49:47.080Z] [2023-03-13T17:49:47.080Z] ==> git version 2.25.1 found [2023-03-13T17:49:47.080Z] ==> 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-03-13T17:49:47.080Z] Release-Date: 2020-01-08 [2023-03-13T17:49:47.080Z] 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-03-13T17:49:47.080Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-13T17:49:47.080Z] ==> Jenkins CI detected. [2023-03-13T17:49:47.080Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-260 [2023-03-13T17:49:47.080Z] project root: . [2023-03-13T17:49:47.080Z] --> token set from env [2023-03-13T17:49:47.080Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-13T17:49:47.080Z] ==> Running gcov in . (disable via -X gcov) [2023-03-13T17:49:47.080Z] ==> Python coveragepy not found [2023-03-13T17:49:47.080Z] ==> Searching for coverage reports in: [2023-03-13T17:49:47.080Z] + . [2023-03-13T17:49:47.080Z] -> Found 1 reports [2023-03-13T17:49:47.080Z] ==> Detecting git/mercurial file structure [2023-03-13T17:49:47.080Z] ==> Reading reports [2023-03-13T17:49:47.080Z] + ./coverage.out bytes=79184 [2023-03-13T17:49:47.080Z] ==> Appending adjustments [2023-03-13T17:49:47.080Z] https://docs.codecov.io/docs/fixing-reports [2023-03-13T17:49:47.339Z] + Found adjustments [2023-03-13T17:49:47.339Z] ==> Gzipping contents [2023-03-13T17:49:47.339Z] 12K /tmp/codecov.X9MdKx.gz [2023-03-13T17:49:47.339Z] ==> Uploading reports [2023-03-13T17:49:47.339Z] url: https://codecov.io [2023-03-13T17:49:47.339Z] query: branch=PR-260&commit=10e92f17d01bd25b46edefd6a25baf6c1226522e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-260%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=260&job=&cmd_args= [2023-03-13T17:49:47.339Z] -> Pinging Codecov [2023-03-13T17:49:47.339Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-260&commit=10e92f17d01bd25b46edefd6a25baf6c1226522e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-260%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=260&job=&cmd_args= [2023-03-13T17:49:47.598Z] -> Uploading to [2023-03-13T17:49:47.598Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-13/F29A59C45E3A92E06B3E522C9905F8EF/10e92f17d01bd25b46edefd6a25baf6c1226522e/06b3bf2b-c2cb-498f-9726-de76b615e821.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230313T174947Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8697c940466c781f5f326ecc1b7b80e27af6509008f8b373523651b58e5d9525 [2023-03-13T17:49:47.598Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T17:49:47.598Z] Dload Upload Total Spent Left Speed [2023-03-13T17:49:47.857Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10879 0 0 100 10879 0 42662 --:--:-- --:--:-- --:--:-- 42662 [2023-03-13T17:49:47.857Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/10e92f17d01bd25b46edefd6a25baf6c1226522e [Pipeline] } [2023-03-13T17:49:47.883Z] 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-03-13T17:49:49.734Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-260/archives ] [2023-03-13T17:49:49.735Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-260/archives [2023-03-13T17:49:49.735Z] total 16 [2023-03-13T17:49:49.735Z] drwxr-xr-x 3 root root 4096 Mar 13 17:39 . [2023-03-13T17:49:49.735Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 17:39 .. [2023-03-13T17:49:49.735Z] drwxr-xr-x 2 root root 4096 Mar 13 17:39 cost [2023-03-13T17:49:49.735Z] -rw-r--r-- 1 root root 91 Mar 13 17:39 cost.csv [2023-03-13T17:49:49.735Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-260/archives [2023-03-13T17:49:49.735Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-260/archives [2023-03-13T17:49:49.735Z] total 16 [2023-03-13T17:49:49.735Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 17:39 . [2023-03-13T17:49:49.735Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 17:39 .. [2023-03-13T17:49:49.735Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 17:39 cost [2023-03-13T17:49:49.735Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 13 17:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:49:50.070Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:49:50.965Z] ---> package-listing.sh [2023-03-13T17:49:50.965Z] ++ facter osfamily [2023-03-13T17:49:50.965Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-13T17:49:51.223Z] + OS_FAMILY=debian [2023-03-13T17:49:51.223Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-260 [2023-03-13T17:49:51.223Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-13T17:49:51.223Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-13T17:49:51.223Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-13T17:49:51.223Z] + PACKAGES=/tmp/packages_start.txt [2023-03-13T17:49:51.223Z] + '[' /w/workspace/undry_device-onvif-camera_PR-260 ']' [2023-03-13T17:49:51.223Z] + PACKAGES=/tmp/packages_end.txt [2023-03-13T17:49:51.223Z] + case "${OS_FAMILY}" in [2023-03-13T17:49:51.223Z] + dpkg -l [2023-03-13T17:49:51.223Z] + grep '^ii' [2023-03-13T17:49:51.223Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-13T17:49:51.223Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-13T17:49:51.223Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-13T17:49:51.224Z] + '[' /w/workspace/undry_device-onvif-camera_PR-260 ']' [2023-03-13T17:49:51.224Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-260/archives/ [2023-03-13T17:49:51.224Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-260/archives/ [Pipeline] echo [2023-03-13T17:49:51.259Z] 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-260/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-13T17:49:51.550Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:49:52.174Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T17:49:52.174Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T17:49:52.323Z] prd-ubuntu20.04-docker-8c-8g-9925 does not seem to be running inside a container [2023-03-13T17:49:52.355Z] $ 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-260/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-260 -v /w/workspace/undry_device-onvif-camera_PR-260:/w/workspace/undry_device-onvif-camera_PR-260:rw,z -v /w/workspace/undry_device-onvif-camera_PR-260@tmp:/w/workspace/undry_device-onvif-camera_PR-260@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-13T17:49:52.571Z] $ docker top ed3cea2e6fd9ab85f071657f1824f7ee00da23c2d344fd7114f8c75f8860052c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T17:49:52.959Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-13T17:49:53.271Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-13T17:49:53.580Z] + ls /var/log/sa-host [2023-03-13T17:49:53.580Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T17:49:53.807Z] provisioning config files... [2023-03-13T17:49:53.815Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-260@tmp/config736460968282986726tmp [Pipeline] { [Pipeline] echo [2023-03-13T17:49:53.868Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:49:54.183Z] ---> create-netrc.sh [Pipeline] } [2023-03-13T17:49:54.210Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:49:54.611Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-13T17:49:54.644Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:49:54.967Z] ---> sudo-logs.sh [2023-03-13T17:49:54.967Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-13T17:49:55.050Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:49:55.366Z] ---> job-cost.sh [2023-03-13T17:49:55.366Z] lf-activate-venv: SKIPPING [2023-03-13T17:49:55.366Z] DEBUG: total: 0.2199999988079071 [2023-03-13T17:49:55.366Z] INFO: Retrieving Stack Cost... [2023-03-13T17:49:55.625Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T17:49:56.194Z] INFO: Archiving Costs [Pipeline] echo [2023-03-13T17:49:56.230Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:49:56.545Z] ---> logs-deploy.sh [2023-03-13T17:49:56.545Z] lf-activate-venv: SKIPPING [2023-03-13T17:49:56.545Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-260/1 [2023-03-13T17:49:56.545Z] INFO: archiving workspace using pattern(s): [2023-03-13T17:49:57.482Z] Archives upload complete. [2023-03-13T17:49:57.482Z] INFO: archiving logs to Nexus