Pull request #367 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e00b73cb7b36802fa4276b7336d4752e35e50510+4c3943abb5596eefa9af9b661fb4a90371d27683 (b90cc1a5819f5ac8b3d72ea9fcf43045ce2788fa) 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-ssh13567460657337577935.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12331418303980640475.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-367/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-367/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8947590790759589468.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-367/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9717700401131126791.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5351698844367439837.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-367/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-367/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13635955390240867067.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-16076 in /w/workspace/undry_device-onvif-camera_PR-367 [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-367 # 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/367/head:refs/remotes/origin/PR-367 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4c3943abb5596eefa9af9b661fb4a90371d27683 into PR head commit e00b73cb7b36802fa4276b7336d4752e35e50510 Merge succeeded, producing e00b73cb7b36802fa4276b7336d4752e35e50510 Checking out Revision e00b73cb7b36802fa4276b7336d4752e35e50510 (PR-367) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-19T04:01:22.687Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f e00b73cb7b36802fa4276b7336d4752e35e50510 # 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 4c3943abb5596eefa9af9b661fb4a90371d27683 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e00b73cb7b36802fa4276b7336d4752e35e50510 # timeout=10 [Pipeline] withCredentials [2023-05-19T04:01:22.881Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-19T04:01:22.992Z] ========================================================= [2023-05-19T04:01:22.992Z] EdgeX Global Pipelines Version Info [2023-05-19T04:01:22.992Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-19T04:01:23.752Z] ------------------- [2023-05-19T04:01:23.752Z] stable info: [2023-05-19T04:01:23.752Z] ------------------- [2023-05-19T04:01:23.752Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-19T04:01:23.752Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-19T04:01:23.752Z] Message: update stable to v1.0.249 [2023-05-19T04:01:24.324Z] ------------------- [2023-05-19T04:01:24.324Z] experimental info: [2023-05-19T04:01:24.324Z] ------------------- [2023-05-19T04:01:24.324Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-19T04:01:24.324Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-19T04:01:24.324Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-19T04:01:24.605Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-05-19T04:01:24.646Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-05-19T04:01:24.686Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-19T04:01:24.725Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-19T04:01:24.763Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-19T04:01:24.801Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-19T04:01:24.907Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-19T04:01:24.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-19T04:01:24.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-19T04:01:25.027Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-19T04:01:25.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-19T04:01:25.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-05-19T04:01:25.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-19T04:01:25.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-19T04:01:25.215Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-19T04:01:25.256Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-19T04:01:25.295Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-19T04:01:25.337Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-19T04:01:25.380Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-19T04:01:25.418Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-19T04:01:25.457Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-19T04:01:25.495Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2023-05-19T04:01:25.531Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-19T04:01:25.566Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-19T04:01:25.603Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-19T04:01:25.641Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-19T04:01:25.678Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-19T04:01:25.716Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-367 [Pipeline] echo [2023-05-19T04:01:25.758Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-367 [Pipeline] echo [2023-05-19T04:01:25.796Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-367 [Pipeline] echo [2023-05-19T04:01:25.850Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e00b73cb7b36802fa4276b7336d4752e35e50510 [Pipeline] echo [2023-05-19T04:01:25.892Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e00b73c [Pipeline] echo [2023-05-19T04:01:25.935Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-19T04:01:26.055Z] provisioning config files... [2023-05-19T04:01:26.089Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-367@tmp/config14172589321274436506tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-19T04:01:26.437Z] ---> docker-login.sh [2023-05-19T04:01:26.437Z] nexus3.edgexfoundry.org:10001 [2023-05-19T04:01:26.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T04:01:26.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T04:01:26.962Z] Configure a credential helper to remove this warning. See [2023-05-19T04:01:26.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T04:01:26.962Z] [2023-05-19T04:01:26.962Z] Login Succeeded [2023-05-19T04:01:26.962Z] nexus3.edgexfoundry.org:10002 [2023-05-19T04:01:26.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T04:01:26.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T04:01:26.962Z] Configure a credential helper to remove this warning. See [2023-05-19T04:01:26.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T04:01:26.962Z] [2023-05-19T04:01:26.962Z] Login Succeeded [2023-05-19T04:01:26.962Z] nexus3.edgexfoundry.org:10003 [2023-05-19T04:01:26.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T04:01:27.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T04:01:27.224Z] Configure a credential helper to remove this warning. See [2023-05-19T04:01:27.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T04:01:27.224Z] [2023-05-19T04:01:27.224Z] Login Succeeded [2023-05-19T04:01:27.224Z] nexus3.edgexfoundry.org:10004 [2023-05-19T04:01:27.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T04:01:27.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T04:01:27.224Z] Configure a credential helper to remove this warning. See [2023-05-19T04:01:27.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T04:01:27.224Z] [2023-05-19T04:01:27.224Z] Login Succeeded [2023-05-19T04:01:27.224Z] docker.io [2023-05-19T04:01:27.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T04:01:27.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T04:01:27.486Z] Configure a credential helper to remove this warning. See [2023-05-19T04:01:27.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T04:01:27.486Z] [2023-05-19T04:01:27.486Z] Login Succeeded [2023-05-19T04:01:27.486Z] ---> docker-login.sh ends [Pipeline] } [2023-05-19T04:01:27.517Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-19T04:01:28.147Z] + git rev-list -1 --merges e00b73cb7b36802fa4276b7336d4752e35e50510~1..e00b73cb7b36802fa4276b7336d4752e35e50510 [Pipeline] echo [2023-05-19T04:01:28.207Z] -----------> git rev-list -1 --merges e00b73cb7b36802fa4276b7336d4752e35e50510~1..e00b73cb7b36802fa4276b7336d4752e35e50510 e00b73cb7b36802fa4276b7336d4752e35e50510 [false] [Pipeline] sh [2023-05-19T04:01:28.512Z] + git log --format=format:%s -1 e00b73cb7b36802fa4276b7336d4752e35e50510 [Pipeline] echo [2023-05-19T04:01:28.548Z] ========================================================= [2023-05-19T04:01:28.548Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-19T04:01:28.548Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-19T04:01:28.969Z] + git log --format=format:%s -1 e00b73cb7b36802fa4276b7336d4752e35e50510 [Pipeline] echo [2023-05-19T04:01:29.005Z] [semverPrep] GIT_COMMIT: e00b73cb7b36802fa4276b7336d4752e35e50510, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 [Pipeline] echo [2023-05-19T04:01:29.032Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-19T04:01:29.434Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-19T04:01:29.435Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-19T04:01:29.435Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-19T04:01:29.435Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-19T04:01:29.435Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-19T04:01:29.435Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-19T04:01:29.435Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T04:01:29.940Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-19T04:01:29.940Z] [2023-05-19T04:01:29.940Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T04:01:30.320Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-19T04:01:30.320Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-19T04:01:30.320Z] b85a868b505f: Pulling fs layer [2023-05-19T04:01:30.320Z] e2be974225ed: Pulling fs layer [2023-05-19T04:01:30.320Z] 339a4e72a1f5: Pulling fs layer [2023-05-19T04:01:30.320Z] 988bab9f4d93: Pulling fs layer [2023-05-19T04:01:30.320Z] 1469e6f7b9e6: Pulling fs layer [2023-05-19T04:01:30.320Z] eaf3925da568: Pulling fs layer [2023-05-19T04:01:30.320Z] bab4dde63d76: Pulling fs layer [2023-05-19T04:01:30.320Z] bde34c3a00c8: Pulling fs layer [2023-05-19T04:01:30.320Z] b352a97aabf1: Pulling fs layer [2023-05-19T04:01:30.320Z] 4872d77fe225: Pulling fs layer [2023-05-19T04:01:30.320Z] 5851b861e8e6: Pulling fs layer [2023-05-19T04:01:30.320Z] 988bab9f4d93: Waiting [2023-05-19T04:01:30.320Z] bde34c3a00c8: Waiting [2023-05-19T04:01:30.320Z] 4872d77fe225: Waiting [2023-05-19T04:01:30.320Z] eaf3925da568: Waiting [2023-05-19T04:01:30.320Z] 1469e6f7b9e6: Waiting [2023-05-19T04:01:30.320Z] b352a97aabf1: Waiting [2023-05-19T04:01:30.320Z] bab4dde63d76: Waiting [2023-05-19T04:01:30.320Z] 5851b861e8e6: Waiting [2023-05-19T04:01:30.320Z] e2be974225ed: Verifying Checksum [2023-05-19T04:01:30.320Z] e2be974225ed: Download complete [2023-05-19T04:01:30.320Z] 988bab9f4d93: Verifying Checksum [2023-05-19T04:01:30.320Z] 988bab9f4d93: Download complete [2023-05-19T04:01:30.320Z] 1469e6f7b9e6: Verifying Checksum [2023-05-19T04:01:30.320Z] 1469e6f7b9e6: Download complete [2023-05-19T04:01:30.580Z] eaf3925da568: Verifying Checksum [2023-05-19T04:01:30.580Z] eaf3925da568: Download complete [2023-05-19T04:01:30.580Z] 339a4e72a1f5: Verifying Checksum [2023-05-19T04:01:30.580Z] 339a4e72a1f5: Download complete [2023-05-19T04:01:30.580Z] bde34c3a00c8: Verifying Checksum [2023-05-19T04:01:30.580Z] bde34c3a00c8: Download complete [2023-05-19T04:01:30.580Z] b352a97aabf1: Verifying Checksum [2023-05-19T04:01:30.580Z] b352a97aabf1: Download complete [2023-05-19T04:01:30.580Z] 4872d77fe225: Download complete [2023-05-19T04:01:30.580Z] 5851b861e8e6: Download complete [2023-05-19T04:01:30.580Z] b85a868b505f: Verifying Checksum [2023-05-19T04:01:30.580Z] b85a868b505f: Download complete [2023-05-19T04:01:30.839Z] bab4dde63d76: Verifying Checksum [2023-05-19T04:01:30.839Z] bab4dde63d76: Download complete [2023-05-19T04:01:31.809Z] b85a868b505f: Pull complete [2023-05-19T04:01:31.809Z] e2be974225ed: Pull complete [2023-05-19T04:01:32.382Z] 339a4e72a1f5: Pull complete [2023-05-19T04:01:32.382Z] 988bab9f4d93: Pull complete [2023-05-19T04:01:32.643Z] 1469e6f7b9e6: Pull complete [2023-05-19T04:01:32.643Z] eaf3925da568: Pull complete [2023-05-19T04:01:34.549Z] bab4dde63d76: Pull complete [2023-05-19T04:01:34.549Z] bde34c3a00c8: Pull complete [2023-05-19T04:01:34.549Z] b352a97aabf1: Pull complete [2023-05-19T04:01:34.549Z] 4872d77fe225: Pull complete [2023-05-19T04:01:34.549Z] 5851b861e8e6: Pull complete [2023-05-19T04:01:34.549Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-19T04:01:34.810Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-19T04:01:34.810Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-19T04:01:35.060Z] prd-ubuntu20.04-docker-8c-8g-16076 does not seem to be running inside a container [2023-05-19T04:01:35.100Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-367 -v /w/workspace/undry_device-onvif-camera_PR-367:/w/workspace/undry_device-onvif-camera_PR-367:rw,z -v /w/workspace/undry_device-onvif-camera_PR-367@tmp:/w/workspace/undry_device-onvif-camera_PR-367@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-19T04:01:37.845Z] $ docker top abcce538e20144f8fa80328f91fbf184ad356af0d988e32e356fbfcc77d46710 -eo pid,comm [2023-05-19T04:01:37.899Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-19T04:01:37.899Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-19T04:01:38.030Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-19T04:01:38.030Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-19T04:01:38.143Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-19T04:01:38.145Z] $ docker exec abcce538e20144f8fa80328f91fbf184ad356af0d988e32e356fbfcc77d46710 ssh-agent [2023-05-19T04:01:38.245Z] SSH_AUTH_SOCK=/tmp/ssh-4NJFfS8w5fcI/agent.31 [2023-05-19T04:01:38.245Z] SSH_AGENT_PID=37 [2023-05-19T04:01:38.252Z] Running ssh-add (command line suppressed) [2023-05-19T04:01:38.351Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-367@tmp/private_key_8331484560631336373.key (/w/workspace/undry_device-onvif-camera_PR-367@tmp/private_key_8331484560631336373.key) [2023-05-19T04:01:38.368Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-19T04:01:38.700Z] + git tag --points-at HEAD [Pipeline] } [2023-05-19T04:01:38.857Z] $ docker exec --env ******** --env ******** abcce538e20144f8fa80328f91fbf184ad356af0d988e32e356fbfcc77d46710 ssh-agent -k [2023-05-19T04:01:38.935Z] unset SSH_AUTH_SOCK; [2023-05-19T04:01:38.936Z] unset SSH_AGENT_PID; [2023-05-19T04:01:38.937Z] echo Agent pid 37 killed; [2023-05-19T04:01:38.949Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-19T04:01:39.125Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-19T04:01:39.125Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-19T04:01:39.228Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-19T04:01:39.230Z] $ docker exec abcce538e20144f8fa80328f91fbf184ad356af0d988e32e356fbfcc77d46710 ssh-agent [2023-05-19T04:01:39.343Z] SSH_AUTH_SOCK=/tmp/ssh-VCAd258Lsg7k/agent.70 [2023-05-19T04:01:39.343Z] SSH_AGENT_PID=76 [2023-05-19T04:01:39.348Z] Running ssh-add (command line suppressed) [2023-05-19T04:01:39.453Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-367@tmp/private_key_6322220130022591289.key (/w/workspace/undry_device-onvif-camera_PR-367@tmp/private_key_6322220130022591289.key) [2023-05-19T04:01:39.470Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-19T04:01:39.803Z] + git semver init [2023-05-19T04:01:40.063Z] 2023-05-19 04:01:39,954 [run_init] DEBUG init version:0.0.0 force:False [2023-05-19T04:01:40.063Z] 2023-05-19 04:01:39,955 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-367/.semver [2023-05-19T04:01:40.063Z] 2023-05-19 04:01:39,956 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-367/.semver [2023-05-19T04:01:40.063Z] 2023-05-19 04:01:39,956 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-367/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-367, universal_newlines=False, shell=None, istream=None) [2023-05-19T04:01:41.000Z] 2023-05-19 04:01:40,970 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-367/.git/info/exclude [2023-05-19T04:01:41.000Z] 2023-05-19 04:01:40,970 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-367/.semver/PR-367 with force:False [2023-05-19T04:01:41.000Z] 2023-05-19 04:01:40,970 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-367/.semver/PR-367 [2023-05-19T04:01:41.000Z] 2023-05-19 04:01:40,974 [execute] INFO git cat-file --batch-check [2023-05-19T04:01:41.000Z] 2023-05-19 04:01:40,975 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-367/.semver, universal_newlines=False, shell=None, istream=) [2023-05-19T04:01:41.000Z] 2023-05-19 04:01:40,980 [execute] INFO git cat-file --batch [2023-05-19T04:01:41.000Z] 2023-05-19 04:01:40,980 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-367/.semver, universal_newlines=False, shell=None, istream=) [2023-05-19T04:01:41.000Z] 2023-05-19 04:01:40,984 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-367/.semver/PR-367 [2023-05-19T04:01:41.000Z] 0.0.0 [Pipeline] } [2023-05-19T04:01:41.274Z] $ docker exec --env ******** --env ******** abcce538e20144f8fa80328f91fbf184ad356af0d988e32e356fbfcc77d46710 ssh-agent -k [2023-05-19T04:01:41.368Z] unset SSH_AUTH_SOCK; [2023-05-19T04:01:41.369Z] unset SSH_AGENT_PID; [2023-05-19T04:01:41.369Z] echo Agent pid 76 killed; [2023-05-19T04:01:41.383Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-19T04:01:41.810Z] + git semver [Pipeline] } [2023-05-19T04:01:42.093Z] $ docker stop --time=1 abcce538e20144f8fa80328f91fbf184ad356af0d988e32e356fbfcc77d46710 [2023-05-19T04:01:43.379Z] $ docker rm -f --volumes abcce538e20144f8fa80328f91fbf184ad356af0d988e32e356fbfcc77d46710 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-19T04:01:43.788Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-19T04:01:44.059Z] Stashed 1 file(s) [Pipeline] echo [2023-05-19T04:01:44.077Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-19T04:01:44.706Z] provisioning config files... [2023-05-19T04:01:44.718Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-367@tmp/config7347404468825319517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-19T04:01:45.073Z] ---> docker-login.sh [2023-05-19T04:01:45.073Z] nexus3.edgexfoundry.org:10001 [2023-05-19T04:01:45.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T04:01:45.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T04:01:45.073Z] Configure a credential helper to remove this warning. See [2023-05-19T04:01:45.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T04:01:45.073Z] [2023-05-19T04:01:45.073Z] Login Succeeded [2023-05-19T04:01:45.073Z] nexus3.edgexfoundry.org:10002 [2023-05-19T04:01:45.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T04:01:45.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T04:01:45.073Z] Configure a credential helper to remove this warning. See [2023-05-19T04:01:45.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T04:01:45.073Z] [2023-05-19T04:01:45.073Z] Login Succeeded [2023-05-19T04:01:45.073Z] nexus3.edgexfoundry.org:10003 [2023-05-19T04:01:45.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T04:01:45.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T04:01:45.333Z] Configure a credential helper to remove this warning. See [2023-05-19T04:01:45.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T04:01:45.333Z] [2023-05-19T04:01:45.333Z] Login Succeeded [2023-05-19T04:01:45.333Z] nexus3.edgexfoundry.org:10004 [2023-05-19T04:01:45.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T04:01:45.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T04:01:45.333Z] Configure a credential helper to remove this warning. See [2023-05-19T04:01:45.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T04:01:45.333Z] [2023-05-19T04:01:45.333Z] Login Succeeded [2023-05-19T04:01:45.333Z] docker.io [2023-05-19T04:01:45.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T04:01:45.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T04:01:45.593Z] Configure a credential helper to remove this warning. See [2023-05-19T04:01:45.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T04:01:45.593Z] [2023-05-19T04:01:45.593Z] Login Succeeded [2023-05-19T04:01:45.593Z] ---> docker-login.sh ends [Pipeline] } [2023-05-19T04:01:45.628Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-19T04:01:45.842Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-19T04:01:45.876Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-19T04:01:45.907Z] ========================================================= [2023-05-19T04:01:45.907Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-19T04:01:45.907Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T04:01:46.360Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-19T04:01:46.360Z] Sending build context to Docker daemon 21.91MB [2023-05-19T04:01:46.360Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-19T04:01:46.360Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-19T04:01:46.624Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-19T04:01:46.624Z] f56be85fc22e: Pulling fs layer [2023-05-19T04:01:46.624Z] 85791d961cd3: Pulling fs layer [2023-05-19T04:01:46.624Z] d694b5ae8c79: Pulling fs layer [2023-05-19T04:01:46.624Z] 9f32a84ed3da: Pulling fs layer [2023-05-19T04:01:46.624Z] 4d19c01a9841: Pulling fs layer [2023-05-19T04:01:46.624Z] 9325e15d5711: Pulling fs layer [2023-05-19T04:01:46.624Z] 556b6ee489ea: Pulling fs layer [2023-05-19T04:01:46.624Z] c5a4b2cf53e6: Pulling fs layer [2023-05-19T04:01:46.624Z] 9325e15d5711: Waiting [2023-05-19T04:01:46.624Z] 556b6ee489ea: Waiting [2023-05-19T04:01:46.624Z] c5a4b2cf53e6: Waiting [2023-05-19T04:01:46.624Z] 9f32a84ed3da: Waiting [2023-05-19T04:01:46.624Z] 4d19c01a9841: Waiting [2023-05-19T04:01:46.624Z] 85791d961cd3: Download complete [2023-05-19T04:01:46.624Z] 9f32a84ed3da: Verifying Checksum [2023-05-19T04:01:46.625Z] 9f32a84ed3da: Download complete [2023-05-19T04:01:46.625Z] 4d19c01a9841: Verifying Checksum [2023-05-19T04:01:46.625Z] 4d19c01a9841: Download complete [2023-05-19T04:01:46.625Z] f56be85fc22e: Verifying Checksum [2023-05-19T04:01:46.625Z] f56be85fc22e: Download complete [2023-05-19T04:01:46.625Z] 9325e15d5711: Verifying Checksum [2023-05-19T04:01:46.625Z] 9325e15d5711: Download complete [2023-05-19T04:01:46.890Z] f56be85fc22e: Pull complete [2023-05-19T04:01:46.890Z] 85791d961cd3: Pull complete [2023-05-19T04:01:47.152Z] c5a4b2cf53e6: Verifying Checksum [2023-05-19T04:01:47.152Z] c5a4b2cf53e6: Download complete [2023-05-19T04:01:47.152Z] d694b5ae8c79: Verifying Checksum [2023-05-19T04:01:47.152Z] d694b5ae8c79: Download complete [2023-05-19T04:01:47.412Z] 556b6ee489ea: Verifying Checksum [2023-05-19T04:01:47.412Z] 556b6ee489ea: Download complete [2023-05-19T04:01:50.699Z] d694b5ae8c79: Pull complete [2023-05-19T04:01:50.699Z] 9f32a84ed3da: Pull complete [2023-05-19T04:01:50.699Z] 4d19c01a9841: Pull complete [2023-05-19T04:01:50.699Z] 9325e15d5711: Pull complete [2023-05-19T04:01:52.601Z] 556b6ee489ea: Pull complete [2023-05-19T04:01:53.540Z] c5a4b2cf53e6: Pull complete [2023-05-19T04:01:53.540Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-19T04:01:53.540Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-19T04:01:53.540Z] ---> c4be618373d6 [2023-05-19T04:01:53.540Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-19T04:01:57.736Z] ---> Running in fa9b916cfcf5 [2023-05-19T04:01:57.736Z] Removing intermediate container fa9b916cfcf5 [2023-05-19T04:01:57.736Z] ---> 8e9cff0ffb98 [2023-05-19T04:01:57.736Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-19T04:01:57.736Z] ---> Running in 308f4ab672b5 [2023-05-19T04:01:57.736Z] Removing intermediate container 308f4ab672b5 [2023-05-19T04:01:57.736Z] ---> 9ac1cd6df587 [2023-05-19T04:01:57.736Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-05-19T04:01:57.736Z] ---> Running in cc7079b7246c [2023-05-19T04:01:57.736Z] Removing intermediate container cc7079b7246c [2023-05-19T04:01:57.736Z] ---> 5464fd83288d [2023-05-19T04:01:57.736Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-05-19T04:01:57.736Z] ---> Running in e068e51f2e3e [2023-05-19T04:01:57.736Z] Removing intermediate container e068e51f2e3e [2023-05-19T04:01:57.736Z] ---> e47e3d7ae904 [2023-05-19T04:01:57.736Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-05-19T04:01:57.736Z] ---> Running in 2e4c1e9ae6e5 [2023-05-19T04:01:57.736Z] Removing intermediate container 2e4c1e9ae6e5 [2023-05-19T04:01:57.736Z] ---> 66ae6398d7d2 [2023-05-19T04:01:57.736Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-19T04:01:57.736Z] ---> Running in e54164a8e91e [2023-05-19T04:01:57.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-19T04:01:58.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-19T04:01:58.255Z] OK: 265 MiB in 53 packages [2023-05-19T04:01:58.824Z] Removing intermediate container e54164a8e91e [2023-05-19T04:01:58.824Z] ---> 3c4b7b15c7de [2023-05-19T04:01:58.824Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-05-19T04:01:58.824Z] ---> Running in 46ab37a655e3 [2023-05-19T04:01:58.824Z] Removing intermediate container 46ab37a655e3 [2023-05-19T04:01:58.824Z] ---> e0a96ae15af1 [2023-05-19T04:01:58.824Z] Step 10/13 : COPY go.mod vendor* ./ [2023-05-19T04:01:58.824Z] ---> 78bb6cdcd961 [2023-05-19T04:01:58.824Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-19T04:01:58.824Z] ---> Running in f09c1223849c [2023-05-19T04:01:59.509Z] Still waiting to schedule task [2023-05-19T04:01:59.509Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-19T04:02:45.516Z] Removing intermediate container f09c1223849c [2023-05-19T04:02:45.516Z] ---> 22fcda725eda [2023-05-19T04:02:45.516Z] Step 12/13 : COPY . . [2023-05-19T04:02:46.458Z] ---> 13e6adb51f42 [2023-05-19T04:02:46.458Z] Step 13/13 : RUN ${MAKE} [2023-05-19T04:02:46.458Z] ---> Running in d63164e5a3fc [2023-05-19T04:02:46.458Z] noop [2023-05-19T04:02:46.718Z] Removing intermediate container d63164e5a3fc [2023-05-19T04:02:46.718Z] ---> f78c2a47ce99 [2023-05-19T04:02:46.719Z] Successfully built f78c2a47ce99 [2023-05-19T04:02:46.978Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T04:02:47.427Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-19T04:02:47.428Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-19T04:02:47.586Z] prd-ubuntu20.04-docker-8c-8g-16076 does not seem to be running inside a container [2023-05-19T04:02:47.614Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-367 -v /w/workspace/undry_device-onvif-camera_PR-367:/w/workspace/undry_device-onvif-camera_PR-367:rw,z -v /w/workspace/undry_device-onvif-camera_PR-367@tmp:/w/workspace/undry_device-onvif-camera_PR-367@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-19T04:02:47.954Z] $ docker top 7332dcc665a652901a750823ea1ce05a70b4afcbb5919bdb4c2936498eefb0d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-19T04:02:48.346Z] + go version [2023-05-19T04:02:48.346Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-19T04:02:48.376Z] $ docker stop --time=1 7332dcc665a652901a750823ea1ce05a70b4afcbb5919bdb4c2936498eefb0d8 [2023-05-19T04:02:49.692Z] $ docker rm -f --volumes 7332dcc665a652901a750823ea1ce05a70b4afcbb5919bdb4c2936498eefb0d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T04:02:50.414Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-19T04:02:50.415Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-19T04:02:50.576Z] prd-ubuntu20.04-docker-8c-8g-16076 does not seem to be running inside a container [2023-05-19T04:02:50.603Z] $ 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-367 -v /w/workspace/undry_device-onvif-camera_PR-367:/w/workspace/undry_device-onvif-camera_PR-367:rw,z -v /w/workspace/undry_device-onvif-camera_PR-367@tmp:/w/workspace/undry_device-onvif-camera_PR-367@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-19T04:02:50.943Z] $ docker top e9ae1dd39aa3e9b4b5c593b192d557c6ca8b8961766ad5caa65a2c76861a53a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-19T04:02:51.334Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-367 [Pipeline] fileExists [Pipeline] sh [2023-05-19T04:02:51.699Z] + make test [2023-05-19T04:02:51.699Z] go test ./... -coverprofile=coverage.out ./... [2023-05-19T04:02:56.982Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-05-19T04:03:06.949Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-05-19T04:03:07.887Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-05-19T04:03:09.786Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.042s coverage: 31.4% of statements [2023-05-19T04:03:10.044Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.324s coverage: 86.5% of statements [2023-05-19T04:03:18.148Z] go vet ./... [2023-05-19T04:03:20.764Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-19T04:03:20.764Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-19T04:03:20.764Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-19T04:03:21.080Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-19T04:03:21.109Z] $ docker stop --time=1 e9ae1dd39aa3e9b4b5c593b192d557c6ca8b8961766ad5caa65a2c76861a53a9 [2023-05-19T04:03:25.403Z] $ docker rm -f --volumes e9ae1dd39aa3e9b4b5c593b192d557c6ca8b8961766ad5caa65a2c76861a53a9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-19T04:03:25.947Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-19T04:03:26.021Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-19T04:03:26.730Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-19T04:03:27.042Z] + ls -al . [2023-05-19T04:03:27.042Z] total 232 [2023-05-19T04:03:27.042Z] drwxrwxr-x 10 jenkins jenkins 4096 May 19 04:02 . [2023-05-19T04:03:27.042Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 04:01 .. [2023-05-19T04:03:27.042Z] drwxrwxr-x 8 jenkins jenkins 4096 May 19 04:01 .git [2023-05-19T04:03:27.042Z] drwxrwxr-x 3 jenkins jenkins 4096 May 19 04:01 .github [2023-05-19T04:03:27.042Z] -rw-rw-r-- 1 jenkins jenkins 496 May 19 04:01 .gitignore [2023-05-19T04:03:27.042Z] -rw-rw-r-- 1 jenkins jenkins 42 May 19 04:01 .golangci.yml [2023-05-19T04:03:27.042Z] drwxr-xr-x 3 jenkins jenkins 4096 May 19 04:01 .semver [2023-05-19T04:03:27.042Z] -rw-rw-r-- 1 jenkins jenkins 10087 May 19 04:01 Attribution.txt [2023-05-19T04:03:27.042Z] -rw-rw-r-- 1 jenkins jenkins 6312 May 19 04:01 CHANGELOG.md [2023-05-19T04:03:27.042Z] -rw-rw-r-- 1 jenkins jenkins 1574 May 19 04:01 Dockerfile [2023-05-19T04:03:27.042Z] -rw-rw-r-- 1 jenkins jenkins 677 May 19 04:01 GOVERNANCE.md [2023-05-19T04:03:27.042Z] -rw-rw-r-- 1 jenkins jenkins 739 May 19 04:01 Jenkinsfile [2023-05-19T04:03:27.042Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 19 04:01 LICENSE [2023-05-19T04:03:27.042Z] -rw-rw-r-- 1 jenkins jenkins 2751 May 19 04:01 Makefile [2023-05-19T04:03:27.042Z] -rw-rw-r-- 1 jenkins jenkins 625 May 19 04:01 OWNERS.md [2023-05-19T04:03:27.042Z] -rw-rw-r-- 1 jenkins jenkins 2690 May 19 04:01 README.md [2023-05-19T04:03:27.042Z] -rw-rw-r-- 1 jenkins jenkins 5 May 19 04:01 VERSION [2023-05-19T04:03:27.042Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 04:01 bin [2023-05-19T04:03:27.042Z] drwxrwxr-x 3 jenkins jenkins 4096 May 19 04:01 cmd [2023-05-19T04:03:27.042Z] -rw-r--r-- 1 jenkins jenkins 78459 May 19 04:03 coverage.out [2023-05-19T04:03:27.042Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 04:01 doc [2023-05-19T04:03:27.042Z] -rw-rw-r-- 1 jenkins jenkins 3642 May 19 04:01 go.mod [2023-05-19T04:03:27.042Z] -rw-rw-r-- 1 jenkins jenkins 33581 May 19 04:01 go.sum [2023-05-19T04:03:27.042Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 04:01 internal [2023-05-19T04:03:27.042Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 04:01 snap [2023-05-19T04:03:27.042Z] -rw-rw-r-- 1 jenkins jenkins 236 May 19 04:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T04:03:27.435Z] + 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=e00b73cb7b36802fa4276b7336d4752e35e50510 --label arch=amd64 --label version=0.0.0 . [2023-05-19T04:03:27.435Z] Sending build context to Docker daemon 21.99MB [2023-05-19T04:03:27.435Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-05-19T04:03:27.435Z] Step 2/26 : FROM ${BASE} AS builder [2023-05-19T04:03:27.435Z] ---> f78c2a47ce99 [2023-05-19T04:03:27.435Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-05-19T04:03:28.014Z] ---> Running in 302725bcaa36 [2023-05-19T04:03:28.014Z] Removing intermediate container 302725bcaa36 [2023-05-19T04:03:28.014Z] ---> af982175ccee [2023-05-19T04:03:28.014Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-19T04:03:28.014Z] ---> Running in e98868dab55b [2023-05-19T04:03:28.014Z] Removing intermediate container e98868dab55b [2023-05-19T04:03:28.014Z] ---> 728dece54158 [2023-05-19T04:03:28.014Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-05-19T04:03:28.014Z] ---> Running in ae996f594497 [2023-05-19T04:03:28.272Z] Removing intermediate container ae996f594497 [2023-05-19T04:03:28.272Z] ---> a7d16185ce57 [2023-05-19T04:03:28.272Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-05-19T04:03:28.272Z] ---> Running in 289cab1a9bde [2023-05-19T04:03:28.272Z] Removing intermediate container 289cab1a9bde [2023-05-19T04:03:28.272Z] ---> 666ba5095990 [2023-05-19T04:03:28.273Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-05-19T04:03:28.273Z] ---> Running in 0dcbca3a5eff [2023-05-19T04:03:28.534Z] Removing intermediate container 0dcbca3a5eff [2023-05-19T04:03:28.534Z] ---> 9939509feceb [2023-05-19T04:03:28.534Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-19T04:03:28.534Z] ---> Running in 1fffef8e8b4d [2023-05-19T04:03:28.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-19T04:03:28.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-19T04:03:29.051Z] OK: 265 MiB in 53 packages [2023-05-19T04:03:29.310Z] Removing intermediate container 1fffef8e8b4d [2023-05-19T04:03:29.310Z] ---> e4dca8269f7a [2023-05-19T04:03:29.310Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-05-19T04:03:29.310Z] ---> Running in 333eb1e32d15 [2023-05-19T04:03:29.310Z] Removing intermediate container 333eb1e32d15 [2023-05-19T04:03:29.310Z] ---> 80f7d696db06 [2023-05-19T04:03:29.310Z] Step 10/26 : COPY go.mod vendor* ./ [2023-05-19T04:03:29.569Z] ---> e43570406d39 [2023-05-19T04:03:29.569Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-19T04:03:29.569Z] ---> Running in 04fadcf6da93 [2023-05-19T04:03:30.502Z] Removing intermediate container 04fadcf6da93 [2023-05-19T04:03:30.503Z] ---> 0af11286c310 [2023-05-19T04:03:30.503Z] Step 12/26 : COPY . . [2023-05-19T04:03:31.076Z] ---> 1bfa384382ab [2023-05-19T04:03:31.076Z] Step 13/26 : RUN ${MAKE} [2023-05-19T04:03:31.076Z] ---> Running in 22aa9430ee51 [2023-05-19T04:03:31.645Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-05-19T04:03:33.090Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16077 in /w/workspace/undry_device-onvif-camera_PR-367 [Pipeline] { [Pipeline] ws [2023-05-19T04:03:33.149Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-05-19T04:03:33.238Z] The recommended git tool is: git [2023-05-19T04:03:38.745Z] using credential edgex-jenkins-ssh [2023-05-19T04:03:38.761Z] Cloning the remote Git repository [2023-05-19T04:03:38.807Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-19T04:03:38.939Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-05-19T04:03:39.091Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-19T04:03:39.093Z] > git --version # timeout=10 [2023-05-19T04:03:39.114Z] > git --version # 'git version 2.25.1' [2023-05-19T04:03:39.117Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-19T04:03:39.271Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-19T04:03:40.797Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-05-19T04:03:40.818Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-19T04:03:41.719Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-05-19T04:03:41.759Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-19T04:03:41.760Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-19T04:03:41.776Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/367/head:refs/remotes/origin/PR-367 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-19T04:03:42.337Z] Merging remotes/origin/main commit 4c3943abb5596eefa9af9b661fb4a90371d27683 into PR head commit e00b73cb7b36802fa4276b7336d4752e35e50510 [2023-05-19T04:03:42.719Z] Merge succeeded, producing e00b73cb7b36802fa4276b7336d4752e35e50510 [2023-05-19T04:03:42.719Z] Checking out Revision e00b73cb7b36802fa4276b7336d4752e35e50510 (PR-367) [2023-05-19T04:03:43.366Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3" [2023-05-19T04:03:43.415Z] > git --version # timeout=10 [2023-05-19T04:03:43.427Z] > git --version # 'git version 2.25.1' [2023-05-19T04:03:43.444Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-19T04:03:42.355Z] > git config core.sparsecheckout # timeout=10 [2023-05-19T04:03:42.434Z] > git checkout -f e00b73cb7b36802fa4276b7336d4752e35e50510 # timeout=10 [2023-05-19T04:03:42.614Z] > git remote # timeout=10 [2023-05-19T04:03:42.636Z] > git config --get remote.origin.url # timeout=10 [2023-05-19T04:03:42.664Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-19T04:03:42.678Z] > git merge 4c3943abb5596eefa9af9b661fb4a90371d27683 # timeout=10 [2023-05-19T04:03:42.703Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-19T04:03:42.727Z] > git config core.sparsecheckout # timeout=10 [2023-05-19T04:03:42.748Z] > git checkout -f e00b73cb7b36802fa4276b7336d4752e35e50510 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-19T04:03:44.657Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-19T04:03:44.657Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-19T04:03:44.657Z] Dload Upload Total Spent Left Speed [2023-05-19T04:03:44.657Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh [2023-05-19T04:03:45.305Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-19T04:03:45.663Z] + sudo tee /etc/docker/daemon.new [2023-05-19T04:03:45.663Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-19T04:03:45.663Z] { [2023-05-19T04:03:45.663Z] "registry-mirrors": [ [2023-05-19T04:03:45.663Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-19T04:03:45.663Z] ], [2023-05-19T04:03:45.663Z] "bip": "10.250.0.254/24", [2023-05-19T04:03:45.663Z] "hosts": [ [2023-05-19T04:03:45.663Z] "tcp://0.0.0.0:5555", [2023-05-19T04:03:45.663Z] "unix:///var/run/docker.sock" [2023-05-19T04:03:45.663Z] ], [2023-05-19T04:03:45.663Z] "mtu": 1458, [2023-05-19T04:03:45.663Z] "selinux-enabled": true, [2023-05-19T04:03:45.663Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-19T04:03:45.663Z] } [Pipeline] sh [2023-05-19T04:03:46.010Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-19T04:03:46.370Z] + sudo service docker restart [2023-05-19T04:03:53.631Z] Removing intermediate container 22aa9430ee51 [2023-05-19T04:03:53.631Z] ---> 5b7b0be6291d [2023-05-19T04:03:53.631Z] Step 14/26 : FROM alpine:3.17 [2023-05-19T04:03:54.569Z] 3.17: Pulling from library/alpine [2023-05-19T04:03:54.569Z] f56be85fc22e: Already exists [2023-05-19T04:03:54.829Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-19T04:03:54.829Z] Status: Downloaded newer image for alpine:3.17 [2023-05-19T04:03:54.829Z] ---> 9ed4aefc74f6 [2023-05-19T04:03:54.829Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-19T04:03:54.829Z] ---> Running in 800c3952cba8 [2023-05-19T04:03:54.829Z] Removing intermediate container 800c3952cba8 [2023-05-19T04:03:54.829Z] ---> 12475d920648 [2023-05-19T04:03:54.829Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-05-19T04:03:54.829Z] ---> Running in 50f7c4500497 [2023-05-19T04:03:55.089Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-19T04:03:55.353Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-19T04:03:55.621Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-19T04:03:55.621Z] Executing busybox-1.35.0-r29.trigger [2023-05-19T04:03:55.621Z] OK: 7 MiB in 16 packages [2023-05-19T04:03:55.880Z] Removing intermediate container 50f7c4500497 [2023-05-19T04:03:55.880Z] ---> e985a90711e3 [2023-05-19T04:03:55.880Z] Step 17/26 : WORKDIR / [2023-05-19T04:03:55.880Z] ---> Running in ae426e47de10 [2023-05-19T04:03:55.880Z] Removing intermediate container ae426e47de10 [2023-05-19T04:03:55.880Z] ---> cb5e056cd03b [2023-05-19T04:03:55.880Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-05-19T04:03:56.817Z] ---> a5c822fd3636 [2023-05-19T04:03:56.817Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-05-19T04:03:56.817Z] ---> aa23176d1345 [2023-05-19T04:03:56.817Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-05-19T04:03:57.078Z] ---> 761f42fd9a0b [2023-05-19T04:03:57.078Z] Step 21/26 : EXPOSE 59984 [2023-05-19T04:03:57.078Z] ---> Running in 34c22fcdb3c0 [2023-05-19T04:03:57.078Z] Removing intermediate container 34c22fcdb3c0 [2023-05-19T04:03:57.078Z] ---> dd416b755963 [2023-05-19T04:03:57.078Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-05-19T04:03:57.078Z] ---> Running in 9b91c26302e1 [2023-05-19T04:03:57.078Z] Removing intermediate container 9b91c26302e1 [2023-05-19T04:03:57.078Z] ---> 9689435c094f [2023-05-19T04:03:57.078Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-19T04:03:57.078Z] ---> Running in d90fd48ca55a [2023-05-19T04:03:57.337Z] Removing intermediate container d90fd48ca55a [2023-05-19T04:03:57.337Z] ---> 0c79f37a5b69 [2023-05-19T04:03:57.337Z] Step 24/26 : LABEL arch=amd64 [2023-05-19T04:03:57.337Z] ---> Running in 949ac6970a2d [2023-05-19T04:03:57.337Z] Removing intermediate container 949ac6970a2d [2023-05-19T04:03:57.337Z] ---> fddcc8d8430f [2023-05-19T04:03:57.337Z] Step 25/26 : LABEL git_sha=e00b73cb7b36802fa4276b7336d4752e35e50510 [2023-05-19T04:03:57.337Z] ---> Running in c1a27b409267 [2023-05-19T04:03:57.597Z] Removing intermediate container c1a27b409267 [2023-05-19T04:03:57.597Z] ---> 06ceebc88307 [2023-05-19T04:03:57.597Z] Step 26/26 : LABEL version=0.0.0 [2023-05-19T04:03:57.597Z] ---> Running in 8183451e97f6 [2023-05-19T04:03:57.597Z] Removing intermediate container 8183451e97f6 [2023-05-19T04:03:57.597Z] ---> 8e1403119025 [2023-05-19T04:03:57.597Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-19T04:03:57.597Z] Successfully built 8e1403119025 [2023-05-19T04:03:57.597Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T04:03:58.499Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-19T04:03:58.499Z] [2023-05-19T04:03:58.499Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T04:03:58.879Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-19T04:03:58.879Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-19T04:03:58.879Z] 5eb5b503b376: Pulling fs layer [2023-05-19T04:03:58.879Z] 5c69ac0246d0: Pulling fs layer [2023-05-19T04:03:58.879Z] ec43610c2a17: Pulling fs layer [2023-05-19T04:03:58.879Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-19T04:03:58.879Z] 33b1e0a273af: Pulling fs layer [2023-05-19T04:03:58.879Z] 5d3b04190fa2: Pulling fs layer [2023-05-19T04:03:58.879Z] 2f39f015ded8: Pulling fs layer [2023-05-19T04:03:58.879Z] 3a2ae6a8a46f: Waiting [2023-05-19T04:03:58.879Z] 33b1e0a273af: Waiting [2023-05-19T04:03:58.879Z] 5d3b04190fa2: Waiting [2023-05-19T04:03:58.879Z] 2f39f015ded8: Waiting [2023-05-19T04:03:58.879Z] 5c69ac0246d0: Download complete [2023-05-19T04:03:58.879Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-19T04:03:58.879Z] 3a2ae6a8a46f: Download complete [2023-05-19T04:03:59.138Z] 33b1e0a273af: Verifying Checksum [2023-05-19T04:03:59.138Z] 33b1e0a273af: Download complete [2023-05-19T04:03:59.138Z] ec43610c2a17: Verifying Checksum [2023-05-19T04:03:59.138Z] ec43610c2a17: Download complete [2023-05-19T04:03:59.138Z] 5d3b04190fa2: Download complete [2023-05-19T04:03:59.138Z] 5eb5b503b376: Verifying Checksum [2023-05-19T04:03:59.138Z] 5eb5b503b376: Download complete [2023-05-19T04:03:59.704Z] 2f39f015ded8: Download complete [2023-05-19T04:04:00.270Z] 5eb5b503b376: Pull complete [2023-05-19T04:04:00.528Z] 5c69ac0246d0: Pull complete [2023-05-19T04:04:00.787Z] ec43610c2a17: Pull complete [2023-05-19T04:04:01.046Z] 3a2ae6a8a46f: Pull complete [2023-05-19T04:04:01.046Z] 33b1e0a273af: Pull complete [2023-05-19T04:04:01.304Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-19T04:04:04.708Z] provisioning config files... [2023-05-19T04:04:04.739Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config636475557591336145tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-19T04:04:05.131Z] ---> docker-login.sh [2023-05-19T04:04:05.131Z] nexus3.edgexfoundry.org:10001 [2023-05-19T04:04:05.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T04:04:05.491Z] 2f39f015ded8: Pull complete [2023-05-19T04:04:05.491Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-19T04:04:05.491Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-19T04:04:05.491Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [2023-05-19T04:04:05.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T04:04:05.670Z] Configure a credential helper to remove this warning. See [2023-05-19T04:04:05.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T04:04:05.670Z] [2023-05-19T04:04:05.670Z] Login Succeeded [2023-05-19T04:04:05.670Z] nexus3.edgexfoundry.org:10002 [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-19T04:04:05.814Z] prd-ubuntu20.04-docker-8c-8g-16076 does not seem to be running inside a container [2023-05-19T04:04:05.841Z] $ 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-367 -v /w/workspace/undry_device-onvif-camera_PR-367:/w/workspace/undry_device-onvif-camera_PR-367:rw,z -v /w/workspace/undry_device-onvif-camera_PR-367@tmp:/w/workspace/undry_device-onvif-camera_PR-367@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-19T04:04:05.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T04:04:05.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T04:04:05.942Z] Configure a credential helper to remove this warning. See [2023-05-19T04:04:05.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T04:04:05.942Z] [2023-05-19T04:04:05.942Z] Login Succeeded [2023-05-19T04:04:06.212Z] nexus3.edgexfoundry.org:10003 [2023-05-19T04:04:06.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T04:04:06.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T04:04:06.482Z] Configure a credential helper to remove this warning. See [2023-05-19T04:04:06.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T04:04:06.482Z] [2023-05-19T04:04:06.482Z] Login Succeeded [2023-05-19T04:04:06.482Z] nexus3.edgexfoundry.org:10004 [2023-05-19T04:04:06.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T04:04:06.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T04:04:06.762Z] Configure a credential helper to remove this warning. See [2023-05-19T04:04:06.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T04:04:06.762Z] [2023-05-19T04:04:06.762Z] Login Succeeded [2023-05-19T04:04:06.762Z] docker.io [2023-05-19T04:04:07.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T04:04:07.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T04:04:07.300Z] Configure a credential helper to remove this warning. See [2023-05-19T04:04:07.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T04:04:07.300Z] [2023-05-19T04:04:07.300Z] Login Succeeded [2023-05-19T04:04:07.300Z] ---> docker-login.sh ends [2023-05-19T04:04:09.115Z] $ docker top 7f9c0c3f4fe9deda133e777b7a1b8d35bbb79adda90fa4b2127969ee6bbc3fba -eo pid,comm [Pipeline] { [Pipeline] } [2023-05-19T04:04:09.338Z] Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-05-19T04:04:09.738Z] ---> job-cost.sh [2023-05-19T04:04:09.738Z] lf-activate-venv: SKIPPING [2023-05-19T04:04:09.738Z] INFO: No Stack... [Pipeline] echo [2023-05-19T04:04:09.912Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-19T04:04:09.945Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-19T04:04:09.979Z] ========================================================= [2023-05-19T04:04:09.979Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-19T04:04:09.979Z] ========================================================= [Pipeline] fileExists [2023-05-19T04:04:09.998Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T04:04:10.508Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-19T04:04:10.567Z] INFO: Archiving Costs [Pipeline] sh [2023-05-19T04:04:10.880Z] + cat /w/workspace/undry_device-onvif-camera_PR-367/archives/cost.csv [2023-05-19T04:04:10.881Z] + cut -d, -f6 [Pipeline] lock [2023-05-19T04:04:10.925Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-367-1-stack-cost] [2023-05-19T04:04:10.930Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-367-1-stack-cost] did not exist. Created. [2023-05-19T04:04:10.930Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-367-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-19T04:04:11.117Z] Sending build context to Docker daemon 14.37MB [2023-05-19T04:04:11.117Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-19T04:04:11.117Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-19T04:04:11.117Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-19T04:04:11.117Z] c41833b44d91: Pulling fs layer [2023-05-19T04:04:11.117Z] ed15518f5707: Pulling fs layer [2023-05-19T04:04:11.117Z] feae8fd75edb: Pulling fs layer [2023-05-19T04:04:11.117Z] 242c74f7c9fa: Pulling fs layer [2023-05-19T04:04:11.117Z] 3cdef696dda3: Pulling fs layer [2023-05-19T04:04:11.117Z] 2ced38df9373: Pulling fs layer [2023-05-19T04:04:11.118Z] 58f1dce35555: Pulling fs layer [2023-05-19T04:04:11.118Z] 3cdef696dda3: Waiting [2023-05-19T04:04:11.118Z] 2ced38df9373: Waiting [2023-05-19T04:04:11.118Z] 58f1dce35555: Waiting [2023-05-19T04:04:11.118Z] 242c74f7c9fa: Waiting [2023-05-19T04:04:11.118Z] ed15518f5707: Download complete [2023-05-19T04:04:11.335Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-19T04:04:11.387Z] Stashed 1 file(s) [2023-05-19T04:04:11.390Z] 242c74f7c9fa: Verifying Checksum [2023-05-19T04:04:11.390Z] 242c74f7c9fa: Download complete [2023-05-19T04:04:11.390Z] 3cdef696dda3: Verifying Checksum [2023-05-19T04:04:11.390Z] 3cdef696dda3: Download complete [2023-05-19T04:04:11.390Z] c41833b44d91: Verifying Checksum [2023-05-19T04:04:11.390Z] c41833b44d91: Download complete [Pipeline] } [2023-05-19T04:04:11.434Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-367-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-19T04:04:11.525Z] $ docker stop --time=1 7f9c0c3f4fe9deda133e777b7a1b8d35bbb79adda90fa4b2127969ee6bbc3fba [2023-05-19T04:04:12.356Z] c41833b44d91: Pull complete [2023-05-19T04:04:12.626Z] 58f1dce35555: Verifying Checksum [2023-05-19T04:04:12.626Z] 58f1dce35555: Download complete [2023-05-19T04:04:12.674Z] $ docker rm -f --volumes 7f9c0c3f4fe9deda133e777b7a1b8d35bbb79adda90fa4b2127969ee6bbc3fba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2023-05-19T04:04:12.895Z] ed15518f5707: Pull complete [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-19T04:04:13.861Z] feae8fd75edb: Verifying Checksum [2023-05-19T04:04:13.861Z] feae8fd75edb: Download complete [2023-05-19T04:04:13.861Z] 2ced38df9373: Verifying Checksum [2023-05-19T04:04:13.861Z] 2ced38df9373: Download complete [2023-05-19T04:04:26.198Z] feae8fd75edb: Pull complete [2023-05-19T04:04:26.198Z] 242c74f7c9fa: Pull complete [2023-05-19T04:04:26.198Z] 3cdef696dda3: Pull complete [2023-05-19T04:04:31.562Z] 2ced38df9373: Pull complete [2023-05-19T04:04:34.170Z] 58f1dce35555: Pull complete [2023-05-19T04:04:34.170Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-19T04:04:34.170Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-19T04:04:34.170Z] ---> fadd8f120f05 [2023-05-19T04:04:34.170Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-19T04:04:36.139Z] ---> Running in 7d778d5101b0 [2023-05-19T04:04:36.408Z] Removing intermediate container 7d778d5101b0 [2023-05-19T04:04:36.408Z] ---> 7bd7ed3332e6 [2023-05-19T04:04:36.408Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-19T04:04:36.408Z] ---> Running in 9722796427a1 [2023-05-19T04:04:36.677Z] Removing intermediate container 9722796427a1 [2023-05-19T04:04:36.677Z] ---> 224319a24f03 [2023-05-19T04:04:36.677Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-05-19T04:04:36.677Z] ---> Running in 1a1c2f8c9f3e [2023-05-19T04:04:36.946Z] Removing intermediate container 1a1c2f8c9f3e [2023-05-19T04:04:36.946Z] ---> 82e18d7b0a38 [2023-05-19T04:04:36.946Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-05-19T04:04:37.213Z] ---> Running in e6bb032a27fe [2023-05-19T04:04:37.481Z] Removing intermediate container e6bb032a27fe [2023-05-19T04:04:37.481Z] ---> 68b67c89ba3b [2023-05-19T04:04:37.481Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-05-19T04:04:37.482Z] ---> Running in 35523d3a9ef6 [2023-05-19T04:04:37.750Z] Removing intermediate container 35523d3a9ef6 [2023-05-19T04:04:37.750Z] ---> 424f3314f84c [2023-05-19T04:04:37.750Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-19T04:04:38.022Z] ---> Running in 6c99dc69145c [2023-05-19T04:04:38.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-19T04:04:39.582Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-19T04:04:40.546Z] OK: 263 MiB in 53 packages [2023-05-19T04:04:43.903Z] Removing intermediate container 6c99dc69145c [2023-05-19T04:04:43.903Z] ---> 82e2e670cf72 [2023-05-19T04:04:43.903Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-05-19T04:04:43.903Z] ---> Running in 62937fc7ab43 [2023-05-19T04:04:44.170Z] Removing intermediate container 62937fc7ab43 [2023-05-19T04:04:44.170Z] ---> cc296cb5014b [2023-05-19T04:04:44.170Z] Step 10/13 : COPY go.mod vendor* ./ [2023-05-19T04:04:44.755Z] ---> 5e8505b195b8 [2023-05-19T04:04:44.755Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-19T04:04:44.755Z] ---> Running in 8575a27e3f8c [2023-05-19T04:05:52.690Z] Removing intermediate container 8575a27e3f8c [2023-05-19T04:05:52.690Z] ---> 3e5b2b20a9c5 [2023-05-19T04:05:52.690Z] Step 12/13 : COPY . . [2023-05-19T04:05:52.690Z] ---> c267e03c58a6 [2023-05-19T04:05:52.690Z] Step 13/13 : RUN ${MAKE} [2023-05-19T04:05:52.690Z] ---> Running in cd096e3379e0 [2023-05-19T04:05:52.690Z] noop [2023-05-19T04:05:52.690Z] Removing intermediate container cd096e3379e0 [2023-05-19T04:05:52.690Z] ---> 256a19ca5aef [2023-05-19T04:05:52.690Z] Successfully built 256a19ca5aef [2023-05-19T04:05:52.690Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T04:05:53.156Z] + docker inspect -f . ci-base-image-arm64 [2023-05-19T04:05:53.156Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-19T04:05:53.438Z] prd-ubuntu20.04-docker-arm64-4c-16g-16077 does not seem to be running inside a container [2023-05-19T04:05:53.503Z] $ 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 ******** ci-base-image-arm64 cat [2023-05-19T04:05:54.705Z] $ docker top 0f5151e3ceb62c6b677c7d458dcb71c4746b5a691318194e3e45241b3fb95616 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-19T04:05:55.593Z] + go version [2023-05-19T04:05:55.594Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-19T04:05:55.627Z] $ docker stop --time=1 0f5151e3ceb62c6b677c7d458dcb71c4746b5a691318194e3e45241b3fb95616 [2023-05-19T04:05:57.263Z] $ docker rm -f --volumes 0f5151e3ceb62c6b677c7d458dcb71c4746b5a691318194e3e45241b3fb95616 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T04:05:58.103Z] + docker inspect -f . ci-base-image-arm64 [2023-05-19T04:05:58.103Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-19T04:05:58.366Z] prd-ubuntu20.04-docker-arm64-4c-16g-16077 does not seem to be running inside a container [2023-05-19T04:05:58.426Z] $ 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 ******** ci-base-image-arm64 cat [2023-05-19T04:05:59.573Z] $ docker top 00404425a2dfa7e21f9d33da08f7d49281556f86bc1b2baf7d2920e3faaed355 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-19T04:06:00.135Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-05-19T04:06:00.802Z] + make test [2023-05-19T04:06:00.802Z] go test ./... -coverprofile=coverage.out ./... [2023-05-19T04:06:33.044Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-05-19T04:08:39.729Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-05-19T04:08:39.729Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-05-19T04:08:39.729Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.169s coverage: 31.4% of statements [2023-05-19T04:08:52.027Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 15.538s coverage: 86.5% of statements [2023-05-19T04:08:52.027Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-19T04:08:52.027Z] go vet ./... [2023-05-19T04:09:18.730Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-19T04:09:18.730Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-19T04:09:18.730Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-19T04:09:18.771Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-19T04:09:18.802Z] $ docker stop --time=1 00404425a2dfa7e21f9d33da08f7d49281556f86bc1b2baf7d2920e3faaed355 [2023-05-19T04:09:22.543Z] $ docker rm -f --volumes 00404425a2dfa7e21f9d33da08f7d49281556f86bc1b2baf7d2920e3faaed355 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-19T04:09:23.795Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-19T04:09:23.829Z] Warning: overwriting stash ‘coverage-report’ [2023-05-19T04:09:24.341Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-19T04:09:24.948Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-19T04:09:25.285Z] + ls -al . [2023-05-19T04:09:25.285Z] total 228 [2023-05-19T04:09:25.285Z] drwxrwxr-x 9 jenkins jenkins 4096 May 19 04:06 . [2023-05-19T04:09:25.285Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 04:03 .. [2023-05-19T04:09:25.285Z] drwxrwxr-x 8 jenkins jenkins 4096 May 19 04:03 .git [2023-05-19T04:09:25.285Z] drwxrwxr-x 3 jenkins jenkins 4096 May 19 04:03 .github [2023-05-19T04:09:25.285Z] -rw-rw-r-- 1 jenkins jenkins 496 May 19 04:03 .gitignore [2023-05-19T04:09:25.285Z] -rw-rw-r-- 1 jenkins jenkins 42 May 19 04:03 .golangci.yml [2023-05-19T04:09:25.285Z] -rw-rw-r-- 1 jenkins jenkins 10087 May 19 04:03 Attribution.txt [2023-05-19T04:09:25.285Z] -rw-rw-r-- 1 jenkins jenkins 6312 May 19 04:03 CHANGELOG.md [2023-05-19T04:09:25.285Z] -rw-rw-r-- 1 jenkins jenkins 1574 May 19 04:03 Dockerfile [2023-05-19T04:09:25.285Z] -rw-rw-r-- 1 jenkins jenkins 677 May 19 04:03 GOVERNANCE.md [2023-05-19T04:09:25.285Z] -rw-rw-r-- 1 jenkins jenkins 739 May 19 04:03 Jenkinsfile [2023-05-19T04:09:25.285Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 19 04:03 LICENSE [2023-05-19T04:09:25.285Z] -rw-rw-r-- 1 jenkins jenkins 2751 May 19 04:03 Makefile [2023-05-19T04:09:25.285Z] -rw-rw-r-- 1 jenkins jenkins 625 May 19 04:03 OWNERS.md [2023-05-19T04:09:25.286Z] -rw-rw-r-- 1 jenkins jenkins 2690 May 19 04:03 README.md [2023-05-19T04:09:25.286Z] -rw-rw-r-- 1 jenkins jenkins 5 May 19 04:01 VERSION [2023-05-19T04:09:25.286Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 04:03 bin [2023-05-19T04:09:25.286Z] drwxrwxr-x 3 jenkins jenkins 4096 May 19 04:03 cmd [2023-05-19T04:09:25.286Z] -rw-r--r-- 1 jenkins jenkins 78459 May 19 04:08 coverage.out [2023-05-19T04:09:25.286Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 04:03 doc [2023-05-19T04:09:25.286Z] -rw-rw-r-- 1 jenkins jenkins 3642 May 19 04:03 go.mod [2023-05-19T04:09:25.286Z] -rw-rw-r-- 1 jenkins jenkins 33581 May 19 04:03 go.sum [2023-05-19T04:09:25.286Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 04:03 internal [2023-05-19T04:09:25.286Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 04:03 snap [2023-05-19T04:09:25.286Z] -rw-rw-r-- 1 jenkins jenkins 236 May 19 04:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T04:09:25.710Z] + 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=e00b73cb7b36802fa4276b7336d4752e35e50510 --label arch=arm64 --label version=0.0.0 . [2023-05-19T04:09:26.296Z] Sending build context to Docker daemon 14.45MB [2023-05-19T04:09:26.296Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-05-19T04:09:26.296Z] Step 2/26 : FROM ${BASE} AS builder [2023-05-19T04:09:26.296Z] ---> 256a19ca5aef [2023-05-19T04:09:26.296Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-05-19T04:09:26.296Z] ---> Running in 3a3108eb9c18 [2023-05-19T04:09:26.563Z] Removing intermediate container 3a3108eb9c18 [2023-05-19T04:09:26.563Z] ---> c667c0641517 [2023-05-19T04:09:26.563Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-19T04:09:26.830Z] ---> Running in 7aa241d4f755 [2023-05-19T04:09:27.099Z] Removing intermediate container 7aa241d4f755 [2023-05-19T04:09:27.099Z] ---> 7916190a2447 [2023-05-19T04:09:27.099Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-05-19T04:09:27.099Z] ---> Running in d05fe8e00b3d [2023-05-19T04:09:27.368Z] Removing intermediate container d05fe8e00b3d [2023-05-19T04:09:27.368Z] ---> 911d961521d7 [2023-05-19T04:09:27.368Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-05-19T04:09:27.368Z] ---> Running in e363efc17329 [2023-05-19T04:09:27.642Z] Removing intermediate container e363efc17329 [2023-05-19T04:09:27.642Z] ---> 1fdf0e5b827c [2023-05-19T04:09:27.642Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-05-19T04:09:27.913Z] ---> Running in d84b655fbb18 [2023-05-19T04:09:28.181Z] Removing intermediate container d84b655fbb18 [2023-05-19T04:09:28.181Z] ---> f56d2df81b04 [2023-05-19T04:09:28.181Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-19T04:09:28.181Z] ---> Running in b998aaf957a6 [2023-05-19T04:09:29.144Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-19T04:09:29.729Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-19T04:09:30.694Z] OK: 263 MiB in 53 packages [2023-05-19T04:09:31.658Z] Removing intermediate container b998aaf957a6 [2023-05-19T04:09:31.658Z] ---> c90db5a98ffa [2023-05-19T04:09:31.658Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-05-19T04:09:31.658Z] ---> Running in c46bde3c9238 [2023-05-19T04:09:31.928Z] Removing intermediate container c46bde3c9238 [2023-05-19T04:09:31.929Z] ---> 47b856412e6c [2023-05-19T04:09:31.929Z] Step 10/26 : COPY go.mod vendor* ./ [2023-05-19T04:09:32.515Z] ---> 1bd728801f28 [2023-05-19T04:09:32.515Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-19T04:09:32.515Z] ---> Running in e22fdbd972f9 [2023-05-19T04:09:37.859Z] Removing intermediate container e22fdbd972f9 [2023-05-19T04:09:37.860Z] ---> de60c6db0084 [2023-05-19T04:09:37.860Z] Step 12/26 : COPY . . [2023-05-19T04:09:38.445Z] ---> 961769a52b84 [2023-05-19T04:09:38.445Z] Step 13/26 : RUN ${MAKE} [2023-05-19T04:09:38.445Z] ---> Running in 76cab67c8a24 [2023-05-19T04:09:39.404Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-05-19T04:12:01.106Z] Removing intermediate container 76cab67c8a24 [2023-05-19T04:12:01.106Z] ---> c2fbb2998e3c [2023-05-19T04:12:01.106Z] Step 14/26 : FROM alpine:3.17 [2023-05-19T04:12:01.106Z] 3.17: Pulling from library/alpine [2023-05-19T04:12:01.106Z] c41833b44d91: Already exists [2023-05-19T04:12:01.106Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-19T04:12:01.106Z] Status: Downloaded newer image for alpine:3.17 [2023-05-19T04:12:01.106Z] ---> 51e60588ff2c [2023-05-19T04:12:01.106Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-19T04:12:01.106Z] ---> Running in 982e4af9c256 [2023-05-19T04:12:01.106Z] Removing intermediate container 982e4af9c256 [2023-05-19T04:12:01.106Z] ---> e15c672f51d1 [2023-05-19T04:12:01.106Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-05-19T04:12:01.106Z] ---> Running in 8b4c7a49bfde [2023-05-19T04:12:01.106Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-19T04:12:01.106Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-19T04:12:01.106Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-19T04:12:01.106Z] Executing busybox-1.35.0-r29.trigger [2023-05-19T04:12:01.106Z] OK: 8 MiB in 16 packages [2023-05-19T04:12:01.106Z] Removing intermediate container 8b4c7a49bfde [2023-05-19T04:12:01.106Z] ---> c86ccee549d1 [2023-05-19T04:12:01.106Z] Step 17/26 : WORKDIR / [2023-05-19T04:12:01.106Z] ---> Running in 39ce251cb7bf [2023-05-19T04:12:01.106Z] Removing intermediate container 39ce251cb7bf [2023-05-19T04:12:01.106Z] ---> 00e136c517a2 [2023-05-19T04:12:01.106Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-05-19T04:12:01.106Z] ---> 9c806c1c52db [2023-05-19T04:12:01.106Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-05-19T04:12:01.106Z] ---> e793fa9b0202 [2023-05-19T04:12:01.106Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-05-19T04:12:01.106Z] ---> 249b9ae4fbb5 [2023-05-19T04:12:01.106Z] Step 21/26 : EXPOSE 59984 [2023-05-19T04:12:01.106Z] ---> Running in 5f8a65e1e489 [2023-05-19T04:12:01.106Z] Removing intermediate container 5f8a65e1e489 [2023-05-19T04:12:01.106Z] ---> 6d3737c69228 [2023-05-19T04:12:01.106Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-05-19T04:12:01.106Z] ---> Running in 077dbecf088f [2023-05-19T04:12:01.376Z] Removing intermediate container 077dbecf088f [2023-05-19T04:12:01.376Z] ---> c93ef3ed955d [2023-05-19T04:12:01.376Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-19T04:12:01.376Z] ---> Running in 63fe6e80f717 [2023-05-19T04:12:01.643Z] Removing intermediate container 63fe6e80f717 [2023-05-19T04:12:01.643Z] ---> c8db4445fd8a [2023-05-19T04:12:01.643Z] Step 24/26 : LABEL arch=arm64 [2023-05-19T04:12:01.643Z] ---> Running in 759aa7652830 [2023-05-19T04:12:01.925Z] Removing intermediate container 759aa7652830 [2023-05-19T04:12:01.925Z] ---> 816a143547da [2023-05-19T04:12:01.925Z] Step 25/26 : LABEL git_sha=e00b73cb7b36802fa4276b7336d4752e35e50510 [2023-05-19T04:12:02.191Z] ---> Running in 7b4a1f819129 [2023-05-19T04:12:02.458Z] Removing intermediate container 7b4a1f819129 [2023-05-19T04:12:02.458Z] ---> a18051dcb011 [2023-05-19T04:12:02.458Z] Step 26/26 : LABEL version=0.0.0 [2023-05-19T04:12:02.458Z] ---> Running in 8e9105e2b8cf [2023-05-19T04:12:02.724Z] Removing intermediate container 8e9105e2b8cf [2023-05-19T04:12:02.724Z] ---> edfca0da0aa1 [2023-05-19T04:12:02.724Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-19T04:12:02.724Z] Successfully built edfca0da0aa1 [2023-05-19T04:12:02.724Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T04:12:03.564Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-19T04:12:03.565Z] [2023-05-19T04:12:03.565Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T04:12:03.974Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-19T04:12:03.974Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-19T04:12:03.974Z] 8998bd30e6a1: Pulling fs layer [2023-05-19T04:12:03.974Z] 04944245beec: Pulling fs layer [2023-05-19T04:12:03.974Z] 699f458cf7ca: Pulling fs layer [2023-05-19T04:12:03.974Z] 765212b225bb: Pulling fs layer [2023-05-19T04:12:03.974Z] f23df028b6ca: Pulling fs layer [2023-05-19T04:12:03.974Z] d65c8cfc05b1: Pulling fs layer [2023-05-19T04:12:03.974Z] 2437ff75d9bd: Pulling fs layer [2023-05-19T04:12:03.974Z] 765212b225bb: Waiting [2023-05-19T04:12:03.974Z] f23df028b6ca: Waiting [2023-05-19T04:12:03.974Z] d65c8cfc05b1: Waiting [2023-05-19T04:12:03.974Z] 2437ff75d9bd: Waiting [2023-05-19T04:12:04.246Z] 04944245beec: Verifying Checksum [2023-05-19T04:12:04.246Z] 04944245beec: Download complete [2023-05-19T04:12:04.246Z] 765212b225bb: Verifying Checksum [2023-05-19T04:12:04.246Z] 765212b225bb: Download complete [2023-05-19T04:12:04.246Z] f23df028b6ca: Verifying Checksum [2023-05-19T04:12:04.246Z] f23df028b6ca: Download complete [2023-05-19T04:12:04.246Z] d65c8cfc05b1: Verifying Checksum [2023-05-19T04:12:04.246Z] d65c8cfc05b1: Download complete [2023-05-19T04:12:04.246Z] 699f458cf7ca: Verifying Checksum [2023-05-19T04:12:04.246Z] 699f458cf7ca: Download complete [2023-05-19T04:12:04.829Z] 8998bd30e6a1: Download complete [2023-05-19T04:12:06.774Z] 2437ff75d9bd: Verifying Checksum [2023-05-19T04:12:06.774Z] 2437ff75d9bd: Download complete [2023-05-19T04:12:08.785Z] 8998bd30e6a1: Pull complete [2023-05-19T04:12:09.062Z] 04944245beec: Pull complete [2023-05-19T04:12:10.522Z] 699f458cf7ca: Pull complete [2023-05-19T04:12:10.522Z] 765212b225bb: Pull complete [2023-05-19T04:12:11.517Z] f23df028b6ca: Pull complete [2023-05-19T04:12:11.517Z] d65c8cfc05b1: Pull complete [2023-05-19T04:12:23.843Z] 2437ff75d9bd: Pull complete [2023-05-19T04:12:23.843Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-19T04:12:23.843Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-19T04:12:23.843Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-19T04:12:24.146Z] prd-ubuntu20.04-docker-arm64-4c-16g-16077 does not seem to be running inside a container [2023-05-19T04:12:24.203Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-19T04:12:26.663Z] $ docker top 120cb6007407a5149fe4744145e94bc6609a14f61af4bafeaa3a9627993996e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-19T04:12:27.242Z] ---> job-cost.sh [2023-05-19T04:12:27.512Z] lf-activate-venv: SKIPPING [2023-05-19T04:12:27.512Z] INFO: No Stack... [2023-05-19T04:12:28.094Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-19T04:12:28.676Z] INFO: Archiving Costs [Pipeline] sh [2023-05-19T04:12:29.026Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv+ cut -d, -f6 [2023-05-19T04:12:29.026Z] [Pipeline] lock [2023-05-19T04:12:29.382Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-367-1-stack-cost] [2023-05-19T04:12:29.387Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-367-1-stack-cost] did not exist. Created. [2023-05-19T04:12:29.387Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-367-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-19T04:12:29.803Z] /w/workspace/device-onvif-camera/1@tmp/durable-60d2fa7a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-19T04:12:30.472Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-19T04:12:30.511Z] Warning: overwriting stash ‘stack-cost’ [2023-05-19T04:12:30.565Z] Stashed 1 file(s) [Pipeline] } [2023-05-19T04:12:30.580Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-367-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-19T04:12:30.758Z] $ docker stop --time=1 120cb6007407a5149fe4744145e94bc6609a14f61af4bafeaa3a9627993996e0 [2023-05-19T04:12:32.264Z] $ docker rm -f --volumes 120cb6007407a5149fe4744145e94bc6609a14f61af4bafeaa3a9627993996e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-05-19T04:12:33.292Z] provisioning config files... [2023-05-19T04:12:33.300Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-367@tmp/config17138983222715852813tmp [Pipeline] { [Pipeline] sh [2023-05-19T04:12:33.637Z] + set +x [2023-05-19T04:12:33.637Z] + bash -s -- [2023-05-19T04:12:33.637Z] + curl -s https://codecov.io/bash [2023-05-19T04:12:33.637Z] [2023-05-19T04:12:33.637Z] _____ _ [2023-05-19T04:12:33.637Z] / ____| | | [2023-05-19T04:12:33.637Z] | | ___ __| | ___ ___ _____ __ [2023-05-19T04:12:33.637Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-19T04:12:33.637Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-19T04:12:33.637Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-19T04:12:33.637Z] Bash-1.0.6 [2023-05-19T04:12:33.637Z] [2023-05-19T04:12:33.637Z] [2023-05-19T04:12:33.637Z] ==> git version 2.25.1 found [2023-05-19T04:12:33.637Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-05-19T04:12:33.637Z] Release-Date: 2020-01-08 [2023-05-19T04:12:33.637Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-05-19T04:12:33.637Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-19T04:12:33.637Z] ==> Jenkins CI detected. [2023-05-19T04:12:33.637Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-367 [2023-05-19T04:12:33.637Z] project root: . [2023-05-19T04:12:33.637Z] --> token set from env [2023-05-19T04:12:33.637Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-19T04:12:33.637Z] ==> Running gcov in . (disable via -X gcov) [2023-05-19T04:12:33.637Z] ==> Python coveragepy not found [2023-05-19T04:12:33.637Z] ==> Searching for coverage reports in: [2023-05-19T04:12:33.637Z] + . [2023-05-19T04:12:33.638Z] -> Found 1 reports [2023-05-19T04:12:33.638Z] ==> Detecting git/mercurial file structure [2023-05-19T04:12:33.638Z] ==> Reading reports [2023-05-19T04:12:33.898Z] + ./coverage.out bytes=78459 [2023-05-19T04:12:33.898Z] ==> Appending adjustments [2023-05-19T04:12:33.898Z] https://docs.codecov.io/docs/fixing-reports [2023-05-19T04:12:33.898Z] + Found adjustments [2023-05-19T04:12:33.898Z] ==> Gzipping contents [2023-05-19T04:12:33.898Z] 12K /tmp/codecov.lBN3e9.gz [2023-05-19T04:12:33.898Z] ==> Uploading reports [2023-05-19T04:12:33.898Z] url: https://codecov.io [2023-05-19T04:12:33.898Z] query: branch=PR-367&commit=e00b73cb7b36802fa4276b7336d4752e35e50510&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-367%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=367&job=&cmd_args= [2023-05-19T04:12:33.898Z] -> Pinging Codecov [2023-05-19T04:12:33.898Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-367&commit=e00b73cb7b36802fa4276b7336d4752e35e50510&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-367%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=367&job=&cmd_args= [2023-05-19T04:12:34.158Z] -> Uploading to [2023-05-19T04:12:34.158Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-19/F29A59C45E3A92E06B3E522C9905F8EF/e00b73cb7b36802fa4276b7336d4752e35e50510/1f2d33a2-acea-4ab4-8382-7c6cb187fef9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230519%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230519T041233Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c98cecb034a5cc2872a0d581ead31760dafaf41634bdb5e7be8e3e51cb506409 [2023-05-19T04:12:34.158Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-19T04:12:34.158Z] Dload Upload Total Spent Left Speed [2023-05-19T04:12:34.419Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 49331 --:--:-- --:--:-- --:--:-- 49331 [2023-05-19T04:12:34.419Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/e00b73cb7b36802fa4276b7336d4752e35e50510 [Pipeline] } [2023-05-19T04:12:34.449Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-05-19T04:12:36.185Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-367/archives ] [2023-05-19T04:12:36.185Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-367/archives [2023-05-19T04:12:36.185Z] total 16 [2023-05-19T04:12:36.185Z] drwxr-xr-x 3 root root 4096 May 19 04:04 . [2023-05-19T04:12:36.185Z] drwxrwxr-x 11 jenkins jenkins 4096 May 19 04:04 .. [2023-05-19T04:12:36.185Z] drwxr-xr-x 2 root root 4096 May 19 04:04 cost [2023-05-19T04:12:36.185Z] -rw-r--r-- 1 root root 91 May 19 04:04 cost.csv [2023-05-19T04:12:36.185Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-367/archives [2023-05-19T04:12:36.185Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-367/archives [2023-05-19T04:12:36.185Z] total 16 [2023-05-19T04:12:36.185Z] drwxr-xr-x 3 jenkins jenkins 4096 May 19 04:04 . [2023-05-19T04:12:36.185Z] drwxrwxr-x 11 jenkins jenkins 4096 May 19 04:04 .. [2023-05-19T04:12:36.185Z] drwxr-xr-x 2 jenkins jenkins 4096 May 19 04:04 cost [2023-05-19T04:12:36.185Z] -rw-r--r-- 1 jenkins jenkins 91 May 19 04:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-19T04:12:36.518Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-19T04:12:37.413Z] ---> package-listing.sh [2023-05-19T04:12:37.414Z] ++ facter osfamily [2023-05-19T04:12:37.414Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-19T04:12:37.674Z] + OS_FAMILY=debian [2023-05-19T04:12:37.674Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-367 [2023-05-19T04:12:37.674Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-19T04:12:37.674Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-19T04:12:37.674Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-19T04:12:37.674Z] + PACKAGES=/tmp/packages_start.txt [2023-05-19T04:12:37.674Z] + '[' /w/workspace/undry_device-onvif-camera_PR-367 ']' [2023-05-19T04:12:37.674Z] + PACKAGES=/tmp/packages_end.txt [2023-05-19T04:12:37.674Z] + case "${OS_FAMILY}" in [2023-05-19T04:12:37.674Z] + dpkg -l [2023-05-19T04:12:37.674Z] + grep '^ii' [2023-05-19T04:12:37.674Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-19T04:12:37.674Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-19T04:12:37.674Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-19T04:12:37.674Z] + '[' /w/workspace/undry_device-onvif-camera_PR-367 ']' [2023-05-19T04:12:37.674Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-367/archives/ [2023-05-19T04:12:37.674Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-367/archives/ [Pipeline] echo [2023-05-19T04:12:37.707Z] 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-367/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-19T04:12:37.999Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T04:12:38.627Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-19T04:12:38.627Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-19T04:12:38.765Z] prd-ubuntu20.04-docker-8c-8g-16076 does not seem to be running inside a container [2023-05-19T04:12:38.796Z] $ 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-367/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-367 -v /w/workspace/undry_device-onvif-camera_PR-367:/w/workspace/undry_device-onvif-camera_PR-367:rw,z -v /w/workspace/undry_device-onvif-camera_PR-367@tmp:/w/workspace/undry_device-onvif-camera_PR-367@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-19T04:12:38.982Z] $ docker top de7125e1d85bc8a4fb5cb645c13cb5b29329293e0d6d1cd2fc94ee8f8ef1ebae -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-19T04:12:39.378Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-19T04:12:39.688Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-19T04:12:40.022Z] + ls /var/log/sa-host [2023-05-19T04:12:40.022Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-19T04:12:40.237Z] provisioning config files... [2023-05-19T04:12:40.245Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-367@tmp/config10323116736196314739tmp [Pipeline] { [Pipeline] echo [2023-05-19T04:12:40.301Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-19T04:12:40.621Z] ---> create-netrc.sh [Pipeline] } [2023-05-19T04:12:40.651Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-19T04:12:41.065Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-19T04:12:41.101Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-19T04:12:41.415Z] ---> sudo-logs.sh [2023-05-19T04:12:41.415Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-19T04:12:41.502Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-19T04:12:41.813Z] ---> job-cost.sh [2023-05-19T04:12:41.813Z] lf-activate-venv: SKIPPING [2023-05-19T04:12:41.813Z] DEBUG: total: 0.2199999988079071 [2023-05-19T04:12:41.813Z] INFO: Retrieving Stack Cost... [2023-05-19T04:12:42.072Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-19T04:12:42.642Z] INFO: Archiving Costs [Pipeline] echo [2023-05-19T04:12:42.674Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-19T04:12:42.985Z] ---> logs-deploy.sh [2023-05-19T04:12:42.985Z] lf-activate-venv: SKIPPING [2023-05-19T04:12:42.985Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-367/1 [2023-05-19T04:12:42.985Z] INFO: archiving workspace using pattern(s): [2023-05-19T04:12:43.927Z] Archives upload complete. [2023-05-19T04:12:44.186Z] INFO: archiving logs to Nexus