Pull request #149 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 rather than 9faaa447fdfc0a620ceb7bc469331885287a030b Obtained Jenkinsfile from dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 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-ssh1416544903290460049.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh15770862041092206445.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2016526285056648573.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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 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-ssh6063040952509351517.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8798392321547175988.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-24211’ is offline Running on prd-ubuntu20.04-docker-8c-8g-24213 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-149 # 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 Merging remotes/origin/main commit dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit 9faaa447fdfc0a620ceb7bc469331885287a030b Merge succeeded, producing 967fb0e3cef229071ce3783acc1c863f2b30e745 Checking out Revision 967fb0e3cef229071ce3783acc1c863f2b30e745 (PR-149) > 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/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9faaa447fdfc0a620ceb7bc469331885287a030b # 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 dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 967fb0e3cef229071ce3783acc1c863f2b30e745 # timeout=10 Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 666e69bd0fee7fd468a9fde2298d0ea16309f433 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-31T16:49:28.874Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-31T16:49:28.939Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-31T16:49:28.964Z] ========================================================= [2022-08-31T16:49:28.965Z] EdgeX Global Pipelines Version Info [2022-08-31T16:49:28.965Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-31T16:49:29.728Z] ------------------- [2022-08-31T16:49:29.728Z] stable info: [2022-08-31T16:49:29.728Z] ------------------- [2022-08-31T16:49:29.728Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-31T16:49:29.728Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-31T16:49:29.728Z] Message: update stable to v1.0.239 [2022-08-31T16:49:30.304Z] ------------------- [2022-08-31T16:49:30.304Z] experimental info: [2022-08-31T16:49:30.304Z] ------------------- [2022-08-31T16:49:30.304Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-08-31T16:49:30.304Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-31T16:49:30.304Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-31T16:49:30.502Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-31T16:49:30.514Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-31T16:49:30.523Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-31T16:49:30.532Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-31T16:49:30.545Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-31T16:49:30.560Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-31T16:49:30.577Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-31T16:49:30.594Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-31T16:49:30.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-31T16:49:30.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-31T16:49:30.628Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-31T16:49:30.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-31T16:49:30.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-31T16:49:30.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-31T16:49:30.682Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-31T16:49:30.697Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-31T16:49:30.714Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-31T16:49:30.730Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-31T16:49:30.739Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-31T16:49:30.752Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-31T16:49:30.763Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-31T16:49:30.772Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-08-31T16:49:30.780Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-31T16:49:30.789Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-31T16:49:30.808Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-31T16:49:30.818Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-31T16:49:30.834Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-31T16:49:30.851Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo [2022-08-31T16:49:30.867Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo [2022-08-31T16:49:30.883Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo [2022-08-31T16:49:30.902Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 967fb0e3cef229071ce3783acc1c863f2b30e745 [Pipeline] echo [2022-08-31T16:49:30.921Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 967fb0e [Pipeline] echo [2022-08-31T16:49:30.939Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T16:49:30.977Z] provisioning config files... [2022-08-31T16:49:30.993Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config6533042128993475357tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T16:49:31.303Z] ---> docker-login.sh [2022-08-31T16:49:31.303Z] nexus3.edgexfoundry.org:10001 [2022-08-31T16:49:31.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:49:31.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:49:31.565Z] Configure a credential helper to remove this warning. See [2022-08-31T16:49:31.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:49:31.565Z] [2022-08-31T16:49:31.565Z] Login Succeeded [2022-08-31T16:49:31.565Z] nexus3.edgexfoundry.org:10002 [2022-08-31T16:49:31.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:49:31.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:49:31.827Z] Configure a credential helper to remove this warning. See [2022-08-31T16:49:31.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:49:31.827Z] [2022-08-31T16:49:31.827Z] Login Succeeded [2022-08-31T16:49:31.827Z] nexus3.edgexfoundry.org:10003 [2022-08-31T16:49:31.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:49:31.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:49:31.827Z] Configure a credential helper to remove this warning. See [2022-08-31T16:49:31.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:49:31.827Z] [2022-08-31T16:49:31.827Z] Login Succeeded [2022-08-31T16:49:31.827Z] nexus3.edgexfoundry.org:10004 [2022-08-31T16:49:32.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:49:32.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:49:32.090Z] Configure a credential helper to remove this warning. See [2022-08-31T16:49:32.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:49:32.090Z] [2022-08-31T16:49:32.090Z] Login Succeeded [2022-08-31T16:49:32.090Z] docker.io [2022-08-31T16:49:32.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:49:32.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:49:32.666Z] Configure a credential helper to remove this warning. See [2022-08-31T16:49:32.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:49:32.666Z] [2022-08-31T16:49:32.666Z] Login Succeeded [2022-08-31T16:49:32.666Z] ---> docker-login.sh ends [Pipeline] } [2022-08-31T16:49:32.675Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-31T16:49:33.066Z] + git rev-list -1 --merges 967fb0e3cef229071ce3783acc1c863f2b30e745~1..967fb0e3cef229071ce3783acc1c863f2b30e745 [Pipeline] echo [2022-08-31T16:49:33.099Z] -----------> git rev-list -1 --merges 967fb0e3cef229071ce3783acc1c863f2b30e745~1..967fb0e3cef229071ce3783acc1c863f2b30e745 967fb0e3cef229071ce3783acc1c863f2b30e745 [2022-08-31T16:49:33.099Z] 967fb0e3cef229071ce3783acc1c863f2b30e745 [false] [Pipeline] sh [2022-08-31T16:49:33.396Z] + git log --format=format:%s -1 967fb0e3cef229071ce3783acc1c863f2b30e745 [Pipeline] echo [2022-08-31T16:49:33.411Z] ========================================================= [2022-08-31T16:49:33.411Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-31T16:49:33.411Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-31T16:49:33.760Z] + git log --format=format:%s -1 967fb0e3cef229071ce3783acc1c863f2b30e745 [Pipeline] echo [2022-08-31T16:49:33.773Z] [semverPrep] GIT_COMMIT: 967fb0e3cef229071ce3783acc1c863f2b30e745, Commit Message: Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD [Pipeline] echo [2022-08-31T16:49:33.786Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-31T16:49:34.138Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-31T16:49:34.138Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-31T16:49:34.138Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-31T16:49:34.138Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-31T16:49:34.138Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-31T16:49:34.138Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-31T16:49:34.138Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T16:49:34.502Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T16:49:34.503Z] [2022-08-31T16:49:34.503Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T16:49:34.878Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T16:49:34.878Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-31T16:49:34.878Z] b85a868b505f: Pulling fs layer [2022-08-31T16:49:34.878Z] e2be974225ed: Pulling fs layer [2022-08-31T16:49:34.878Z] 339a4e72a1f5: Pulling fs layer [2022-08-31T16:49:34.878Z] 988bab9f4d93: Pulling fs layer [2022-08-31T16:49:34.878Z] 1469e6f7b9e6: Pulling fs layer [2022-08-31T16:49:34.878Z] 988bab9f4d93: Waiting [2022-08-31T16:49:34.878Z] eaf3925da568: Pulling fs layer [2022-08-31T16:49:34.878Z] bab4dde63d76: Pulling fs layer [2022-08-31T16:49:34.878Z] 1469e6f7b9e6: Waiting [2022-08-31T16:49:34.878Z] eaf3925da568: Waiting [2022-08-31T16:49:34.878Z] bde34c3a00c8: Pulling fs layer [2022-08-31T16:49:34.878Z] b352a97aabf1: Pulling fs layer [2022-08-31T16:49:34.878Z] 4872d77fe225: Pulling fs layer [2022-08-31T16:49:34.878Z] 5851b861e8e6: Pulling fs layer [2022-08-31T16:49:34.878Z] bab4dde63d76: Waiting [2022-08-31T16:49:34.878Z] b352a97aabf1: Waiting [2022-08-31T16:49:34.878Z] 5851b861e8e6: Waiting [2022-08-31T16:49:34.878Z] bde34c3a00c8: Waiting [2022-08-31T16:49:34.878Z] 4872d77fe225: Waiting [2022-08-31T16:49:34.878Z] e2be974225ed: Verifying Checksum [2022-08-31T16:49:34.878Z] e2be974225ed: Download complete [2022-08-31T16:49:34.878Z] 988bab9f4d93: Verifying Checksum [2022-08-31T16:49:34.878Z] 988bab9f4d93: Download complete [2022-08-31T16:49:35.140Z] 1469e6f7b9e6: Verifying Checksum [2022-08-31T16:49:35.140Z] 1469e6f7b9e6: Download complete [2022-08-31T16:49:35.141Z] 339a4e72a1f5: Verifying Checksum [2022-08-31T16:49:35.141Z] eaf3925da568: Verifying Checksum [2022-08-31T16:49:35.141Z] eaf3925da568: Download complete [2022-08-31T16:49:35.141Z] 339a4e72a1f5: Download complete [2022-08-31T16:49:35.141Z] bde34c3a00c8: Download complete [2022-08-31T16:49:35.141Z] b352a97aabf1: Download complete [2022-08-31T16:49:35.141Z] 4872d77fe225: Verifying Checksum [2022-08-31T16:49:35.141Z] 4872d77fe225: Download complete [2022-08-31T16:49:35.141Z] b85a868b505f: Verifying Checksum [2022-08-31T16:49:35.141Z] b85a868b505f: Download complete [2022-08-31T16:49:35.401Z] bab4dde63d76: Verifying Checksum [2022-08-31T16:49:35.401Z] bab4dde63d76: Download complete [2022-08-31T16:49:36.786Z] b85a868b505f: Pull complete [2022-08-31T16:49:36.786Z] e2be974225ed: Pull complete [2022-08-31T16:49:37.359Z] 339a4e72a1f5: Pull complete [2022-08-31T16:49:37.359Z] 988bab9f4d93: Pull complete [2022-08-31T16:49:37.621Z] 1469e6f7b9e6: Pull complete [2022-08-31T16:49:37.882Z] eaf3925da568: Pull complete [2022-08-31T16:49:39.822Z] bab4dde63d76: Pull complete [2022-08-31T16:49:39.822Z] bde34c3a00c8: Pull complete [2022-08-31T16:49:39.822Z] b352a97aabf1: Pull complete [2022-08-31T16:49:40.087Z] 4872d77fe225: Pull complete [2022-08-31T16:49:40.087Z] 5851b861e8e6: Pull complete [2022-08-31T16:49:40.087Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-31T16:49:40.087Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T16:49:40.087Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T16:49:40.197Z] prd-ubuntu20.04-docker-8c-8g-24213 does not seem to be running inside a container [2022-08-31T16:49:40.236Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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-devops/py-git-semver:0.1.4 cat [2022-08-31T16:49:41.472Z] $ docker top df42fba695ad1fe29e226be19fc01e2730191c91eabfd63308dc7d14d3e6c0f1 -eo pid,comm [2022-08-31T16:49:41.551Z] 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). [2022-08-31T16:49:41.551Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-31T16:49:41.587Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-31T16:49:41.587Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-31T16:49:41.724Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-31T16:49:41.722Z] $ docker exec df42fba695ad1fe29e226be19fc01e2730191c91eabfd63308dc7d14d3e6c0f1 ssh-agent [2022-08-31T16:49:41.851Z] SSH_AUTH_SOCK=/tmp/ssh-E0GYz097D4eZ/agent.35 [2022-08-31T16:49:41.851Z] SSH_AGENT_PID=41 [2022-08-31T16:49:41.857Z] Running ssh-add (command line suppressed) [2022-08-31T16:49:41.979Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_1642635959557710410.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_1642635959557710410.key) [2022-08-31T16:49:42.001Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-31T16:49:42.299Z] + git tag --points-at HEAD [Pipeline] } [2022-08-31T16:49:42.311Z] $ docker exec --env ******** --env ******** df42fba695ad1fe29e226be19fc01e2730191c91eabfd63308dc7d14d3e6c0f1 ssh-agent -k [2022-08-31T16:49:42.435Z] unset SSH_AUTH_SOCK; [2022-08-31T16:49:42.435Z] unset SSH_AGENT_PID; [2022-08-31T16:49:42.436Z] echo Agent pid 41 killed; [2022-08-31T16:49:42.451Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-31T16:49:42.478Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-31T16:49:42.478Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-31T16:49:42.620Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-31T16:49:42.618Z] $ docker exec df42fba695ad1fe29e226be19fc01e2730191c91eabfd63308dc7d14d3e6c0f1 ssh-agent [2022-08-31T16:49:42.753Z] SSH_AUTH_SOCK=/tmp/ssh-4AS3BwIJVJv9/agent.74 [2022-08-31T16:49:42.753Z] SSH_AGENT_PID=80 [2022-08-31T16:49:42.759Z] Running ssh-add (command line suppressed) [2022-08-31T16:49:42.887Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_2390641726004718985.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_2390641726004718985.key) [2022-08-31T16:49:42.922Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-31T16:49:43.216Z] + git semver init [2022-08-31T16:49:43.476Z] 2022-08-31 16:49:43,441 [run_init] DEBUG init version:0.0.0 force:False [2022-08-31T16:49:43.476Z] 2022-08-31 16:49:43,442 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-149/.semver [2022-08-31T16:49:43.476Z] 2022-08-31 16:49:43,443 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-149/.semver [2022-08-31T16:49:43.476Z] 2022-08-31 16:49:43,443 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-149/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-149, universal_newlines=False, shell=None, istream=None) [2022-08-31T16:49:44.420Z] 2022-08-31 16:49:44,197 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-149/.git/info/exclude [2022-08-31T16:49:44.420Z] 2022-08-31 16:49:44,197 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 with force:False [2022-08-31T16:49:44.420Z] 2022-08-31 16:49:44,198 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 [2022-08-31T16:49:44.420Z] 2022-08-31 16:49:44,201 [execute] INFO git cat-file --batch-check [2022-08-31T16:49:44.420Z] 2022-08-31 16:49:44,202 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) [2022-08-31T16:49:44.420Z] 2022-08-31 16:49:44,208 [execute] INFO git cat-file --batch [2022-08-31T16:49:44.420Z] 2022-08-31 16:49:44,208 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) [2022-08-31T16:49:44.420Z] 2022-08-31 16:49:44,213 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 [2022-08-31T16:49:44.420Z] 0.0.0 [Pipeline] } [2022-08-31T16:49:44.426Z] $ docker exec --env ******** --env ******** df42fba695ad1fe29e226be19fc01e2730191c91eabfd63308dc7d14d3e6c0f1 ssh-agent -k [2022-08-31T16:49:44.561Z] unset SSH_AUTH_SOCK; [2022-08-31T16:49:44.561Z] unset SSH_AGENT_PID; [2022-08-31T16:49:44.562Z] echo Agent pid 80 killed; [2022-08-31T16:49:44.578Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-31T16:49:44.893Z] + git semver [Pipeline] } [2022-08-31T16:49:45.166Z] $ docker stop --time=1 df42fba695ad1fe29e226be19fc01e2730191c91eabfd63308dc7d14d3e6c0f1 [2022-08-31T16:49:46.474Z] $ docker rm -f df42fba695ad1fe29e226be19fc01e2730191c91eabfd63308dc7d14d3e6c0f1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-31T16:49:46.838Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-31T16:49:47.098Z] Stashed 1 file(s) [Pipeline] echo [2022-08-31T16:49:47.101Z] [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 [2022-08-31T16:49:47.198Z] provisioning config files... [2022-08-31T16:49:47.209Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config1434502758222730143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T16:49:47.513Z] ---> docker-login.sh [2022-08-31T16:49:47.513Z] nexus3.edgexfoundry.org:10001 [2022-08-31T16:49:47.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:49:47.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:49:47.513Z] Configure a credential helper to remove this warning. See [2022-08-31T16:49:47.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:49:47.513Z] [2022-08-31T16:49:47.513Z] Login Succeeded [2022-08-31T16:49:47.513Z] nexus3.edgexfoundry.org:10002 [2022-08-31T16:49:47.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:49:47.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:49:47.774Z] Configure a credential helper to remove this warning. See [2022-08-31T16:49:47.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:49:47.774Z] [2022-08-31T16:49:47.774Z] Login Succeeded [2022-08-31T16:49:47.774Z] nexus3.edgexfoundry.org:10003 [2022-08-31T16:49:47.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:49:47.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:49:47.774Z] Configure a credential helper to remove this warning. See [2022-08-31T16:49:47.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:49:47.774Z] [2022-08-31T16:49:47.774Z] Login Succeeded [2022-08-31T16:49:47.774Z] nexus3.edgexfoundry.org:10004 [2022-08-31T16:49:48.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:49:48.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:49:48.035Z] Configure a credential helper to remove this warning. See [2022-08-31T16:49:48.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:49:48.035Z] [2022-08-31T16:49:48.035Z] Login Succeeded [2022-08-31T16:49:48.035Z] docker.io [2022-08-31T16:49:48.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:49:48.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:49:48.295Z] Configure a credential helper to remove this warning. See [2022-08-31T16:49:48.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:49:48.295Z] [2022-08-31T16:49:48.295Z] Login Succeeded [2022-08-31T16:49:48.295Z] ---> docker-login.sh ends [Pipeline] } [2022-08-31T16:49:48.303Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-31T16:49:48.373Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T16:49:48.391Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T16:49:48.401Z] ========================================================= [2022-08-31T16:49:48.401Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-31T16:49:48.401Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T16:49:48.719Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-31T16:49:48.720Z] Sending build context to Docker daemon 20.73MB [2022-08-31T16:49:48.720Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T16:49:48.720Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-31T16:49:48.983Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-31T16:49:48.983Z] 2408cc74d12b: Pulling fs layer [2022-08-31T16:49:48.983Z] ea60b727a1ce: Pulling fs layer [2022-08-31T16:49:48.983Z] 30c4a7721957: Pulling fs layer [2022-08-31T16:49:48.983Z] 370296b7ddb6: Pulling fs layer [2022-08-31T16:49:48.983Z] 7c6cee850709: Pulling fs layer [2022-08-31T16:49:48.983Z] 39a5fcdaea64: Pulling fs layer [2022-08-31T16:49:48.983Z] d94ebbe4e438: Pulling fs layer [2022-08-31T16:49:48.983Z] bcfd1f05c69d: Pulling fs layer [2022-08-31T16:49:48.983Z] 59ccb84bbe0f: Pulling fs layer [2022-08-31T16:49:48.983Z] bcfd1f05c69d: Waiting [2022-08-31T16:49:48.983Z] 59ccb84bbe0f: Waiting [2022-08-31T16:49:48.983Z] 39a5fcdaea64: Waiting [2022-08-31T16:49:48.983Z] 370296b7ddb6: Waiting [2022-08-31T16:49:48.983Z] d94ebbe4e438: Waiting [2022-08-31T16:49:48.983Z] 7c6cee850709: Waiting [2022-08-31T16:49:48.983Z] 30c4a7721957: Verifying Checksum [2022-08-31T16:49:48.983Z] 30c4a7721957: Download complete [2022-08-31T16:49:48.983Z] ea60b727a1ce: Download complete [2022-08-31T16:49:48.983Z] 7c6cee850709: Verifying Checksum [2022-08-31T16:49:48.983Z] 7c6cee850709: Download complete [2022-08-31T16:49:48.983Z] 39a5fcdaea64: Download complete [2022-08-31T16:49:48.983Z] 2408cc74d12b: Verifying Checksum [2022-08-31T16:49:48.983Z] 2408cc74d12b: Download complete [2022-08-31T16:49:48.983Z] d94ebbe4e438: Verifying Checksum [2022-08-31T16:49:48.983Z] d94ebbe4e438: Download complete [2022-08-31T16:49:48.983Z] 2408cc74d12b: Pull complete [2022-08-31T16:49:49.254Z] ea60b727a1ce: Pull complete [2022-08-31T16:49:49.254Z] 30c4a7721957: Pull complete [2022-08-31T16:49:49.843Z] 370296b7ddb6: Verifying Checksum [2022-08-31T16:49:49.843Z] 370296b7ddb6: Download complete [2022-08-31T16:49:49.843Z] 59ccb84bbe0f: Verifying Checksum [2022-08-31T16:49:49.843Z] 59ccb84bbe0f: Download complete [2022-08-31T16:49:49.843Z] bcfd1f05c69d: Verifying Checksum [2022-08-31T16:49:49.843Z] bcfd1f05c69d: Download complete [2022-08-31T16:49:54.041Z] 370296b7ddb6: Pull complete [2022-08-31T16:49:54.041Z] 7c6cee850709: Pull complete [2022-08-31T16:49:54.041Z] 39a5fcdaea64: Pull complete [2022-08-31T16:49:54.041Z] d94ebbe4e438: Pull complete [2022-08-31T16:49:55.950Z] bcfd1f05c69d: Pull complete [2022-08-31T16:49:56.520Z] 59ccb84bbe0f: Pull complete [2022-08-31T16:49:56.520Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-31T16:49:56.520Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-31T16:49:56.520Z] ---> a4fb48ad2a94 [2022-08-31T16:49:56.520Z] Step 3/13 : ARG MAKE="make build" [2022-08-31T16:49:57.910Z] ---> Running in b5d8b4b0c791 [2022-08-31T16:49:57.910Z] Removing intermediate container b5d8b4b0c791 [2022-08-31T16:49:57.910Z] ---> c25c2fdff174 [2022-08-31T16:49:57.910Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T16:49:57.910Z] ---> Running in 4b4ac43f1f9d [2022-08-31T16:49:57.910Z] Removing intermediate container 4b4ac43f1f9d [2022-08-31T16:49:57.910Z] ---> ca4e70ed73aa [2022-08-31T16:49:57.910Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T16:49:57.910Z] ---> Running in 741ad09b9a73 [2022-08-31T16:49:57.910Z] Removing intermediate container 741ad09b9a73 [2022-08-31T16:49:57.910Z] ---> 281fde8a2e81 [2022-08-31T16:49:57.910Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-31T16:49:58.171Z] ---> Running in 4c23a0a849d2 [2022-08-31T16:49:58.171Z] Removing intermediate container 4c23a0a849d2 [2022-08-31T16:49:58.171Z] ---> b631ead8c97d [2022-08-31T16:49:58.171Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T16:49:58.171Z] ---> Running in c0ab7946aeaf [2022-08-31T16:49:58.747Z] Removing intermediate container c0ab7946aeaf [2022-08-31T16:49:58.747Z] ---> 375ef1bae3ca [2022-08-31T16:49:58.747Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T16:49:58.747Z] ---> Running in 9546c87130eb [2022-08-31T16:49:59.007Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-31T16:49:59.949Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-31T16:50:00.211Z] OK: 211 MiB in 51 packages [2022-08-31T16:50:00.783Z] Removing intermediate container 9546c87130eb [2022-08-31T16:50:00.783Z] ---> d6083400301e [2022-08-31T16:50:00.783Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-31T16:50:00.783Z] ---> Running in fa41637a2a35 [2022-08-31T16:50:00.783Z] Removing intermediate container fa41637a2a35 [2022-08-31T16:50:00.783Z] ---> d4a6e84b872a [2022-08-31T16:50:00.783Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-31T16:50:00.783Z] ---> 20132dd4390d [2022-08-31T16:50:00.783Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T16:50:00.783Z] ---> Running in 5f8c0cdd4dc8 [2022-08-31T16:50:02.169Z] Still waiting to schedule task [2022-08-31T16:50:02.169Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-24212’ is offline [2022-08-31T16:50:15.700Z] Removing intermediate container 5f8c0cdd4dc8 [2022-08-31T16:50:15.700Z] ---> ceb20c15a230 [2022-08-31T16:50:15.700Z] Step 12/13 : COPY . . [2022-08-31T16:50:15.700Z] ---> 6ffd1c1e1e8e [2022-08-31T16:50:15.700Z] Step 13/13 : RUN ${MAKE} [2022-08-31T16:50:15.700Z] ---> Running in 2649afdab923 [2022-08-31T16:50:15.960Z] noop [2022-08-31T16:50:16.222Z] Removing intermediate container 2649afdab923 [2022-08-31T16:50:16.222Z] ---> 9354cc44fb34 [2022-08-31T16:50:16.222Z] Successfully built 9354cc44fb34 [2022-08-31T16:50:16.222Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T16:50:16.551Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-31T16:50:16.551Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T16:50:16.640Z] prd-ubuntu20.04-docker-8c-8g-24213 does not seem to be running inside a container [2022-08-31T16:50:16.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-31T16:50:17.077Z] $ docker top e72f726cfc3bf6d62e6a198127a26ecb87d1f15259b330872873c7f35cc9a257 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T16:50:17.444Z] + go version [2022-08-31T16:50:17.444Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-31T16:50:17.458Z] $ docker stop --time=1 e72f726cfc3bf6d62e6a198127a26ecb87d1f15259b330872873c7f35cc9a257 [2022-08-31T16:50:18.787Z] $ docker rm -f e72f726cfc3bf6d62e6a198127a26ecb87d1f15259b330872873c7f35cc9a257 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T16:50:19.251Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-31T16:50:19.251Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T16:50:19.335Z] prd-ubuntu20.04-docker-8c-8g-24213 does not seem to be running inside a container [2022-08-31T16:50:19.372Z] $ 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-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-31T16:50:19.745Z] $ docker top 6081d2dc48a191f84b9e8436bf4b17a9dfaa0e3fadd1ceda2d0e958f265dc275 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T16:50:20.098Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] fileExists [Pipeline] sh [2022-08-31T16:50:20.395Z] + make test [2022-08-31T16:50:20.396Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-31T16:50:20.655Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-31T16:50:30.641Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-31T16:50:32.025Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.038s coverage: 28.5% of statements [2022-08-31T16:50:32.025Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-31T16:50:35.332Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.997s coverage: 13.8% of statements [2022-08-31T16:50:43.469Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-08-31T16:50:43.469Z] internal/driver/driver_test.go:257:17: Error return value of `writer.Write` is not checked (errcheck) [2022-08-31T16:50:43.469Z] writer.Write([]byte(test.resp)) [2022-08-31T16:50:43.469Z] ^ [2022-08-31T16:50:43.469Z] make: *** [Makefile:58: lint] Error 1 [Pipeline] } [2022-08-31T16:50:43.487Z] $ docker stop --time=1 6081d2dc48a191f84b9e8436bf4b17a9dfaa0e3fadd1ceda2d0e958f265dc275 [2022-08-31T16:50:45.201Z] $ docker rm -f 6081d2dc48a191f84b9e8436bf4b17a9dfaa0e3fadd1ceda2d0e958f265dc275 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T16:50:45.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T16:50:45.812Z] [2022-08-31T16:50:45.812Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T16:50:46.117Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T16:50:46.117Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-31T16:50:46.117Z] 5eb5b503b376: Pulling fs layer [2022-08-31T16:50:46.117Z] 5c69ac0246d0: Pulling fs layer [2022-08-31T16:50:46.117Z] ec43610c2a17: Pulling fs layer [2022-08-31T16:50:46.117Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-31T16:50:46.117Z] 33b1e0a273af: Pulling fs layer [2022-08-31T16:50:46.117Z] 5d3b04190fa2: Pulling fs layer [2022-08-31T16:50:46.117Z] 2f39f015ded8: Pulling fs layer [2022-08-31T16:50:46.117Z] 33b1e0a273af: Waiting [2022-08-31T16:50:46.117Z] 5d3b04190fa2: Waiting [2022-08-31T16:50:46.117Z] 2f39f015ded8: Waiting [2022-08-31T16:50:46.117Z] 3a2ae6a8a46f: Waiting [2022-08-31T16:50:46.117Z] 5c69ac0246d0: Verifying Checksum [2022-08-31T16:50:46.117Z] 5c69ac0246d0: Download complete [2022-08-31T16:50:46.117Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-31T16:50:46.117Z] 3a2ae6a8a46f: Download complete [2022-08-31T16:50:46.378Z] 33b1e0a273af: Verifying Checksum [2022-08-31T16:50:46.378Z] 33b1e0a273af: Download complete [2022-08-31T16:50:46.378Z] ec43610c2a17: Verifying Checksum [2022-08-31T16:50:46.378Z] ec43610c2a17: Download complete [2022-08-31T16:50:46.378Z] 5d3b04190fa2: Verifying Checksum [2022-08-31T16:50:46.378Z] 5d3b04190fa2: Download complete [2022-08-31T16:50:46.378Z] 5eb5b503b376: Verifying Checksum [2022-08-31T16:50:46.378Z] 5eb5b503b376: Download complete [2022-08-31T16:50:46.946Z] 2f39f015ded8: Download complete [2022-08-31T16:50:47.514Z] 5eb5b503b376: Pull complete [2022-08-31T16:50:47.779Z] 5c69ac0246d0: Pull complete [2022-08-31T16:50:48.038Z] ec43610c2a17: Pull complete [2022-08-31T16:50:48.299Z] 3a2ae6a8a46f: Pull complete [2022-08-31T16:50:48.299Z] 33b1e0a273af: Pull complete [2022-08-31T16:50:48.559Z] 5d3b04190fa2: Pull complete [2022-08-31T16:50:53.841Z] 2f39f015ded8: Pull complete [2022-08-31T16:50:53.841Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-31T16:50:53.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T16:50:53.841Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T16:50:53.950Z] prd-ubuntu20.04-docker-8c-8g-24213 does not seem to be running inside a container [2022-08-31T16:50:53.993Z] $ 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-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-31T16:50:55.344Z] $ docker top d3601b72259d796cf1d193b7ca05927988f1ee1303da51c94f1c706de8e65db1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T16:50:55.738Z] ---> job-cost.sh [2022-08-31T16:50:55.738Z] lf-activate-venv: SKIPPING [2022-08-31T16:50:55.738Z] INFO: No Stack... [2022-08-31T16:50:56.311Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-31T16:50:56.572Z] INFO: Archiving Costs [Pipeline] sh [2022-08-31T16:50:56.865Z] + cat /w/workspace/undry_device-onvif-camera_PR-149/archives/cost.csv [2022-08-31T16:50:56.865Z] + cut -d, -f6 [Pipeline] lock [2022-08-31T16:50:56.881Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-23-stack-cost] [2022-08-31T16:50:56.890Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-23-stack-cost] did not exist. Created. [2022-08-31T16:50:56.891Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-31T16:50:57.196Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-31T16:50:57.235Z] Stashed 1 file(s) [Pipeline] } [2022-08-31T16:50:57.241Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-23-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-31T16:50:57.263Z] $ docker stop --time=1 d3601b72259d796cf1d193b7ca05927988f1ee1303da51c94f1c706de8e65db1 [2022-08-31T16:50:58.425Z] $ docker rm -f d3601b72259d796cf1d193b7ca05927988f1ee1303da51c94f1c706de8e65db1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-31T16:50:58.546Z] Failed in branch amd64 [2022-08-31T16:51:53.044Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24214 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] ws [2022-08-31T16:51:53.058Z] Running in /w/workspace/device-onvif-camera/23 [Pipeline] { [Pipeline] checkout [2022-08-31T16:51:53.097Z] Selected Git installation does not exist. Using Default [2022-08-31T16:51:53.097Z] The recommended git tool is: NONE [2022-08-31T16:52:01.169Z] using credential edgex-jenkins-ssh [2022-08-31T16:52:01.191Z] Cloning the remote Git repository [2022-08-31T16:52:01.343Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-31T16:52:01.491Z] > git init /w/workspace/device-onvif-camera/23 # timeout=10 [2022-08-31T16:52:01.658Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-31T16:52:01.658Z] > git --version # timeout=10 [2022-08-31T16:52:01.676Z] > git --version # 'git version 2.25.1' [2022-08-31T16:52:01.678Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T16:52:01.782Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-31T16:52:03.809Z] Merging remotes/origin/main commit dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit 9faaa447fdfc0a620ceb7bc469331885287a030b [2022-08-31T16:52:03.050Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-31T16:52:03.077Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-31T16:52:03.113Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-31T16:52:03.156Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-31T16:52:03.157Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T16:52:03.175Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-31T16:52:03.837Z] > git config core.sparsecheckout # timeout=10 [2022-08-31T16:52:03.863Z] > git checkout -f 9faaa447fdfc0a620ceb7bc469331885287a030b # timeout=10 [2022-08-31T16:52:04.397Z] Merge succeeded, producing ab3203f8ff95aa26f4c496710e8e5ed17a41c506 [2022-08-31T16:52:04.398Z] Checking out Revision ab3203f8ff95aa26f4c496710e8e5ed17a41c506 (PR-149) [2022-08-31T16:52:04.121Z] > git remote # timeout=10 [2022-08-31T16:52:04.146Z] > git config --get remote.origin.url # timeout=10 [2022-08-31T16:52:04.168Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T16:52:04.182Z] > git merge dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 [2022-08-31T16:52:04.372Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-31T16:52:04.409Z] > git config core.sparsecheckout # timeout=10 [2022-08-31T16:52:04.433Z] > git checkout -f ab3203f8ff95aa26f4c496710e8e5ed17a41c506 # timeout=10 [2022-08-31T16:52:08.903Z] Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" [2022-08-31T16:52:08.929Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-31T16:52:09.958Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-31T16:52:09.958Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-31T16:52:09.958Z] Dload Upload Total Spent Left Speed [2022-08-31T16:52:09.958Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 86910 0 --:--:-- --:--:-- --:--:-- 87513 [Pipeline] sh [2022-08-31T16:52:08.915Z] > git rev-list --no-walk 666e69bd0fee7fd468a9fde2298d0ea16309f433 # timeout=10 [2022-08-31T16:52:10.703Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-31T16:52:11.055Z] + + sudo teesudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-31T16:52:11.056Z] /etc/docker/daemon.new [2022-08-31T16:52:11.056Z] { [2022-08-31T16:52:11.056Z] "registry-mirrors": [ [2022-08-31T16:52:11.056Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-31T16:52:11.056Z] ], [2022-08-31T16:52:11.056Z] "bip": "10.250.0.254/24", [2022-08-31T16:52:11.056Z] "hosts": [ [2022-08-31T16:52:11.056Z] "tcp://0.0.0.0:5555", [2022-08-31T16:52:11.056Z] "unix:///var/run/docker.sock" [2022-08-31T16:52:11.056Z] ], [2022-08-31T16:52:11.056Z] "mtu": 1458, [2022-08-31T16:52:11.056Z] "selinux-enabled": true, [2022-08-31T16:52:11.056Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-31T16:52:11.056Z] } [Pipeline] sh [2022-08-31T16:52:11.405Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-31T16:52:11.746Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T16:52:30.098Z] provisioning config files... [2022-08-31T16:52:30.124Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/23@tmp/config7345275149761366725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T16:52:30.497Z] ---> docker-login.sh [2022-08-31T16:52:30.497Z] nexus3.edgexfoundry.org:10001 [2022-08-31T16:52:31.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:52:31.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:52:31.703Z] Configure a credential helper to remove this warning. See [2022-08-31T16:52:31.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:52:31.703Z] [2022-08-31T16:52:31.703Z] Login Succeeded [2022-08-31T16:52:31.703Z] nexus3.edgexfoundry.org:10002 [2022-08-31T16:52:31.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:52:32.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:52:32.271Z] Configure a credential helper to remove this warning. See [2022-08-31T16:52:32.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:52:32.271Z] [2022-08-31T16:52:32.271Z] Login Succeeded [2022-08-31T16:52:32.271Z] nexus3.edgexfoundry.org:10003 [2022-08-31T16:52:32.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:52:32.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:52:32.826Z] Configure a credential helper to remove this warning. See [2022-08-31T16:52:32.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:52:32.826Z] [2022-08-31T16:52:32.826Z] Login Succeeded [2022-08-31T16:52:32.826Z] nexus3.edgexfoundry.org:10004 [2022-08-31T16:52:33.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:52:33.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:52:33.374Z] Configure a credential helper to remove this warning. See [2022-08-31T16:52:33.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:52:33.374Z] [2022-08-31T16:52:33.374Z] Login Succeeded [2022-08-31T16:52:33.374Z] docker.io [2022-08-31T16:52:33.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T16:52:33.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T16:52:33.923Z] Configure a credential helper to remove this warning. See [2022-08-31T16:52:33.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T16:52:33.923Z] [2022-08-31T16:52:33.923Z] Login Succeeded [2022-08-31T16:52:33.923Z] ---> docker-login.sh ends [Pipeline] } [2022-08-31T16:52:33.942Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-31T16:52:34.500Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T16:52:34.518Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T16:52:34.529Z] ========================================================= [2022-08-31T16:52:34.529Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-31T16:52:34.529Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T16:52:34.911Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-31T16:52:35.521Z] Sending build context to Docker daemon 14.23MB [2022-08-31T16:52:35.812Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T16:52:35.812Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-31T16:52:35.812Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-31T16:52:35.812Z] b3c136eddcbf: Pulling fs layer [2022-08-31T16:52:35.812Z] c0a3192eca97: Pulling fs layer [2022-08-31T16:52:35.812Z] a050256f5b6f: Pulling fs layer [2022-08-31T16:52:35.812Z] 656be50a0ddc: Pulling fs layer [2022-08-31T16:52:35.812Z] 2bbca73fdf42: Pulling fs layer [2022-08-31T16:52:35.812Z] 46d945488cbd: Pulling fs layer [2022-08-31T16:52:35.812Z] 8a5474983e97: Pulling fs layer [2022-08-31T16:52:35.812Z] 329c88fbcd65: Pulling fs layer [2022-08-31T16:52:35.812Z] 656be50a0ddc: Waiting [2022-08-31T16:52:35.812Z] 2bbca73fdf42: Waiting [2022-08-31T16:52:35.812Z] 46d945488cbd: Waiting [2022-08-31T16:52:35.812Z] 8a5474983e97: Waiting [2022-08-31T16:52:35.812Z] 329c88fbcd65: Waiting [2022-08-31T16:52:35.812Z] a050256f5b6f: Verifying Checksum [2022-08-31T16:52:35.813Z] a050256f5b6f: Download complete [2022-08-31T16:52:35.813Z] c0a3192eca97: Download complete [2022-08-31T16:52:36.107Z] 2bbca73fdf42: Download complete [2022-08-31T16:52:36.107Z] 46d945488cbd: Verifying Checksum [2022-08-31T16:52:36.107Z] 46d945488cbd: Download complete [2022-08-31T16:52:36.107Z] b3c136eddcbf: Verifying Checksum [2022-08-31T16:52:36.107Z] b3c136eddcbf: Download complete [2022-08-31T16:52:37.105Z] b3c136eddcbf: Pull complete [2022-08-31T16:52:37.105Z] 329c88fbcd65: Verifying Checksum [2022-08-31T16:52:37.105Z] 329c88fbcd65: Download complete [2022-08-31T16:52:37.711Z] c0a3192eca97: Pull complete [2022-08-31T16:52:37.989Z] a050256f5b6f: Pull complete [2022-08-31T16:52:38.601Z] 8a5474983e97: Verifying Checksum [2022-08-31T16:52:38.601Z] 8a5474983e97: Download complete [2022-08-31T16:52:39.202Z] 656be50a0ddc: Verifying Checksum [2022-08-31T16:52:39.202Z] 656be50a0ddc: Download complete [2022-08-31T16:52:54.319Z] 656be50a0ddc: Pull complete [2022-08-31T16:52:54.319Z] 2bbca73fdf42: Pull complete [2022-08-31T16:52:54.319Z] 46d945488cbd: Pull complete [2022-08-31T16:52:59.773Z] 8a5474983e97: Pull complete [2022-08-31T16:53:02.413Z] 329c88fbcd65: Pull complete [2022-08-31T16:53:02.413Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-31T16:53:02.413Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-31T16:53:02.413Z] ---> ff4287adb874 [2022-08-31T16:53:02.413Z] Step 3/13 : ARG MAKE="make build" [2022-08-31T16:53:04.396Z] ---> Running in 1876710af100 [2022-08-31T16:53:04.675Z] Removing intermediate container 1876710af100 [2022-08-31T16:53:04.675Z] ---> e9e550b1e618 [2022-08-31T16:53:04.675Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T16:53:04.952Z] ---> Running in 402ca79cfaa4 [2022-08-31T16:53:05.230Z] Removing intermediate container 402ca79cfaa4 [2022-08-31T16:53:05.230Z] ---> 0541f8305bc2 [2022-08-31T16:53:05.230Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T16:53:05.230Z] ---> Running in f3118846b89c [2022-08-31T16:53:05.507Z] Removing intermediate container f3118846b89c [2022-08-31T16:53:05.507Z] ---> 6932c3c469c6 [2022-08-31T16:53:05.507Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-31T16:53:05.507Z] ---> Running in 2d81629ba9d2 [2022-08-31T16:53:05.782Z] Removing intermediate container 2d81629ba9d2 [2022-08-31T16:53:05.782Z] ---> b3e87e6d0588 [2022-08-31T16:53:05.782Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T16:53:06.057Z] ---> Running in ed32e7602c60 [2022-08-31T16:53:08.047Z] Removing intermediate container ed32e7602c60 [2022-08-31T16:53:08.047Z] ---> c4c8c076f416 [2022-08-31T16:53:08.047Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T16:53:08.047Z] ---> Running in 031e0a9c62d8 [2022-08-31T16:53:09.042Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T16:53:10.028Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T16:53:11.034Z] OK: 221 MiB in 51 packages [2022-08-31T16:53:12.024Z] Removing intermediate container 031e0a9c62d8 [2022-08-31T16:53:12.024Z] ---> a5876caa0cb1 [2022-08-31T16:53:12.025Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-31T16:53:12.025Z] ---> Running in e1a369f0bb24 [2022-08-31T16:53:12.310Z] Removing intermediate container e1a369f0bb24 [2022-08-31T16:53:12.310Z] ---> c50c7e31c379 [2022-08-31T16:53:12.310Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-31T16:53:12.918Z] ---> ed46d9cb0a92 [2022-08-31T16:53:12.918Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T16:53:13.201Z] ---> Running in 1a61a7a35bb7 [2022-08-31T16:54:09.811Z] Removing intermediate container 1a61a7a35bb7 [2022-08-31T16:54:09.811Z] ---> a9c2236ea261 [2022-08-31T16:54:09.811Z] Step 12/13 : COPY . . [2022-08-31T16:54:09.811Z] ---> c3d8994ccc0f [2022-08-31T16:54:09.811Z] Step 13/13 : RUN ${MAKE} [2022-08-31T16:54:09.811Z] ---> Running in b429e58209f5 [2022-08-31T16:54:09.811Z] noop [2022-08-31T16:54:09.811Z] Removing intermediate container b429e58209f5 [2022-08-31T16:54:09.811Z] ---> 4dc70a3decf9 [2022-08-31T16:54:09.811Z] Successfully built 4dc70a3decf9 [2022-08-31T16:54:09.811Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T16:54:10.193Z] + docker inspect -f . ci-base-image-arm64 [2022-08-31T16:54:10.193Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T16:54:10.480Z] prd-ubuntu20.04-docker-arm64-4c-16g-24214 does not seem to be running inside a container [2022-08-31T16:54:10.576Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/23 -v /w/workspace/device-onvif-camera/23:/w/workspace/device-onvif-camera/23:rw,z -v /w/workspace/device-onvif-camera/23@tmp:/w/workspace/device-onvif-camera/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-31T16:54:11.962Z] $ docker top 175dd565207934bebe6d81f95f7ce5ee654a5d9ccfab4daca837c3ca42fc5b2a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T16:54:12.891Z] + go version [2022-08-31T16:54:12.891Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-31T16:54:12.922Z] $ docker stop --time=1 175dd565207934bebe6d81f95f7ce5ee654a5d9ccfab4daca837c3ca42fc5b2a [2022-08-31T16:54:14.621Z] $ docker rm -f 175dd565207934bebe6d81f95f7ce5ee654a5d9ccfab4daca837c3ca42fc5b2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T16:54:15.269Z] + docker inspect -f . ci-base-image-arm64 [2022-08-31T16:54:15.269Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T16:54:15.529Z] prd-ubuntu20.04-docker-arm64-4c-16g-24214 does not seem to be running inside a container [2022-08-31T16:54:15.622Z] $ 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/23 -v /w/workspace/device-onvif-camera/23:/w/workspace/device-onvif-camera/23:rw,z -v /w/workspace/device-onvif-camera/23@tmp:/w/workspace/device-onvif-camera/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-31T16:54:16.993Z] $ docker top 34cb5e0204f1ded68715e8f244019491c80cd0cdf63b0daee011322b1d21d55a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T16:54:17.943Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/23 [Pipeline] fileExists [Pipeline] sh [2022-08-31T16:54:18.633Z] + make test [2022-08-31T16:54:18.633Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-31T16:54:20.628Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-31T16:55:57.567Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-31T16:56:10.048Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.250s coverage: 28.5% of statements [2022-08-31T16:56:10.048Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-31T16:56:32.279Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.832s coverage: 13.8% of statements [2022-08-31T16:56:32.279Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-31T16:56:32.279Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-31T16:56:59.153Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-31T16:56:59.153Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-31T16:56:59.154Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-31T16:56:59.181Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-31T16:56:59.206Z] $ docker stop --time=1 34cb5e0204f1ded68715e8f244019491c80cd0cdf63b0daee011322b1d21d55a [2022-08-31T16:57:01.068Z] $ docker rm -f 34cb5e0204f1ded68715e8f244019491c80cd0cdf63b0daee011322b1d21d55a [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-31T16:57:02.179Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-31T16:57:02.928Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-31T16:57:03.442Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-31T16:57:03.800Z] + ls -al . [2022-08-31T16:57:03.800Z] total 228 [2022-08-31T16:57:03.800Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 16:54 . [2022-08-31T16:57:03.800Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 16:52 .. [2022-08-31T16:57:03.800Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 16:52 .git [2022-08-31T16:57:03.800Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 16:52 .github [2022-08-31T16:57:03.800Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 31 16:52 .gitignore [2022-08-31T16:57:03.800Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 31 16:52 .golangci.yml [2022-08-31T16:57:03.800Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 31 16:52 Attribution.txt [2022-08-31T16:57:03.800Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 31 16:52 CHANGELOG.md [2022-08-31T16:57:03.800Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 31 16:52 Dockerfile [2022-08-31T16:57:03.800Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 16:52 GOVERNANCE.md [2022-08-31T16:57:03.800Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 31 16:52 Jenkinsfile [2022-08-31T16:57:03.800Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 31 16:52 LICENSE [2022-08-31T16:57:03.800Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 31 16:52 Makefile [2022-08-31T16:57:03.800Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 31 16:52 OWNERS.md [2022-08-31T16:57:03.800Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 31 16:52 README.md [2022-08-31T16:57:03.800Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 16:49 VERSION [2022-08-31T16:57:03.800Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 16:52 bin [2022-08-31T16:57:03.800Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 16:52 cmd [2022-08-31T16:57:03.800Z] -rw-r--r-- 1 jenkins jenkins 77457 Aug 31 16:56 coverage.out [2022-08-31T16:57:03.800Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 31 16:52 doc [2022-08-31T16:57:03.800Z] -rw-rw-r-- 1 jenkins jenkins 3747 Aug 31 16:52 go.mod [2022-08-31T16:57:03.800Z] -rw-rw-r-- 1 jenkins jenkins 39690 Aug 31 16:52 go.sum [2022-08-31T16:57:03.800Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 16:52 internal [2022-08-31T16:57:03.800Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 16:52 snap [2022-08-31T16:57:03.800Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 31 16:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T16:57:04.179Z] + 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=ab3203f8ff95aa26f4c496710e8e5ed17a41c506 --label arch=arm64 --label version=0.0.0 . [2022-08-31T16:57:04.802Z] Sending build context to Docker daemon 14.31MB [2022-08-31T16:57:04.802Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T16:57:04.802Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-31T16:57:04.802Z] ---> 4dc70a3decf9 [2022-08-31T16:57:04.802Z] Step 3/26 : ARG MAKE="make build" [2022-08-31T16:57:05.082Z] ---> Running in f9f99a8847f6 [2022-08-31T16:57:05.361Z] Removing intermediate container f9f99a8847f6 [2022-08-31T16:57:05.361Z] ---> 3eac128c709e [2022-08-31T16:57:05.361Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T16:57:05.361Z] ---> Running in a58be08fe4a0 [2022-08-31T16:57:05.962Z] Removing intermediate container a58be08fe4a0 [2022-08-31T16:57:05.962Z] ---> 3f1c0cb0e1cb [2022-08-31T16:57:05.962Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T16:57:05.962Z] ---> Running in b970096ab560 [2022-08-31T16:57:06.238Z] Removing intermediate container b970096ab560 [2022-08-31T16:57:06.238Z] ---> 855f8cc52efd [2022-08-31T16:57:06.238Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-31T16:57:06.517Z] ---> Running in 6317a10e579c [2022-08-31T16:57:06.791Z] Removing intermediate container 6317a10e579c [2022-08-31T16:57:06.791Z] ---> 463b8bb29379 [2022-08-31T16:57:06.791Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T16:57:06.791Z] ---> Running in 112767df8394 [2022-08-31T16:57:08.788Z] Removing intermediate container 112767df8394 [2022-08-31T16:57:08.788Z] ---> fc0dfebee082 [2022-08-31T16:57:08.788Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T16:57:08.788Z] ---> Running in 9292b40759c5 [2022-08-31T16:57:09.777Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T16:57:11.224Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T16:57:12.220Z] OK: 221 MiB in 51 packages [2022-08-31T16:57:13.212Z] Removing intermediate container 9292b40759c5 [2022-08-31T16:57:13.212Z] ---> 08abf56ae417 [2022-08-31T16:57:13.212Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-31T16:57:13.212Z] ---> Running in f03d084383a5 [2022-08-31T16:57:13.814Z] Removing intermediate container f03d084383a5 [2022-08-31T16:57:13.814Z] ---> ca936bd67c95 [2022-08-31T16:57:13.814Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-31T16:57:14.424Z] ---> 9ed20502e4d9 [2022-08-31T16:57:14.425Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T16:57:14.425Z] ---> Running in 9d5627bf3a50 [2022-08-31T16:57:17.079Z] Removing intermediate container 9d5627bf3a50 [2022-08-31T16:57:17.079Z] ---> 3c78e027e4b0 [2022-08-31T16:57:17.079Z] Step 12/26 : COPY . . [2022-08-31T16:57:18.063Z] ---> 225b85a7aec3 [2022-08-31T16:57:18.063Z] Step 13/26 : RUN ${MAKE} [2022-08-31T16:57:18.063Z] ---> Running in 1d9f6cae5c96 [2022-08-31T16:57:19.052Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-31T16:59:56.049Z] Removing intermediate container 1d9f6cae5c96 [2022-08-31T16:59:56.049Z] ---> f3afdad384db [2022-08-31T16:59:56.049Z] Step 14/26 : FROM alpine:3.16 [2022-08-31T16:59:56.049Z] 3.16: Pulling from library/alpine [2022-08-31T16:59:56.049Z] 9b18e9b68314: Pulling fs layer [2022-08-31T16:59:56.049Z] 9b18e9b68314: Verifying Checksum [2022-08-31T16:59:56.049Z] 9b18e9b68314: Download complete [2022-08-31T16:59:56.049Z] 9b18e9b68314: Pull complete [2022-08-31T16:59:56.049Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-31T16:59:56.049Z] Status: Downloaded newer image for alpine:3.16 [2022-08-31T16:59:56.049Z] ---> a6215f271958 [2022-08-31T16:59:56.049Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-31T16:59:56.049Z] ---> Running in 3c7e819e6c22 [2022-08-31T16:59:56.049Z] Removing intermediate container 3c7e819e6c22 [2022-08-31T16:59:56.049Z] ---> ac03d27de41c [2022-08-31T16:59:56.049Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-31T16:59:56.049Z] ---> Running in eed720f4aa6d [2022-08-31T16:59:56.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T16:59:56.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T16:59:56.049Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-31T16:59:56.049Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-31T16:59:56.049Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-31T16:59:56.049Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-31T16:59:56.049Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-31T16:59:56.049Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-31T16:59:56.049Z] Executing busybox-1.35.0-r17.trigger [2022-08-31T16:59:56.049Z] OK: 8 MiB in 20 packages [2022-08-31T16:59:56.049Z] Removing intermediate container eed720f4aa6d [2022-08-31T16:59:56.049Z] ---> 8538cbdfd7c5 [2022-08-31T16:59:56.049Z] Step 17/26 : WORKDIR / [2022-08-31T16:59:56.049Z] ---> Running in 42b42e53ef5c [2022-08-31T16:59:56.049Z] Removing intermediate container 42b42e53ef5c [2022-08-31T16:59:56.049Z] ---> 14d351d43c4d [2022-08-31T16:59:56.049Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-31T16:59:57.029Z] ---> 02d3371e72af [2022-08-31T16:59:57.029Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-31T16:59:57.627Z] ---> ea397ddbb649 [2022-08-31T16:59:57.627Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-31T16:59:58.239Z] ---> 80207d356dd7 [2022-08-31T16:59:58.239Z] Step 21/26 : EXPOSE 59984 [2022-08-31T16:59:58.239Z] ---> Running in c9cf553e482b [2022-08-31T16:59:58.513Z] Removing intermediate container c9cf553e482b [2022-08-31T16:59:58.513Z] ---> a70e1a1d4fa1 [2022-08-31T16:59:58.513Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-31T16:59:58.513Z] ---> Running in 7ff469133d1b [2022-08-31T16:59:58.787Z] Removing intermediate container 7ff469133d1b [2022-08-31T16:59:58.787Z] ---> ef1b1659b6c1 [2022-08-31T16:59:58.787Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-31T16:59:58.787Z] ---> Running in fa696c471b22 [2022-08-31T16:59:59.388Z] Removing intermediate container fa696c471b22 [2022-08-31T16:59:59.388Z] ---> e346b5c5f225 [2022-08-31T16:59:59.388Z] Step 24/26 : LABEL arch=arm64 [2022-08-31T16:59:59.388Z] ---> Running in 1a2a72d5fe3d [2022-08-31T16:59:59.661Z] Removing intermediate container 1a2a72d5fe3d [2022-08-31T16:59:59.661Z] ---> 29f6d2d13e65 [2022-08-31T16:59:59.661Z] Step 25/26 : LABEL git_sha=ab3203f8ff95aa26f4c496710e8e5ed17a41c506 [2022-08-31T16:59:59.661Z] ---> Running in a7e00995db49 [2022-08-31T16:59:59.935Z] Removing intermediate container a7e00995db49 [2022-08-31T16:59:59.935Z] ---> 5163f6e5bcbb [2022-08-31T16:59:59.935Z] Step 26/26 : LABEL version=0.0.0 [2022-08-31T16:59:59.935Z] ---> Running in 584e5b1e5371 [2022-08-31T17:00:00.207Z] Removing intermediate container 584e5b1e5371 [2022-08-31T17:00:00.207Z] ---> 7c4ac59515ff [2022-08-31T17:00:00.207Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-31T17:00:00.480Z] Successfully built 7c4ac59515ff [2022-08-31T17:00:00.480Z] 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 [2022-08-31T17:00:00.978Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T17:00:00.978Z] [2022-08-31T17:00:00.978Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T17:00:01.332Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T17:00:01.608Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-31T17:00:01.608Z] 8998bd30e6a1: Pulling fs layer [2022-08-31T17:00:01.608Z] 04944245beec: Pulling fs layer [2022-08-31T17:00:01.608Z] 699f458cf7ca: Pulling fs layer [2022-08-31T17:00:01.608Z] 765212b225bb: Pulling fs layer [2022-08-31T17:00:01.608Z] f23df028b6ca: Pulling fs layer [2022-08-31T17:00:01.608Z] d65c8cfc05b1: Pulling fs layer [2022-08-31T17:00:01.608Z] 2437ff75d9bd: Pulling fs layer [2022-08-31T17:00:01.608Z] f23df028b6ca: Waiting [2022-08-31T17:00:01.608Z] d65c8cfc05b1: Waiting [2022-08-31T17:00:01.608Z] 765212b225bb: Waiting [2022-08-31T17:00:01.608Z] 2437ff75d9bd: Waiting [2022-08-31T17:00:01.608Z] 04944245beec: Verifying Checksum [2022-08-31T17:00:01.608Z] 04944245beec: Download complete [2022-08-31T17:00:01.608Z] 765212b225bb: Verifying Checksum [2022-08-31T17:00:01.608Z] 765212b225bb: Download complete [2022-08-31T17:00:01.608Z] f23df028b6ca: Download complete [2022-08-31T17:00:01.608Z] d65c8cfc05b1: Verifying Checksum [2022-08-31T17:00:01.608Z] d65c8cfc05b1: Download complete [2022-08-31T17:00:01.892Z] 699f458cf7ca: Verifying Checksum [2022-08-31T17:00:01.892Z] 699f458cf7ca: Download complete [2022-08-31T17:00:02.173Z] 8998bd30e6a1: Download complete [2022-08-31T17:00:04.812Z] 2437ff75d9bd: Verifying Checksum [2022-08-31T17:00:04.812Z] 2437ff75d9bd: Download complete [2022-08-31T17:00:06.819Z] 8998bd30e6a1: Pull complete [2022-08-31T17:00:07.097Z] 04944245beec: Pull complete [2022-08-31T17:00:08.544Z] 699f458cf7ca: Pull complete [2022-08-31T17:00:08.819Z] 765212b225bb: Pull complete [2022-08-31T17:00:09.806Z] f23df028b6ca: Pull complete [2022-08-31T17:00:10.087Z] d65c8cfc05b1: Pull complete [2022-08-31T17:00:25.214Z] 2437ff75d9bd: Pull complete [2022-08-31T17:00:25.214Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-31T17:00:25.214Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T17:00:25.214Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T17:00:25.483Z] prd-ubuntu20.04-docker-arm64-4c-16g-24214 does not seem to be running inside a container [2022-08-31T17:00:25.585Z] $ 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/23 -v /w/workspace/device-onvif-camera/23:/w/workspace/device-onvif-camera/23:rw,z -v /w/workspace/device-onvif-camera/23@tmp:/w/workspace/device-onvif-camera/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-31T17:00:28.411Z] $ docker top 89c704e342ff4488c830bef4d47e802f7e11bcf5d005682907aac65740539819 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T17:00:29.337Z] ---> job-cost.sh [2022-08-31T17:00:29.337Z] lf-activate-venv: SKIPPING [2022-08-31T17:00:29.337Z] INFO: No Stack... [2022-08-31T17:00:29.610Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-31T17:00:30.592Z] INFO: Archiving Costs [Pipeline] sh [2022-08-31T17:00:31.270Z] + + cat /w/workspace/device-onvif-camera/23/archives/cost.csv [2022-08-31T17:00:31.270Z] cut -d, -f6 [Pipeline] lock [2022-08-31T17:00:31.347Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-23-stack-cost] [2022-08-31T17:00:31.353Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-23-stack-cost] did not exist. Created. [2022-08-31T17:00:31.353Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-31T17:00:32.057Z] /w/workspace/device-onvif-camera/23@tmp/durable-35c8b35f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-31T17:00:32.764Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-31T17:00:32.792Z] Warning: overwriting stash ‘stack-cost’ [2022-08-31T17:00:32.859Z] Stashed 1 file(s) [Pipeline] } [2022-08-31T17:00:32.865Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-23-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-31T17:00:32.899Z] $ docker stop --time=1 89c704e342ff4488c830bef4d47e802f7e11bcf5d005682907aac65740539819 [2022-08-31T17:00:34.491Z] $ docker rm -f 89c704e342ff4488c830bef4d47e802f7e11bcf5d005682907aac65740539819 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-08-31T17:00:35.507Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-149/archives ] [2022-08-31T17:00:35.507Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-31T17:00:35.507Z] total 16 [2022-08-31T17:00:35.507Z] drwxr-xr-x 3 root root 4096 Aug 31 16:50 . [2022-08-31T17:00:35.507Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 16:50 .. [2022-08-31T17:00:35.507Z] drwxr-xr-x 2 root root 4096 Aug 31 16:50 cost [2022-08-31T17:00:35.507Z] -rw-r--r-- 1 root root 92 Aug 31 16:50 cost.csv [2022-08-31T17:00:35.507Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-31T17:00:35.507Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-31T17:00:35.507Z] total 16 [2022-08-31T17:00:35.507Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 16:50 . [2022-08-31T17:00:35.507Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 16:50 .. [2022-08-31T17:00:35.507Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 16:50 cost [2022-08-31T17:00:35.507Z] -rw-r--r-- 1 jenkins jenkins 92 Aug 31 16:50 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-31T17:00:35.804Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T17:00:36.672Z] ---> package-listing.sh [2022-08-31T17:00:36.673Z] ++ facter osfamily [2022-08-31T17:00:36.673Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-31T17:00:36.935Z] + OS_FAMILY=debian [2022-08-31T17:00:36.935Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-149 [2022-08-31T17:00:36.935Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-31T17:00:36.935Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-31T17:00:36.935Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-31T17:00:36.935Z] + PACKAGES=/tmp/packages_start.txt [2022-08-31T17:00:36.935Z] + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' [2022-08-31T17:00:36.935Z] + PACKAGES=/tmp/packages_end.txt [2022-08-31T17:00:36.935Z] + case "${OS_FAMILY}" in [2022-08-31T17:00:36.935Z] + dpkg -l [2022-08-31T17:00:36.935Z] + grep '^ii' [2022-08-31T17:00:36.935Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-31T17:00:36.935Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-31T17:00:36.935Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-31T17:00:36.935Z] + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' [2022-08-31T17:00:36.935Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-149/archives/ [2022-08-31T17:00:36.935Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-149/archives/ [Pipeline] echo [2022-08-31T17:00:36.949Z] 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-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-31T17:00:37.234Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T17:00:37.806Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T17:00:37.806Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T17:00:37.958Z] prd-ubuntu20.04-docker-8c-8g-24213 does not seem to be running inside a container [2022-08-31T17:00:37.993Z] $ 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-149/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-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-31T17:00:38.196Z] $ docker top 93621bbcaf59ac4533142988742b9f40255a026120d8ec16137848841291e01d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T17:00:38.551Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-31T17:00:38.845Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-31T17:00:39.135Z] + ls /var/log/sa-host [2022-08-31T17:00:39.135Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T17:00:39.213Z] provisioning config files... [2022-08-31T17:00:39.223Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config8301419947878451774tmp [Pipeline] { [Pipeline] echo [2022-08-31T17:00:39.239Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T17:00:39.525Z] ---> create-netrc.sh [Pipeline] } [2022-08-31T17:00:39.534Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-31T17:00:39.885Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-31T17:00:39.895Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T17:00:40.186Z] ---> sudo-logs.sh [2022-08-31T17:00:40.186Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-31T17:00:40.221Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T17:00:40.509Z] ---> job-cost.sh [2022-08-31T17:00:40.509Z] lf-activate-venv: SKIPPING [2022-08-31T17:00:40.509Z] DEBUG: total: 0.2199999988079071 [2022-08-31T17:00:40.509Z] INFO: Retrieving Stack Cost... [2022-08-31T17:00:41.084Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-31T17:00:41.343Z] INFO: Archiving Costs [Pipeline] echo [2022-08-31T17:00:41.356Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T17:00:41.647Z] ---> logs-deploy.sh [2022-08-31T17:00:41.647Z] lf-activate-venv: SKIPPING [2022-08-31T17:00:41.647Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-149/23 [2022-08-31T17:00:41.647Z] INFO: archiving workspace using pattern(s): [2022-08-31T17:00:42.588Z] Archives upload complete. [2022-08-31T17:00:42.849Z] INFO: archiving logs to Nexus