Pull request #379 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 FelixTing for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 3e12a3454e1eae7ede363cc2941cd34070d88455+ed280a745d7a481fda411e84eedc9b35ce489b45 (b0b5011cf09336027224409f11c2a61e1afb100a) 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-ssh16653494268555774046.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh2678912328173342886.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-379/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-379/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12541617166223478609.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-379/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18266430538722524632.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh17430922823438133870.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-379/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-379/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16980558309834887239.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4716 in /w/workspace/undry_device-onvif-camera_PR-379 [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-379 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/379/head:refs/remotes/origin/PR-379 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ed280a745d7a481fda411e84eedc9b35ce489b45 into PR head commit 3e12a3454e1eae7ede363cc2941cd34070d88455 Merge succeeded, producing 3e12a3454e1eae7ede363cc2941cd34070d88455 Checking out Revision 3e12a3454e1eae7ede363cc2941cd34070d88455 (PR-379) > git config core.sparsecheckout # timeout=10 > git checkout -f 3e12a3454e1eae7ede363cc2941cd34070d88455 # 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 ed280a745d7a481fda411e84eedc9b35ce489b45 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e12a3454e1eae7ede363cc2941cd34070d88455 # timeout=10 Commit message: "feat!: replace gorilla/mux with labstack/echo" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-28T06:17:18.731Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-28T06:17:18.921Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-28T06:17:19.037Z] ========================================================= [2023-08-28T06:17:19.037Z] EdgeX Global Pipelines Version Info [2023-08-28T06:17:19.037Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-28T06:17:19.772Z] ------------------- [2023-08-28T06:17:19.772Z] stable info: [2023-08-28T06:17:19.772Z] ------------------- [2023-08-28T06:17:19.772Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-28T06:17:19.772Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-28T06:17:19.772Z] Message: update stable to v1.0.253 [2023-08-28T06:17:20.343Z] ------------------- [2023-08-28T06:17:20.343Z] experimental info: [2023-08-28T06:17:20.343Z] ------------------- [2023-08-28T06:17:20.343Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-28T06:17:20.343Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-28T06:17:20.343Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-28T06:17:20.625Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-08-28T06:17:20.670Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-08-28T06:17:20.714Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-28T06:17:20.758Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-28T06:17:20.806Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-28T06:17:20.849Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-28T06:17:20.891Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-28T06:17:20.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-28T06:17:20.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-28T06:17:21.032Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-28T06:17:21.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-28T06:17:21.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-08-28T06:17:21.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-28T06:17:21.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-28T06:17:21.270Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-28T06:17:21.310Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-28T06:17:21.347Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-28T06:17:21.387Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-28T06:17:21.431Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-28T06:17:21.474Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-28T06:17:21.515Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-08-28T06:17:21.555Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2023-08-28T06:17:21.602Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-28T06:17:21.644Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-28T06:17:21.684Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-28T06:17:21.728Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-28T06:17:21.770Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-28T06:17:21.812Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-379 [Pipeline] echo [2023-08-28T06:17:21.851Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-379 [Pipeline] echo [2023-08-28T06:17:21.896Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-379 [Pipeline] echo [2023-08-28T06:17:21.934Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3e12a3454e1eae7ede363cc2941cd34070d88455 [Pipeline] echo [2023-08-28T06:17:21.977Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3e12a34 [Pipeline] echo [2023-08-28T06:17:22.022Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-28T06:17:22.146Z] provisioning config files... [2023-08-28T06:17:22.161Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-379@tmp/config7976085536978560794tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-28T06:17:22.510Z] ---> docker-login.sh [2023-08-28T06:17:22.510Z] nexus3.edgexfoundry.org:10001 [2023-08-28T06:17:22.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T06:17:22.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T06:17:22.770Z] Configure a credential helper to remove this warning. See [2023-08-28T06:17:22.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T06:17:22.770Z] [2023-08-28T06:17:22.770Z] Login Succeeded [2023-08-28T06:17:22.770Z] nexus3.edgexfoundry.org:10002 [2023-08-28T06:17:23.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T06:17:23.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T06:17:23.031Z] Configure a credential helper to remove this warning. See [2023-08-28T06:17:23.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T06:17:23.031Z] [2023-08-28T06:17:23.031Z] Login Succeeded [2023-08-28T06:17:23.031Z] nexus3.edgexfoundry.org:10003 [2023-08-28T06:17:23.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T06:17:23.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T06:17:23.031Z] Configure a credential helper to remove this warning. See [2023-08-28T06:17:23.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T06:17:23.031Z] [2023-08-28T06:17:23.031Z] Login Succeeded [2023-08-28T06:17:23.031Z] nexus3.edgexfoundry.org:10004 [2023-08-28T06:17:23.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T06:17:23.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T06:17:23.291Z] Configure a credential helper to remove this warning. See [2023-08-28T06:17:23.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T06:17:23.291Z] [2023-08-28T06:17:23.291Z] Login Succeeded [2023-08-28T06:17:23.291Z] docker.io [2023-08-28T06:17:23.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T06:17:23.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T06:17:23.550Z] Configure a credential helper to remove this warning. See [2023-08-28T06:17:23.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T06:17:23.550Z] [2023-08-28T06:17:23.550Z] Login Succeeded [2023-08-28T06:17:23.550Z] ---> docker-login.sh ends [Pipeline] } [2023-08-28T06:17:23.575Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-28T06:17:24.234Z] + git rev-list -1 --merges 3e12a3454e1eae7ede363cc2941cd34070d88455~1..3e12a3454e1eae7ede363cc2941cd34070d88455 [Pipeline] echo [2023-08-28T06:17:24.297Z] -----------> git rev-list -1 --merges 3e12a3454e1eae7ede363cc2941cd34070d88455~1..3e12a3454e1eae7ede363cc2941cd34070d88455 3e12a3454e1eae7ede363cc2941cd34070d88455 [false] [Pipeline] sh [2023-08-28T06:17:24.610Z] + git log --format=format:%s -1 3e12a3454e1eae7ede363cc2941cd34070d88455 [Pipeline] echo [2023-08-28T06:17:24.652Z] ========================================================= [2023-08-28T06:17:24.652Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-28T06:17:24.652Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-28T06:17:25.092Z] + git log --format=format:%s -1 3e12a3454e1eae7ede363cc2941cd34070d88455 [Pipeline] echo [2023-08-28T06:17:25.158Z] [semverPrep] GIT_COMMIT: 3e12a3454e1eae7ede363cc2941cd34070d88455, Commit Message: feat!: replace gorilla/mux with labstack/echo [Pipeline] echo [2023-08-28T06:17:25.210Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-28T06:17:25.613Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-28T06:17:25.613Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-28T06:17:25.613Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-28T06:17:25.614Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-28T06:17:25.614Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-28T06:17:25.614Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-28T06:17:25.614Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T06:17:26.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-28T06:17:26.116Z] [2023-08-28T06:17:26.116Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T06:17:26.578Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-28T06:17:26.578Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-28T06:17:26.578Z] b85a868b505f: Pulling fs layer [2023-08-28T06:17:26.578Z] e2be974225ed: Pulling fs layer [2023-08-28T06:17:26.578Z] 339a4e72a1f5: Pulling fs layer [2023-08-28T06:17:26.578Z] 988bab9f4d93: Pulling fs layer [2023-08-28T06:17:26.578Z] 1469e6f7b9e6: Pulling fs layer [2023-08-28T06:17:26.578Z] eaf3925da568: Pulling fs layer [2023-08-28T06:17:26.578Z] bab4dde63d76: Pulling fs layer [2023-08-28T06:17:26.578Z] bde34c3a00c8: Pulling fs layer [2023-08-28T06:17:26.578Z] b352a97aabf1: Pulling fs layer [2023-08-28T06:17:26.578Z] 4872d77fe225: Pulling fs layer [2023-08-28T06:17:26.578Z] 5851b861e8e6: Pulling fs layer [2023-08-28T06:17:26.578Z] eaf3925da568: Waiting [2023-08-28T06:17:26.578Z] bab4dde63d76: Waiting [2023-08-28T06:17:26.578Z] bde34c3a00c8: Waiting [2023-08-28T06:17:26.578Z] 1469e6f7b9e6: Waiting [2023-08-28T06:17:26.578Z] 4872d77fe225: Waiting [2023-08-28T06:17:26.578Z] 5851b861e8e6: Waiting [2023-08-28T06:17:26.578Z] b352a97aabf1: Waiting [2023-08-28T06:17:26.578Z] e2be974225ed: Verifying Checksum [2023-08-28T06:17:26.578Z] e2be974225ed: Download complete [2023-08-28T06:17:26.578Z] 988bab9f4d93: Verifying Checksum [2023-08-28T06:17:26.578Z] 988bab9f4d93: Download complete [2023-08-28T06:17:26.578Z] 1469e6f7b9e6: Verifying Checksum [2023-08-28T06:17:26.578Z] 1469e6f7b9e6: Download complete [2023-08-28T06:17:26.578Z] eaf3925da568: Verifying Checksum [2023-08-28T06:17:26.578Z] eaf3925da568: Download complete [2023-08-28T06:17:26.836Z] 339a4e72a1f5: Verifying Checksum [2023-08-28T06:17:26.836Z] 339a4e72a1f5: Download complete [2023-08-28T06:17:26.836Z] bde34c3a00c8: Download complete [2023-08-28T06:17:26.836Z] b352a97aabf1: Download complete [2023-08-28T06:17:26.836Z] 4872d77fe225: Verifying Checksum [2023-08-28T06:17:26.836Z] 4872d77fe225: Download complete [2023-08-28T06:17:26.836Z] 5851b861e8e6: Verifying Checksum [2023-08-28T06:17:26.836Z] 5851b861e8e6: Download complete [2023-08-28T06:17:26.836Z] b85a868b505f: Verifying Checksum [2023-08-28T06:17:26.836Z] b85a868b505f: Download complete [2023-08-28T06:17:27.094Z] bab4dde63d76: Verifying Checksum [2023-08-28T06:17:27.094Z] bab4dde63d76: Download complete [2023-08-28T06:17:28.032Z] b85a868b505f: Pull complete [2023-08-28T06:17:28.032Z] e2be974225ed: Pull complete [2023-08-28T06:17:28.599Z] 339a4e72a1f5: Pull complete [2023-08-28T06:17:28.599Z] 988bab9f4d93: Pull complete [2023-08-28T06:17:28.859Z] 1469e6f7b9e6: Pull complete [2023-08-28T06:17:28.859Z] eaf3925da568: Pull complete [2023-08-28T06:17:30.763Z] bab4dde63d76: Pull complete [2023-08-28T06:17:30.763Z] bde34c3a00c8: Pull complete [2023-08-28T06:17:30.763Z] b352a97aabf1: Pull complete [2023-08-28T06:17:30.763Z] 4872d77fe225: Pull complete [2023-08-28T06:17:30.763Z] 5851b861e8e6: Pull complete [2023-08-28T06:17:30.763Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-28T06:17:30.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-28T06:17:30.763Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T06:17:30.990Z] prd-ubuntu20.04-docker-8c-8g-4716 does not seem to be running inside a container [2023-08-28T06:17:31.013Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-379 -v /w/workspace/undry_device-onvif-camera_PR-379:/w/workspace/undry_device-onvif-camera_PR-379:rw,z -v /w/workspace/undry_device-onvif-camera_PR-379@tmp:/w/workspace/undry_device-onvif-camera_PR-379@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-28T06:17:33.770Z] $ docker top 7d708995a68b452cbf9e84da851d221472d0993fcbeca168167609e780927f1d -eo pid,comm [2023-08-28T06:17:33.833Z] 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-08-28T06:17:33.833Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-28T06:17:33.961Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-28T06:17:33.961Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-28T06:17:34.082Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-28T06:17:34.082Z] $ docker exec 7d708995a68b452cbf9e84da851d221472d0993fcbeca168167609e780927f1d ssh-agent [2023-08-28T06:17:34.194Z] SSH_AUTH_SOCK=/tmp/ssh-xYmn1UltI8h6/agent.32 [2023-08-28T06:17:34.194Z] SSH_AGENT_PID=38 [2023-08-28T06:17:34.201Z] Running ssh-add (command line suppressed) [2023-08-28T06:17:34.313Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-379@tmp/private_key_8865901585336876879.key (/w/workspace/undry_device-onvif-camera_PR-379@tmp/private_key_8865901585336876879.key) [2023-08-28T06:17:34.331Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-28T06:17:34.658Z] + git tag --points-at HEAD [Pipeline] } [2023-08-28T06:17:34.682Z] $ docker exec --env ******** --env ******** 7d708995a68b452cbf9e84da851d221472d0993fcbeca168167609e780927f1d ssh-agent -k [2023-08-28T06:17:34.795Z] unset SSH_AUTH_SOCK; [2023-08-28T06:17:34.796Z] unset SSH_AGENT_PID; [2023-08-28T06:17:34.796Z] echo Agent pid 38 killed; [2023-08-28T06:17:34.809Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-28T06:17:34.901Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-28T06:17:34.901Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-28T06:17:35.018Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-28T06:17:35.018Z] $ docker exec 7d708995a68b452cbf9e84da851d221472d0993fcbeca168167609e780927f1d ssh-agent [2023-08-28T06:17:35.131Z] SSH_AUTH_SOCK=/tmp/ssh-08vKtK3P8uzt/agent.71 [2023-08-28T06:17:35.131Z] SSH_AGENT_PID=77 [2023-08-28T06:17:35.136Z] Running ssh-add (command line suppressed) [2023-08-28T06:17:35.237Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-379@tmp/private_key_11694271240574271356.key (/w/workspace/undry_device-onvif-camera_PR-379@tmp/private_key_11694271240574271356.key) [2023-08-28T06:17:35.256Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-28T06:17:35.584Z] + git semver init [2023-08-28T06:17:35.844Z] 2023-08-28 06:17:35,777 [run_init] DEBUG init version:0.0.0 force:False [2023-08-28T06:17:35.844Z] 2023-08-28 06:17:35,778 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-379/.semver [2023-08-28T06:17:35.844Z] 2023-08-28 06:17:35,778 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-379/.semver [2023-08-28T06:17:35.844Z] 2023-08-28 06:17:35,778 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-379/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-379, universal_newlines=False, shell=None, istream=None) [2023-08-28T06:17:36.786Z] 2023-08-28 06:17:36,778 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-379/.git/info/exclude [2023-08-28T06:17:36.786Z] 2023-08-28 06:17:36,778 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-379/.semver/PR-379 with force:False [2023-08-28T06:17:36.786Z] 2023-08-28 06:17:36,778 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-379/.semver/PR-379 [2023-08-28T06:17:36.786Z] 2023-08-28 06:17:36,782 [execute] INFO git cat-file --batch-check [2023-08-28T06:17:36.786Z] 2023-08-28 06:17:36,783 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-379/.semver, universal_newlines=False, shell=None, istream=) [2023-08-28T06:17:37.046Z] 2023-08-28 06:17:36,790 [execute] INFO git cat-file --batch [2023-08-28T06:17:37.046Z] 2023-08-28 06:17:36,790 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-379/.semver, universal_newlines=False, shell=None, istream=) [2023-08-28T06:17:37.046Z] 2023-08-28 06:17:36,795 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-379/.semver/PR-379 [2023-08-28T06:17:37.046Z] 0.0.0 [Pipeline] } [2023-08-28T06:17:37.074Z] $ docker exec --env ******** --env ******** 7d708995a68b452cbf9e84da851d221472d0993fcbeca168167609e780927f1d ssh-agent -k [2023-08-28T06:17:37.174Z] unset SSH_AUTH_SOCK; [2023-08-28T06:17:37.175Z] unset SSH_AGENT_PID; [2023-08-28T06:17:37.175Z] echo Agent pid 77 killed; [2023-08-28T06:17:37.186Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-28T06:17:37.609Z] + git semver [Pipeline] } [2023-08-28T06:17:37.901Z] $ docker stop --time=1 7d708995a68b452cbf9e84da851d221472d0993fcbeca168167609e780927f1d [2023-08-28T06:17:39.197Z] $ docker rm -f --volumes 7d708995a68b452cbf9e84da851d221472d0993fcbeca168167609e780927f1d [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-28T06:17:39.591Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-28T06:17:39.840Z] Stashed 1 file(s) [Pipeline] echo [2023-08-28T06:17:39.857Z] [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-08-28T06:17:40.457Z] provisioning config files... [2023-08-28T06:17:40.467Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-379@tmp/config6233791474113679692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-28T06:17:40.812Z] ---> docker-login.sh [2023-08-28T06:17:40.812Z] nexus3.edgexfoundry.org:10001 [2023-08-28T06:17:40.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T06:17:40.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T06:17:40.812Z] Configure a credential helper to remove this warning. See [2023-08-28T06:17:40.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T06:17:40.812Z] [2023-08-28T06:17:40.812Z] Login Succeeded [2023-08-28T06:17:40.812Z] nexus3.edgexfoundry.org:10002 [2023-08-28T06:17:40.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T06:17:40.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T06:17:40.812Z] Configure a credential helper to remove this warning. See [2023-08-28T06:17:40.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T06:17:40.812Z] [2023-08-28T06:17:40.812Z] Login Succeeded [2023-08-28T06:17:40.812Z] nexus3.edgexfoundry.org:10003 [2023-08-28T06:17:41.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T06:17:41.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T06:17:41.074Z] Configure a credential helper to remove this warning. See [2023-08-28T06:17:41.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T06:17:41.074Z] [2023-08-28T06:17:41.074Z] Login Succeeded [2023-08-28T06:17:41.074Z] nexus3.edgexfoundry.org:10004 [2023-08-28T06:17:41.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T06:17:41.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T06:17:41.074Z] Configure a credential helper to remove this warning. See [2023-08-28T06:17:41.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T06:17:41.074Z] [2023-08-28T06:17:41.074Z] Login Succeeded [2023-08-28T06:17:41.074Z] docker.io [2023-08-28T06:17:41.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T06:17:41.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T06:17:41.331Z] Configure a credential helper to remove this warning. See [2023-08-28T06:17:41.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T06:17:41.331Z] [2023-08-28T06:17:41.331Z] Login Succeeded [2023-08-28T06:17:41.331Z] ---> docker-login.sh ends [Pipeline] } [2023-08-28T06:17:41.355Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-28T06:17:41.552Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-28T06:17:41.591Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-28T06:17:41.621Z] ========================================================= [2023-08-28T06:17:41.621Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-28T06:17:41.621Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T06:17:42.088Z] + 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-08-28T06:17:42.088Z] Sending build context to Docker daemon 21.71MB [2023-08-28T06:17:42.088Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-28T06:17:42.088Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-28T06:17:42.347Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-28T06:17:42.347Z] 4db1b89c0bd1: Pulling fs layer [2023-08-28T06:17:42.347Z] 6911f1a30b25: Pulling fs layer [2023-08-28T06:17:42.347Z] e194b8c5c2a9: Pulling fs layer [2023-08-28T06:17:42.347Z] 6863d3e3a2b1: Pulling fs layer [2023-08-28T06:17:42.347Z] ec0bb842ea78: Pulling fs layer [2023-08-28T06:17:42.347Z] 40a00589a448: Pulling fs layer [2023-08-28T06:17:42.347Z] 6c08303d61cc: Pulling fs layer [2023-08-28T06:17:42.347Z] ec0bb842ea78: Waiting [2023-08-28T06:17:42.347Z] 40a00589a448: Waiting [2023-08-28T06:17:42.347Z] 6863d3e3a2b1: Waiting [2023-08-28T06:17:42.347Z] 798269fcf238: Pulling fs layer [2023-08-28T06:17:42.347Z] 798269fcf238: Waiting [2023-08-28T06:17:42.347Z] 6c08303d61cc: Waiting [2023-08-28T06:17:42.347Z] 6911f1a30b25: Download complete [2023-08-28T06:17:42.347Z] 6863d3e3a2b1: Verifying Checksum [2023-08-28T06:17:42.347Z] 6863d3e3a2b1: Download complete [2023-08-28T06:17:42.347Z] ec0bb842ea78: Download complete [2023-08-28T06:17:42.347Z] 4db1b89c0bd1: Download complete [2023-08-28T06:17:42.347Z] 40a00589a448: Verifying Checksum [2023-08-28T06:17:42.347Z] 40a00589a448: Download complete [2023-08-28T06:17:42.610Z] 4db1b89c0bd1: Pull complete [2023-08-28T06:17:42.610Z] 6911f1a30b25: Pull complete [2023-08-28T06:17:42.870Z] 798269fcf238: Verifying Checksum [2023-08-28T06:17:42.870Z] 798269fcf238: Download complete [2023-08-28T06:17:42.870Z] e194b8c5c2a9: Verifying Checksum [2023-08-28T06:17:42.870Z] e194b8c5c2a9: Download complete [2023-08-28T06:17:43.130Z] 6c08303d61cc: Verifying Checksum [2023-08-28T06:17:43.130Z] 6c08303d61cc: Download complete [2023-08-28T06:17:46.414Z] e194b8c5c2a9: Pull complete [2023-08-28T06:17:46.414Z] 6863d3e3a2b1: Pull complete [2023-08-28T06:17:46.414Z] ec0bb842ea78: Pull complete [2023-08-28T06:17:46.414Z] 40a00589a448: Pull complete [2023-08-28T06:17:48.947Z] 6c08303d61cc: Pull complete [2023-08-28T06:17:49.513Z] 798269fcf238: Pull complete [2023-08-28T06:17:49.513Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-28T06:17:49.513Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-28T06:17:49.513Z] ---> ec979cd7f677 [2023-08-28T06:17:49.513Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-28T06:17:53.704Z] ---> Running in 5dd5a9602c32 [2023-08-28T06:17:53.704Z] Removing intermediate container 5dd5a9602c32 [2023-08-28T06:17:53.704Z] ---> ba0df88a24fc [2023-08-28T06:17:53.704Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-28T06:17:53.704Z] ---> Running in f3c804611c2f [2023-08-28T06:17:53.967Z] Removing intermediate container f3c804611c2f [2023-08-28T06:17:53.967Z] ---> 95bd331a7dea [2023-08-28T06:17:53.967Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-08-28T06:17:53.967Z] ---> Running in fd3eb9ce9d3e [2023-08-28T06:17:53.967Z] Removing intermediate container fd3eb9ce9d3e [2023-08-28T06:17:53.967Z] ---> ea0c9895b2bb [2023-08-28T06:17:53.967Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-08-28T06:17:53.967Z] ---> Running in e428c9a7833c [2023-08-28T06:17:53.967Z] Removing intermediate container e428c9a7833c [2023-08-28T06:17:53.967Z] ---> 03902e3f635e [2023-08-28T06:17:53.967Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-08-28T06:17:54.226Z] ---> Running in 01892eb3266c [2023-08-28T06:17:54.226Z] Removing intermediate container 01892eb3266c [2023-08-28T06:17:54.226Z] ---> b5bca503b1c3 [2023-08-28T06:17:54.226Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-28T06:17:54.226Z] ---> Running in 56eb54c940f0 [2023-08-28T06:17:54.486Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-28T06:17:54.746Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-28T06:17:55.006Z] OK: 265 MiB in 53 packages [2023-08-28T06:17:55.258Z] Still waiting to schedule task [2023-08-28T06:17:55.258Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-28T06:17:55.265Z] Removing intermediate container 56eb54c940f0 [2023-08-28T06:17:55.265Z] ---> c7102a18c41e [2023-08-28T06:17:55.265Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-08-28T06:17:55.266Z] ---> Running in fb2e9717d468 [2023-08-28T06:17:55.266Z] Removing intermediate container fb2e9717d468 [2023-08-28T06:17:55.266Z] ---> c0a08c93d5e3 [2023-08-28T06:17:55.266Z] Step 10/13 : COPY go.mod vendor* ./ [2023-08-28T06:17:55.524Z] ---> 7f49df292d70 [2023-08-28T06:17:55.524Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-28T06:17:55.524Z] ---> Running in d380dd4dcd34 [2023-08-28T06:18:51.780Z] Removing intermediate container d380dd4dcd34 [2023-08-28T06:18:51.780Z] ---> 711522777231 [2023-08-28T06:18:51.780Z] Step 12/13 : COPY . . [2023-08-28T06:18:51.780Z] ---> 9ecabc06564b [2023-08-28T06:18:51.780Z] Step 13/13 : RUN ${MAKE} [2023-08-28T06:18:51.780Z] ---> Running in 2536a9715efa [2023-08-28T06:18:51.780Z] noop [2023-08-28T06:18:51.780Z] Removing intermediate container 2536a9715efa [2023-08-28T06:18:51.780Z] ---> ecdce6b5b4cb [2023-08-28T06:18:51.780Z] Successfully built ecdce6b5b4cb [2023-08-28T06:18:51.780Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T06:18:52.223Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-28T06:18:52.223Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T06:18:52.379Z] prd-ubuntu20.04-docker-8c-8g-4716 does not seem to be running inside a container [2023-08-28T06:18:52.416Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-379 -v /w/workspace/undry_device-onvif-camera_PR-379:/w/workspace/undry_device-onvif-camera_PR-379:rw,z -v /w/workspace/undry_device-onvif-camera_PR-379@tmp:/w/workspace/undry_device-onvif-camera_PR-379@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 ******** ci-base-image-x86_64 cat [2023-08-28T06:18:52.758Z] $ docker top 686fcb4315bd2b0a89b9e388f9e475fc733711c95463dd7ccb07ac9654d31b82 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-28T06:18:53.129Z] + go version [2023-08-28T06:18:53.129Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-28T06:18:53.161Z] $ docker stop --time=1 686fcb4315bd2b0a89b9e388f9e475fc733711c95463dd7ccb07ac9654d31b82 [2023-08-28T06:18:54.441Z] $ docker rm -f --volumes 686fcb4315bd2b0a89b9e388f9e475fc733711c95463dd7ccb07ac9654d31b82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T06:18:55.210Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-28T06:18:55.211Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T06:18:55.357Z] prd-ubuntu20.04-docker-8c-8g-4716 does not seem to be running inside a container [2023-08-28T06:18:55.393Z] $ 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-379 -v /w/workspace/undry_device-onvif-camera_PR-379:/w/workspace/undry_device-onvif-camera_PR-379:rw,z -v /w/workspace/undry_device-onvif-camera_PR-379@tmp:/w/workspace/undry_device-onvif-camera_PR-379@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 ******** ci-base-image-x86_64 cat [2023-08-28T06:18:55.709Z] $ docker top 7f756d5910cdf8679734e4a7b64e1ce646e42c9640c2448245ea16eed1957326 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-28T06:18:56.076Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-379 [Pipeline] fileExists [Pipeline] sh [2023-08-28T06:18:56.435Z] + make test [2023-08-28T06:18:56.435Z] go test ./... -coverprofile=coverage.out ./... [2023-08-28T06:19:01.700Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-08-28T06:19:13.898Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-08-28T06:19:13.898Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-08-28T06:19:15.801Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.046s coverage: 31.5% of statements [2023-08-28T06:19:22.366Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 8.845s coverage: 86.5% of statements [2023-08-28T06:19:29.111Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4717 in /w/workspace/undry_device-onvif-camera_PR-379 [Pipeline] { [Pipeline] ws [2023-08-28T06:19:29.171Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-08-28T06:19:29.246Z] The recommended git tool is: git [2023-08-28T06:19:30.461Z] go vet ./... [2023-08-28T06:19:33.970Z] using credential edgex-jenkins-ssh [2023-08-28T06:19:33.987Z] Cloning the remote Git repository [2023-08-28T06:19:34.025Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-08-28T06:19:34.639Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-28T06:19:34.639Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-28T06:19:34.639Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-28T06:19:34.676Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-28T06:19:34.714Z] $ docker stop --time=1 7f756d5910cdf8679734e4a7b64e1ce646e42c9640c2448245ea16eed1957326 [2023-08-28T06:19:34.117Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-08-28T06:19:34.259Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-08-28T06:19:34.260Z] > git --version # timeout=10 [2023-08-28T06:19:34.279Z] > git --version # 'git version 2.25.1' [2023-08-28T06:19:34.281Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-28T06:19:34.417Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-28T06:19:36.335Z] $ docker rm -f --volumes 7f756d5910cdf8679734e4a7b64e1ce646e42c9640c2448245ea16eed1957326 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-28T06:19:35.851Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-08-28T06:19:35.870Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-28T06:19:36.856Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-28T06:19:36.939Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2023-08-28T06:19:37.282Z] Merging remotes/origin/main commit ed280a745d7a481fda411e84eedc9b35ce489b45 into PR head commit 3e12a3454e1eae7ede363cc2941cd34070d88455 [Pipeline] sh [2023-08-28T06:19:37.636Z] + sudo chown -R jenkins:jenkins . [2023-08-28T06:19:37.647Z] Merge succeeded, producing 3e12a3454e1eae7ede363cc2941cd34070d88455 [2023-08-28T06:19:37.648Z] Checking out Revision 3e12a3454e1eae7ede363cc2941cd34070d88455 (PR-379) [Pipeline] sh [2023-08-28T06:19:36.670Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-08-28T06:19:36.714Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-08-28T06:19:36.714Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-28T06:19:36.729Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/379/head:refs/remotes/origin/PR-379 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-28T06:19:37.296Z] > git config core.sparsecheckout # timeout=10 [2023-08-28T06:19:37.376Z] > git checkout -f 3e12a3454e1eae7ede363cc2941cd34070d88455 # timeout=10 [2023-08-28T06:19:37.542Z] > git remote # timeout=10 [2023-08-28T06:19:37.561Z] > git config --get remote.origin.url # timeout=10 [2023-08-28T06:19:37.582Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-28T06:19:37.594Z] > git merge ed280a745d7a481fda411e84eedc9b35ce489b45 # timeout=10 [2023-08-28T06:19:37.618Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-28T06:19:37.651Z] > git config core.sparsecheckout # timeout=10 [2023-08-28T06:19:37.667Z] > git checkout -f 3e12a3454e1eae7ede363cc2941cd34070d88455 # timeout=10 [2023-08-28T06:19:37.945Z] + ls -al . [2023-08-28T06:19:37.945Z] total 240 [2023-08-28T06:19:37.945Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 28 06:18 . [2023-08-28T06:19:37.945Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 06:17 .. [2023-08-28T06:19:37.945Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 28 06:17 .git [2023-08-28T06:19:37.945Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 06:17 .github [2023-08-28T06:19:37.945Z] -rw-rw-r-- 1 jenkins jenkins 496 Aug 28 06:17 .gitignore [2023-08-28T06:19:37.945Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 28 06:17 .golangci.yml [2023-08-28T06:19:37.945Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 28 06:17 .semver [2023-08-28T06:19:37.945Z] -rw-rw-r-- 1 jenkins jenkins 11155 Aug 28 06:17 Attribution.txt [2023-08-28T06:19:37.945Z] -rw-rw-r-- 1 jenkins jenkins 15932 Aug 28 06:17 CHANGELOG.md [2023-08-28T06:19:37.945Z] -rw-rw-r-- 1 jenkins jenkins 1574 Aug 28 06:17 Dockerfile [2023-08-28T06:19:37.945Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 28 06:17 GOVERNANCE.md [2023-08-28T06:19:37.945Z] -rw-rw-r-- 1 jenkins jenkins 739 Aug 28 06:17 Jenkinsfile [2023-08-28T06:19:37.945Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 28 06:17 LICENSE [2023-08-28T06:19:37.945Z] -rw-rw-r-- 1 jenkins jenkins 2877 Aug 28 06:17 Makefile [2023-08-28T06:19:37.946Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 28 06:17 OWNERS.md [2023-08-28T06:19:37.946Z] -rw-rw-r-- 1 jenkins jenkins 2620 Aug 28 06:17 README.md [2023-08-28T06:19:37.946Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 28 06:17 VERSION [2023-08-28T06:19:37.946Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 28 06:17 bin [2023-08-28T06:19:37.946Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 06:17 cmd [2023-08-28T06:19:37.946Z] -rw-r--r-- 1 jenkins jenkins 78456 Aug 28 06:19 coverage.out [2023-08-28T06:19:37.946Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 06:17 doc [2023-08-28T06:19:37.946Z] -rw-rw-r-- 1 jenkins jenkins 4085 Aug 28 06:17 go.mod [2023-08-28T06:19:37.946Z] -rw-rw-r-- 1 jenkins jenkins 36344 Aug 28 06:17 go.sum [2023-08-28T06:19:37.946Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 06:17 internal [2023-08-28T06:19:37.946Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 06:17 snap [2023-08-28T06:19:37.946Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 28 06:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T06:19:38.502Z] + 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=3e12a3454e1eae7ede363cc2941cd34070d88455 --label arch=amd64 --label version=0.0.0 . [2023-08-28T06:19:38.502Z] Sending build context to Docker daemon 21.79MB [2023-08-28T06:19:38.502Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-08-28T06:19:38.502Z] Step 2/26 : FROM ${BASE} AS builder [2023-08-28T06:19:38.502Z] ---> ecdce6b5b4cb [2023-08-28T06:19:38.502Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-08-28T06:19:38.761Z] ---> Running in e30de7fd8045 [2023-08-28T06:19:38.761Z] Removing intermediate container e30de7fd8045 [2023-08-28T06:19:38.761Z] ---> 9f80d4929f5e [2023-08-28T06:19:38.761Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-28T06:19:38.761Z] ---> Running in b0cf9d549a45 [2023-08-28T06:19:38.761Z] Removing intermediate container b0cf9d549a45 [2023-08-28T06:19:38.761Z] ---> d101977b271c [2023-08-28T06:19:38.761Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-08-28T06:19:38.761Z] ---> Running in fc0c1f860571 [2023-08-28T06:19:39.020Z] Removing intermediate container fc0c1f860571 [2023-08-28T06:19:39.021Z] ---> dd1ccfd66651 [2023-08-28T06:19:39.021Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-08-28T06:19:39.021Z] ---> Running in 6671e1430793 [2023-08-28T06:19:39.021Z] Removing intermediate container 6671e1430793 [2023-08-28T06:19:39.021Z] ---> 6b9ba49f5cb7 [2023-08-28T06:19:39.021Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-08-28T06:19:39.021Z] ---> Running in 68682bbf0d30 [2023-08-28T06:19:39.021Z] Removing intermediate container 68682bbf0d30 [2023-08-28T06:19:39.021Z] ---> a590bee27269 [2023-08-28T06:19:39.021Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-28T06:19:39.021Z] ---> Running in a1095c49b9c5 [2023-08-28T06:19:39.279Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-28T06:19:39.539Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-28T06:19:39.797Z] OK: 265 MiB in 53 packages [2023-08-28T06:19:40.056Z] Removing intermediate container a1095c49b9c5 [2023-08-28T06:19:40.056Z] ---> 9f0f0e92545f [2023-08-28T06:19:40.056Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-08-28T06:19:40.056Z] ---> Running in 97dbae586eae [2023-08-28T06:19:40.315Z] Removing intermediate container 97dbae586eae [2023-08-28T06:19:40.315Z] ---> 573cba1d4528 [2023-08-28T06:19:40.315Z] Step 10/26 : COPY go.mod vendor* ./ [2023-08-28T06:19:40.315Z] ---> 961aa3d01a60 [2023-08-28T06:19:40.315Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-28T06:19:40.315Z] ---> Running in 7405c4588d63 [2023-08-28T06:19:41.288Z] Removing intermediate container 7405c4588d63 [2023-08-28T06:19:41.288Z] ---> c21c50060f91 [2023-08-28T06:19:41.288Z] Step 12/26 : COPY . . [2023-08-28T06:19:41.288Z] Commit message: "feat!: replace gorilla/mux with labstack/echo" [2023-08-28T06:19:41.332Z] > git --version # timeout=10 [2023-08-28T06:19:41.348Z] > git --version # 'git version 2.25.1' [2023-08-28T06:19:41.367Z] fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-28T06:19:41.856Z] ---> 6e8468993077 [2023-08-28T06:19:41.856Z] Step 13/26 : RUN ${MAKE} [2023-08-28T06:19:41.856Z] ---> Running in 96f128d4af84 [2023-08-28T06:19:41.856Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-28T06:19:42.599Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-28T06:19:42.599Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-28T06:19:42.599Z] Dload Upload Total Spent Left Speed [2023-08-28T06:19:42.599Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 52044 0 --:--:-- --:--:-- --:--:-- 52044 [Pipeline] sh [2023-08-28T06:19:43.307Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-28T06:19:43.658Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-28T06:19:43.658Z] + sudo tee /etc/docker/daemon.new [2023-08-28T06:19:43.658Z] { [2023-08-28T06:19:43.658Z] "registry-mirrors": [ [2023-08-28T06:19:43.658Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-28T06:19:43.658Z] ], [2023-08-28T06:19:43.658Z] "bip": "10.250.0.254/24", [2023-08-28T06:19:43.658Z] "hosts": [ [2023-08-28T06:19:43.658Z] "tcp://0.0.0.0:5555", [2023-08-28T06:19:43.658Z] "unix:///var/run/docker.sock" [2023-08-28T06:19:43.658Z] ], [2023-08-28T06:19:43.658Z] "mtu": 1458, [2023-08-28T06:19:43.658Z] "selinux-enabled": true, [2023-08-28T06:19:43.658Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-28T06:19:43.658Z] } [Pipeline] sh [2023-08-28T06:19:44.001Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-28T06:19:44.351Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-28T06:20:02.656Z] provisioning config files... [2023-08-28T06:20:02.680Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config12244436693688901600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-28T06:20:03.058Z] ---> docker-login.sh [2023-08-28T06:20:03.058Z] nexus3.edgexfoundry.org:10001 [2023-08-28T06:20:03.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T06:20:03.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T06:20:03.608Z] Configure a credential helper to remove this warning. See [2023-08-28T06:20:03.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T06:20:03.608Z] [2023-08-28T06:20:03.608Z] Login Succeeded [2023-08-28T06:20:03.608Z] nexus3.edgexfoundry.org:10002 [2023-08-28T06:20:03.787Z] Removing intermediate container 96f128d4af84 [2023-08-28T06:20:03.787Z] ---> 7e0fb330fa7d [2023-08-28T06:20:03.787Z] Step 14/26 : FROM alpine:3.17 [2023-08-28T06:20:03.787Z] 3.17: Pulling from library/alpine [2023-08-28T06:20:03.787Z] 9398808236ff: Pulling fs layer [2023-08-28T06:20:03.787Z] 9398808236ff: Verifying Checksum [2023-08-28T06:20:03.787Z] 9398808236ff: Download complete [2023-08-28T06:20:03.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T06:20:03.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T06:20:03.880Z] Configure a credential helper to remove this warning. See [2023-08-28T06:20:03.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T06:20:03.880Z] [2023-08-28T06:20:03.880Z] Login Succeeded [2023-08-28T06:20:03.880Z] nexus3.edgexfoundry.org:10003 [2023-08-28T06:20:04.046Z] 9398808236ff: Pull complete [2023-08-28T06:20:04.046Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-28T06:20:04.046Z] Status: Downloaded newer image for alpine:3.17 [2023-08-28T06:20:04.046Z] ---> 1e0b8b5322fc [2023-08-28T06:20:04.046Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-28T06:20:04.046Z] ---> Running in cefa82714b3e [2023-08-28T06:20:04.046Z] Removing intermediate container cefa82714b3e [2023-08-28T06:20:04.046Z] ---> aa5f21f0e2bc [2023-08-28T06:20:04.046Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-08-28T06:20:04.046Z] ---> Running in 9d5a46c69203 [2023-08-28T06:20:04.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T06:20:04.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-28T06:20:04.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T06:20:04.417Z] Configure a credential helper to remove this warning. See [2023-08-28T06:20:04.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T06:20:04.417Z] [2023-08-28T06:20:04.417Z] Login Succeeded [2023-08-28T06:20:04.417Z] nexus3.edgexfoundry.org:10004 [2023-08-28T06:20:04.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T06:20:04.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T06:20:04.688Z] Configure a credential helper to remove this warning. See [2023-08-28T06:20:04.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T06:20:04.688Z] [2023-08-28T06:20:04.688Z] Login Succeeded [2023-08-28T06:20:04.688Z] docker.io [2023-08-28T06:20:04.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-28T06:20:04.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T06:20:05.131Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-28T06:20:05.131Z] Executing busybox-1.35.0-r29.trigger [2023-08-28T06:20:05.131Z] OK: 7 MiB in 16 packages [2023-08-28T06:20:05.390Z] Removing intermediate container 9d5a46c69203 [2023-08-28T06:20:05.390Z] ---> 0843749b7302 [2023-08-28T06:20:05.390Z] Step 17/26 : WORKDIR / [2023-08-28T06:20:05.390Z] ---> Running in c6d355aa5203 [2023-08-28T06:20:05.390Z] Removing intermediate container c6d355aa5203 [2023-08-28T06:20:05.390Z] ---> 33fc8b058528 [2023-08-28T06:20:05.390Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-08-28T06:20:05.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T06:20:05.537Z] Configure a credential helper to remove this warning. See [2023-08-28T06:20:05.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T06:20:05.537Z] [2023-08-28T06:20:05.537Z] Login Succeeded [2023-08-28T06:20:05.537Z] ---> docker-login.sh ends [Pipeline] } [2023-08-28T06:20:05.570Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-28T06:20:05.942Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-28T06:20:05.972Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-28T06:20:06.006Z] ========================================================= [2023-08-28T06:20:06.006Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-28T06:20:06.006Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T06:20:06.328Z] ---> 6108c156e70c [2023-08-28T06:20:06.328Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-08-28T06:20:06.588Z] ---> 0da227d9493b [2023-08-28T06:20:06.588Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-08-28T06:20:06.588Z] ---> 2d4c1fec4c98 [2023-08-28T06:20:06.588Z] Step 21/26 : EXPOSE 59984 [2023-08-28T06:20:06.588Z] ---> Running in 9bb098e47c67 [2023-08-28T06:20:06.593Z] + 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-08-28T06:20:06.847Z] Removing intermediate container 9bb098e47c67 [2023-08-28T06:20:06.847Z] ---> 65b62b794eef [2023-08-28T06:20:06.847Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-08-28T06:20:06.847Z] ---> Running in 0bfe43d2dacb [2023-08-28T06:20:06.847Z] Removing intermediate container 0bfe43d2dacb [2023-08-28T06:20:06.847Z] ---> 2ee0d636733e [2023-08-28T06:20:06.848Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-28T06:20:06.848Z] ---> Running in af0cbcc65350 [2023-08-28T06:20:06.848Z] Removing intermediate container af0cbcc65350 [2023-08-28T06:20:06.848Z] ---> e8d426d6c157 [2023-08-28T06:20:06.848Z] Step 24/26 : LABEL arch=amd64 [2023-08-28T06:20:06.848Z] ---> Running in f2590e649f55 [2023-08-28T06:20:07.107Z] Removing intermediate container f2590e649f55 [2023-08-28T06:20:07.107Z] ---> 265f02eda313 [2023-08-28T06:20:07.107Z] Step 25/26 : LABEL git_sha=3e12a3454e1eae7ede363cc2941cd34070d88455 [2023-08-28T06:20:07.107Z] ---> Running in b2b3d143c854 [2023-08-28T06:20:07.107Z] Removing intermediate container b2b3d143c854 [2023-08-28T06:20:07.107Z] ---> b3db16478213 [2023-08-28T06:20:07.107Z] Step 26/26 : LABEL version=0.0.0 [2023-08-28T06:20:07.107Z] ---> Running in 55f7da767367 [2023-08-28T06:20:07.107Z] Removing intermediate container 55f7da767367 [2023-08-28T06:20:07.107Z] ---> a43ebaa638db [2023-08-28T06:20:07.107Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-28T06:20:07.107Z] Successfully built a43ebaa638db [2023-08-28T06:20:07.107Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T06:20:08.023Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-28T06:20:08.023Z] [2023-08-28T06:20:08.023Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T06:20:08.404Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-28T06:20:08.404Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-28T06:20:08.404Z] 5eb5b503b376: Pulling fs layer [2023-08-28T06:20:08.404Z] 5c69ac0246d0: Pulling fs layer [2023-08-28T06:20:08.404Z] ec43610c2a17: Pulling fs layer [2023-08-28T06:20:08.404Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-28T06:20:08.404Z] 33b1e0a273af: Pulling fs layer [2023-08-28T06:20:08.404Z] 5d3b04190fa2: Pulling fs layer [2023-08-28T06:20:08.404Z] 2f39f015ded8: Pulling fs layer [2023-08-28T06:20:08.404Z] 3a2ae6a8a46f: Waiting [2023-08-28T06:20:08.404Z] 33b1e0a273af: Waiting [2023-08-28T06:20:08.404Z] 5d3b04190fa2: Waiting [2023-08-28T06:20:08.404Z] 2f39f015ded8: Waiting [2023-08-28T06:20:08.404Z] 5c69ac0246d0: Verifying Checksum [2023-08-28T06:20:08.404Z] 5c69ac0246d0: Download complete [2023-08-28T06:20:08.404Z] 3a2ae6a8a46f: Download complete [2023-08-28T06:20:08.404Z] 33b1e0a273af: Verifying Checksum [2023-08-28T06:20:08.404Z] 33b1e0a273af: Download complete [2023-08-28T06:20:08.404Z] 5d3b04190fa2: Verifying Checksum [2023-08-28T06:20:08.404Z] 5d3b04190fa2: Download complete [2023-08-28T06:20:08.404Z] ec43610c2a17: Verifying Checksum [2023-08-28T06:20:08.404Z] ec43610c2a17: Download complete [2023-08-28T06:20:08.541Z] Sending build context to Docker daemon 14.23MB [2023-08-28T06:20:08.541Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-28T06:20:08.541Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-28T06:20:08.663Z] 5eb5b503b376: Verifying Checksum [2023-08-28T06:20:08.663Z] 5eb5b503b376: Download complete [2023-08-28T06:20:08.870Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-28T06:20:08.871Z] edb6bdbacee9: Pulling fs layer [2023-08-28T06:20:08.871Z] 5f9638ab2659: Pulling fs layer [2023-08-28T06:20:08.871Z] 8d51d6327a98: Pulling fs layer [2023-08-28T06:20:08.871Z] 8b374f2dd631: Pulling fs layer [2023-08-28T06:20:08.871Z] ec14aa9079de: Pulling fs layer [2023-08-28T06:20:08.871Z] 2f466654f4bb: Pulling fs layer [2023-08-28T06:20:08.871Z] 554e91adad29: Pulling fs layer [2023-08-28T06:20:08.871Z] 8b374f2dd631: Waiting [2023-08-28T06:20:08.871Z] ec14aa9079de: Waiting [2023-08-28T06:20:08.871Z] 2f466654f4bb: Waiting [2023-08-28T06:20:08.871Z] 554e91adad29: Waiting [2023-08-28T06:20:08.871Z] 5f9638ab2659: Verifying Checksum [2023-08-28T06:20:08.871Z] 5f9638ab2659: Download complete [2023-08-28T06:20:08.871Z] 8b374f2dd631: Download complete [2023-08-28T06:20:08.871Z] ec14aa9079de: Verifying Checksum [2023-08-28T06:20:08.871Z] ec14aa9079de: Download complete [2023-08-28T06:20:08.871Z] edb6bdbacee9: Verifying Checksum [2023-08-28T06:20:09.228Z] 2f39f015ded8: Download complete [2023-08-28T06:20:09.794Z] 5eb5b503b376: Pull complete [2023-08-28T06:20:09.794Z] 5c69ac0246d0: Pull complete [2023-08-28T06:20:10.313Z] edb6bdbacee9: Pull complete [2023-08-28T06:20:10.313Z] 554e91adad29: Verifying Checksum [2023-08-28T06:20:10.313Z] 554e91adad29: Download complete [2023-08-28T06:20:10.365Z] ec43610c2a17: Pull complete [2023-08-28T06:20:10.365Z] 3a2ae6a8a46f: Pull complete [2023-08-28T06:20:10.365Z] 33b1e0a273af: Pull complete [2023-08-28T06:20:10.623Z] 5d3b04190fa2: Pull complete [2023-08-28T06:20:10.908Z] 5f9638ab2659: Pull complete [2023-08-28T06:20:11.870Z] 2f466654f4bb: Verifying Checksum [2023-08-28T06:20:11.870Z] 2f466654f4bb: Download complete [2023-08-28T06:20:11.870Z] 8d51d6327a98: Verifying Checksum [2023-08-28T06:20:11.870Z] 8d51d6327a98: Download complete [2023-08-28T06:20:14.801Z] 2f39f015ded8: Pull complete [2023-08-28T06:20:14.802Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-28T06:20:14.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-28T06:20:14.802Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T06:20:15.088Z] prd-ubuntu20.04-docker-8c-8g-4716 does not seem to be running inside a container [2023-08-28T06:20:15.121Z] $ 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-379 -v /w/workspace/undry_device-onvif-camera_PR-379:/w/workspace/undry_device-onvif-camera_PR-379:rw,z -v /w/workspace/undry_device-onvif-camera_PR-379@tmp:/w/workspace/undry_device-onvif-camera_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-28T06:20:19.665Z] $ docker top 12557fda1a9b50c5fe9b700c4649996dac4f75dd0108b75887a0d6a1c483dd12 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-28T06:20:20.109Z] ---> job-cost.sh [2023-08-28T06:20:20.109Z] lf-activate-venv: SKIPPING [2023-08-28T06:20:20.109Z] INFO: No Stack... [2023-08-28T06:20:20.369Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-28T06:20:20.627Z] INFO: Archiving Costs [Pipeline] sh [2023-08-28T06:20:20.949Z] + cat /w/workspace/undry_device-onvif-camera_PR-379/archives/cost.csv [2023-08-28T06:20:20.949Z] + cut -d, -f6 [Pipeline] lock [2023-08-28T06:20:20.988Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-379-1-stack-cost] [2023-08-28T06:20:20.993Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-379-1-stack-cost] did not exist. Created. [2023-08-28T06:20:20.993Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-379-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-28T06:20:21.385Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-28T06:20:21.440Z] Stashed 1 file(s) [Pipeline] } [2023-08-28T06:20:21.465Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-379-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-28T06:20:21.556Z] $ docker stop --time=1 12557fda1a9b50c5fe9b700c4649996dac4f75dd0108b75887a0d6a1c483dd12 [2023-08-28T06:20:22.711Z] $ docker rm -f --volumes 12557fda1a9b50c5fe9b700c4649996dac4f75dd0108b75887a0d6a1c483dd12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-28T06:20:24.198Z] 8d51d6327a98: Pull complete [2023-08-28T06:20:24.198Z] 8b374f2dd631: Pull complete [2023-08-28T06:20:24.198Z] ec14aa9079de: Pull complete [2023-08-28T06:20:29.576Z] 2f466654f4bb: Pull complete [2023-08-28T06:20:32.172Z] 554e91adad29: Pull complete [2023-08-28T06:20:32.172Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-28T06:20:32.172Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-28T06:20:32.172Z] ---> 1e15ea492957 [2023-08-28T06:20:32.172Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-28T06:20:33.581Z] ---> Running in 385e7689733a [2023-08-28T06:20:33.849Z] Removing intermediate container 385e7689733a [2023-08-28T06:20:33.849Z] ---> cefcbf655ec9 [2023-08-28T06:20:33.849Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-28T06:20:33.849Z] ---> Running in 255d21817cfd [2023-08-28T06:20:34.124Z] Removing intermediate container 255d21817cfd [2023-08-28T06:20:34.124Z] ---> 88f985806223 [2023-08-28T06:20:34.124Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-08-28T06:20:34.124Z] ---> Running in f714aa4f25bb [2023-08-28T06:20:34.393Z] Removing intermediate container f714aa4f25bb [2023-08-28T06:20:34.394Z] ---> a11995906196 [2023-08-28T06:20:34.394Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-08-28T06:20:34.663Z] ---> Running in 96f3fa4b973a [2023-08-28T06:20:34.931Z] Removing intermediate container 96f3fa4b973a [2023-08-28T06:20:34.931Z] ---> 7b47080f2bbf [2023-08-28T06:20:34.931Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-08-28T06:20:34.931Z] ---> Running in fdaa1c0d1e8f [2023-08-28T06:20:35.203Z] Removing intermediate container fdaa1c0d1e8f [2023-08-28T06:20:35.203Z] ---> e82318a104dc [2023-08-28T06:20:35.203Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-28T06:20:35.203Z] ---> Running in 10ae4b476813 [2023-08-28T06:20:36.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-28T06:20:36.883Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-28T06:20:37.844Z] OK: 263 MiB in 53 packages [2023-08-28T06:20:38.807Z] Removing intermediate container 10ae4b476813 [2023-08-28T06:20:38.807Z] ---> 7af0072cb9ab [2023-08-28T06:20:38.807Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-08-28T06:20:38.807Z] ---> Running in ab72ccc50b33 [2023-08-28T06:20:39.076Z] Removing intermediate container ab72ccc50b33 [2023-08-28T06:20:39.076Z] ---> 245747a91ae8 [2023-08-28T06:20:39.076Z] Step 10/13 : COPY go.mod vendor* ./ [2023-08-28T06:20:39.662Z] ---> 9db090cdcc78 [2023-08-28T06:20:39.662Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-28T06:20:39.662Z] ---> Running in 33a7c3f4330e [2023-08-28T06:22:01.278Z] Removing intermediate container 33a7c3f4330e [2023-08-28T06:22:01.278Z] ---> d15dbd12a885 [2023-08-28T06:22:01.278Z] Step 12/13 : COPY . . [2023-08-28T06:22:01.278Z] ---> fc4910d78abe [2023-08-28T06:22:01.278Z] Step 13/13 : RUN ${MAKE} [2023-08-28T06:22:01.278Z] ---> Running in dd27fbe1908f [2023-08-28T06:22:01.278Z] noop [2023-08-28T06:22:01.278Z] Removing intermediate container dd27fbe1908f [2023-08-28T06:22:01.278Z] ---> 194fc63c7701 [2023-08-28T06:22:01.278Z] Successfully built 194fc63c7701 [2023-08-28T06:22:01.278Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T06:22:01.801Z] + docker inspect -f . ci-base-image-arm64 [2023-08-28T06:22:01.801Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T06:22:02.071Z] prd-ubuntu20.04-docker-arm64-4c-16g-4717 does not seem to be running inside a container [2023-08-28T06:22:02.123Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-28T06:22:03.299Z] $ docker top e65ddf4fc5f2a14357b65cef359a40158e2018fc9c3cd943b3ccbe72ca5550f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-28T06:22:04.174Z] + go version [2023-08-28T06:22:04.174Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-28T06:22:04.201Z] $ docker stop --time=1 e65ddf4fc5f2a14357b65cef359a40158e2018fc9c3cd943b3ccbe72ca5550f8 [2023-08-28T06:22:05.772Z] $ docker rm -f --volumes e65ddf4fc5f2a14357b65cef359a40158e2018fc9c3cd943b3ccbe72ca5550f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T06:22:06.601Z] + docker inspect -f . ci-base-image-arm64 [2023-08-28T06:22:06.601Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T06:22:06.838Z] prd-ubuntu20.04-docker-arm64-4c-16g-4717 does not seem to be running inside a container [2023-08-28T06:22:06.890Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-28T06:22:08.024Z] $ docker top eb52fff29f9c928b0cf2e62bce1d6bc23ab56c73eaf7020815a2b70c2e6dc104 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-28T06:22:08.584Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-08-28T06:22:09.237Z] + make test [2023-08-28T06:22:09.237Z] go test ./... -coverprofile=coverage.out ./... [2023-08-28T06:22:41.465Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-08-28T06:25:03.155Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-08-28T06:25:03.155Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-08-28T06:25:03.155Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.323s coverage: 31.5% of statements [2023-08-28T06:25:25.244Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.452s coverage: 86.5% of statements [2023-08-28T06:25:25.245Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-28T06:25:25.245Z] go vet ./... [2023-08-28T06:25:57.483Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-28T06:25:57.483Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-28T06:25:57.483Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-28T06:25:57.521Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-28T06:25:57.545Z] $ docker stop --time=1 eb52fff29f9c928b0cf2e62bce1d6bc23ab56c73eaf7020815a2b70c2e6dc104 [2023-08-28T06:25:59.314Z] $ docker rm -f --volumes eb52fff29f9c928b0cf2e62bce1d6bc23ab56c73eaf7020815a2b70c2e6dc104 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-28T06:26:00.554Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-28T06:26:00.586Z] Warning: overwriting stash ‘coverage-report’ [2023-08-28T06:26:01.055Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-28T06:26:01.687Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-28T06:26:02.033Z] + ls -al . [2023-08-28T06:26:02.033Z] total 236 [2023-08-28T06:26:02.033Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 28 06:22 . [2023-08-28T06:26:02.033Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 06:19 .. [2023-08-28T06:26:02.033Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 28 06:19 .git [2023-08-28T06:26:02.033Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 06:19 .github [2023-08-28T06:26:02.033Z] -rw-rw-r-- 1 jenkins jenkins 496 Aug 28 06:19 .gitignore [2023-08-28T06:26:02.033Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 28 06:19 .golangci.yml [2023-08-28T06:26:02.033Z] -rw-rw-r-- 1 jenkins jenkins 11155 Aug 28 06:19 Attribution.txt [2023-08-28T06:26:02.033Z] -rw-rw-r-- 1 jenkins jenkins 15932 Aug 28 06:19 CHANGELOG.md [2023-08-28T06:26:02.033Z] -rw-rw-r-- 1 jenkins jenkins 1574 Aug 28 06:19 Dockerfile [2023-08-28T06:26:02.033Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 28 06:19 GOVERNANCE.md [2023-08-28T06:26:02.033Z] -rw-rw-r-- 1 jenkins jenkins 739 Aug 28 06:19 Jenkinsfile [2023-08-28T06:26:02.033Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 28 06:19 LICENSE [2023-08-28T06:26:02.033Z] -rw-rw-r-- 1 jenkins jenkins 2877 Aug 28 06:19 Makefile [2023-08-28T06:26:02.033Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 28 06:19 OWNERS.md [2023-08-28T06:26:02.033Z] -rw-rw-r-- 1 jenkins jenkins 2620 Aug 28 06:19 README.md [2023-08-28T06:26:02.033Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 28 06:17 VERSION [2023-08-28T06:26:02.033Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 28 06:19 bin [2023-08-28T06:26:02.033Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 06:19 cmd [2023-08-28T06:26:02.033Z] -rw-r--r-- 1 jenkins jenkins 78456 Aug 28 06:25 coverage.out [2023-08-28T06:26:02.033Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 06:19 doc [2023-08-28T06:26:02.033Z] -rw-rw-r-- 1 jenkins jenkins 4085 Aug 28 06:19 go.mod [2023-08-28T06:26:02.033Z] -rw-rw-r-- 1 jenkins jenkins 36344 Aug 28 06:19 go.sum [2023-08-28T06:26:02.033Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 06:19 internal [2023-08-28T06:26:02.033Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 06:19 snap [2023-08-28T06:26:02.033Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 28 06:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T06:26:02.475Z] + 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=3e12a3454e1eae7ede363cc2941cd34070d88455 --label arch=arm64 --label version=0.0.0 . [2023-08-28T06:26:03.076Z] Sending build context to Docker daemon 14.31MB [2023-08-28T06:26:03.076Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-08-28T06:26:03.076Z] Step 2/26 : FROM ${BASE} AS builder [2023-08-28T06:26:03.076Z] ---> 194fc63c7701 [2023-08-28T06:26:03.076Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-08-28T06:26:03.076Z] ---> Running in 0d730468f5b1 [2023-08-28T06:26:03.349Z] Removing intermediate container 0d730468f5b1 [2023-08-28T06:26:03.349Z] ---> 53196eba1bdf [2023-08-28T06:26:03.349Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-28T06:26:03.621Z] ---> Running in 12020d24227d [2023-08-28T06:26:03.621Z] Removing intermediate container 12020d24227d [2023-08-28T06:26:03.621Z] ---> 12618f883b23 [2023-08-28T06:26:03.621Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-08-28T06:26:03.893Z] ---> Running in 8cdee91aa332 [2023-08-28T06:26:04.161Z] Removing intermediate container 8cdee91aa332 [2023-08-28T06:26:04.161Z] ---> 0e1b654fc94e [2023-08-28T06:26:04.161Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-08-28T06:26:04.161Z] ---> Running in f0442ab23634 [2023-08-28T06:26:04.431Z] Removing intermediate container f0442ab23634 [2023-08-28T06:26:04.431Z] ---> 3b099c6ca077 [2023-08-28T06:26:04.431Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-08-28T06:26:04.431Z] ---> Running in 8e56d8b89acd [2023-08-28T06:26:04.704Z] Removing intermediate container 8e56d8b89acd [2023-08-28T06:26:04.704Z] ---> 4c21a9159312 [2023-08-28T06:26:04.704Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-28T06:26:04.704Z] ---> Running in f185504d0174 [2023-08-28T06:26:05.675Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-28T06:26:06.259Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-28T06:26:07.222Z] OK: 263 MiB in 53 packages [2023-08-28T06:26:08.186Z] Removing intermediate container f185504d0174 [2023-08-28T06:26:08.187Z] ---> 3041fba6e50d [2023-08-28T06:26:08.187Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-08-28T06:26:08.187Z] ---> Running in e29eb3d10c40 [2023-08-28T06:26:08.776Z] Removing intermediate container e29eb3d10c40 [2023-08-28T06:26:08.776Z] ---> 7f4ba733eb9b [2023-08-28T06:26:08.776Z] Step 10/26 : COPY go.mod vendor* ./ [2023-08-28T06:26:10.187Z] ---> c00ea8042b62 [2023-08-28T06:26:10.187Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-28T06:26:10.187Z] ---> Running in 9a3a204e924c [2023-08-28T06:26:12.777Z] Removing intermediate container 9a3a204e924c [2023-08-28T06:26:12.777Z] ---> 371a9c9d26a3 [2023-08-28T06:26:12.777Z] Step 12/26 : COPY . . [2023-08-28T06:26:13.739Z] ---> 4d3e4f270d89 [2023-08-28T06:26:13.739Z] Step 13/26 : RUN ${MAKE} [2023-08-28T06:26:13.739Z] ---> Running in 83deb8fda6e5 [2023-08-28T06:26:14.701Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-08-28T06:28:36.407Z] Removing intermediate container 83deb8fda6e5 [2023-08-28T06:28:36.407Z] ---> 83cc71a76ccb [2023-08-28T06:28:36.407Z] Step 14/26 : FROM alpine:3.17 [2023-08-28T06:28:36.407Z] 3.17: Pulling from library/alpine [2023-08-28T06:28:36.407Z] 4060ece20d7a: Pulling fs layer [2023-08-28T06:28:36.407Z] 4060ece20d7a: Download complete [2023-08-28T06:28:36.407Z] 4060ece20d7a: Pull complete [2023-08-28T06:28:36.407Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-28T06:28:36.407Z] Status: Downloaded newer image for alpine:3.17 [2023-08-28T06:28:36.407Z] ---> 8650cd65339b [2023-08-28T06:28:36.407Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-28T06:28:36.407Z] ---> Running in a403d48d4cab [2023-08-28T06:28:36.407Z] Removing intermediate container a403d48d4cab [2023-08-28T06:28:36.407Z] ---> 1d32d823dc61 [2023-08-28T06:28:36.407Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-08-28T06:28:36.407Z] ---> Running in f1d48eda3890 [2023-08-28T06:28:36.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-28T06:28:36.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-28T06:28:36.407Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-28T06:28:36.407Z] Executing busybox-1.35.0-r29.trigger [2023-08-28T06:28:36.407Z] OK: 8 MiB in 16 packages [2023-08-28T06:28:36.407Z] Removing intermediate container f1d48eda3890 [2023-08-28T06:28:36.407Z] ---> 39ea3d3df56d [2023-08-28T06:28:36.407Z] Step 17/26 : WORKDIR / [2023-08-28T06:28:36.407Z] ---> Running in bbbf9adff041 [2023-08-28T06:28:36.407Z] Removing intermediate container bbbf9adff041 [2023-08-28T06:28:36.407Z] ---> e31df499de7c [2023-08-28T06:28:36.407Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-08-28T06:28:37.857Z] ---> 48e24cea2658 [2023-08-28T06:28:37.857Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-08-28T06:28:38.123Z] ---> 731da0aef2c1 [2023-08-28T06:28:38.123Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-08-28T06:28:38.706Z] ---> 6eaae41b6d02 [2023-08-28T06:28:38.706Z] Step 21/26 : EXPOSE 59984 [2023-08-28T06:28:38.706Z] ---> Running in 9c61eb2ab1c7 [2023-08-28T06:28:38.972Z] Removing intermediate container 9c61eb2ab1c7 [2023-08-28T06:28:38.972Z] ---> 71cc470efb63 [2023-08-28T06:28:38.972Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-08-28T06:28:38.972Z] ---> Running in 44c78e3d6036 [2023-08-28T06:28:39.239Z] Removing intermediate container 44c78e3d6036 [2023-08-28T06:28:39.239Z] ---> fd7d12b7d24a [2023-08-28T06:28:39.239Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-28T06:28:39.239Z] ---> Running in ba914ecc2492 [2023-08-28T06:28:39.513Z] Removing intermediate container ba914ecc2492 [2023-08-28T06:28:39.513Z] ---> 80fb31acb828 [2023-08-28T06:28:39.513Z] Step 24/26 : LABEL arch=arm64 [2023-08-28T06:28:39.780Z] ---> Running in 5ea96fbf7846 [2023-08-28T06:28:40.048Z] Removing intermediate container 5ea96fbf7846 [2023-08-28T06:28:40.048Z] ---> 44f84f7d3598 [2023-08-28T06:28:40.048Z] Step 25/26 : LABEL git_sha=3e12a3454e1eae7ede363cc2941cd34070d88455 [2023-08-28T06:28:40.048Z] ---> Running in 2b135eb77e82 [2023-08-28T06:28:40.317Z] Removing intermediate container 2b135eb77e82 [2023-08-28T06:28:40.317Z] ---> 2720ac04183e [2023-08-28T06:28:40.317Z] Step 26/26 : LABEL version=0.0.0 [2023-08-28T06:28:40.317Z] ---> Running in 529e0843ee63 [2023-08-28T06:28:40.582Z] Removing intermediate container 529e0843ee63 [2023-08-28T06:28:40.582Z] ---> 8e62423120fc [2023-08-28T06:28:40.582Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-28T06:28:40.582Z] Successfully built 8e62423120fc [2023-08-28T06:28:40.582Z] 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-08-28T06:28:41.395Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-28T06:28:41.395Z] [2023-08-28T06:28:41.395Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T06:28:41.799Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-28T06:28:41.800Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-28T06:28:41.800Z] 8998bd30e6a1: Pulling fs layer [2023-08-28T06:28:41.800Z] 04944245beec: Pulling fs layer [2023-08-28T06:28:41.800Z] 699f458cf7ca: Pulling fs layer [2023-08-28T06:28:41.800Z] 765212b225bb: Pulling fs layer [2023-08-28T06:28:41.800Z] f23df028b6ca: Pulling fs layer [2023-08-28T06:28:41.800Z] d65c8cfc05b1: Pulling fs layer [2023-08-28T06:28:41.800Z] 2437ff75d9bd: Pulling fs layer [2023-08-28T06:28:41.800Z] f23df028b6ca: Waiting [2023-08-28T06:28:41.800Z] d65c8cfc05b1: Waiting [2023-08-28T06:28:41.800Z] 2437ff75d9bd: Waiting [2023-08-28T06:28:41.800Z] 765212b225bb: Waiting [2023-08-28T06:28:42.071Z] 04944245beec: Verifying Checksum [2023-08-28T06:28:42.071Z] 04944245beec: Download complete [2023-08-28T06:28:42.071Z] 765212b225bb: Verifying Checksum [2023-08-28T06:28:42.071Z] 765212b225bb: Download complete [2023-08-28T06:28:42.071Z] f23df028b6ca: Verifying Checksum [2023-08-28T06:28:42.071Z] f23df028b6ca: Download complete [2023-08-28T06:28:42.071Z] d65c8cfc05b1: Verifying Checksum [2023-08-28T06:28:42.071Z] d65c8cfc05b1: Download complete [2023-08-28T06:28:42.071Z] 699f458cf7ca: Verifying Checksum [2023-08-28T06:28:42.071Z] 699f458cf7ca: Download complete [2023-08-28T06:28:42.658Z] 8998bd30e6a1: Verifying Checksum [2023-08-28T06:28:42.658Z] 8998bd30e6a1: Download complete [2023-08-28T06:28:44.601Z] 2437ff75d9bd: Verifying Checksum [2023-08-28T06:28:44.601Z] 2437ff75d9bd: Download complete [2023-08-28T06:28:46.541Z] 8998bd30e6a1: Pull complete [2023-08-28T06:28:46.808Z] 04944245beec: Pull complete [2023-08-28T06:28:48.211Z] 699f458cf7ca: Pull complete [2023-08-28T06:28:48.211Z] 765212b225bb: Pull complete [2023-08-28T06:28:49.169Z] f23df028b6ca: Pull complete [2023-08-28T06:28:49.170Z] d65c8cfc05b1: Pull complete [2023-08-28T06:29:04.146Z] 2437ff75d9bd: Pull complete [2023-08-28T06:29:04.146Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-28T06:29:04.146Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-28T06:29:04.146Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T06:29:04.446Z] prd-ubuntu20.04-docker-arm64-4c-16g-4717 does not seem to be running inside a container [2023-08-28T06:29:04.498Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-28T06:29:06.937Z] $ docker top 84dec3bd4f57df37b6450b36b1902172d7db328a0e643d49edba889c34ba6701 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-28T06:29:07.517Z] ---> job-cost.sh [2023-08-28T06:29:07.783Z] lf-activate-venv: SKIPPING [2023-08-28T06:29:07.783Z] INFO: No Stack... [2023-08-28T06:29:08.049Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-28T06:29:09.003Z] INFO: Archiving Costs [Pipeline] sh [2023-08-28T06:29:09.342Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-08-28T06:29:09.342Z] + cut -d, -f6 [Pipeline] lock [2023-08-28T06:29:09.676Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-379-1-stack-cost] [2023-08-28T06:29:09.681Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-379-1-stack-cost] did not exist. Created. [2023-08-28T06:29:09.681Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-379-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-28T06:29:10.086Z] /w/workspace/device-onvif-camera/1@tmp/durable-037fbb9b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-28T06:29:10.443Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-28T06:29:10.482Z] Warning: overwriting stash ‘stack-cost’ [2023-08-28T06:29:10.540Z] Stashed 1 file(s) [Pipeline] } [2023-08-28T06:29:10.555Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-379-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-28T06:29:10.625Z] $ docker stop --time=1 84dec3bd4f57df37b6450b36b1902172d7db328a0e643d49edba889c34ba6701 [2023-08-28T06:29:12.108Z] $ docker rm -f --volumes 84dec3bd4f57df37b6450b36b1902172d7db328a0e643d49edba889c34ba6701 [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-08-28T06:29:13.113Z] provisioning config files... [2023-08-28T06:29:13.121Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-379@tmp/config15601427114693497243tmp [Pipeline] { [Pipeline] sh [2023-08-28T06:29:13.456Z] + set +x [2023-08-28T06:29:13.456Z] + + bashcurl -s -s -- [2023-08-28T06:29:13.456Z] https://codecov.io/bash [2023-08-28T06:29:13.718Z] [2023-08-28T06:29:13.718Z] _____ _ [2023-08-28T06:29:13.718Z] / ____| | | [2023-08-28T06:29:13.718Z] | | ___ __| | ___ ___ _____ __ [2023-08-28T06:29:13.718Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-28T06:29:13.718Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-28T06:29:13.718Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-28T06:29:13.718Z] Bash-1.0.6 [2023-08-28T06:29:13.718Z] [2023-08-28T06:29:13.718Z] [2023-08-28T06:29:13.718Z] ==> git version 2.25.1 found [2023-08-28T06:29:13.718Z] ==> 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-08-28T06:29:13.718Z] Release-Date: 2020-01-08 [2023-08-28T06:29:13.718Z] 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-08-28T06:29:13.718Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-28T06:29:13.718Z] ==> Jenkins CI detected. [2023-08-28T06:29:13.718Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-379 [2023-08-28T06:29:13.718Z] project root: . [2023-08-28T06:29:13.718Z] --> token set from env [2023-08-28T06:29:13.718Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-28T06:29:13.718Z] ==> Running gcov in . (disable via -X gcov) [2023-08-28T06:29:13.718Z] ==> Python coveragepy not found [2023-08-28T06:29:13.718Z] ==> Searching for coverage reports in: [2023-08-28T06:29:13.718Z] + . [2023-08-28T06:29:13.718Z] -> Found 1 reports [2023-08-28T06:29:13.718Z] ==> Detecting git/mercurial file structure [2023-08-28T06:29:13.718Z] ==> Reading reports [2023-08-28T06:29:13.718Z] + ./coverage.out bytes=78456 [2023-08-28T06:29:13.718Z] ==> Appending adjustments [2023-08-28T06:29:13.718Z] https://docs.codecov.io/docs/fixing-reports [2023-08-28T06:29:13.977Z] + Found adjustments [2023-08-28T06:29:13.977Z] ==> Gzipping contents [2023-08-28T06:29:13.977Z] 12K /tmp/codecov.tMewPQ.gz [2023-08-28T06:29:13.977Z] ==> Uploading reports [2023-08-28T06:29:13.977Z] url: https://codecov.io [2023-08-28T06:29:13.977Z] query: branch=PR-379&commit=3e12a3454e1eae7ede363cc2941cd34070d88455&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-379%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=379&job=&cmd_args= [2023-08-28T06:29:13.977Z] -> Pinging Codecov [2023-08-28T06:29:13.977Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-379&commit=3e12a3454e1eae7ede363cc2941cd34070d88455&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-379%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=379&job=&cmd_args= [2023-08-28T06:29:14.236Z] -> Uploading to [2023-08-28T06:29:14.236Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-28/F29A59C45E3A92E06B3E522C9905F8EF/3e12a3454e1eae7ede363cc2941cd34070d88455/0b47e574-be7b-44e8-962e-f86b07ac22a4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230828%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230828T062913Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=31a225ecd0dd453fa201f31477d28c46530f27b9298d4c3c86319f793284f5f2 [2023-08-28T06:29:14.236Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-28T06:29:14.236Z] Dload Upload Total Spent Left Speed [2023-08-28T06:29:14.236Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10561 0 0 100 10561 0 54720 --:--:-- --:--:-- --:--:-- 54720 [2023-08-28T06:29:14.236Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/3e12a3454e1eae7ede363cc2941cd34070d88455 [Pipeline] } [2023-08-28T06:29:14.260Z] 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-08-28T06:29:16.038Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-379/archives ] [2023-08-28T06:29:16.038Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-379/archives [2023-08-28T06:29:16.038Z] total 16 [2023-08-28T06:29:16.038Z] drwxr-xr-x 3 root root 4096 Aug 28 06:20 . [2023-08-28T06:29:16.038Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 28 06:20 .. [2023-08-28T06:29:16.038Z] drwxr-xr-x 2 root root 4096 Aug 28 06:20 cost [2023-08-28T06:29:16.038Z] -rw-r--r-- 1 root root 91 Aug 28 06:20 cost.csv [2023-08-28T06:29:16.038Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-379/archives [2023-08-28T06:29:16.038Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-379/archives [2023-08-28T06:29:16.038Z] total 16 [2023-08-28T06:29:16.038Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 28 06:20 . [2023-08-28T06:29:16.038Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 28 06:20 .. [2023-08-28T06:29:16.038Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 28 06:20 cost [2023-08-28T06:29:16.038Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 28 06:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-28T06:29:16.372Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-28T06:29:17.257Z] ---> package-listing.sh [2023-08-28T06:29:17.257Z] ++ facter osfamily [2023-08-28T06:29:17.257Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-28T06:29:17.516Z] + OS_FAMILY=debian [2023-08-28T06:29:17.516Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-379 [2023-08-28T06:29:17.516Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-28T06:29:17.516Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-28T06:29:17.516Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-28T06:29:17.516Z] + PACKAGES=/tmp/packages_start.txt [2023-08-28T06:29:17.516Z] + '[' /w/workspace/undry_device-onvif-camera_PR-379 ']' [2023-08-28T06:29:17.516Z] + PACKAGES=/tmp/packages_end.txt [2023-08-28T06:29:17.516Z] + case "${OS_FAMILY}" in [2023-08-28T06:29:17.516Z] + dpkg -l [2023-08-28T06:29:17.516Z] + grep '^ii' [2023-08-28T06:29:17.516Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-28T06:29:17.516Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-28T06:29:17.516Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-28T06:29:17.516Z] + '[' /w/workspace/undry_device-onvif-camera_PR-379 ']' [2023-08-28T06:29:17.516Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-379/archives/ [2023-08-28T06:29:17.516Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-379/archives/ [Pipeline] echo [2023-08-28T06:29:17.546Z] 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-379/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-28T06:29:17.835Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T06:29:18.463Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-28T06:29:18.464Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T06:29:18.601Z] prd-ubuntu20.04-docker-8c-8g-4716 does not seem to be running inside a container [2023-08-28T06:29:18.636Z] $ 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-379/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-379 -v /w/workspace/undry_device-onvif-camera_PR-379:/w/workspace/undry_device-onvif-camera_PR-379:rw,z -v /w/workspace/undry_device-onvif-camera_PR-379@tmp:/w/workspace/undry_device-onvif-camera_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-28T06:29:18.844Z] $ docker top aa0a0a95270f1a189d24ba0b245586ea3ddf7d58b08e00728da525f3ef63a15a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-28T06:29:19.220Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-28T06:29:19.524Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-28T06:29:19.832Z] + ls /var/log/sa-host [2023-08-28T06:29:19.832Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-28T06:29:20.046Z] provisioning config files... [2023-08-28T06:29:20.054Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-379@tmp/config14418052583251443340tmp [Pipeline] { [Pipeline] echo [2023-08-28T06:29:20.109Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-28T06:29:20.537Z] ---> create-netrc.sh [Pipeline] } [2023-08-28T06:29:20.565Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-28T06:29:20.970Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-28T06:29:20.999Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-28T06:29:21.310Z] ---> sudo-logs.sh [2023-08-28T06:29:21.310Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-28T06:29:21.393Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-28T06:29:21.701Z] ---> job-cost.sh [2023-08-28T06:29:21.701Z] lf-activate-venv: SKIPPING [2023-08-28T06:29:21.701Z] DEBUG: total: 0.2199999988079071 [2023-08-28T06:29:21.701Z] INFO: Retrieving Stack Cost... [2023-08-28T06:29:21.960Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-28T06:29:22.527Z] INFO: Archiving Costs [Pipeline] echo [2023-08-28T06:29:22.564Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-28T06:29:22.869Z] ---> logs-deploy.sh [2023-08-28T06:29:22.869Z] lf-activate-venv: SKIPPING [2023-08-28T06:29:22.869Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-379/1 [2023-08-28T06:29:22.869Z] INFO: archiving workspace using pattern(s): [2023-08-28T06:29:23.803Z] Archives upload complete. [2023-08-28T06:29:23.803Z] INFO: archiving logs to Nexus