Pull request #359 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 7c6b29b4f74c1924abd599cd10297b3464f260a3 rather than dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da Obtained Jenkinsfile from 7c6b29b4f74c1924abd599cd10297b3464f260a3 ‘Jenkinsfile’ has been modified in an untrusted revision 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-ssh17689304252596652826.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-ssh6704708932047963505.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-359/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-359/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7264183868795490498.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-359/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15392667369532514698.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-ssh9811415308682904293.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-359/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-359/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15118182063324254317.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/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15222 in /w/workspace/undry_device-onvif-camera_PR-359 [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-359 # 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 Merging remotes/origin/main commit 7c6b29b4f74c1924abd599cd10297b3464f260a3 into PR head commit dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da Merge succeeded, producing dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da Checking out Revision dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da (PR-359) > 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/359/head:refs/remotes/origin/PR-359 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da # 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 7c6b29b4f74c1924abd599cd10297b3464f260a3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da # timeout=10 Commit message: "docs: move openapi files to v3 folder" 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-11T17:38:56.145Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-11T17:38:56.310Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-11T17:38:56.410Z] ========================================================= [2023-05-11T17:38:56.410Z] EdgeX Global Pipelines Version Info [2023-05-11T17:38:56.410Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-11T17:38:57.155Z] ------------------- [2023-05-11T17:38:57.156Z] stable info: [2023-05-11T17:38:57.156Z] ------------------- [2023-05-11T17:38:57.156Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-11T17:38:57.156Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-11T17:38:57.156Z] Message: update stable to v1.0.249 [2023-05-11T17:38:57.727Z] ------------------- [2023-05-11T17:38:57.727Z] experimental info: [2023-05-11T17:38:57.727Z] ------------------- [2023-05-11T17:38:57.727Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-11T17:38:57.727Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-11T17:38:57.727Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-11T17:38:58.085Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-05-11T17:38:58.128Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-05-11T17:38:58.170Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-11T17:38:58.214Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-11T17:38:58.261Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-11T17:38:58.303Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-11T17:38:58.346Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-11T17:38:58.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-11T17:38:58.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-11T17:38:58.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-11T17:38:58.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-11T17:38:58.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-05-11T17:38:58.572Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-11T17:38:58.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-11T17:38:58.643Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-11T17:38:58.682Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-11T17:38:58.812Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-11T17:38:58.857Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-11T17:38:58.897Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-11T17:38:58.933Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-11T17:38:58.973Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-11T17:38:59.012Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-05-11T17:38:59.049Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-11T17:38:59.088Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-11T17:38:59.131Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-11T17:38:59.170Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-11T17:38:59.210Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-11T17:38:59.291Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-359 [Pipeline] echo [2023-05-11T17:38:59.331Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-359 [Pipeline] echo [2023-05-11T17:38:59.370Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-359 [Pipeline] echo [2023-05-11T17:38:59.408Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da [Pipeline] echo [2023-05-11T17:38:59.448Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dfb5e02 [Pipeline] echo [2023-05-11T17:38:59.486Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-11T17:38:59.598Z] provisioning config files... [2023-05-11T17:38:59.618Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-359@tmp/config4971033037631125587tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T17:38:59.969Z] ---> docker-login.sh [2023-05-11T17:38:59.969Z] nexus3.edgexfoundry.org:10001 [2023-05-11T17:39:00.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T17:39:00.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T17:39:00.230Z] Configure a credential helper to remove this warning. See [2023-05-11T17:39:00.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T17:39:00.230Z] [2023-05-11T17:39:00.230Z] Login Succeeded [2023-05-11T17:39:00.230Z] nexus3.edgexfoundry.org:10002 [2023-05-11T17:39:00.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T17:39:00.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T17:39:00.491Z] Configure a credential helper to remove this warning. See [2023-05-11T17:39:00.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T17:39:00.491Z] [2023-05-11T17:39:00.491Z] Login Succeeded [2023-05-11T17:39:00.491Z] nexus3.edgexfoundry.org:10003 [2023-05-11T17:39:00.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T17:39:00.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T17:39:00.491Z] Configure a credential helper to remove this warning. See [2023-05-11T17:39:00.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T17:39:00.491Z] [2023-05-11T17:39:00.491Z] Login Succeeded [2023-05-11T17:39:00.491Z] nexus3.edgexfoundry.org:10004 [2023-05-11T17:39:00.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T17:39:00.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T17:39:00.752Z] Configure a credential helper to remove this warning. See [2023-05-11T17:39:00.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T17:39:00.752Z] [2023-05-11T17:39:00.752Z] Login Succeeded [2023-05-11T17:39:00.752Z] docker.io [2023-05-11T17:39:00.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T17:39:01.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T17:39:01.012Z] Configure a credential helper to remove this warning. See [2023-05-11T17:39:01.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T17:39:01.012Z] [2023-05-11T17:39:01.012Z] Login Succeeded [2023-05-11T17:39:01.012Z] ---> docker-login.sh ends [Pipeline] } [2023-05-11T17:39:01.039Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-11T17:39:01.957Z] + git rev-list -1 --merges dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da~1..dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da [Pipeline] echo [2023-05-11T17:39:02.026Z] -----------> git rev-list -1 --merges dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da~1..dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da [false] [Pipeline] sh [2023-05-11T17:39:02.339Z] + git log --format=format:%s -1 dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da [Pipeline] echo [2023-05-11T17:39:02.374Z] ========================================================= [2023-05-11T17:39:02.374Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-11T17:39:02.374Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-11T17:39:02.815Z] + git log --format=format:%s -1 dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da [Pipeline] echo [2023-05-11T17:39:02.847Z] [semverPrep] GIT_COMMIT: dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da, Commit Message: docs: move openapi files to v3 folder [Pipeline] echo [2023-05-11T17:39:02.879Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-11T17:39:03.278Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-11T17:39:03.278Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-11T17:39:03.278Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-11T17:39:03.278Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-11T17:39:03.278Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-11T17:39:03.278Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-11T17:39:03.278Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T17:39:03.802Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-11T17:39:03.803Z] [2023-05-11T17:39:03.803Z] 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-11T17:39:04.181Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-11T17:39:04.181Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-11T17:39:04.181Z] b85a868b505f: Pulling fs layer [2023-05-11T17:39:04.181Z] e2be974225ed: Pulling fs layer [2023-05-11T17:39:04.181Z] 339a4e72a1f5: Pulling fs layer [2023-05-11T17:39:04.181Z] 988bab9f4d93: Pulling fs layer [2023-05-11T17:39:04.181Z] 1469e6f7b9e6: Pulling fs layer [2023-05-11T17:39:04.181Z] eaf3925da568: Pulling fs layer [2023-05-11T17:39:04.181Z] bab4dde63d76: Pulling fs layer [2023-05-11T17:39:04.181Z] bde34c3a00c8: Pulling fs layer [2023-05-11T17:39:04.181Z] b352a97aabf1: Pulling fs layer [2023-05-11T17:39:04.181Z] 4872d77fe225: Pulling fs layer [2023-05-11T17:39:04.181Z] 5851b861e8e6: Pulling fs layer [2023-05-11T17:39:04.181Z] bab4dde63d76: Waiting [2023-05-11T17:39:04.181Z] bde34c3a00c8: Waiting [2023-05-11T17:39:04.181Z] b352a97aabf1: Waiting [2023-05-11T17:39:04.181Z] 4872d77fe225: Waiting [2023-05-11T17:39:04.181Z] 5851b861e8e6: Waiting [2023-05-11T17:39:04.181Z] 988bab9f4d93: Waiting [2023-05-11T17:39:04.181Z] eaf3925da568: Waiting [2023-05-11T17:39:04.181Z] 1469e6f7b9e6: Waiting [2023-05-11T17:39:04.181Z] e2be974225ed: Verifying Checksum [2023-05-11T17:39:04.181Z] e2be974225ed: Download complete [2023-05-11T17:39:04.181Z] 988bab9f4d93: Verifying Checksum [2023-05-11T17:39:04.181Z] 988bab9f4d93: Download complete [2023-05-11T17:39:04.441Z] 339a4e72a1f5: Verifying Checksum [2023-05-11T17:39:04.441Z] 339a4e72a1f5: Download complete [2023-05-11T17:39:04.441Z] 1469e6f7b9e6: Verifying Checksum [2023-05-11T17:39:04.441Z] 1469e6f7b9e6: Download complete [2023-05-11T17:39:04.441Z] eaf3925da568: Download complete [2023-05-11T17:39:04.441Z] bde34c3a00c8: Verifying Checksum [2023-05-11T17:39:04.441Z] bde34c3a00c8: Download complete [2023-05-11T17:39:04.441Z] b352a97aabf1: Verifying Checksum [2023-05-11T17:39:04.441Z] b352a97aabf1: Download complete [2023-05-11T17:39:04.441Z] 4872d77fe225: Verifying Checksum [2023-05-11T17:39:04.441Z] 4872d77fe225: Download complete [2023-05-11T17:39:04.441Z] 5851b861e8e6: Verifying Checksum [2023-05-11T17:39:04.441Z] 5851b861e8e6: Download complete [2023-05-11T17:39:04.441Z] b85a868b505f: Verifying Checksum [2023-05-11T17:39:04.441Z] b85a868b505f: Download complete [2023-05-11T17:39:04.699Z] bab4dde63d76: Verifying Checksum [2023-05-11T17:39:05.642Z] b85a868b505f: Pull complete [2023-05-11T17:39:05.904Z] e2be974225ed: Pull complete [2023-05-11T17:39:06.164Z] 339a4e72a1f5: Pull complete [2023-05-11T17:39:06.425Z] 988bab9f4d93: Pull complete [2023-05-11T17:39:06.683Z] 1469e6f7b9e6: Pull complete [2023-05-11T17:39:06.683Z] eaf3925da568: Pull complete [2023-05-11T17:39:08.593Z] bab4dde63d76: Pull complete [2023-05-11T17:39:08.593Z] bde34c3a00c8: Pull complete [2023-05-11T17:39:08.593Z] b352a97aabf1: Pull complete [2023-05-11T17:39:08.593Z] 4872d77fe225: Pull complete [2023-05-11T17:39:08.852Z] 5851b861e8e6: Pull complete [2023-05-11T17:39:08.852Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-11T17:39:08.852Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-11T17:39:08.852Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T17:39:09.109Z] prd-ubuntu20.04-docker-8c-8g-15222 does not seem to be running inside a container [2023-05-11T17:39:09.145Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-359 -v /w/workspace/undry_device-onvif-camera_PR-359:/w/workspace/undry_device-onvif-camera_PR-359:rw,z -v /w/workspace/undry_device-onvif-camera_PR-359@tmp:/w/workspace/undry_device-onvif-camera_PR-359@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-11T17:39:12.552Z] $ docker top 60cf8febbe4a31cf3f9e0054bec99abf11d2d701999587fb6f3812b8537cf2e5 -eo pid,comm [2023-05-11T17:39:12.608Z] 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-11T17:39:12.609Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-11T17:39:12.748Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-11T17:39:12.749Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-11T17:39:12.867Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-11T17:39:12.874Z] $ docker exec 60cf8febbe4a31cf3f9e0054bec99abf11d2d701999587fb6f3812b8537cf2e5 ssh-agent [2023-05-11T17:39:12.977Z] SSH_AUTH_SOCK=/tmp/ssh-fk4WUUMv8xEM/agent.32 [2023-05-11T17:39:12.977Z] SSH_AGENT_PID=38 [2023-05-11T17:39:12.983Z] Running ssh-add (command line suppressed) [2023-05-11T17:39:13.082Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-359@tmp/private_key_5148718651288199634.key (/w/workspace/undry_device-onvif-camera_PR-359@tmp/private_key_5148718651288199634.key) [2023-05-11T17:39:13.095Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-11T17:39:13.427Z] + git tag --points-at HEAD [Pipeline] } [2023-05-11T17:39:13.456Z] $ docker exec --env ******** --env ******** 60cf8febbe4a31cf3f9e0054bec99abf11d2d701999587fb6f3812b8537cf2e5 ssh-agent -k [2023-05-11T17:39:13.562Z] unset SSH_AUTH_SOCK; [2023-05-11T17:39:13.562Z] unset SSH_AGENT_PID; [2023-05-11T17:39:13.563Z] echo Agent pid 38 killed; [2023-05-11T17:39:13.567Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-11T17:39:13.654Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-11T17:39:13.654Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-11T17:39:13.775Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-11T17:39:13.782Z] $ docker exec 60cf8febbe4a31cf3f9e0054bec99abf11d2d701999587fb6f3812b8537cf2e5 ssh-agent [2023-05-11T17:39:13.908Z] SSH_AUTH_SOCK=/tmp/ssh-nAuEL5Suuq4U/agent.70 [2023-05-11T17:39:13.908Z] SSH_AGENT_PID=76 [2023-05-11T17:39:13.912Z] Running ssh-add (command line suppressed) [2023-05-11T17:39:14.021Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-359@tmp/private_key_17841988124111511197.key (/w/workspace/undry_device-onvif-camera_PR-359@tmp/private_key_17841988124111511197.key) [2023-05-11T17:39:14.032Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-11T17:39:14.363Z] + git semver init [2023-05-11T17:39:14.622Z] 2023-05-11 17:39:14,562 [run_init] DEBUG init version:0.0.0 force:False [2023-05-11T17:39:14.622Z] 2023-05-11 17:39:14,563 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-359/.semver [2023-05-11T17:39:14.622Z] 2023-05-11 17:39:14,563 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-359/.semver [2023-05-11T17:39:14.622Z] 2023-05-11 17:39:14,563 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-359/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-359, universal_newlines=False, shell=None, istream=None) [2023-05-11T17:39:16.003Z] 2023-05-11 17:39:15,690 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-359/.git/info/exclude [2023-05-11T17:39:16.003Z] 2023-05-11 17:39:15,691 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-359/.semver/PR-359 with force:False [2023-05-11T17:39:16.003Z] 2023-05-11 17:39:15,691 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-359/.semver/PR-359 [2023-05-11T17:39:16.003Z] 2023-05-11 17:39:15,694 [execute] INFO git cat-file --batch-check [2023-05-11T17:39:16.003Z] 2023-05-11 17:39:15,694 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-359/.semver, universal_newlines=False, shell=None, istream=) [2023-05-11T17:39:16.003Z] 2023-05-11 17:39:15,700 [execute] INFO git cat-file --batch [2023-05-11T17:39:16.003Z] 2023-05-11 17:39:15,700 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-359/.semver, universal_newlines=False, shell=None, istream=) [2023-05-11T17:39:16.003Z] 2023-05-11 17:39:15,704 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-359/.semver/PR-359 [2023-05-11T17:39:16.003Z] 0.0.0 [Pipeline] } [2023-05-11T17:39:16.037Z] $ docker exec --env ******** --env ******** 60cf8febbe4a31cf3f9e0054bec99abf11d2d701999587fb6f3812b8537cf2e5 ssh-agent -k [2023-05-11T17:39:16.139Z] unset SSH_AUTH_SOCK; [2023-05-11T17:39:16.139Z] unset SSH_AGENT_PID; [2023-05-11T17:39:16.139Z] echo Agent pid 76 killed; [2023-05-11T17:39:16.146Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-11T17:39:16.581Z] + git semver [Pipeline] } [2023-05-11T17:39:16.871Z] $ docker stop --time=1 60cf8febbe4a31cf3f9e0054bec99abf11d2d701999587fb6f3812b8537cf2e5 [2023-05-11T17:39:18.249Z] $ docker rm -f --volumes 60cf8febbe4a31cf3f9e0054bec99abf11d2d701999587fb6f3812b8537cf2e5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-11T17:39:18.655Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-11T17:39:18.943Z] Stashed 1 file(s) [Pipeline] echo [2023-05-11T17:39:18.959Z] [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-11T17:39:19.581Z] provisioning config files... [2023-05-11T17:39:19.592Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-359@tmp/config15042145886364441218tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T17:39:19.939Z] ---> docker-login.sh [2023-05-11T17:39:19.939Z] nexus3.edgexfoundry.org:10001 [2023-05-11T17:39:19.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T17:39:19.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T17:39:19.939Z] Configure a credential helper to remove this warning. See [2023-05-11T17:39:19.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T17:39:19.939Z] [2023-05-11T17:39:19.939Z] Login Succeeded [2023-05-11T17:39:19.939Z] nexus3.edgexfoundry.org:10002 [2023-05-11T17:39:19.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T17:39:19.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T17:39:19.939Z] Configure a credential helper to remove this warning. See [2023-05-11T17:39:19.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T17:39:19.939Z] [2023-05-11T17:39:19.939Z] Login Succeeded [2023-05-11T17:39:19.939Z] nexus3.edgexfoundry.org:10003 [2023-05-11T17:39:20.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T17:39:20.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T17:39:20.199Z] Configure a credential helper to remove this warning. See [2023-05-11T17:39:20.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T17:39:20.199Z] [2023-05-11T17:39:20.199Z] Login Succeeded [2023-05-11T17:39:20.199Z] nexus3.edgexfoundry.org:10004 [2023-05-11T17:39:20.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T17:39:20.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T17:39:20.199Z] Configure a credential helper to remove this warning. See [2023-05-11T17:39:20.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T17:39:20.199Z] [2023-05-11T17:39:20.199Z] Login Succeeded [2023-05-11T17:39:20.199Z] docker.io [2023-05-11T17:39:20.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T17:39:20.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T17:39:20.458Z] Configure a credential helper to remove this warning. See [2023-05-11T17:39:20.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T17:39:20.458Z] [2023-05-11T17:39:20.458Z] Login Succeeded [2023-05-11T17:39:20.458Z] ---> docker-login.sh ends [Pipeline] } [2023-05-11T17:39:20.487Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-11T17:39:20.688Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T17:39:20.724Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T17:39:20.755Z] ========================================================= [2023-05-11T17:39:20.755Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-11T17:39:20.755Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T17:39:21.227Z] + 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-11T17:39:21.227Z] Sending build context to Docker daemon 21.83MB [2023-05-11T17:39:21.227Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-11T17:39:21.227Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-11T17:39:21.499Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-11T17:39:21.499Z] f56be85fc22e: Pulling fs layer [2023-05-11T17:39:21.499Z] 85791d961cd3: Pulling fs layer [2023-05-11T17:39:21.499Z] d694b5ae8c79: Pulling fs layer [2023-05-11T17:39:21.499Z] 9f32a84ed3da: Pulling fs layer [2023-05-11T17:39:21.499Z] 4d19c01a9841: Pulling fs layer [2023-05-11T17:39:21.499Z] 9325e15d5711: Pulling fs layer [2023-05-11T17:39:21.499Z] 556b6ee489ea: Pulling fs layer [2023-05-11T17:39:21.499Z] c5a4b2cf53e6: Pulling fs layer [2023-05-11T17:39:21.499Z] 4d19c01a9841: Waiting [2023-05-11T17:39:21.499Z] 9325e15d5711: Waiting [2023-05-11T17:39:21.499Z] 556b6ee489ea: Waiting [2023-05-11T17:39:21.499Z] 9f32a84ed3da: Waiting [2023-05-11T17:39:21.499Z] c5a4b2cf53e6: Waiting [2023-05-11T17:39:21.499Z] 85791d961cd3: Download complete [2023-05-11T17:39:21.499Z] 9f32a84ed3da: Verifying Checksum [2023-05-11T17:39:21.499Z] 9f32a84ed3da: Download complete [2023-05-11T17:39:21.499Z] 4d19c01a9841: Verifying Checksum [2023-05-11T17:39:21.499Z] 4d19c01a9841: Download complete [2023-05-11T17:39:21.499Z] f56be85fc22e: Verifying Checksum [2023-05-11T17:39:21.499Z] f56be85fc22e: Download complete [2023-05-11T17:39:21.499Z] 9325e15d5711: Verifying Checksum [2023-05-11T17:39:21.499Z] 9325e15d5711: Download complete [2023-05-11T17:39:21.761Z] f56be85fc22e: Pull complete [2023-05-11T17:39:21.761Z] 85791d961cd3: Pull complete [2023-05-11T17:39:22.021Z] d694b5ae8c79: Verifying Checksum [2023-05-11T17:39:22.021Z] d694b5ae8c79: Download complete [2023-05-11T17:39:22.281Z] c5a4b2cf53e6: Verifying Checksum [2023-05-11T17:39:22.281Z] c5a4b2cf53e6: Download complete [2023-05-11T17:39:22.537Z] 556b6ee489ea: Verifying Checksum [2023-05-11T17:39:22.537Z] 556b6ee489ea: Download complete [2023-05-11T17:39:25.071Z] d694b5ae8c79: Pull complete [2023-05-11T17:39:25.331Z] 9f32a84ed3da: Pull complete [2023-05-11T17:39:25.331Z] 4d19c01a9841: Pull complete [2023-05-11T17:39:25.331Z] 9325e15d5711: Pull complete [2023-05-11T17:39:27.863Z] 556b6ee489ea: Pull complete [2023-05-11T17:39:28.797Z] c5a4b2cf53e6: Pull complete [2023-05-11T17:39:28.797Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-11T17:39:28.797Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-11T17:39:28.797Z] ---> c4be618373d6 [2023-05-11T17:39:28.797Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-11T17:39:34.394Z] Still waiting to schedule task [2023-05-11T17:39:34.394Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-11T17:39:35.406Z] ---> Running in d237563f4f66 [2023-05-11T17:39:35.406Z] Removing intermediate container d237563f4f66 [2023-05-11T17:39:35.406Z] ---> 513c2d92ee70 [2023-05-11T17:39:35.406Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-11T17:39:35.406Z] ---> Running in bcf0ef3f4e19 [2023-05-11T17:39:35.406Z] Removing intermediate container bcf0ef3f4e19 [2023-05-11T17:39:35.406Z] ---> 536db1340659 [2023-05-11T17:39:35.406Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-05-11T17:39:35.406Z] ---> Running in 4d7a7d596ff2 [2023-05-11T17:39:35.406Z] Removing intermediate container 4d7a7d596ff2 [2023-05-11T17:39:35.406Z] ---> c9d77a1b16cb [2023-05-11T17:39:35.406Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-05-11T17:39:35.406Z] ---> Running in 6bea4e71c94f [2023-05-11T17:39:35.406Z] Removing intermediate container 6bea4e71c94f [2023-05-11T17:39:35.406Z] ---> aa55df43896a [2023-05-11T17:39:35.406Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-05-11T17:39:35.406Z] ---> Running in bce2d0a4f5b6 [2023-05-11T17:39:35.406Z] Removing intermediate container bce2d0a4f5b6 [2023-05-11T17:39:35.406Z] ---> 7dd29704cb45 [2023-05-11T17:39:35.406Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-11T17:39:35.406Z] ---> Running in 838fd2677892 [2023-05-11T17:39:35.406Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-11T17:39:35.406Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-11T17:39:35.665Z] OK: 265 MiB in 53 packages [2023-05-11T17:39:35.924Z] Removing intermediate container 838fd2677892 [2023-05-11T17:39:35.924Z] ---> b8452e356a3e [2023-05-11T17:39:35.924Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-05-11T17:39:36.184Z] ---> Running in 5023560e6791 [2023-05-11T17:39:36.184Z] Removing intermediate container 5023560e6791 [2023-05-11T17:39:36.184Z] ---> ed2c9e3bc6a0 [2023-05-11T17:39:36.184Z] Step 10/13 : COPY go.mod vendor* ./ [2023-05-11T17:39:36.443Z] ---> fb0cba1917ac [2023-05-11T17:39:36.443Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-11T17:39:36.443Z] ---> Running in 35a6a130a3f8 [2023-05-11T17:40:15.170Z] Removing intermediate container 35a6a130a3f8 [2023-05-11T17:40:15.170Z] ---> 141e7d81fc7a [2023-05-11T17:40:15.170Z] Step 12/13 : COPY . . [2023-05-11T17:40:15.170Z] ---> 03c4e76ab96b [2023-05-11T17:40:15.170Z] Step 13/13 : RUN ${MAKE} [2023-05-11T17:40:15.170Z] ---> Running in bc96910f7cf9 [2023-05-11T17:40:15.170Z] noop [2023-05-11T17:40:15.170Z] Removing intermediate container bc96910f7cf9 [2023-05-11T17:40:15.170Z] ---> 2574a739a7b2 [2023-05-11T17:40:15.170Z] Successfully built 2574a739a7b2 [2023-05-11T17:40:15.170Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T17:40:15.629Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-11T17:40:15.629Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T17:40:15.786Z] prd-ubuntu20.04-docker-8c-8g-15222 does not seem to be running inside a container [2023-05-11T17:40:15.830Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-359 -v /w/workspace/undry_device-onvif-camera_PR-359:/w/workspace/undry_device-onvif-camera_PR-359:rw,z -v /w/workspace/undry_device-onvif-camera_PR-359@tmp:/w/workspace/undry_device-onvif-camera_PR-359@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-11T17:40:16.231Z] $ docker top 2c06b0f5106a3bdf13f257f3a348709f138396f2087b656ce330aeef4461773f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T17:40:16.636Z] + go version [2023-05-11T17:40:16.636Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-11T17:40:16.674Z] $ docker stop --time=1 2c06b0f5106a3bdf13f257f3a348709f138396f2087b656ce330aeef4461773f [2023-05-11T17:40:17.969Z] $ docker rm -f --volumes 2c06b0f5106a3bdf13f257f3a348709f138396f2087b656ce330aeef4461773f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T17:40:18.699Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-11T17:40:18.699Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T17:40:18.853Z] prd-ubuntu20.04-docker-8c-8g-15222 does not seem to be running inside a container [2023-05-11T17:40:18.890Z] $ 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-359 -v /w/workspace/undry_device-onvif-camera_PR-359:/w/workspace/undry_device-onvif-camera_PR-359:rw,z -v /w/workspace/undry_device-onvif-camera_PR-359@tmp:/w/workspace/undry_device-onvif-camera_PR-359@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-11T17:40:19.248Z] $ docker top b26a42a7750f70880385574170f9b67c2032c3c325978946ddd59715e51dd1aa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T17:40:19.634Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-359 [Pipeline] fileExists [Pipeline] sh [2023-05-11T17:40:19.991Z] + make test [2023-05-11T17:40:19.991Z] go test ./... -coverprofile=coverage.out ./... [2023-05-11T17:40:25.267Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-05-11T17:40:35.236Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-05-11T17:40:35.236Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-05-11T17:40:36.615Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.039s coverage: 31.4% of statements [2023-05-11T17:40:36.615Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.056s coverage: 86.5% of statements [2023-05-11T17:40:43.173Z] go vet ./... [2023-05-11T17:40:46.456Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-11T17:40:46.456Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-11T17:40:46.456Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-11T17:40:46.495Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-11T17:40:46.527Z] $ docker stop --time=1 b26a42a7750f70880385574170f9b67c2032c3c325978946ddd59715e51dd1aa [2023-05-11T17:40:51.300Z] $ docker rm -f --volumes b26a42a7750f70880385574170f9b67c2032c3c325978946ddd59715e51dd1aa [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-11T17:40:51.826Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-11T17:40:51.913Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-11T17:40:52.601Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-11T17:40:52.909Z] + ls -al . [2023-05-11T17:40:52.910Z] total 232 [2023-05-11T17:40:52.910Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 17:40 . [2023-05-11T17:40:52.910Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:38 .. [2023-05-11T17:40:52.910Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 17:39 .git [2023-05-11T17:40:52.910Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 17:38 .github [2023-05-11T17:40:52.910Z] -rw-rw-r-- 1 jenkins jenkins 496 May 11 17:38 .gitignore [2023-05-11T17:40:52.910Z] -rw-rw-r-- 1 jenkins jenkins 42 May 11 17:38 .golangci.yml [2023-05-11T17:40:52.910Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 17:39 .semver [2023-05-11T17:40:52.910Z] -rw-rw-r-- 1 jenkins jenkins 10087 May 11 17:38 Attribution.txt [2023-05-11T17:40:52.910Z] -rw-rw-r-- 1 jenkins jenkins 6312 May 11 17:38 CHANGELOG.md [2023-05-11T17:40:52.910Z] -rw-rw-r-- 1 jenkins jenkins 1574 May 11 17:38 Dockerfile [2023-05-11T17:40:52.910Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 17:38 GOVERNANCE.md [2023-05-11T17:40:52.910Z] -rw-rw-r-- 1 jenkins jenkins 739 May 11 17:38 Jenkinsfile [2023-05-11T17:40:52.910Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 11 17:38 LICENSE [2023-05-11T17:40:52.910Z] -rw-rw-r-- 1 jenkins jenkins 2751 May 11 17:38 Makefile [2023-05-11T17:40:52.910Z] -rw-rw-r-- 1 jenkins jenkins 625 May 11 17:38 OWNERS.md [2023-05-11T17:40:52.910Z] -rw-rw-r-- 1 jenkins jenkins 2690 May 11 17:38 README.md [2023-05-11T17:40:52.910Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 17:39 VERSION [2023-05-11T17:40:52.910Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 17:38 bin [2023-05-11T17:40:52.910Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 17:38 cmd [2023-05-11T17:40:52.910Z] -rw-r--r-- 1 jenkins jenkins 78459 May 11 17:40 coverage.out [2023-05-11T17:40:52.910Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:38 doc [2023-05-11T17:40:52.910Z] -rw-rw-r-- 1 jenkins jenkins 3642 May 11 17:38 go.mod [2023-05-11T17:40:52.910Z] -rw-rw-r-- 1 jenkins jenkins 33491 May 11 17:38 go.sum [2023-05-11T17:40:52.910Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:38 internal [2023-05-11T17:40:52.910Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:38 snap [2023-05-11T17:40:52.910Z] -rw-rw-r-- 1 jenkins jenkins 236 May 11 17:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T17:40:53.306Z] + 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=dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da --label arch=amd64 --label version=0.0.0 . [2023-05-11T17:40:53.306Z] Sending build context to Docker daemon 21.91MB [2023-05-11T17:40:53.306Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-05-11T17:40:53.306Z] Step 2/26 : FROM ${BASE} AS builder [2023-05-11T17:40:53.306Z] ---> 2574a739a7b2 [2023-05-11T17:40:53.306Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-05-11T17:40:53.884Z] ---> Running in 2b479677fddf [2023-05-11T17:40:53.884Z] Removing intermediate container 2b479677fddf [2023-05-11T17:40:53.884Z] ---> 247471dee08f [2023-05-11T17:40:53.884Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-11T17:40:53.884Z] ---> Running in c6f2f84a6243 [2023-05-11T17:40:54.144Z] Removing intermediate container c6f2f84a6243 [2023-05-11T17:40:54.144Z] ---> e42f7f3a93e1 [2023-05-11T17:40:54.144Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-05-11T17:40:54.144Z] ---> Running in a6b952e3d284 [2023-05-11T17:40:54.144Z] Removing intermediate container a6b952e3d284 [2023-05-11T17:40:54.144Z] ---> 2954712e9172 [2023-05-11T17:40:54.144Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-05-11T17:40:54.144Z] ---> Running in 2630c65781e7 [2023-05-11T17:40:54.144Z] Removing intermediate container 2630c65781e7 [2023-05-11T17:40:54.144Z] ---> 4b9cbe495131 [2023-05-11T17:40:54.144Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-05-11T17:40:54.144Z] ---> Running in 219c6742da8e [2023-05-11T17:40:54.407Z] Removing intermediate container 219c6742da8e [2023-05-11T17:40:54.407Z] ---> 2a7b6c522a80 [2023-05-11T17:40:54.407Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-11T17:40:54.407Z] ---> Running in 55a73cd5b2b0 [2023-05-11T17:40:54.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-11T17:40:54.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-11T17:40:54.927Z] OK: 265 MiB in 53 packages [2023-05-11T17:40:55.186Z] Removing intermediate container 55a73cd5b2b0 [2023-05-11T17:40:55.186Z] ---> ab1655e8c808 [2023-05-11T17:40:55.186Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-05-11T17:40:55.186Z] ---> Running in 66fa0acbf644 [2023-05-11T17:40:55.446Z] Removing intermediate container 66fa0acbf644 [2023-05-11T17:40:55.446Z] ---> 6e971e68577d [2023-05-11T17:40:55.446Z] Step 10/26 : COPY go.mod vendor* ./ [2023-05-11T17:40:55.446Z] ---> 2e2044bfcba8 [2023-05-11T17:40:55.446Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-11T17:40:55.446Z] ---> Running in 5b4d3bd53678 [2023-05-11T17:40:56.385Z] Removing intermediate container 5b4d3bd53678 [2023-05-11T17:40:56.385Z] ---> 73a7155bef24 [2023-05-11T17:40:56.385Z] Step 12/26 : COPY . . [2023-05-11T17:40:56.955Z] ---> 90f0da0d712d [2023-05-11T17:40:56.955Z] Step 13/26 : RUN ${MAKE} [2023-05-11T17:40:56.955Z] ---> Running in 0e28214fe0b5 [2023-05-11T17:40:57.523Z] 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-11T17:41:13.215Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15223 in /w/workspace/undry_device-onvif-camera_PR-359 [Pipeline] { [Pipeline] ws [2023-05-11T17:41:13.285Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-05-11T17:41:13.363Z] The recommended git tool is: git [2023-05-11T17:41:18.622Z] using credential edgex-jenkins-ssh [2023-05-11T17:41:18.641Z] Cloning the remote Git repository [2023-05-11T17:41:18.677Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-11T17:41:18.769Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-05-11T17:41:18.911Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-11T17:41:18.912Z] > git --version # timeout=10 [2023-05-11T17:41:18.933Z] > git --version # 'git version 2.25.1' [2023-05-11T17:41:18.936Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-11T17:41:19.076Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-11T17:41:19.592Z] Removing intermediate container 0e28214fe0b5 [2023-05-11T17:41:19.592Z] ---> 58b37c4217e3 [2023-05-11T17:41:19.592Z] Step 14/26 : FROM alpine:3.17 [2023-05-11T17:41:19.592Z] 3.17: Pulling from library/alpine [2023-05-11T17:41:19.592Z] f56be85fc22e: Already exists [2023-05-11T17:41:19.592Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-11T17:41:19.592Z] Status: Downloaded newer image for alpine:3.17 [2023-05-11T17:41:19.592Z] ---> 9ed4aefc74f6 [2023-05-11T17:41:19.592Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-11T17:41:19.592Z] ---> Running in 4a1b593060e8 [2023-05-11T17:41:19.592Z] Removing intermediate container 4a1b593060e8 [2023-05-11T17:41:19.592Z] ---> 12be32d16c6e [2023-05-11T17:41:19.592Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-05-11T17:41:19.592Z] ---> Running in 6eeac501458f [2023-05-11T17:41:19.592Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-11T17:41:19.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-11T17:41:19.593Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-11T17:41:19.593Z] Executing busybox-1.35.0-r29.trigger [2023-05-11T17:41:19.593Z] OK: 7 MiB in 16 packages [2023-05-11T17:41:19.593Z] Removing intermediate container 6eeac501458f [2023-05-11T17:41:19.593Z] ---> ee7bcac2040a [2023-05-11T17:41:19.593Z] Step 17/26 : WORKDIR / [2023-05-11T17:41:19.593Z] ---> Running in a63d1b2a9546 [2023-05-11T17:41:19.593Z] Removing intermediate container a63d1b2a9546 [2023-05-11T17:41:19.593Z] ---> 40ae88ed2516 [2023-05-11T17:41:19.593Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-05-11T17:41:19.852Z] ---> ede129cd99a4 [2023-05-11T17:41:19.852Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-05-11T17:41:19.852Z] ---> b59f84e5eee7 [2023-05-11T17:41:19.852Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-05-11T17:41:20.111Z] ---> 6996d22b5cb5 [2023-05-11T17:41:20.111Z] Step 21/26 : EXPOSE 59984 [2023-05-11T17:41:20.111Z] ---> Running in 2f413f4beb8d [2023-05-11T17:41:20.111Z] Removing intermediate container 2f413f4beb8d [2023-05-11T17:41:20.111Z] ---> ba9748e1434c [2023-05-11T17:41:20.111Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-05-11T17:41:20.111Z] ---> Running in ea6b601bf620 [2023-05-11T17:41:20.111Z] Removing intermediate container ea6b601bf620 [2023-05-11T17:41:20.111Z] ---> 96a0af7566c4 [2023-05-11T17:41:20.111Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-11T17:41:20.111Z] ---> Running in ab0fbdca5c82 [2023-05-11T17:41:20.376Z] Removing intermediate container ab0fbdca5c82 [2023-05-11T17:41:20.376Z] ---> d407621251c3 [2023-05-11T17:41:20.376Z] Step 24/26 : LABEL arch=amd64 [2023-05-11T17:41:20.376Z] ---> Running in 22ad23d980a5 [2023-05-11T17:41:20.376Z] Removing intermediate container 22ad23d980a5 [2023-05-11T17:41:20.376Z] ---> 7aebed50c23d [2023-05-11T17:41:20.376Z] Step 25/26 : LABEL git_sha=dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da [2023-05-11T17:41:20.376Z] ---> Running in 1fa5816fbcfb [2023-05-11T17:41:20.376Z] Removing intermediate container 1fa5816fbcfb [2023-05-11T17:41:20.376Z] ---> ad9df459220f [2023-05-11T17:41:20.376Z] Step 26/26 : LABEL version=0.0.0 [2023-05-11T17:41:20.636Z] ---> Running in f814b78df7b3 [2023-05-11T17:41:20.636Z] Removing intermediate container f814b78df7b3 [2023-05-11T17:41:20.636Z] ---> 8db68e8286bb [2023-05-11T17:41:20.636Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-11T17:41:20.636Z] Successfully built 8db68e8286bb [2023-05-11T17:41:20.636Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-05-11T17:41:20.700Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-05-11T17:41:20.725Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [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-11T17:41:21.512Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-11T17:41:21.513Z] [2023-05-11T17:41:21.513Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T17:41:21.887Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-11T17:41:21.887Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-11T17:41:21.887Z] 5eb5b503b376: Pulling fs layer [2023-05-11T17:41:21.887Z] 5c69ac0246d0: Pulling fs layer [2023-05-11T17:41:21.887Z] ec43610c2a17: Pulling fs layer [2023-05-11T17:41:21.887Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-11T17:41:21.887Z] 33b1e0a273af: Pulling fs layer [2023-05-11T17:41:21.887Z] 5d3b04190fa2: Pulling fs layer [2023-05-11T17:41:21.887Z] 2f39f015ded8: Pulling fs layer [2023-05-11T17:41:21.887Z] 33b1e0a273af: Waiting [2023-05-11T17:41:21.887Z] 5d3b04190fa2: Waiting [2023-05-11T17:41:21.887Z] 2f39f015ded8: Waiting [2023-05-11T17:41:21.887Z] 3a2ae6a8a46f: Waiting [2023-05-11T17:41:21.887Z] 5c69ac0246d0: Download complete [2023-05-11T17:41:21.887Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-11T17:41:21.887Z] 3a2ae6a8a46f: Download complete [2023-05-11T17:41:21.887Z] 33b1e0a273af: Verifying Checksum [2023-05-11T17:41:21.887Z] 33b1e0a273af: Download complete [2023-05-11T17:41:21.887Z] ec43610c2a17: Verifying Checksum [2023-05-11T17:41:21.887Z] ec43610c2a17: Download complete [2023-05-11T17:41:21.887Z] 5d3b04190fa2: Verifying Checksum [2023-05-11T17:41:21.887Z] 5d3b04190fa2: Download complete [2023-05-11T17:41:21.564Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-05-11T17:41:21.605Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-11T17:41:21.606Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-11T17:41:21.626Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/359/head:refs/remotes/origin/PR-359 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-11T17:41:22.147Z] 5eb5b503b376: Verifying Checksum [2023-05-11T17:41:22.147Z] 5eb5b503b376: Download complete [2023-05-11T17:41:22.256Z] Merging remotes/origin/main commit 7c6b29b4f74c1924abd599cd10297b3464f260a3 into PR head commit dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da [2023-05-11T17:41:22.647Z] Merge succeeded, producing dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da [2023-05-11T17:41:22.647Z] Checking out Revision dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da (PR-359) [2023-05-11T17:41:22.713Z] 2f39f015ded8: Download complete [2023-05-11T17:41:23.279Z] 5eb5b503b376: Pull complete [2023-05-11T17:41:23.279Z] 5c69ac0246d0: Pull complete [2023-05-11T17:41:22.277Z] > git config core.sparsecheckout # timeout=10 [2023-05-11T17:41:22.349Z] > git checkout -f dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da # timeout=10 [2023-05-11T17:41:22.523Z] > git remote # timeout=10 [2023-05-11T17:41:22.548Z] > git config --get remote.origin.url # timeout=10 [2023-05-11T17:41:22.566Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-11T17:41:22.587Z] > git merge 7c6b29b4f74c1924abd599cd10297b3464f260a3 # timeout=10 [2023-05-11T17:41:22.617Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-11T17:41:22.651Z] > git config core.sparsecheckout # timeout=10 [2023-05-11T17:41:22.665Z] > git checkout -f dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da # timeout=10 [2023-05-11T17:41:23.846Z] ec43610c2a17: Pull complete [2023-05-11T17:41:23.846Z] 3a2ae6a8a46f: Pull complete [2023-05-11T17:41:24.105Z] 33b1e0a273af: Pull complete [2023-05-11T17:41:24.105Z] 5d3b04190fa2: Pull complete [2023-05-11T17:41:26.301Z] Commit message: "docs: move openapi files to v3 folder" [2023-05-11T17:41:26.350Z] > git --version # timeout=10 [2023-05-11T17:41:26.361Z] > git --version # 'git version 2.25.1' [2023-05-11T17:41:26.375Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-11T17:41:26.820Z] [2023-05-11T17:41:26.820Z] GitHub has been notified of this commit’s build result [2023-05-11T17:41:26.820Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-11T17:41:27.555Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-11T17:41:27.555Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-11T17:41:27.555Z] Dload Upload Total Spent Left Speed [2023-05-11T17:41:27.555Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 87937 [Pipeline] sh [2023-05-11T17:41:28.288Z] 2f39f015ded8: Pull complete [2023-05-11T17:41:28.288Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-11T17:41:28.288Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-11T17:41:28.288Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-11T17:41:28.297Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T17:41:28.597Z] prd-ubuntu20.04-docker-8c-8g-15222 does not seem to be running inside a container [2023-05-11T17:41:28.631Z] $ 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-359 -v /w/workspace/undry_device-onvif-camera_PR-359:/w/workspace/undry_device-onvif-camera_PR-359:rw,z -v /w/workspace/undry_device-onvif-camera_PR-359@tmp:/w/workspace/undry_device-onvif-camera_PR-359@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-11T17:41:28.713Z] + sudo tee /etc/docker/daemon.new [2023-05-11T17:41:28.713Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-11T17:41:28.713Z] { [2023-05-11T17:41:28.713Z] "registry-mirrors": [ [2023-05-11T17:41:28.713Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-11T17:41:28.713Z] ], [2023-05-11T17:41:28.713Z] "bip": "10.250.0.254/24", [2023-05-11T17:41:28.713Z] "hosts": [ [2023-05-11T17:41:28.713Z] "tcp://0.0.0.0:5555", [2023-05-11T17:41:28.713Z] "unix:///var/run/docker.sock" [2023-05-11T17:41:28.713Z] ], [2023-05-11T17:41:28.713Z] "mtu": 1458, [2023-05-11T17:41:28.713Z] "selinux-enabled": true, [2023-05-11T17:41:28.713Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-11T17:41:28.713Z] } [2023-05-11T17:41:33.213Z] $ docker top a4b11f56e7176a0780ec91f1e8d3c97691a37a7d8f18579f9e0ef4347095689b -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T17:41:33.657Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-11T17:41:33.769Z] ---> job-cost.sh [2023-05-11T17:41:33.769Z] lf-activate-venv: SKIPPING [2023-05-11T17:41:33.769Z] INFO: No Stack... [2023-05-11T17:41:34.023Z] + sudo service docker restart [2023-05-11T17:41:34.335Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-11T17:41:34.593Z] INFO: Archiving Costs [Pipeline] sh [2023-05-11T17:41:34.909Z] + + cut -d, -f6 [2023-05-11T17:41:34.909Z] cat /w/workspace/undry_device-onvif-camera_PR-359/archives/cost.csv [Pipeline] lock [2023-05-11T17:41:34.949Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-359-1-stack-cost] [2023-05-11T17:41:34.954Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-359-1-stack-cost] did not exist. Created. [2023-05-11T17:41:34.954Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-359-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-11T17:41:35.342Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-11T17:41:35.395Z] Stashed 1 file(s) [Pipeline] } [2023-05-11T17:41:35.424Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-359-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-11T17:41:35.514Z] $ docker stop --time=1 a4b11f56e7176a0780ec91f1e8d3c97691a37a7d8f18579f9e0ef4347095689b [2023-05-11T17:41:36.683Z] $ docker rm -f --volumes a4b11f56e7176a0780ec91f1e8d3c97691a37a7d8f18579f9e0ef4347095689b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-11T17:41:52.444Z] provisioning config files... [2023-05-11T17:41:52.478Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config13062238015854624148tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T17:41:52.873Z] ---> docker-login.sh [2023-05-11T17:41:52.873Z] nexus3.edgexfoundry.org:10001 [2023-05-11T17:41:53.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T17:41:53.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T17:41:53.413Z] Configure a credential helper to remove this warning. See [2023-05-11T17:41:53.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T17:41:53.413Z] [2023-05-11T17:41:53.413Z] Login Succeeded [2023-05-11T17:41:53.413Z] nexus3.edgexfoundry.org:10002 [2023-05-11T17:41:53.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T17:41:53.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T17:41:53.950Z] Configure a credential helper to remove this warning. See [2023-05-11T17:41:53.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T17:41:53.950Z] [2023-05-11T17:41:53.950Z] Login Succeeded [2023-05-11T17:41:53.950Z] nexus3.edgexfoundry.org:10003 [2023-05-11T17:41:54.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T17:41:54.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T17:41:54.222Z] Configure a credential helper to remove this warning. See [2023-05-11T17:41:54.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T17:41:54.222Z] [2023-05-11T17:41:54.222Z] Login Succeeded [2023-05-11T17:41:54.222Z] nexus3.edgexfoundry.org:10004 [2023-05-11T17:41:54.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T17:41:54.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T17:41:54.493Z] Configure a credential helper to remove this warning. See [2023-05-11T17:41:54.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T17:41:54.493Z] [2023-05-11T17:41:54.493Z] Login Succeeded [2023-05-11T17:41:54.493Z] docker.io [2023-05-11T17:41:54.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T17:41:55.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T17:41:55.034Z] Configure a credential helper to remove this warning. See [2023-05-11T17:41:55.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T17:41:55.034Z] [2023-05-11T17:41:55.034Z] Login Succeeded [2023-05-11T17:41:55.034Z] ---> docker-login.sh ends [Pipeline] } [2023-05-11T17:41:55.074Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-11T17:41:55.527Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T17:41:55.566Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T17:41:55.606Z] ========================================================= [2023-05-11T17:41:55.606Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-11T17:41:55.606Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T17:41:56.119Z] + 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-11T17:41:56.713Z] Sending build context to Docker daemon 14.33MB [2023-05-11T17:41:56.713Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-11T17:41:56.713Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-11T17:41:56.713Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-11T17:41:56.713Z] c41833b44d91: Pulling fs layer [2023-05-11T17:41:56.713Z] ed15518f5707: Pulling fs layer [2023-05-11T17:41:56.713Z] feae8fd75edb: Pulling fs layer [2023-05-11T17:41:56.713Z] 242c74f7c9fa: Pulling fs layer [2023-05-11T17:41:56.713Z] 3cdef696dda3: Pulling fs layer [2023-05-11T17:41:56.713Z] 2ced38df9373: Pulling fs layer [2023-05-11T17:41:56.713Z] 58f1dce35555: Pulling fs layer [2023-05-11T17:41:56.713Z] 3cdef696dda3: Waiting [2023-05-11T17:41:56.713Z] 2ced38df9373: Waiting [2023-05-11T17:41:56.713Z] 58f1dce35555: Waiting [2023-05-11T17:41:56.713Z] 242c74f7c9fa: Waiting [2023-05-11T17:41:56.713Z] ed15518f5707: Verifying Checksum [2023-05-11T17:41:56.713Z] ed15518f5707: Download complete [2023-05-11T17:41:56.713Z] 242c74f7c9fa: Verifying Checksum [2023-05-11T17:41:56.713Z] 242c74f7c9fa: Download complete [2023-05-11T17:41:56.982Z] 3cdef696dda3: Verifying Checksum [2023-05-11T17:41:56.982Z] 3cdef696dda3: Download complete [2023-05-11T17:41:56.982Z] c41833b44d91: Download complete [2023-05-11T17:41:57.964Z] c41833b44d91: Pull complete [2023-05-11T17:41:58.568Z] 58f1dce35555: Verifying Checksum [2023-05-11T17:41:58.568Z] 58f1dce35555: Download complete [2023-05-11T17:41:58.568Z] ed15518f5707: Pull complete [2023-05-11T17:41:59.537Z] feae8fd75edb: Verifying Checksum [2023-05-11T17:41:59.537Z] feae8fd75edb: Download complete [2023-05-11T17:41:59.537Z] 2ced38df9373: Verifying Checksum [2023-05-11T17:41:59.537Z] 2ced38df9373: Download complete [2023-05-11T17:42:09.634Z] feae8fd75edb: Pull complete [2023-05-11T17:42:09.634Z] 242c74f7c9fa: Pull complete [2023-05-11T17:42:09.634Z] 3cdef696dda3: Pull complete [2023-05-11T17:42:16.296Z] 2ced38df9373: Pull complete [2023-05-11T17:42:18.909Z] 58f1dce35555: Pull complete [2023-05-11T17:42:18.909Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-11T17:42:18.909Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-11T17:42:18.909Z] ---> fadd8f120f05 [2023-05-11T17:42:18.909Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-11T17:42:20.854Z] ---> Running in ce2b2357583f [2023-05-11T17:42:20.854Z] Removing intermediate container ce2b2357583f [2023-05-11T17:42:20.854Z] ---> 9634ae239aa0 [2023-05-11T17:42:20.854Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-11T17:42:21.123Z] ---> Running in b11155499d56 [2023-05-11T17:42:21.390Z] Removing intermediate container b11155499d56 [2023-05-11T17:42:21.390Z] ---> e546b12dd913 [2023-05-11T17:42:21.390Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-05-11T17:42:21.390Z] ---> Running in a35506fcb027 [2023-05-11T17:42:21.656Z] Removing intermediate container a35506fcb027 [2023-05-11T17:42:21.656Z] ---> 70ecdbbade76 [2023-05-11T17:42:21.656Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-05-11T17:42:21.656Z] ---> Running in 34ee871482db [2023-05-11T17:42:22.244Z] Removing intermediate container 34ee871482db [2023-05-11T17:42:22.244Z] ---> dd3055214663 [2023-05-11T17:42:22.244Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-05-11T17:42:22.244Z] ---> Running in 7986d00d820a [2023-05-11T17:42:22.513Z] Removing intermediate container 7986d00d820a [2023-05-11T17:42:22.513Z] ---> ba6d7cae232e [2023-05-11T17:42:22.513Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-11T17:42:22.513Z] ---> Running in caafb1df65ea [2023-05-11T17:42:23.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-11T17:42:24.187Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-11T17:42:25.147Z] OK: 263 MiB in 53 packages [2023-05-11T17:42:26.109Z] Removing intermediate container caafb1df65ea [2023-05-11T17:42:26.109Z] ---> 32aa9a9b37ef [2023-05-11T17:42:26.109Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-05-11T17:42:26.109Z] ---> Running in 0ede63b0b5f5 [2023-05-11T17:42:26.377Z] Removing intermediate container 0ede63b0b5f5 [2023-05-11T17:42:26.377Z] ---> 01f0e4b9ab04 [2023-05-11T17:42:26.377Z] Step 10/13 : COPY go.mod vendor* ./ [2023-05-11T17:42:26.962Z] ---> 7f05aebb9d92 [2023-05-11T17:42:26.962Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-11T17:42:26.962Z] ---> Running in ac4efc415b6c [2023-05-11T17:43:34.842Z] Removing intermediate container ac4efc415b6c [2023-05-11T17:43:34.842Z] ---> 082fb202b2f6 [2023-05-11T17:43:34.842Z] Step 12/13 : COPY . . [2023-05-11T17:43:34.842Z] ---> fab60dcb0c2d [2023-05-11T17:43:34.842Z] Step 13/13 : RUN ${MAKE} [2023-05-11T17:43:34.842Z] ---> Running in 9b2dbee4b988 [2023-05-11T17:43:34.842Z] noop [2023-05-11T17:43:34.842Z] Removing intermediate container 9b2dbee4b988 [2023-05-11T17:43:34.842Z] ---> 7aefcdc9d997 [2023-05-11T17:43:34.842Z] Successfully built 7aefcdc9d997 [2023-05-11T17:43:34.842Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T17:43:35.316Z] + docker inspect -f . ci-base-image-arm64 [2023-05-11T17:43:35.316Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T17:43:35.604Z] prd-ubuntu20.04-docker-arm64-4c-16g-15223 does not seem to be running inside a container [2023-05-11T17:43:35.679Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-11T17:43:36.872Z] $ docker top 3e2bf0a699b0000ad2e1952d33e49af6fc58c58726a6ecb34687140d93229f9f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T17:43:37.746Z] + go version [2023-05-11T17:43:37.746Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-11T17:43:37.790Z] $ docker stop --time=1 3e2bf0a699b0000ad2e1952d33e49af6fc58c58726a6ecb34687140d93229f9f [2023-05-11T17:43:41.455Z] $ docker rm -f --volumes 3e2bf0a699b0000ad2e1952d33e49af6fc58c58726a6ecb34687140d93229f9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T17:43:42.370Z] + docker inspect -f . ci-base-image-arm64 [2023-05-11T17:43:42.370Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T17:43:42.619Z] prd-ubuntu20.04-docker-arm64-4c-16g-15223 does not seem to be running inside a container [2023-05-11T17:43:42.692Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-11T17:43:43.844Z] $ docker top 78d8b7ee0fdfdbbb64b56f91321dc9610dee7878c3dc34d3eb0c9fdc9d92e211 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T17:43:44.393Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-05-11T17:43:45.038Z] + make test [2023-05-11T17:43:45.306Z] go test ./... -coverprofile=coverage.out ./... [2023-05-11T17:44:17.583Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-05-11T17:46:39.312Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-05-11T17:46:39.312Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-05-11T17:46:39.312Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.193s coverage: 31.4% of statements [2023-05-11T17:46:47.525Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 16.489s coverage: 86.5% of statements [2023-05-11T17:46:48.935Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-11T17:46:48.935Z] go vet ./... [2023-05-11T17:47:21.220Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-11T17:47:21.220Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-11T17:47:21.220Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-11T17:47:21.259Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-11T17:47:21.301Z] $ docker stop --time=1 78d8b7ee0fdfdbbb64b56f91321dc9610dee7878c3dc34d3eb0c9fdc9d92e211 [2023-05-11T17:47:23.146Z] $ docker rm -f --volumes 78d8b7ee0fdfdbbb64b56f91321dc9610dee7878c3dc34d3eb0c9fdc9d92e211 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-11T17:47:24.359Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-11T17:47:24.404Z] Warning: overwriting stash ‘coverage-report’ [2023-05-11T17:47:24.917Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-11T17:47:25.656Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-11T17:47:26.065Z] + ls -al . [2023-05-11T17:47:26.065Z] total 228 [2023-05-11T17:47:26.065Z] drwxrwxr-x 9 jenkins jenkins 4096 May 11 17:43 . [2023-05-11T17:47:26.065Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:41 .. [2023-05-11T17:47:26.065Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 17:41 .git [2023-05-11T17:47:26.065Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 17:41 .github [2023-05-11T17:47:26.065Z] -rw-rw-r-- 1 jenkins jenkins 496 May 11 17:41 .gitignore [2023-05-11T17:47:26.065Z] -rw-rw-r-- 1 jenkins jenkins 42 May 11 17:41 .golangci.yml [2023-05-11T17:47:26.065Z] -rw-rw-r-- 1 jenkins jenkins 10087 May 11 17:41 Attribution.txt [2023-05-11T17:47:26.065Z] -rw-rw-r-- 1 jenkins jenkins 6312 May 11 17:41 CHANGELOG.md [2023-05-11T17:47:26.065Z] -rw-rw-r-- 1 jenkins jenkins 1574 May 11 17:41 Dockerfile [2023-05-11T17:47:26.065Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 17:41 GOVERNANCE.md [2023-05-11T17:47:26.065Z] -rw-rw-r-- 1 jenkins jenkins 739 May 11 17:41 Jenkinsfile [2023-05-11T17:47:26.065Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 11 17:41 LICENSE [2023-05-11T17:47:26.065Z] -rw-rw-r-- 1 jenkins jenkins 2751 May 11 17:41 Makefile [2023-05-11T17:47:26.065Z] -rw-rw-r-- 1 jenkins jenkins 625 May 11 17:41 OWNERS.md [2023-05-11T17:47:26.065Z] -rw-rw-r-- 1 jenkins jenkins 2690 May 11 17:41 README.md [2023-05-11T17:47:26.065Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 17:39 VERSION [2023-05-11T17:47:26.065Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 17:41 bin [2023-05-11T17:47:26.065Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 17:41 cmd [2023-05-11T17:47:26.065Z] -rw-r--r-- 1 jenkins jenkins 78459 May 11 17:46 coverage.out [2023-05-11T17:47:26.065Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:41 doc [2023-05-11T17:47:26.065Z] -rw-rw-r-- 1 jenkins jenkins 3642 May 11 17:41 go.mod [2023-05-11T17:47:26.065Z] -rw-rw-r-- 1 jenkins jenkins 33491 May 11 17:41 go.sum [2023-05-11T17:47:26.065Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:41 internal [2023-05-11T17:47:26.065Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:41 snap [2023-05-11T17:47:26.065Z] -rw-rw-r-- 1 jenkins jenkins 236 May 11 17:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T17:47:26.516Z] + 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=dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da --label arch=arm64 --label version=0.0.0 . [2023-05-11T17:47:27.119Z] Sending build context to Docker daemon 14.41MB [2023-05-11T17:47:27.119Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-05-11T17:47:27.119Z] Step 2/26 : FROM ${BASE} AS builder [2023-05-11T17:47:27.119Z] ---> 7aefcdc9d997 [2023-05-11T17:47:27.119Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-05-11T17:47:27.119Z] ---> Running in 380fdbf11465 [2023-05-11T17:47:27.393Z] Removing intermediate container 380fdbf11465 [2023-05-11T17:47:27.393Z] ---> 85d09f392ac1 [2023-05-11T17:47:27.393Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-11T17:47:27.676Z] ---> Running in 03d7dea33198 [2023-05-11T17:47:27.955Z] Removing intermediate container 03d7dea33198 [2023-05-11T17:47:27.955Z] ---> c0431e0168d1 [2023-05-11T17:47:27.955Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-05-11T17:47:27.955Z] ---> Running in 375575f5c5da [2023-05-11T17:47:28.226Z] Removing intermediate container 375575f5c5da [2023-05-11T17:47:28.226Z] ---> 2b1dfa12270d [2023-05-11T17:47:28.226Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-05-11T17:47:28.226Z] ---> Running in 0696c5388a5e [2023-05-11T17:47:28.495Z] Removing intermediate container 0696c5388a5e [2023-05-11T17:47:28.495Z] ---> 1df6a4fdfdc8 [2023-05-11T17:47:28.495Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-05-11T17:47:28.763Z] ---> Running in b32f767a21f2 [2023-05-11T17:47:29.031Z] Removing intermediate container b32f767a21f2 [2023-05-11T17:47:29.031Z] ---> b1422a872403 [2023-05-11T17:47:29.031Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-11T17:47:29.031Z] ---> Running in bfec867f4c64 [2023-05-11T17:47:30.001Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-11T17:47:30.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-11T17:47:31.548Z] OK: 263 MiB in 53 packages [2023-05-11T17:47:32.515Z] Removing intermediate container bfec867f4c64 [2023-05-11T17:47:32.515Z] ---> 9fa5f88e2bad [2023-05-11T17:47:32.515Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-05-11T17:47:32.515Z] ---> Running in b6d8282c5c46 [2023-05-11T17:47:32.782Z] Removing intermediate container b6d8282c5c46 [2023-05-11T17:47:32.782Z] ---> dd19ec34d281 [2023-05-11T17:47:32.782Z] Step 10/26 : COPY go.mod vendor* ./ [2023-05-11T17:47:33.368Z] ---> 5dec16d5c3d3 [2023-05-11T17:47:33.368Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-11T17:47:33.368Z] ---> Running in 7f59ef1cf1f7 [2023-05-11T17:47:35.958Z] Removing intermediate container 7f59ef1cf1f7 [2023-05-11T17:47:35.958Z] ---> e20264d55746 [2023-05-11T17:47:35.958Z] Step 12/26 : COPY . . [2023-05-11T17:47:37.374Z] ---> 15b947419f92 [2023-05-11T17:47:37.374Z] Step 13/26 : RUN ${MAKE} [2023-05-11T17:47:37.647Z] ---> Running in 5a45849bf4cd [2023-05-11T17:47:38.618Z] 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-11T17:50:00.348Z] Removing intermediate container 5a45849bf4cd [2023-05-11T17:50:00.348Z] ---> 3dca025edf5b [2023-05-11T17:50:00.348Z] Step 14/26 : FROM alpine:3.17 [2023-05-11T17:50:00.348Z] 3.17: Pulling from library/alpine [2023-05-11T17:50:00.348Z] c41833b44d91: Already exists [2023-05-11T17:50:00.348Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-11T17:50:00.348Z] Status: Downloaded newer image for alpine:3.17 [2023-05-11T17:50:00.348Z] ---> 51e60588ff2c [2023-05-11T17:50:00.348Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-11T17:50:00.348Z] ---> Running in f3f5e68415f0 [2023-05-11T17:50:00.348Z] Removing intermediate container f3f5e68415f0 [2023-05-11T17:50:00.348Z] ---> 471742b9d1f1 [2023-05-11T17:50:00.348Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-05-11T17:50:00.348Z] ---> Running in 166bad34a20e [2023-05-11T17:50:00.348Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-11T17:50:00.348Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-11T17:50:00.348Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-11T17:50:00.348Z] Executing busybox-1.35.0-r29.trigger [2023-05-11T17:50:00.348Z] OK: 8 MiB in 16 packages [2023-05-11T17:50:00.348Z] Removing intermediate container 166bad34a20e [2023-05-11T17:50:00.348Z] ---> 062c6e610863 [2023-05-11T17:50:00.348Z] Step 17/26 : WORKDIR / [2023-05-11T17:50:00.348Z] ---> Running in da63a678261f [2023-05-11T17:50:00.348Z] Removing intermediate container da63a678261f [2023-05-11T17:50:00.348Z] ---> 7ed391e1a18d [2023-05-11T17:50:00.348Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-05-11T17:50:01.760Z] ---> dff82eb9d313 [2023-05-11T17:50:01.760Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-05-11T17:50:02.033Z] ---> 30a4ae9fdc80 [2023-05-11T17:50:02.033Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-05-11T17:50:02.618Z] ---> 63f5d3e6a53c [2023-05-11T17:50:02.618Z] Step 21/26 : EXPOSE 59984 [2023-05-11T17:50:02.618Z] ---> Running in e54fa8a76567 [2023-05-11T17:50:02.885Z] Removing intermediate container e54fa8a76567 [2023-05-11T17:50:02.885Z] ---> 31e7a5d9836c [2023-05-11T17:50:02.885Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-05-11T17:50:03.155Z] ---> Running in bedc0601344a [2023-05-11T17:50:03.421Z] Removing intermediate container bedc0601344a [2023-05-11T17:50:03.421Z] ---> ae1c946b9d7c [2023-05-11T17:50:03.421Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-11T17:50:03.421Z] ---> Running in ba7f4dee39f2 [2023-05-11T17:50:03.688Z] Removing intermediate container ba7f4dee39f2 [2023-05-11T17:50:03.688Z] ---> a60d90e2b36a [2023-05-11T17:50:03.688Z] Step 24/26 : LABEL arch=arm64 [2023-05-11T17:50:03.688Z] ---> Running in 06a25c5f58cd [2023-05-11T17:50:03.957Z] Removing intermediate container 06a25c5f58cd [2023-05-11T17:50:03.957Z] ---> adacf8e1c6f0 [2023-05-11T17:50:03.957Z] Step 25/26 : LABEL git_sha=dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da [2023-05-11T17:50:03.957Z] ---> Running in 5b26d1abc1d9 [2023-05-11T17:50:04.228Z] Removing intermediate container 5b26d1abc1d9 [2023-05-11T17:50:04.228Z] ---> bcfc517a9514 [2023-05-11T17:50:04.228Z] Step 26/26 : LABEL version=0.0.0 [2023-05-11T17:50:04.497Z] ---> Running in 18612575d4b1 [2023-05-11T17:50:04.764Z] Removing intermediate container 18612575d4b1 [2023-05-11T17:50:04.764Z] ---> 5570ab8ef2b9 [2023-05-11T17:50:04.764Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-11T17:50:04.764Z] Successfully built 5570ab8ef2b9 [2023-05-11T17:50:04.764Z] 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-11T17:50:05.599Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-11T17:50:05.599Z] [2023-05-11T17:50:05.599Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T17:50:06.012Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-11T17:50:06.012Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-11T17:50:06.012Z] 8998bd30e6a1: Pulling fs layer [2023-05-11T17:50:06.012Z] 04944245beec: Pulling fs layer [2023-05-11T17:50:06.012Z] 699f458cf7ca: Pulling fs layer [2023-05-11T17:50:06.012Z] 765212b225bb: Pulling fs layer [2023-05-11T17:50:06.012Z] f23df028b6ca: Pulling fs layer [2023-05-11T17:50:06.012Z] d65c8cfc05b1: Pulling fs layer [2023-05-11T17:50:06.012Z] 2437ff75d9bd: Pulling fs layer [2023-05-11T17:50:06.012Z] 765212b225bb: Waiting [2023-05-11T17:50:06.012Z] f23df028b6ca: Waiting [2023-05-11T17:50:06.012Z] 2437ff75d9bd: Waiting [2023-05-11T17:50:06.280Z] 04944245beec: Verifying Checksum [2023-05-11T17:50:06.280Z] 04944245beec: Download complete [2023-05-11T17:50:06.280Z] 765212b225bb: Verifying Checksum [2023-05-11T17:50:06.280Z] 765212b225bb: Download complete [2023-05-11T17:50:06.280Z] f23df028b6ca: Download complete [2023-05-11T17:50:06.280Z] d65c8cfc05b1: Verifying Checksum [2023-05-11T17:50:06.280Z] d65c8cfc05b1: Download complete [2023-05-11T17:50:06.280Z] 699f458cf7ca: Verifying Checksum [2023-05-11T17:50:06.280Z] 699f458cf7ca: Download complete [2023-05-11T17:50:06.864Z] 8998bd30e6a1: Verifying Checksum [2023-05-11T17:50:06.864Z] 8998bd30e6a1: Download complete [2023-05-11T17:50:08.819Z] 2437ff75d9bd: Verifying Checksum [2023-05-11T17:50:08.819Z] 2437ff75d9bd: Download complete [2023-05-11T17:50:10.228Z] 8998bd30e6a1: Pull complete [2023-05-11T17:50:10.811Z] 04944245beec: Pull complete [2023-05-11T17:50:12.221Z] 699f458cf7ca: Pull complete [2023-05-11T17:50:12.221Z] 765212b225bb: Pull complete [2023-05-11T17:50:15.567Z] f23df028b6ca: Pull complete [2023-05-11T17:50:15.567Z] d65c8cfc05b1: Pull complete [2023-05-11T17:50:30.570Z] 2437ff75d9bd: Pull complete [2023-05-11T17:50:30.570Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-11T17:50:30.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-11T17:50:30.570Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T17:50:30.935Z] prd-ubuntu20.04-docker-arm64-4c-16g-15223 does not seem to be running inside a container [2023-05-11T17:50:31.024Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-11T17:50:33.648Z] $ docker top 00c08e87e4d688e9956558a455e2007de7307121a65e8d85e082bf712323a2d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T17:50:34.560Z] ---> job-cost.sh [2023-05-11T17:50:34.560Z] lf-activate-venv: SKIPPING [2023-05-11T17:50:34.560Z] INFO: No Stack... [2023-05-11T17:50:35.143Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-11T17:50:35.726Z] INFO: Archiving Costs [Pipeline] sh [2023-05-11T17:50:36.641Z] + + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-05-11T17:50:36.641Z] cut -d, -f6 [Pipeline] lock [2023-05-11T17:50:36.723Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-359-1-stack-cost] [2023-05-11T17:50:36.728Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-359-1-stack-cost] did not exist. Created. [2023-05-11T17:50:36.728Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-359-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-11T17:50:37.459Z] /w/workspace/device-onvif-camera/1@tmp/durable-c79a0467/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-11T17:50:38.129Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-11T17:50:38.169Z] Warning: overwriting stash ‘stack-cost’ [2023-05-11T17:50:38.222Z] Stashed 1 file(s) [Pipeline] } [2023-05-11T17:50:38.238Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-359-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-11T17:50:38.333Z] $ docker stop --time=1 00c08e87e4d688e9956558a455e2007de7307121a65e8d85e082bf712323a2d8 [2023-05-11T17:50:42.438Z] $ docker rm -f --volumes 00c08e87e4d688e9956558a455e2007de7307121a65e8d85e082bf712323a2d8 [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-11T17:50:43.453Z] provisioning config files... [2023-05-11T17:50:43.460Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-359@tmp/config5957213663848752348tmp [Pipeline] { [Pipeline] sh [2023-05-11T17:50:43.806Z] + set +x [2023-05-11T17:50:43.806Z] + bash -s -- [2023-05-11T17:50:43.806Z] + curl -s https://codecov.io/bash [2023-05-11T17:50:44.066Z] [2023-05-11T17:50:44.066Z] _____ _ [2023-05-11T17:50:44.066Z] / ____| | | [2023-05-11T17:50:44.066Z] | | ___ __| | ___ ___ _____ __ [2023-05-11T17:50:44.066Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-11T17:50:44.066Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-11T17:50:44.066Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-11T17:50:44.066Z] Bash-1.0.6 [2023-05-11T17:50:44.066Z] [2023-05-11T17:50:44.066Z] [2023-05-11T17:50:44.066Z] ==> git version 2.25.1 found [2023-05-11T17:50:44.066Z] ==> 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-11T17:50:44.066Z] Release-Date: 2020-01-08 [2023-05-11T17:50:44.066Z] 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-11T17:50:44.066Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-11T17:50:44.066Z] ==> Jenkins CI detected. [2023-05-11T17:50:44.066Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-359 [2023-05-11T17:50:44.066Z] project root: . [2023-05-11T17:50:44.066Z] --> token set from env [2023-05-11T17:50:44.066Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-11T17:50:44.066Z] ==> Running gcov in . (disable via -X gcov) [2023-05-11T17:50:44.066Z] ==> Python coveragepy not found [2023-05-11T17:50:44.066Z] ==> Searching for coverage reports in: [2023-05-11T17:50:44.066Z] + . [2023-05-11T17:50:44.066Z] -> Found 1 reports [2023-05-11T17:50:44.066Z] ==> Detecting git/mercurial file structure [2023-05-11T17:50:44.066Z] ==> Reading reports [2023-05-11T17:50:44.066Z] + ./coverage.out bytes=78459 [2023-05-11T17:50:44.066Z] ==> Appending adjustments [2023-05-11T17:50:44.066Z] https://docs.codecov.io/docs/fixing-reports [2023-05-11T17:50:44.325Z] + Found adjustments [2023-05-11T17:50:44.325Z] ==> Gzipping contents [2023-05-11T17:50:44.325Z] 12K /tmp/codecov.s2XRZt.gz [2023-05-11T17:50:44.325Z] ==> Uploading reports [2023-05-11T17:50:44.326Z] url: https://codecov.io [2023-05-11T17:50:44.326Z] query: branch=PR-359&commit=dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-359%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=359&job=&cmd_args= [2023-05-11T17:50:44.326Z] -> Pinging Codecov [2023-05-11T17:50:44.326Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-359&commit=dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-359%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=359&job=&cmd_args= [2023-05-11T17:50:44.585Z] -> Uploading to [2023-05-11T17:50:44.585Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-11/F29A59C45E3A92E06B3E522C9905F8EF/dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da/83366cff-0f02-4c8b-9173-6edf2f37e0bc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230511T175044Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=737faf661a21e0dbac45e2cf018b1d99ac994442b1e83ba17bf1f58e477ba982 [2023-05-11T17:50:44.585Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-11T17:50:44.585Z] Dload Upload Total Spent Left Speed [2023-05-11T17:50:44.585Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 48649 --:--:-- --:--:-- --:--:-- 48649 [2023-05-11T17:50:44.585Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/dfb5e023b0f63d54ab8a0ec37ff3d572cc6a59da [Pipeline] } [2023-05-11T17:50:44.614Z] 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-11T17:50:46.423Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-359/archives ] [2023-05-11T17:50:46.423Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-359/archives [2023-05-11T17:50:46.423Z] total 16 [2023-05-11T17:50:46.423Z] drwxr-xr-x 3 root root 4096 May 11 17:41 . [2023-05-11T17:50:46.423Z] drwxrwxr-x 11 jenkins jenkins 4096 May 11 17:41 .. [2023-05-11T17:50:46.423Z] drwxr-xr-x 2 root root 4096 May 11 17:41 cost [2023-05-11T17:50:46.423Z] -rw-r--r-- 1 root root 91 May 11 17:41 cost.csv [2023-05-11T17:50:46.423Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-359/archives [2023-05-11T17:50:46.423Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-359/archives [2023-05-11T17:50:46.423Z] total 16 [2023-05-11T17:50:46.423Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 17:41 . [2023-05-11T17:50:46.423Z] drwxrwxr-x 11 jenkins jenkins 4096 May 11 17:41 .. [2023-05-11T17:50:46.423Z] drwxr-xr-x 2 jenkins jenkins 4096 May 11 17:41 cost [2023-05-11T17:50:46.423Z] -rw-r--r-- 1 jenkins jenkins 91 May 11 17:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-11T17:50:46.758Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T17:50:47.657Z] ---> package-listing.sh [2023-05-11T17:50:47.657Z] ++ facter osfamily [2023-05-11T17:50:47.657Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-11T17:50:47.918Z] + OS_FAMILY=debian [2023-05-11T17:50:47.918Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-359 [2023-05-11T17:50:47.918Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-11T17:50:47.918Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-11T17:50:47.918Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-11T17:50:47.918Z] + PACKAGES=/tmp/packages_start.txt [2023-05-11T17:50:47.918Z] + '[' /w/workspace/undry_device-onvif-camera_PR-359 ']' [2023-05-11T17:50:47.918Z] + PACKAGES=/tmp/packages_end.txt [2023-05-11T17:50:47.918Z] + case "${OS_FAMILY}" in [2023-05-11T17:50:47.918Z] + dpkg -l [2023-05-11T17:50:47.918Z] + grep '^ii' [2023-05-11T17:50:47.918Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-11T17:50:47.918Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-11T17:50:47.918Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-11T17:50:47.918Z] + '[' /w/workspace/undry_device-onvif-camera_PR-359 ']' [2023-05-11T17:50:47.918Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-359/archives/ [2023-05-11T17:50:47.918Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-359/archives/ [Pipeline] echo [2023-05-11T17:50:47.954Z] 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-359/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-11T17:50:48.246Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T17:50:48.878Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-11T17:50:48.879Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T17:50:49.119Z] prd-ubuntu20.04-docker-8c-8g-15222 does not seem to be running inside a container [2023-05-11T17:50:49.149Z] $ 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-359/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-359 -v /w/workspace/undry_device-onvif-camera_PR-359:/w/workspace/undry_device-onvif-camera_PR-359:rw,z -v /w/workspace/undry_device-onvif-camera_PR-359@tmp:/w/workspace/undry_device-onvif-camera_PR-359@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-11T17:50:49.344Z] $ docker top 6d63dfb469c9ad09803861f214a3d8e8b99d20660de2890e3b40f4bbe2767b91 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T17:50:49.746Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-11T17:50:50.058Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-11T17:50:50.367Z] + ls /var/log/sa-host [2023-05-11T17:50:50.367Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-11T17:50:50.623Z] provisioning config files... [2023-05-11T17:50:50.633Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-359@tmp/config11246471288769514094tmp [Pipeline] { [Pipeline] echo [2023-05-11T17:50:50.679Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T17:50:50.990Z] ---> create-netrc.sh [Pipeline] } [2023-05-11T17:50:51.020Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-11T17:50:51.420Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-11T17:50:51.453Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T17:50:51.767Z] ---> sudo-logs.sh [2023-05-11T17:50:51.767Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-11T17:50:51.867Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T17:50:52.184Z] ---> job-cost.sh [2023-05-11T17:50:52.184Z] lf-activate-venv: SKIPPING [2023-05-11T17:50:52.184Z] DEBUG: total: 0.2199999988079071 [2023-05-11T17:50:52.184Z] INFO: Retrieving Stack Cost... [2023-05-11T17:50:52.752Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-11T17:50:53.011Z] INFO: Archiving Costs [Pipeline] echo [2023-05-11T17:50:53.046Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T17:50:53.359Z] ---> logs-deploy.sh [2023-05-11T17:50:53.359Z] lf-activate-venv: SKIPPING [2023-05-11T17:50:53.359Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-359/1 [2023-05-11T17:50:53.359Z] INFO: archiving workspace using pattern(s): [2023-05-11T17:50:54.297Z] Archives upload complete. [2023-05-11T17:50:54.297Z] INFO: archiving logs to Nexus