Pull request #163 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7219f81415a0cd39efed2f9b0e95028f91163a76+d3157763bdfd8f49e0a7266dceddd97d249ca275 (7d7b5f87ea4a13b06a953aa47b1914ab96156d81) 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-ssh3401962670030790456.key Verifying host key using known hosts file > 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-ssh4779388044855621410.key Verifying host key using known hosts file > 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-163/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-163/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15820182701693687334.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-163/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13120641510675946930.key Verifying host key using known hosts file > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12912229530534459640.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-163/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-163/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10064509225375042643.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-1121 in /w/workspace/undry_device-onvif-camera_PR-163 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-163 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/163/head:refs/remotes/origin/PR-163 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d3157763bdfd8f49e0a7266dceddd97d249ca275 into PR head commit 7219f81415a0cd39efed2f9b0e95028f91163a76 Merge succeeded, producing 7219f81415a0cd39efed2f9b0e95028f91163a76 Checking out Revision 7219f81415a0cd39efed2f9b0e95028f91163a76 (PR-163) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-26T03:24:03.388Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-26T03:24:03.539Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 7219f81415a0cd39efed2f9b0e95028f91163a76 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge d3157763bdfd8f49e0a7266dceddd97d249ca275 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7219f81415a0cd39efed2f9b0e95028f91163a76 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-26T03:24:03.625Z] ========================================================= [2022-09-26T03:24:03.625Z] EdgeX Global Pipelines Version Info [2022-09-26T03:24:03.625Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-26T03:24:04.362Z] ------------------- [2022-09-26T03:24:04.362Z] stable info: [2022-09-26T03:24:04.362Z] ------------------- [2022-09-26T03:24:04.362Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-26T03:24:04.362Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-26T03:24:04.362Z] Message: update stable to v1.0.239 [2022-09-26T03:24:04.933Z] ------------------- [2022-09-26T03:24:04.933Z] experimental info: [2022-09-26T03:24:04.933Z] ------------------- [2022-09-26T03:24:04.933Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-26T03:24:04.933Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-26T03:24:04.933Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-26T03:24:05.212Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-26T03:24:05.252Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-26T03:24:05.287Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-26T03:24:05.324Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-26T03:24:05.358Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-26T03:24:05.392Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-26T03:24:05.428Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-26T03:24:05.462Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-26T03:24:05.498Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-26T03:24:05.531Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-26T03:24:05.571Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-26T03:24:05.606Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-26T03:24:05.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-26T03:24:05.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-26T03:24:05.712Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-26T03:24:05.747Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-26T03:24:05.793Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-26T03:24:05.829Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-26T03:24:05.863Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-26T03:24:05.896Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-26T03:24:05.930Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-26T03:24:05.964Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-26T03:24:05.999Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-26T03:24:06.032Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-26T03:24:06.067Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-26T03:24:06.101Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-26T03:24:06.138Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-26T03:24:06.173Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-163 [Pipeline] echo [2022-09-26T03:24:06.205Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-163 [Pipeline] echo [2022-09-26T03:24:06.244Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-163 [Pipeline] echo [2022-09-26T03:24:06.279Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7219f81415a0cd39efed2f9b0e95028f91163a76 [Pipeline] echo [2022-09-26T03:24:06.315Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7219f81 [Pipeline] echo [2022-09-26T03:24:06.351Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-26T03:24:06.455Z] provisioning config files... [2022-09-26T03:24:06.469Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-163@tmp/config15602121951185974318tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T03:24:06.845Z] ---> docker-login.sh [2022-09-26T03:24:06.845Z] nexus3.edgexfoundry.org:10001 [2022-09-26T03:24:07.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T03:24:07.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T03:24:07.370Z] Configure a credential helper to remove this warning. See [2022-09-26T03:24:07.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T03:24:07.370Z] [2022-09-26T03:24:07.370Z] Login Succeeded [2022-09-26T03:24:07.370Z] nexus3.edgexfoundry.org:10002 [2022-09-26T03:24:07.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T03:24:07.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T03:24:07.370Z] Configure a credential helper to remove this warning. See [2022-09-26T03:24:07.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T03:24:07.370Z] [2022-09-26T03:24:07.370Z] Login Succeeded [2022-09-26T03:24:07.632Z] nexus3.edgexfoundry.org:10003 [2022-09-26T03:24:07.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T03:24:07.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T03:24:07.632Z] Configure a credential helper to remove this warning. See [2022-09-26T03:24:07.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T03:24:07.632Z] [2022-09-26T03:24:07.632Z] Login Succeeded [2022-09-26T03:24:07.632Z] nexus3.edgexfoundry.org:10004 [2022-09-26T03:24:07.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T03:24:07.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T03:24:07.632Z] Configure a credential helper to remove this warning. See [2022-09-26T03:24:07.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T03:24:07.632Z] [2022-09-26T03:24:07.632Z] Login Succeeded [2022-09-26T03:24:07.632Z] docker.io [2022-09-26T03:24:07.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T03:24:08.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T03:24:08.154Z] Configure a credential helper to remove this warning. See [2022-09-26T03:24:08.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T03:24:08.154Z] [2022-09-26T03:24:08.154Z] Login Succeeded [2022-09-26T03:24:08.154Z] ---> docker-login.sh ends [Pipeline] } [2022-09-26T03:24:08.179Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-26T03:24:08.788Z] + git rev-list -1 --merges 7219f81415a0cd39efed2f9b0e95028f91163a76~1..7219f81415a0cd39efed2f9b0e95028f91163a76 [Pipeline] echo [2022-09-26T03:24:08.836Z] -----------> git rev-list -1 --merges 7219f81415a0cd39efed2f9b0e95028f91163a76~1..7219f81415a0cd39efed2f9b0e95028f91163a76 7219f81415a0cd39efed2f9b0e95028f91163a76 [false] [Pipeline] sh [2022-09-26T03:24:09.144Z] + git log --format=format:%s -1 7219f81415a0cd39efed2f9b0e95028f91163a76 [Pipeline] echo [2022-09-26T03:24:09.181Z] ========================================================= [2022-09-26T03:24:09.181Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-26T03:24:09.181Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-26T03:24:09.611Z] + git log --format=format:%s -1 7219f81415a0cd39efed2f9b0e95028f91163a76 [Pipeline] echo [2022-09-26T03:24:09.641Z] [semverPrep] GIT_COMMIT: 7219f81415a0cd39efed2f9b0e95028f91163a76, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-09-26T03:24:09.669Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-26T03:24:10.057Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-26T03:24:10.057Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-26T03:24:10.057Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-26T03:24:10.057Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-26T03:24:10.057Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-26T03:24:10.057Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-26T03:24:10.057Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T03:24:10.534Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-26T03:24:10.534Z] [2022-09-26T03:24:10.534Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T03:24:10.907Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-26T03:24:10.907Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-26T03:24:10.907Z] b85a868b505f: Pulling fs layer [2022-09-26T03:24:10.907Z] e2be974225ed: Pulling fs layer [2022-09-26T03:24:10.907Z] 339a4e72a1f5: Pulling fs layer [2022-09-26T03:24:10.907Z] 988bab9f4d93: Pulling fs layer [2022-09-26T03:24:10.907Z] 1469e6f7b9e6: Pulling fs layer [2022-09-26T03:24:10.907Z] eaf3925da568: Pulling fs layer [2022-09-26T03:24:10.907Z] bab4dde63d76: Pulling fs layer [2022-09-26T03:24:10.907Z] bde34c3a00c8: Pulling fs layer [2022-09-26T03:24:10.907Z] b352a97aabf1: Pulling fs layer [2022-09-26T03:24:10.907Z] 4872d77fe225: Pulling fs layer [2022-09-26T03:24:10.907Z] 5851b861e8e6: Pulling fs layer [2022-09-26T03:24:10.907Z] 1469e6f7b9e6: Waiting [2022-09-26T03:24:10.907Z] b352a97aabf1: Waiting [2022-09-26T03:24:10.907Z] eaf3925da568: Waiting [2022-09-26T03:24:10.907Z] bab4dde63d76: Waiting [2022-09-26T03:24:10.907Z] bde34c3a00c8: Waiting [2022-09-26T03:24:10.907Z] 4872d77fe225: Waiting [2022-09-26T03:24:10.907Z] 5851b861e8e6: Waiting [2022-09-26T03:24:10.907Z] e2be974225ed: Verifying Checksum [2022-09-26T03:24:10.907Z] e2be974225ed: Download complete [2022-09-26T03:24:10.907Z] 988bab9f4d93: Verifying Checksum [2022-09-26T03:24:10.907Z] 988bab9f4d93: Download complete [2022-09-26T03:24:11.170Z] 1469e6f7b9e6: Verifying Checksum [2022-09-26T03:24:11.170Z] 1469e6f7b9e6: Download complete [2022-09-26T03:24:11.170Z] eaf3925da568: Verifying Checksum [2022-09-26T03:24:11.170Z] eaf3925da568: Download complete [2022-09-26T03:24:11.170Z] 339a4e72a1f5: Verifying Checksum [2022-09-26T03:24:11.170Z] 339a4e72a1f5: Download complete [2022-09-26T03:24:11.170Z] bde34c3a00c8: Verifying Checksum [2022-09-26T03:24:11.170Z] bde34c3a00c8: Download complete [2022-09-26T03:24:11.170Z] b352a97aabf1: Verifying Checksum [2022-09-26T03:24:11.170Z] b352a97aabf1: Download complete [2022-09-26T03:24:11.170Z] 4872d77fe225: Verifying Checksum [2022-09-26T03:24:11.170Z] 4872d77fe225: Download complete [2022-09-26T03:24:11.170Z] 5851b861e8e6: Verifying Checksum [2022-09-26T03:24:11.170Z] 5851b861e8e6: Download complete [2022-09-26T03:24:11.170Z] b85a868b505f: Verifying Checksum [2022-09-26T03:24:11.170Z] b85a868b505f: Download complete [2022-09-26T03:24:11.428Z] bab4dde63d76: Verifying Checksum [2022-09-26T03:24:11.428Z] bab4dde63d76: Download complete [2022-09-26T03:24:12.363Z] b85a868b505f: Pull complete [2022-09-26T03:24:12.623Z] e2be974225ed: Pull complete [2022-09-26T03:24:13.192Z] 339a4e72a1f5: Pull complete [2022-09-26T03:24:13.192Z] 988bab9f4d93: Pull complete [2022-09-26T03:24:13.452Z] 1469e6f7b9e6: Pull complete [2022-09-26T03:24:13.452Z] eaf3925da568: Pull complete [2022-09-26T03:24:15.380Z] bab4dde63d76: Pull complete [2022-09-26T03:24:15.380Z] bde34c3a00c8: Pull complete [2022-09-26T03:24:15.380Z] b352a97aabf1: Pull complete [2022-09-26T03:24:15.380Z] 4872d77fe225: Pull complete [2022-09-26T03:24:15.640Z] 5851b861e8e6: Pull complete [2022-09-26T03:24:15.640Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-26T03:24:15.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-26T03:24:15.640Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T03:24:15.847Z] prd-ubuntu20.04-docker-8c-8g-1121 does not seem to be running inside a container [2022-09-26T03:24:15.883Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-163 -v /w/workspace/undry_device-onvif-camera_PR-163:/w/workspace/undry_device-onvif-camera_PR-163:rw,z -v /w/workspace/undry_device-onvif-camera_PR-163@tmp:/w/workspace/undry_device-onvif-camera_PR-163@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-26T03:24:17.099Z] $ docker top bf7b12bff57f96aa08d4f25a8b6cf34f6d6892b3b0e31145c7a03dd8297a5da5 -eo pid,comm [2022-09-26T03:24:17.154Z] 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-09-26T03:24:17.154Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-26T03:24:17.272Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-26T03:24:17.272Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-26T03:24:17.377Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-26T03:24:17.380Z] $ docker exec bf7b12bff57f96aa08d4f25a8b6cf34f6d6892b3b0e31145c7a03dd8297a5da5 ssh-agent [2022-09-26T03:24:17.485Z] SSH_AUTH_SOCK=/tmp/ssh-AE5y8k796vkn/agent.33 [2022-09-26T03:24:17.485Z] SSH_AGENT_PID=40 [2022-09-26T03:24:17.492Z] Running ssh-add (command line suppressed) [2022-09-26T03:24:17.582Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-163@tmp/private_key_10675429307957840465.key (/w/workspace/undry_device-onvif-camera_PR-163@tmp/private_key_10675429307957840465.key) [2022-09-26T03:24:17.596Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-26T03:24:17.920Z] + git tag --points-at HEAD [Pipeline] } [2022-09-26T03:24:17.947Z] $ docker exec --env ******** --env ******** bf7b12bff57f96aa08d4f25a8b6cf34f6d6892b3b0e31145c7a03dd8297a5da5 ssh-agent -k [2022-09-26T03:24:18.044Z] unset SSH_AUTH_SOCK; [2022-09-26T03:24:18.044Z] unset SSH_AGENT_PID; [2022-09-26T03:24:18.045Z] echo Agent pid 40 killed; [2022-09-26T03:24:18.055Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-26T03:24:18.141Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-26T03:24:18.141Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-26T03:24:18.253Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-26T03:24:18.256Z] $ docker exec bf7b12bff57f96aa08d4f25a8b6cf34f6d6892b3b0e31145c7a03dd8297a5da5 ssh-agent [2022-09-26T03:24:18.359Z] SSH_AUTH_SOCK=/tmp/ssh-K2wto0BbssEX/agent.72 [2022-09-26T03:24:18.359Z] SSH_AGENT_PID=78 [2022-09-26T03:24:18.363Z] Running ssh-add (command line suppressed) [2022-09-26T03:24:18.469Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-163@tmp/private_key_4219045651700319467.key (/w/workspace/undry_device-onvif-camera_PR-163@tmp/private_key_4219045651700319467.key) [2022-09-26T03:24:18.484Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-26T03:24:18.803Z] + git semver init [2022-09-26T03:24:19.063Z] 2022-09-26 03:24:18,984 [run_init] DEBUG init version:0.0.0 force:False [2022-09-26T03:24:19.063Z] 2022-09-26 03:24:18,985 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-163/.semver [2022-09-26T03:24:19.063Z] 2022-09-26 03:24:18,985 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-163/.semver [2022-09-26T03:24:19.063Z] 2022-09-26 03:24:18,986 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-163/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-163, universal_newlines=False, shell=None, istream=None) [2022-09-26T03:24:19.998Z] 2022-09-26 03:24:19,939 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-163/.git/info/exclude [2022-09-26T03:24:19.998Z] 2022-09-26 03:24:19,939 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-163/.semver/PR-163 with force:False [2022-09-26T03:24:19.998Z] 2022-09-26 03:24:19,939 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-163/.semver/PR-163 [2022-09-26T03:24:19.998Z] 2022-09-26 03:24:19,944 [execute] INFO git cat-file --batch-check [2022-09-26T03:24:19.998Z] 2022-09-26 03:24:19,944 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-163/.semver, universal_newlines=False, shell=None, istream=) [2022-09-26T03:24:19.998Z] 2022-09-26 03:24:19,949 [execute] INFO git cat-file --batch [2022-09-26T03:24:19.998Z] 2022-09-26 03:24:19,949 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-163/.semver, universal_newlines=False, shell=None, istream=) [2022-09-26T03:24:19.998Z] 2022-09-26 03:24:19,954 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-163/.semver/PR-163 [2022-09-26T03:24:19.998Z] 0.0.0 [Pipeline] } [2022-09-26T03:24:20.025Z] $ docker exec --env ******** --env ******** bf7b12bff57f96aa08d4f25a8b6cf34f6d6892b3b0e31145c7a03dd8297a5da5 ssh-agent -k [2022-09-26T03:24:20.118Z] unset SSH_AUTH_SOCK; [2022-09-26T03:24:20.119Z] unset SSH_AGENT_PID; [2022-09-26T03:24:20.119Z] echo Agent pid 78 killed; [2022-09-26T03:24:20.127Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-26T03:24:20.532Z] + git semver [Pipeline] } [2022-09-26T03:24:20.817Z] $ docker stop --time=1 bf7b12bff57f96aa08d4f25a8b6cf34f6d6892b3b0e31145c7a03dd8297a5da5 [2022-09-26T03:24:22.089Z] $ docker rm -f bf7b12bff57f96aa08d4f25a8b6cf34f6d6892b3b0e31145c7a03dd8297a5da5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-26T03:24:22.489Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-26T03:24:22.734Z] Stashed 1 file(s) [Pipeline] echo [2022-09-26T03:24:22.752Z] [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-09-26T03:24:23.344Z] provisioning config files... [2022-09-26T03:24:23.354Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-163@tmp/config18128179333123242447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T03:24:23.701Z] ---> docker-login.sh [2022-09-26T03:24:23.702Z] nexus3.edgexfoundry.org:10001 [2022-09-26T03:24:23.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T03:24:23.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T03:24:23.702Z] Configure a credential helper to remove this warning. See [2022-09-26T03:24:23.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T03:24:23.702Z] [2022-09-26T03:24:23.702Z] Login Succeeded [2022-09-26T03:24:23.702Z] nexus3.edgexfoundry.org:10002 [2022-09-26T03:24:23.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T03:24:23.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T03:24:23.702Z] Configure a credential helper to remove this warning. See [2022-09-26T03:24:23.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T03:24:23.702Z] [2022-09-26T03:24:23.702Z] Login Succeeded [2022-09-26T03:24:23.702Z] nexus3.edgexfoundry.org:10003 [2022-09-26T03:24:23.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T03:24:23.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T03:24:23.962Z] Configure a credential helper to remove this warning. See [2022-09-26T03:24:23.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T03:24:23.962Z] [2022-09-26T03:24:23.962Z] Login Succeeded [2022-09-26T03:24:23.962Z] nexus3.edgexfoundry.org:10004 [2022-09-26T03:24:23.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T03:24:23.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T03:24:23.962Z] Configure a credential helper to remove this warning. See [2022-09-26T03:24:23.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T03:24:23.962Z] [2022-09-26T03:24:23.962Z] Login Succeeded [2022-09-26T03:24:23.962Z] docker.io [2022-09-26T03:24:24.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T03:24:24.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T03:24:24.481Z] Configure a credential helper to remove this warning. See [2022-09-26T03:24:24.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T03:24:24.481Z] [2022-09-26T03:24:24.481Z] Login Succeeded [2022-09-26T03:24:24.481Z] ---> docker-login.sh ends [Pipeline] } [2022-09-26T03:24:24.509Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-26T03:24:24.707Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T03:24:24.740Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T03:24:24.772Z] ========================================================= [2022-09-26T03:24:24.772Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-26T03:24:24.772Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T03:24:25.248Z] + 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-09-26T03:24:25.248Z] Sending build context to Docker daemon 20.7MB [2022-09-26T03:24:25.248Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-26T03:24:25.248Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-26T03:24:25.248Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-26T03:24:25.248Z] 2408cc74d12b: Pulling fs layer [2022-09-26T03:24:25.248Z] ea60b727a1ce: Pulling fs layer [2022-09-26T03:24:25.248Z] 30c4a7721957: Pulling fs layer [2022-09-26T03:24:25.248Z] 370296b7ddb6: Pulling fs layer [2022-09-26T03:24:25.248Z] 7c6cee850709: Pulling fs layer [2022-09-26T03:24:25.248Z] 370296b7ddb6: Waiting [2022-09-26T03:24:25.248Z] 39a5fcdaea64: Pulling fs layer [2022-09-26T03:24:25.248Z] 7c6cee850709: Waiting [2022-09-26T03:24:25.248Z] d94ebbe4e438: Pulling fs layer [2022-09-26T03:24:25.248Z] 39a5fcdaea64: Waiting [2022-09-26T03:24:25.248Z] d94ebbe4e438: Waiting [2022-09-26T03:24:25.248Z] bcfd1f05c69d: Pulling fs layer [2022-09-26T03:24:25.248Z] 59ccb84bbe0f: Pulling fs layer [2022-09-26T03:24:25.509Z] 30c4a7721957: Verifying Checksum [2022-09-26T03:24:25.509Z] 30c4a7721957: Download complete [2022-09-26T03:24:25.509Z] ea60b727a1ce: Verifying Checksum [2022-09-26T03:24:25.509Z] ea60b727a1ce: Download complete [2022-09-26T03:24:25.509Z] 7c6cee850709: Verifying Checksum [2022-09-26T03:24:25.509Z] 7c6cee850709: Download complete [2022-09-26T03:24:25.509Z] 39a5fcdaea64: Download complete [2022-09-26T03:24:25.509Z] 2408cc74d12b: Download complete [2022-09-26T03:24:25.509Z] d94ebbe4e438: Verifying Checksum [2022-09-26T03:24:25.509Z] d94ebbe4e438: Download complete [2022-09-26T03:24:25.509Z] 2408cc74d12b: Pull complete [2022-09-26T03:24:25.771Z] ea60b727a1ce: Pull complete [2022-09-26T03:24:25.771Z] 30c4a7721957: Pull complete [2022-09-26T03:24:26.347Z] 59ccb84bbe0f: Verifying Checksum [2022-09-26T03:24:26.347Z] 59ccb84bbe0f: Download complete [2022-09-26T03:24:26.347Z] 370296b7ddb6: Verifying Checksum [2022-09-26T03:24:26.347Z] 370296b7ddb6: Download complete [2022-09-26T03:24:26.347Z] bcfd1f05c69d: Verifying Checksum [2022-09-26T03:24:26.347Z] bcfd1f05c69d: Download complete [2022-09-26T03:24:29.649Z] 370296b7ddb6: Pull complete [2022-09-26T03:24:29.908Z] 7c6cee850709: Pull complete [2022-09-26T03:24:29.908Z] 39a5fcdaea64: Pull complete [2022-09-26T03:24:29.908Z] d94ebbe4e438: Pull complete [2022-09-26T03:24:31.809Z] bcfd1f05c69d: Pull complete [2022-09-26T03:24:32.745Z] 59ccb84bbe0f: Pull complete [2022-09-26T03:24:32.745Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-26T03:24:32.745Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-26T03:24:32.745Z] ---> a4fb48ad2a94 [2022-09-26T03:24:32.745Z] Step 3/13 : ARG MAKE="make build" [2022-09-26T03:24:34.125Z] ---> Running in cfb20b06e999 [2022-09-26T03:24:34.384Z] Removing intermediate container cfb20b06e999 [2022-09-26T03:24:34.384Z] ---> b8d69602dd8e [2022-09-26T03:24:34.384Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-26T03:24:34.384Z] ---> Running in df008654c430 [2022-09-26T03:24:34.384Z] Removing intermediate container df008654c430 [2022-09-26T03:24:34.384Z] ---> 3d1a19213b7b [2022-09-26T03:24:34.384Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-26T03:24:34.384Z] ---> Running in d56faffcdf43 [2022-09-26T03:24:34.644Z] Removing intermediate container d56faffcdf43 [2022-09-26T03:24:34.644Z] ---> e0f83909ca67 [2022-09-26T03:24:34.644Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-26T03:24:34.644Z] ---> Running in 95b7461c23b1 [2022-09-26T03:24:34.644Z] Removing intermediate container 95b7461c23b1 [2022-09-26T03:24:34.644Z] ---> 62fb09dfe3bf [2022-09-26T03:24:34.644Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T03:24:34.644Z] ---> Running in 1cda12260d75 [2022-09-26T03:24:35.212Z] Removing intermediate container 1cda12260d75 [2022-09-26T03:24:35.212Z] ---> 9f8445ccb1fd [2022-09-26T03:24:35.212Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-26T03:24:35.212Z] ---> Running in 860e3405fdde [2022-09-26T03:24:35.472Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-26T03:24:36.411Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-26T03:24:36.979Z] OK: 211 MiB in 51 packages [2022-09-26T03:24:37.239Z] Removing intermediate container 860e3405fdde [2022-09-26T03:24:37.239Z] ---> 0f7defcb96e7 [2022-09-26T03:24:37.239Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-26T03:24:37.239Z] ---> Running in 36348ae6715a [2022-09-26T03:24:37.239Z] Removing intermediate container 36348ae6715a [2022-09-26T03:24:37.239Z] ---> 3c278563d42a [2022-09-26T03:24:37.239Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-26T03:24:37.500Z] ---> 8a723b30a2c3 [2022-09-26T03:24:37.500Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-26T03:24:37.500Z] ---> Running in e77bde48077c [2022-09-26T03:24:38.168Z] Still waiting to schedule task [2022-09-26T03:24:38.168Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-26T03:24:55.609Z] Removing intermediate container e77bde48077c [2022-09-26T03:24:55.609Z] ---> 92060adef4be [2022-09-26T03:24:55.609Z] Step 12/13 : COPY . . [2022-09-26T03:24:55.609Z] ---> cac8cddcf010 [2022-09-26T03:24:55.609Z] Step 13/13 : RUN ${MAKE} [2022-09-26T03:24:55.609Z] ---> Running in 288b26e60443 [2022-09-26T03:24:55.609Z] noop [2022-09-26T03:24:55.609Z] Removing intermediate container 288b26e60443 [2022-09-26T03:24:55.609Z] ---> 786cf17ff70f [2022-09-26T03:24:55.609Z] Successfully built 786cf17ff70f [2022-09-26T03:24:55.609Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T03:24:56.060Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-26T03:24:56.060Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T03:24:56.205Z] prd-ubuntu20.04-docker-8c-8g-1121 does not seem to be running inside a container [2022-09-26T03:24:56.229Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-163 -v /w/workspace/undry_device-onvif-camera_PR-163:/w/workspace/undry_device-onvif-camera_PR-163:rw,z -v /w/workspace/undry_device-onvif-camera_PR-163@tmp:/w/workspace/undry_device-onvif-camera_PR-163@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-26T03:24:56.597Z] $ docker top 0240f1ee5ad6f9da39b9bd2406dfd91a89095e8681eaea4bf2aff06255eff101 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T03:24:56.993Z] + go version [2022-09-26T03:24:56.993Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-26T03:24:57.025Z] $ docker stop --time=1 0240f1ee5ad6f9da39b9bd2406dfd91a89095e8681eaea4bf2aff06255eff101 [2022-09-26T03:24:58.313Z] $ docker rm -f 0240f1ee5ad6f9da39b9bd2406dfd91a89095e8681eaea4bf2aff06255eff101 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T03:24:59.014Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-26T03:24:59.014Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T03:24:59.168Z] prd-ubuntu20.04-docker-8c-8g-1121 does not seem to be running inside a container [2022-09-26T03:24:59.197Z] $ 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-163 -v /w/workspace/undry_device-onvif-camera_PR-163:/w/workspace/undry_device-onvif-camera_PR-163:rw,z -v /w/workspace/undry_device-onvif-camera_PR-163@tmp:/w/workspace/undry_device-onvif-camera_PR-163@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-26T03:24:59.559Z] $ docker top f4d212525f9f53f9214584f1159844146a65da76e33bdd8df37b760232bf4256 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T03:24:59.951Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-163 [Pipeline] fileExists [Pipeline] sh [2022-09-26T03:25:00.312Z] + make test [2022-09-26T03:25:00.312Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-26T03:25:00.570Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-26T03:25:12.775Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-26T03:25:13.342Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.041s coverage: 28.6% of statements [2022-09-26T03:25:13.342Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-26T03:25:13.342Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.587s coverage: 86.5% of statements [2022-09-26T03:25:21.462Z] 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-09-26T03:25:21.462Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-26T03:25:25.651Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-26T03:25:25.651Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-26T03:25:25.651Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-26T03:25:25.687Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-26T03:25:25.717Z] $ docker stop --time=1 f4d212525f9f53f9214584f1159844146a65da76e33bdd8df37b760232bf4256 [2022-09-26T03:25:27.834Z] $ docker rm -f f4d212525f9f53f9214584f1159844146a65da76e33bdd8df37b760232bf4256 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-26T03:25:28.387Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-26T03:25:28.459Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-26T03:25:29.115Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-26T03:25:29.425Z] + ls -al . [2022-09-26T03:25:29.425Z] total 236 [2022-09-26T03:25:29.425Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 03:25 . [2022-09-26T03:25:29.425Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 03:24 .. [2022-09-26T03:25:29.425Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 03:25 .git [2022-09-26T03:25:29.425Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 03:24 .github [2022-09-26T03:25:29.425Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 26 03:24 .gitignore [2022-09-26T03:25:29.425Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 26 03:24 .golangci.yml [2022-09-26T03:25:29.425Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 03:24 .semver [2022-09-26T03:25:29.425Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 26 03:24 Attribution.txt [2022-09-26T03:25:29.425Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 26 03:24 CHANGELOG.md [2022-09-26T03:25:29.425Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 26 03:24 Dockerfile [2022-09-26T03:25:29.425Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 03:24 GOVERNANCE.md [2022-09-26T03:25:29.425Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 26 03:24 Jenkinsfile [2022-09-26T03:25:29.425Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 26 03:24 LICENSE [2022-09-26T03:25:29.425Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 26 03:24 Makefile [2022-09-26T03:25:29.425Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 26 03:24 OWNERS.md [2022-09-26T03:25:29.425Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 26 03:24 README.md [2022-09-26T03:25:29.425Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 03:24 VERSION [2022-09-26T03:25:29.425Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 03:24 bin [2022-09-26T03:25:29.425Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 03:24 cmd [2022-09-26T03:25:29.425Z] -rw-r--r-- 1 jenkins jenkins 79818 Sep 26 03:25 coverage.out [2022-09-26T03:25:29.425Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 26 03:24 doc [2022-09-26T03:25:29.425Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 26 03:24 go.mod [2022-09-26T03:25:29.425Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 26 03:24 go.sum [2022-09-26T03:25:29.425Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 03:24 internal [2022-09-26T03:25:29.425Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 03:24 snap [2022-09-26T03:25:29.425Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 26 03:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T03:25:29.815Z] + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=7219f81415a0cd39efed2f9b0e95028f91163a76 --label arch=amd64 --label version=0.0.0 . [2022-09-26T03:25:29.815Z] Sending build context to Docker daemon 20.78MB [2022-09-26T03:25:29.815Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-26T03:25:29.815Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-26T03:25:29.815Z] ---> 786cf17ff70f [2022-09-26T03:25:29.815Z] Step 3/26 : ARG MAKE="make build" [2022-09-26T03:25:30.074Z] ---> Running in f42e5e58711e [2022-09-26T03:25:30.074Z] Removing intermediate container f42e5e58711e [2022-09-26T03:25:30.074Z] ---> 2ba3133cbbdc [2022-09-26T03:25:30.074Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-26T03:25:30.074Z] ---> Running in 121fb19ed112 [2022-09-26T03:25:30.332Z] Removing intermediate container 121fb19ed112 [2022-09-26T03:25:30.332Z] ---> d6c043f8cfe2 [2022-09-26T03:25:30.332Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-26T03:25:30.332Z] ---> Running in 28a2769f6c2a [2022-09-26T03:25:30.332Z] Removing intermediate container 28a2769f6c2a [2022-09-26T03:25:30.332Z] ---> 7582b1b8b2af [2022-09-26T03:25:30.332Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-26T03:25:30.332Z] ---> Running in 2cf3104f8568 [2022-09-26T03:25:30.590Z] Removing intermediate container 2cf3104f8568 [2022-09-26T03:25:30.590Z] ---> e0e5c10b2ca0 [2022-09-26T03:25:30.590Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T03:25:30.590Z] ---> Running in 3464287455e4 [2022-09-26T03:25:31.157Z] Removing intermediate container 3464287455e4 [2022-09-26T03:25:31.157Z] ---> e9d309c5489f [2022-09-26T03:25:31.157Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-26T03:25:31.157Z] ---> Running in 4422d5fd2c66 [2022-09-26T03:25:31.416Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-26T03:25:32.357Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-26T03:25:32.619Z] OK: 211 MiB in 51 packages [2022-09-26T03:25:32.878Z] Removing intermediate container 4422d5fd2c66 [2022-09-26T03:25:32.878Z] ---> 491601b0c45a [2022-09-26T03:25:32.878Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-26T03:25:33.155Z] ---> Running in 627ae181052c [2022-09-26T03:25:33.155Z] Removing intermediate container 627ae181052c [2022-09-26T03:25:33.155Z] ---> 2b974bfa4636 [2022-09-26T03:25:33.155Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-26T03:25:33.155Z] ---> 9e27f516cb33 [2022-09-26T03:25:33.155Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-26T03:25:33.414Z] ---> Running in 50c9ae2b5115 [2022-09-26T03:25:33.989Z] Removing intermediate container 50c9ae2b5115 [2022-09-26T03:25:33.989Z] ---> 8e48fbf085bc [2022-09-26T03:25:33.989Z] Step 12/26 : COPY . . [2022-09-26T03:25:34.559Z] ---> cc1200774d50 [2022-09-26T03:25:34.559Z] Step 13/26 : RUN ${MAKE} [2022-09-26T03:25:34.559Z] ---> Running in 32e5ab6f6c34 [2022-09-26T03:25:34.819Z] 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-09-26T03:26:01.325Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1122 in /w/workspace/undry_device-onvif-camera_PR-163 [Pipeline] { [Pipeline] ws [2022-09-26T03:26:01.363Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [2022-09-26T03:26:01.374Z] Removing intermediate container 32e5ab6f6c34 [2022-09-26T03:26:01.374Z] ---> 364cf7192789 [2022-09-26T03:26:01.374Z] Step 14/26 : FROM alpine:3.16 [2022-09-26T03:26:01.374Z] 3.16: Pulling from library/alpine [2022-09-26T03:26:01.374Z] 213ec9aee27d: Pulling fs layer [2022-09-26T03:26:01.374Z] 213ec9aee27d: Download complete [2022-09-26T03:26:01.374Z] 213ec9aee27d: Pull complete [2022-09-26T03:26:01.374Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-26T03:26:01.374Z] Status: Downloaded newer image for alpine:3.16 [2022-09-26T03:26:01.374Z] ---> 9c6f07244728 [2022-09-26T03:26:01.374Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-26T03:26:01.374Z] ---> Running in 77082ef90307 [2022-09-26T03:26:01.374Z] Removing intermediate container 77082ef90307 [2022-09-26T03:26:01.374Z] ---> 181ef12a80cc [2022-09-26T03:26:01.374Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-26T03:26:01.374Z] ---> Running in 1361e3071ec7 [2022-09-26T03:26:01.374Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-26T03:26:01.374Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-26T03:26:01.374Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-26T03:26:01.374Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-26T03:26:01.374Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-26T03:26:01.374Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-26T03:26:01.374Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-26T03:26:01.374Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-26T03:26:01.374Z] Executing busybox-1.35.0-r17.trigger [2022-09-26T03:26:01.374Z] OK: 8 MiB in 20 packages [2022-09-26T03:26:01.374Z] Removing intermediate container 1361e3071ec7 [2022-09-26T03:26:01.374Z] ---> 73b91983cb5e [2022-09-26T03:26:01.374Z] Step 17/26 : WORKDIR / [2022-09-26T03:26:01.374Z] ---> Running in 6e7c94a881ea [2022-09-26T03:26:01.374Z] Removing intermediate container 6e7c94a881ea [2022-09-26T03:26:01.374Z] ---> 873e6bc2100d [2022-09-26T03:26:01.374Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-26T03:26:01.374Z] ---> 91126fce143f [2022-09-26T03:26:01.374Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-26T03:26:01.374Z] ---> e38bfaea6a55 [2022-09-26T03:26:01.374Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-26T03:26:01.374Z] ---> 80e855919c90 [2022-09-26T03:26:01.374Z] Step 21/26 : EXPOSE 59984 [2022-09-26T03:26:01.374Z] ---> Running in 444c6f47ffdc [2022-09-26T03:26:01.374Z] Removing intermediate container 444c6f47ffdc [2022-09-26T03:26:01.374Z] ---> dfa15f81e4fa [2022-09-26T03:26:01.374Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-26T03:26:01.374Z] ---> Running in b2dc1a14d0b3 [2022-09-26T03:26:01.374Z] Removing intermediate container b2dc1a14d0b3 [2022-09-26T03:26:01.374Z] ---> b81ec79b881a [2022-09-26T03:26:01.374Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-26T03:26:01.374Z] ---> Running in 88b1b8c3bbf8 [Pipeline] checkout [2022-09-26T03:26:01.462Z] The recommended git tool is: git [2022-09-26T03:26:01.641Z] Removing intermediate container 88b1b8c3bbf8 [2022-09-26T03:26:01.642Z] ---> e8eeae812d5b [2022-09-26T03:26:01.642Z] Step 24/26 : LABEL arch=amd64 [2022-09-26T03:26:01.642Z] ---> Running in 5c5ddced6942 [2022-09-26T03:26:01.642Z] Removing intermediate container 5c5ddced6942 [2022-09-26T03:26:01.642Z] ---> 7fde9b04d8f5 [2022-09-26T03:26:01.642Z] Step 25/26 : LABEL git_sha=7219f81415a0cd39efed2f9b0e95028f91163a76 [2022-09-26T03:26:01.642Z] ---> Running in aae1ebec7f3c [2022-09-26T03:26:01.899Z] Removing intermediate container aae1ebec7f3c [2022-09-26T03:26:01.899Z] ---> 50639920d253 [2022-09-26T03:26:01.899Z] Step 26/26 : LABEL version=0.0.0 [2022-09-26T03:26:01.899Z] ---> Running in 3f0a373cf787 [2022-09-26T03:26:01.899Z] Removing intermediate container 3f0a373cf787 [2022-09-26T03:26:01.899Z] ---> 6428fdf8c3e4 [2022-09-26T03:26:01.899Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-26T03:26:01.899Z] Successfully built 6428fdf8c3e4 [2022-09-26T03:26:01.899Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T03:26:02.764Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T03:26:02.764Z] [2022-09-26T03:26:02.764Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T03:26:03.134Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T03:26:03.135Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-26T03:26:03.135Z] 5eb5b503b376: Pulling fs layer [2022-09-26T03:26:03.135Z] 5c69ac0246d0: Pulling fs layer [2022-09-26T03:26:03.135Z] ec43610c2a17: Pulling fs layer [2022-09-26T03:26:03.135Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-26T03:26:03.135Z] 33b1e0a273af: Pulling fs layer [2022-09-26T03:26:03.135Z] 5d3b04190fa2: Pulling fs layer [2022-09-26T03:26:03.135Z] 2f39f015ded8: Pulling fs layer [2022-09-26T03:26:03.135Z] 3a2ae6a8a46f: Waiting [2022-09-26T03:26:03.135Z] 2f39f015ded8: Waiting [2022-09-26T03:26:03.135Z] 5d3b04190fa2: Waiting [2022-09-26T03:26:03.135Z] 33b1e0a273af: Waiting [2022-09-26T03:26:03.135Z] 5c69ac0246d0: Verifying Checksum [2022-09-26T03:26:03.135Z] 5c69ac0246d0: Download complete [2022-09-26T03:26:03.135Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-26T03:26:03.135Z] 3a2ae6a8a46f: Download complete [2022-09-26T03:26:03.135Z] 33b1e0a273af: Verifying Checksum [2022-09-26T03:26:03.135Z] 33b1e0a273af: Download complete [2022-09-26T03:26:03.395Z] ec43610c2a17: Verifying Checksum [2022-09-26T03:26:03.395Z] ec43610c2a17: Download complete [2022-09-26T03:26:03.395Z] 5d3b04190fa2: Verifying Checksum [2022-09-26T03:26:03.395Z] 5d3b04190fa2: Download complete [2022-09-26T03:26:03.395Z] 5eb5b503b376: Verifying Checksum [2022-09-26T03:26:03.395Z] 5eb5b503b376: Download complete [2022-09-26T03:26:03.962Z] 2f39f015ded8: Verifying Checksum [2022-09-26T03:26:03.962Z] 2f39f015ded8: Download complete [2022-09-26T03:26:04.530Z] 5eb5b503b376: Pull complete [2022-09-26T03:26:04.787Z] 5c69ac0246d0: Pull complete [2022-09-26T03:26:05.045Z] ec43610c2a17: Pull complete [2022-09-26T03:26:05.303Z] 3a2ae6a8a46f: Pull complete [2022-09-26T03:26:05.562Z] 33b1e0a273af: Pull complete [2022-09-26T03:26:05.562Z] 5d3b04190fa2: Pull complete [2022-09-26T03:26:06.355Z] using credential edgex-jenkins-ssh [2022-09-26T03:26:06.369Z] Cloning the remote Git repository [2022-09-26T03:26:06.408Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-26T03:26:06.476Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-09-26T03:26:06.610Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-26T03:26:06.611Z] > git --version # timeout=10 [2022-09-26T03:26:06.630Z] > git --version # 'git version 2.25.1' [2022-09-26T03:26:06.631Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-26T03:26:06.676Z] Verifying host key using known hosts file [2022-09-26T03:26:06.854Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-26T03:26:06.867Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-26T03:26:08.104Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-26T03:26:08.131Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-26T03:26:09.514Z] Merging remotes/origin/main commit d3157763bdfd8f49e0a7266dceddd97d249ca275 into PR head commit 7219f81415a0cd39efed2f9b0e95028f91163a76 [2022-09-26T03:26:09.868Z] Merge succeeded, producing 7219f81415a0cd39efed2f9b0e95028f91163a76 [2022-09-26T03:26:09.869Z] Checking out Revision 7219f81415a0cd39efed2f9b0e95028f91163a76 (PR-163) [2022-09-26T03:26:08.917Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-26T03:26:08.964Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-26T03:26:08.965Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-26T03:26:08.970Z] Verifying host key using known hosts file [2022-09-26T03:26:08.977Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-26T03:26:08.987Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/163/head:refs/remotes/origin/PR-163 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-26T03:26:09.531Z] > git config core.sparsecheckout # timeout=10 [2022-09-26T03:26:09.553Z] > git checkout -f 7219f81415a0cd39efed2f9b0e95028f91163a76 # timeout=10 [2022-09-26T03:26:09.771Z] > git remote # timeout=10 [2022-09-26T03:26:09.791Z] > git config --get remote.origin.url # timeout=10 [2022-09-26T03:26:09.811Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-26T03:26:09.815Z] Verifying host key using known hosts file [2022-09-26T03:26:09.820Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-26T03:26:09.831Z] > git merge d3157763bdfd8f49e0a7266dceddd97d249ca275 # timeout=10 [2022-09-26T03:26:09.853Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-26T03:26:09.871Z] > git config core.sparsecheckout # timeout=10 [2022-09-26T03:26:09.883Z] > git checkout -f 7219f81415a0cd39efed2f9b0e95028f91163a76 # timeout=10 [2022-09-26T03:26:10.531Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-09-26T03:26:10.575Z] > git --version # timeout=10 [2022-09-26T03:26:10.588Z] > git --version # 'git version 2.25.1' [2022-09-26T03:26:10.606Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-26T03:26:10.825Z] 2f39f015ded8: Pull complete [2022-09-26T03:26:10.826Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-26T03:26:10.826Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T03:26:10.826Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T03:26:10.981Z] [2022-09-26T03:26:10.981Z] GitHub has been notified of this commit’s build result [2022-09-26T03:26:10.981Z] [2022-09-26T03:26:11.029Z] prd-ubuntu20.04-docker-8c-8g-1121 does not seem to be running inside a container [2022-09-26T03:26:11.056Z] $ 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-163 -v /w/workspace/undry_device-onvif-camera_PR-163:/w/workspace/undry_device-onvif-camera_PR-163:rw,z -v /w/workspace/undry_device-onvif-camera_PR-163@tmp:/w/workspace/undry_device-onvif-camera_PR-163@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-26T03:26:13.575Z] $ docker top 8abfcb69da619005cf99e71c7282386dbb95ab330754daf74434463708951880 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-26T03:26:14.045Z] ---> job-cost.sh [2022-09-26T03:26:14.045Z] lf-activate-venv: SKIPPING [2022-09-26T03:26:14.045Z] INFO: No Stack... [2022-09-26T03:26:14.461Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-26T03:26:14.461Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-26T03:26:14.461Z] Dload Upload Total Spent Left Speed [2022-09-26T03:26:14.461Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 81303 0 --:--:-- --:--:-- --:--:-- 81831 [2022-09-26T03:26:14.613Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh [2022-09-26T03:26:14.871Z] INFO: Archiving Costs [Pipeline] sh [2022-09-26T03:26:15.036Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-26T03:26:15.180Z] + cat /w/workspace/undry_device-onvif-camera_PR-163/archives/cost.csv [2022-09-26T03:26:15.180Z] + cut -d, -f6 [Pipeline] lock [2022-09-26T03:26:15.217Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-163-1-stack-cost] [2022-09-26T03:26:15.222Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-163-1-stack-cost] did not exist. Created. [2022-09-26T03:26:15.222Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-163-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-26T03:26:15.388Z] + sudo tee /etc/docker/daemon.new [2022-09-26T03:26:15.388Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-26T03:26:15.388Z] { [2022-09-26T03:26:15.388Z] "registry-mirrors": [ [2022-09-26T03:26:15.388Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-26T03:26:15.388Z] ], [2022-09-26T03:26:15.388Z] "bip": "10.250.0.254/24", [2022-09-26T03:26:15.388Z] "hosts": [ [2022-09-26T03:26:15.388Z] "tcp://0.0.0.0:5555", [2022-09-26T03:26:15.388Z] "unix:///var/run/docker.sock" [2022-09-26T03:26:15.388Z] ], [2022-09-26T03:26:15.388Z] "mtu": 1458, [2022-09-26T03:26:15.388Z] "selinux-enabled": true, [2022-09-26T03:26:15.388Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-26T03:26:15.388Z] } [Pipeline] sh [2022-09-26T03:26:15.616Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-26T03:26:15.667Z] Stashed 1 file(s) [Pipeline] } [2022-09-26T03:26:15.699Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-163-1-stack-cost] [2022-09-26T03:26:15.733Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] // lock [Pipeline] } [2022-09-26T03:26:15.799Z] $ docker stop --time=1 8abfcb69da619005cf99e71c7282386dbb95ab330754daf74434463708951880 [2022-09-26T03:26:16.965Z] $ docker rm -f 8abfcb69da619005cf99e71c7282386dbb95ab330754daf74434463708951880 [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2022-09-26T03:26:17.328Z] + sudo service docker restart [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-26T03:26:36.297Z] provisioning config files... [2022-09-26T03:26:36.321Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config11188083224176122857tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T03:26:36.697Z] ---> docker-login.sh [2022-09-26T03:26:36.697Z] nexus3.edgexfoundry.org:10001 [2022-09-26T03:26:36.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T03:26:37.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T03:26:37.238Z] Configure a credential helper to remove this warning. See [2022-09-26T03:26:37.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T03:26:37.238Z] [2022-09-26T03:26:37.238Z] Login Succeeded [2022-09-26T03:26:37.238Z] nexus3.edgexfoundry.org:10002 [2022-09-26T03:26:37.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T03:26:37.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T03:26:37.509Z] Configure a credential helper to remove this warning. See [2022-09-26T03:26:37.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T03:26:37.509Z] [2022-09-26T03:26:37.509Z] Login Succeeded [2022-09-26T03:26:37.509Z] nexus3.edgexfoundry.org:10003 [2022-09-26T03:26:37.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T03:26:38.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T03:26:38.050Z] Configure a credential helper to remove this warning. See [2022-09-26T03:26:38.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T03:26:38.050Z] [2022-09-26T03:26:38.050Z] Login Succeeded [2022-09-26T03:26:38.050Z] nexus3.edgexfoundry.org:10004 [2022-09-26T03:26:38.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T03:26:38.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T03:26:38.364Z] Configure a credential helper to remove this warning. See [2022-09-26T03:26:38.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T03:26:38.364Z] [2022-09-26T03:26:38.364Z] Login Succeeded [2022-09-26T03:26:38.364Z] docker.io [2022-09-26T03:26:38.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T03:26:38.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T03:26:38.900Z] Configure a credential helper to remove this warning. See [2022-09-26T03:26:38.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T03:26:38.900Z] [2022-09-26T03:26:38.900Z] Login Succeeded [2022-09-26T03:26:38.900Z] ---> docker-login.sh ends [Pipeline] } [2022-09-26T03:26:38.931Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-26T03:26:39.210Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T03:26:39.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T03:26:39.279Z] ========================================================= [2022-09-26T03:26:39.279Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-26T03:26:39.279Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T03:26:39.785Z] + 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-09-26T03:26:40.384Z] Sending build context to Docker daemon 14.16MB [2022-09-26T03:26:40.384Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-26T03:26:40.384Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-26T03:26:40.659Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-26T03:26:40.659Z] b3c136eddcbf: Pulling fs layer [2022-09-26T03:26:40.659Z] c0a3192eca97: Pulling fs layer [2022-09-26T03:26:40.659Z] a050256f5b6f: Pulling fs layer [2022-09-26T03:26:40.659Z] 656be50a0ddc: Pulling fs layer [2022-09-26T03:26:40.659Z] 2bbca73fdf42: Pulling fs layer [2022-09-26T03:26:40.659Z] 46d945488cbd: Pulling fs layer [2022-09-26T03:26:40.659Z] 8a5474983e97: Pulling fs layer [2022-09-26T03:26:40.659Z] 329c88fbcd65: Pulling fs layer [2022-09-26T03:26:40.659Z] 46d945488cbd: Waiting [2022-09-26T03:26:40.659Z] 8a5474983e97: Waiting [2022-09-26T03:26:40.659Z] 329c88fbcd65: Waiting [2022-09-26T03:26:40.659Z] 656be50a0ddc: Waiting [2022-09-26T03:26:40.659Z] 2bbca73fdf42: Waiting [2022-09-26T03:26:40.659Z] a050256f5b6f: Download complete [2022-09-26T03:26:40.659Z] c0a3192eca97: Verifying Checksum [2022-09-26T03:26:40.659Z] c0a3192eca97: Download complete [2022-09-26T03:26:40.659Z] 2bbca73fdf42: Verifying Checksum [2022-09-26T03:26:40.659Z] 2bbca73fdf42: Download complete [2022-09-26T03:26:40.659Z] 46d945488cbd: Verifying Checksum [2022-09-26T03:26:40.659Z] 46d945488cbd: Download complete [2022-09-26T03:26:40.659Z] b3c136eddcbf: Verifying Checksum [2022-09-26T03:26:41.639Z] b3c136eddcbf: Pull complete [2022-09-26T03:26:41.639Z] 329c88fbcd65: Verifying Checksum [2022-09-26T03:26:41.639Z] 329c88fbcd65: Download complete [2022-09-26T03:26:42.306Z] c0a3192eca97: Pull complete [2022-09-26T03:26:42.598Z] a050256f5b6f: Pull complete [2022-09-26T03:26:42.871Z] 8a5474983e97: Verifying Checksum [2022-09-26T03:26:42.871Z] 8a5474983e97: Download complete [2022-09-26T03:26:43.841Z] 656be50a0ddc: Verifying Checksum [2022-09-26T03:26:43.841Z] 656be50a0ddc: Download complete [2022-09-26T03:26:56.181Z] 656be50a0ddc: Pull complete [2022-09-26T03:26:56.181Z] 2bbca73fdf42: Pull complete [2022-09-26T03:26:56.181Z] 46d945488cbd: Pull complete [2022-09-26T03:27:01.555Z] 8a5474983e97: Pull complete [2022-09-26T03:27:03.508Z] 329c88fbcd65: Pull complete [2022-09-26T03:27:03.508Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-26T03:27:03.508Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-26T03:27:03.508Z] ---> ff4287adb874 [2022-09-26T03:27:03.508Z] Step 3/13 : ARG MAKE="make build" [2022-09-26T03:27:05.454Z] ---> Running in bb065f8e33ec [2022-09-26T03:27:05.722Z] Removing intermediate container bb065f8e33ec [2022-09-26T03:27:05.722Z] ---> a3bc5b6d7894 [2022-09-26T03:27:05.722Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-26T03:27:05.722Z] ---> Running in f9ce70885d6b [2022-09-26T03:27:05.991Z] Removing intermediate container f9ce70885d6b [2022-09-26T03:27:05.991Z] ---> 22b3351799ed [2022-09-26T03:27:05.991Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-26T03:27:05.991Z] ---> Running in b7790cef148e [2022-09-26T03:27:06.261Z] Removing intermediate container b7790cef148e [2022-09-26T03:27:06.261Z] ---> 7822b5c09ffe [2022-09-26T03:27:06.261Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-26T03:27:06.529Z] ---> Running in 0dcb28451126 [2022-09-26T03:27:06.796Z] Removing intermediate container 0dcb28451126 [2022-09-26T03:27:06.796Z] ---> d24995d1569a [2022-09-26T03:27:06.796Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T03:27:06.796Z] ---> Running in 517fa87c5ee0 [2022-09-26T03:27:08.750Z] Removing intermediate container 517fa87c5ee0 [2022-09-26T03:27:08.750Z] ---> da580b967339 [2022-09-26T03:27:08.750Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-26T03:27:08.750Z] ---> Running in c3fb14d68a69 [2022-09-26T03:27:09.714Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-26T03:27:10.298Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-26T03:27:11.261Z] OK: 221 MiB in 51 packages [2022-09-26T03:27:12.227Z] Removing intermediate container c3fb14d68a69 [2022-09-26T03:27:12.227Z] ---> c97c63bb934c [2022-09-26T03:27:12.227Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-26T03:27:12.227Z] ---> Running in c053c53c10e2 [2022-09-26T03:27:12.496Z] Removing intermediate container c053c53c10e2 [2022-09-26T03:27:12.496Z] ---> 77ae92896224 [2022-09-26T03:27:12.496Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-26T03:27:13.089Z] ---> ea3484f47e5c [2022-09-26T03:27:13.089Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-26T03:27:13.089Z] ---> Running in 1b09362a51c6 [2022-09-26T03:27:59.958Z] Removing intermediate container 1b09362a51c6 [2022-09-26T03:27:59.958Z] ---> 1d70975780f5 [2022-09-26T03:27:59.958Z] Step 12/13 : COPY . . [2022-09-26T03:28:00.549Z] ---> b5015c3044af [2022-09-26T03:28:00.549Z] Step 13/13 : RUN ${MAKE} [2022-09-26T03:28:00.549Z] ---> Running in f4613b6de331 [2022-09-26T03:28:01.514Z] noop [2022-09-26T03:28:02.926Z] Removing intermediate container f4613b6de331 [2022-09-26T03:28:02.926Z] ---> 8819bcc43d5a [2022-09-26T03:28:02.926Z] Successfully built 8819bcc43d5a [2022-09-26T03:28:02.926Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T03:28:03.402Z] + docker inspect -f . ci-base-image-arm64 [2022-09-26T03:28:03.402Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T03:28:03.669Z] prd-ubuntu20.04-docker-arm64-4c-16g-1122 does not seem to be running inside a container [2022-09-26T03:28:03.736Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-26T03:28:04.863Z] $ docker top 41ba5c42318bec8307940887e2c3030f5eed5874532809a49abf1c9daac050d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T03:28:05.747Z] + go version [2022-09-26T03:28:05.747Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-26T03:28:05.779Z] $ docker stop --time=1 41ba5c42318bec8307940887e2c3030f5eed5874532809a49abf1c9daac050d0 [2022-09-26T03:28:07.393Z] $ docker rm -f 41ba5c42318bec8307940887e2c3030f5eed5874532809a49abf1c9daac050d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T03:28:08.245Z] + docker inspect -f . ci-base-image-arm64 [2022-09-26T03:28:08.245Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T03:28:08.471Z] prd-ubuntu20.04-docker-arm64-4c-16g-1122 does not seem to be running inside a container [2022-09-26T03:28:08.530Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-26T03:28:09.688Z] $ docker top 5a64dce1ed79dd5597f3653d34b98524812fb0dc367544ec8e7b11ee8f04b283 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T03:28:10.556Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-09-26T03:28:10.940Z] + make test [2022-09-26T03:28:10.940Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-26T03:28:12.888Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-26T03:29:49.555Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-26T03:29:49.555Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.198s coverage: 28.6% of statements [2022-09-26T03:29:49.555Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-26T03:30:04.571Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.937s coverage: 86.5% of statements [2022-09-26T03:30:04.838Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-26T03:30:04.838Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-26T03:30:31.541Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-26T03:30:31.541Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-26T03:30:31.541Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-26T03:30:31.580Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-26T03:30:31.605Z] $ docker stop --time=1 5a64dce1ed79dd5597f3653d34b98524812fb0dc367544ec8e7b11ee8f04b283 [2022-09-26T03:30:33.321Z] $ docker rm -f 5a64dce1ed79dd5597f3653d34b98524812fb0dc367544ec8e7b11ee8f04b283 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-26T03:30:34.319Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-26T03:30:34.355Z] Warning: overwriting stash ‘coverage-report’ [2022-09-26T03:30:34.845Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-26T03:30:35.437Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-26T03:30:35.775Z] + ls -al . [2022-09-26T03:30:35.775Z] total 232 [2022-09-26T03:30:35.775Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 26 03:28 . [2022-09-26T03:30:35.775Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 03:26 .. [2022-09-26T03:30:35.775Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 03:26 .git [2022-09-26T03:30:35.775Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 03:26 .github [2022-09-26T03:30:35.775Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 26 03:26 .gitignore [2022-09-26T03:30:35.775Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 26 03:26 .golangci.yml [2022-09-26T03:30:35.775Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 26 03:26 Attribution.txt [2022-09-26T03:30:35.775Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 26 03:26 CHANGELOG.md [2022-09-26T03:30:35.775Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 26 03:26 Dockerfile [2022-09-26T03:30:35.775Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 03:26 GOVERNANCE.md [2022-09-26T03:30:35.775Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 26 03:26 Jenkinsfile [2022-09-26T03:30:35.775Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 26 03:26 LICENSE [2022-09-26T03:30:35.775Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 26 03:26 Makefile [2022-09-26T03:30:35.775Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 26 03:26 OWNERS.md [2022-09-26T03:30:35.775Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 26 03:26 README.md [2022-09-26T03:30:35.775Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 03:24 VERSION [2022-09-26T03:30:35.775Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 03:26 bin [2022-09-26T03:30:35.775Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 03:26 cmd [2022-09-26T03:30:35.775Z] -rw-r--r-- 1 jenkins jenkins 79818 Sep 26 03:30 coverage.out [2022-09-26T03:30:35.775Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 26 03:26 doc [2022-09-26T03:30:35.775Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 26 03:26 go.mod [2022-09-26T03:30:35.775Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 26 03:26 go.sum [2022-09-26T03:30:35.775Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 03:26 internal [2022-09-26T03:30:35.775Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 03:26 snap [2022-09-26T03:30:35.775Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 26 03:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T03:30:36.188Z] + 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=7219f81415a0cd39efed2f9b0e95028f91163a76 --label arch=arm64 --label version=0.0.0 . [2022-09-26T03:30:36.779Z] Sending build context to Docker daemon 14.24MB [2022-09-26T03:30:36.779Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-26T03:30:36.779Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-26T03:30:36.779Z] ---> 8819bcc43d5a [2022-09-26T03:30:36.779Z] Step 3/26 : ARG MAKE="make build" [2022-09-26T03:30:37.052Z] ---> Running in 78f01752156f [2022-09-26T03:30:37.321Z] Removing intermediate container 78f01752156f [2022-09-26T03:30:37.321Z] ---> ad94ad91297a [2022-09-26T03:30:37.321Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-26T03:30:37.321Z] ---> Running in ac4826fcb399 [2022-09-26T03:30:37.588Z] Removing intermediate container ac4826fcb399 [2022-09-26T03:30:37.588Z] ---> 7bf292bc41f5 [2022-09-26T03:30:37.588Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-26T03:30:37.856Z] ---> Running in 3316575dd86e [2022-09-26T03:30:38.126Z] Removing intermediate container 3316575dd86e [2022-09-26T03:30:38.126Z] ---> 89a89dd0ad78 [2022-09-26T03:30:38.126Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-26T03:30:38.126Z] ---> Running in 1802e71b2004 [2022-09-26T03:30:38.711Z] Removing intermediate container 1802e71b2004 [2022-09-26T03:30:38.711Z] ---> 30ab50334e39 [2022-09-26T03:30:38.711Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T03:30:38.711Z] ---> Running in 7be307816d40 [2022-09-26T03:30:40.658Z] Removing intermediate container 7be307816d40 [2022-09-26T03:30:40.658Z] ---> ccf27c61beed [2022-09-26T03:30:40.658Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-26T03:30:40.923Z] ---> Running in 18df7cea1625 [2022-09-26T03:30:42.327Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-26T03:30:43.293Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-26T03:30:44.257Z] OK: 221 MiB in 51 packages [2022-09-26T03:30:45.219Z] Removing intermediate container 18df7cea1625 [2022-09-26T03:30:45.219Z] ---> 7b2adfca9525 [2022-09-26T03:30:45.219Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-26T03:30:45.219Z] ---> Running in d448dd306d88 [2022-09-26T03:30:45.487Z] Removing intermediate container d448dd306d88 [2022-09-26T03:30:45.487Z] ---> db2b3f7655e9 [2022-09-26T03:30:45.487Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-26T03:30:46.070Z] ---> e23fdd856c9a [2022-09-26T03:30:46.070Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-26T03:30:46.338Z] ---> Running in c4da45af29ed [2022-09-26T03:30:48.922Z] Removing intermediate container c4da45af29ed [2022-09-26T03:30:48.922Z] ---> 33e72ac19479 [2022-09-26T03:30:48.922Z] Step 12/26 : COPY . . [2022-09-26T03:30:49.889Z] ---> 997898bf4356 [2022-09-26T03:30:49.889Z] Step 13/26 : RUN ${MAKE} [2022-09-26T03:30:50.158Z] ---> Running in fdc651798d95 [2022-09-26T03:30:51.117Z] 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-09-26T03:33:27.820Z] Removing intermediate container fdc651798d95 [2022-09-26T03:33:27.820Z] ---> 99f3617b3a2a [2022-09-26T03:33:27.820Z] Step 14/26 : FROM alpine:3.16 [2022-09-26T03:33:27.820Z] 3.16: Pulling from library/alpine [2022-09-26T03:33:27.820Z] 9b18e9b68314: Pulling fs layer [2022-09-26T03:33:27.820Z] 9b18e9b68314: Verifying Checksum [2022-09-26T03:33:27.820Z] 9b18e9b68314: Download complete [2022-09-26T03:33:27.820Z] 9b18e9b68314: Pull complete [2022-09-26T03:33:27.820Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-26T03:33:27.820Z] Status: Downloaded newer image for alpine:3.16 [2022-09-26T03:33:27.820Z] ---> a6215f271958 [2022-09-26T03:33:27.820Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-26T03:33:27.820Z] ---> Running in 2ea28dc92d5c [2022-09-26T03:33:27.820Z] Removing intermediate container 2ea28dc92d5c [2022-09-26T03:33:27.820Z] ---> 557c9d75275f [2022-09-26T03:33:27.820Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-26T03:33:27.820Z] ---> Running in faed07678ea8 [2022-09-26T03:33:27.820Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-26T03:33:27.820Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-26T03:33:27.820Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-26T03:33:27.820Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-26T03:33:27.820Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-26T03:33:27.820Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-26T03:33:27.820Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-26T03:33:27.820Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-26T03:33:27.820Z] Executing busybox-1.35.0-r17.trigger [2022-09-26T03:33:27.820Z] OK: 8 MiB in 20 packages [2022-09-26T03:33:27.820Z] Removing intermediate container faed07678ea8 [2022-09-26T03:33:27.820Z] ---> 354e672a350f [2022-09-26T03:33:27.820Z] Step 17/26 : WORKDIR / [2022-09-26T03:33:27.820Z] ---> Running in b1f9059a4438 [2022-09-26T03:33:27.820Z] Removing intermediate container b1f9059a4438 [2022-09-26T03:33:27.820Z] ---> e7d6550df263 [2022-09-26T03:33:27.820Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-26T03:33:27.820Z] ---> 7a1b4dbf2dd5 [2022-09-26T03:33:27.820Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-26T03:33:27.820Z] ---> 553b35b04a3d [2022-09-26T03:33:27.820Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-26T03:33:27.820Z] ---> 0d044922d47e [2022-09-26T03:33:27.820Z] Step 21/26 : EXPOSE 59984 [2022-09-26T03:33:27.820Z] ---> Running in 6c772f77c282 [2022-09-26T03:33:27.820Z] Removing intermediate container 6c772f77c282 [2022-09-26T03:33:27.820Z] ---> 7755f6eebb62 [2022-09-26T03:33:27.820Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-26T03:33:27.820Z] ---> Running in 91a9a6b1e50c [2022-09-26T03:33:27.820Z] Removing intermediate container 91a9a6b1e50c [2022-09-26T03:33:27.820Z] ---> 407743555ec3 [2022-09-26T03:33:27.820Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-26T03:33:27.820Z] ---> Running in e74a98d30394 [2022-09-26T03:33:27.820Z] Removing intermediate container e74a98d30394 [2022-09-26T03:33:27.820Z] ---> 24d772d3abb8 [2022-09-26T03:33:27.820Z] Step 24/26 : LABEL arch=arm64 [2022-09-26T03:33:27.820Z] ---> Running in 73c20c1258ba [2022-09-26T03:33:27.820Z] Removing intermediate container 73c20c1258ba [2022-09-26T03:33:27.820Z] ---> 2646e6211ea3 [2022-09-26T03:33:27.820Z] Step 25/26 : LABEL git_sha=7219f81415a0cd39efed2f9b0e95028f91163a76 [2022-09-26T03:33:27.820Z] ---> Running in f91928a25336 [2022-09-26T03:33:27.820Z] Removing intermediate container f91928a25336 [2022-09-26T03:33:27.820Z] ---> 4857e2e3246a [2022-09-26T03:33:27.820Z] Step 26/26 : LABEL version=0.0.0 [2022-09-26T03:33:27.820Z] ---> Running in c1e5e1dd660d [2022-09-26T03:33:27.820Z] Removing intermediate container c1e5e1dd660d [2022-09-26T03:33:27.820Z] ---> 93a0ae2a71d6 [2022-09-26T03:33:27.820Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-26T03:33:27.820Z] Successfully built 93a0ae2a71d6 [2022-09-26T03:33:27.820Z] 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-09-26T03:33:28.600Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-26T03:33:28.600Z] [2022-09-26T03:33:28.600Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T03:33:28.985Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-26T03:33:28.985Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-26T03:33:28.985Z] 8998bd30e6a1: Pulling fs layer [2022-09-26T03:33:28.985Z] 04944245beec: Pulling fs layer [2022-09-26T03:33:28.985Z] 699f458cf7ca: Pulling fs layer [2022-09-26T03:33:28.985Z] 765212b225bb: Pulling fs layer [2022-09-26T03:33:28.985Z] f23df028b6ca: Pulling fs layer [2022-09-26T03:33:28.985Z] d65c8cfc05b1: Pulling fs layer [2022-09-26T03:33:28.985Z] 2437ff75d9bd: Pulling fs layer [2022-09-26T03:33:28.985Z] 765212b225bb: Waiting [2022-09-26T03:33:28.985Z] f23df028b6ca: Waiting [2022-09-26T03:33:28.985Z] d65c8cfc05b1: Waiting [2022-09-26T03:33:28.985Z] 2437ff75d9bd: Waiting [2022-09-26T03:33:29.256Z] 04944245beec: Verifying Checksum [2022-09-26T03:33:29.256Z] 04944245beec: Download complete [2022-09-26T03:33:29.256Z] 765212b225bb: Verifying Checksum [2022-09-26T03:33:29.256Z] 765212b225bb: Download complete [2022-09-26T03:33:29.256Z] f23df028b6ca: Verifying Checksum [2022-09-26T03:33:29.256Z] f23df028b6ca: Download complete [2022-09-26T03:33:29.256Z] d65c8cfc05b1: Verifying Checksum [2022-09-26T03:33:29.256Z] d65c8cfc05b1: Download complete [2022-09-26T03:33:29.256Z] 699f458cf7ca: Download complete [2022-09-26T03:33:29.840Z] 8998bd30e6a1: Verifying Checksum [2022-09-26T03:33:29.840Z] 8998bd30e6a1: Download complete [2022-09-26T03:33:31.783Z] 2437ff75d9bd: Verifying Checksum [2022-09-26T03:33:31.783Z] 2437ff75d9bd: Download complete [2022-09-26T03:33:33.724Z] 8998bd30e6a1: Pull complete [2022-09-26T03:33:33.990Z] 04944245beec: Pull complete [2022-09-26T03:33:35.395Z] 699f458cf7ca: Pull complete [2022-09-26T03:33:35.395Z] 765212b225bb: Pull complete [2022-09-26T03:33:35.975Z] f23df028b6ca: Pull complete [2022-09-26T03:33:36.243Z] d65c8cfc05b1: Pull complete [2022-09-26T03:33:51.221Z] 2437ff75d9bd: Pull complete [2022-09-26T03:33:51.221Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-26T03:33:51.221Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-26T03:33:51.221Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T03:33:51.541Z] prd-ubuntu20.04-docker-arm64-4c-16g-1122 does not seem to be running inside a container [2022-09-26T03:33:51.597Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-26T03:33:54.179Z] $ docker top 9c7f1a86c07759c48a256de8f0c1678848cc889597b84b5d12baf079c05d8d7f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T03:33:54.748Z] ---> job-cost.sh [2022-09-26T03:33:55.013Z] lf-activate-venv: SKIPPING [2022-09-26T03:33:55.013Z] INFO: No Stack... [2022-09-26T03:33:55.279Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-26T03:33:56.233Z] INFO: Archiving Costs [Pipeline] sh [2022-09-26T03:33:56.570Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-09-26T03:33:56.570Z] + cut -d, -f6 [Pipeline] lock [2022-09-26T03:33:56.648Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-163-1-stack-cost] [2022-09-26T03:33:56.652Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-163-1-stack-cost] did not exist. Created. [2022-09-26T03:33:56.653Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-163-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-26T03:33:57.056Z] /w/workspace/device-onvif-camera/1@tmp/durable-bef53f65/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-26T03:33:57.410Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-26T03:33:57.451Z] Warning: overwriting stash ‘stack-cost’ [2022-09-26T03:33:57.502Z] Stashed 1 file(s) [Pipeline] } [2022-09-26T03:33:57.520Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-163-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-26T03:33:57.593Z] $ docker stop --time=1 9c7f1a86c07759c48a256de8f0c1678848cc889597b84b5d12baf079c05d8d7f [2022-09-26T03:33:59.045Z] $ docker rm -f 9c7f1a86c07759c48a256de8f0c1678848cc889597b84b5d12baf079c05d8d7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-09-26T03:34:00.004Z] provisioning config files... [2022-09-26T03:34:00.011Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-163@tmp/config10513117290740435395tmp [Pipeline] { [Pipeline] sh [2022-09-26T03:34:00.348Z] + set +x [2022-09-26T03:34:00.348Z] + + bash -s -- [2022-09-26T03:34:00.348Z] curl -s https://codecov.io/bash [2022-09-26T03:34:00.348Z] [2022-09-26T03:34:00.348Z] _____ _ [2022-09-26T03:34:00.348Z] / ____| | | [2022-09-26T03:34:00.348Z] | | ___ __| | ___ ___ _____ __ [2022-09-26T03:34:00.348Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-26T03:34:00.348Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-26T03:34:00.348Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-26T03:34:00.348Z] Bash-1.0.6 [2022-09-26T03:34:00.348Z] [2022-09-26T03:34:00.348Z] [2022-09-26T03:34:00.348Z] ==> git version 2.25.1 found [2022-09-26T03:34:00.348Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-09-26T03:34:00.348Z] Release-Date: 2020-01-08 [2022-09-26T03:34:00.348Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-26T03:34:00.348Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-26T03:34:00.348Z] ==> Jenkins CI detected. [2022-09-26T03:34:00.348Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-163 [2022-09-26T03:34:00.348Z] project root: . [2022-09-26T03:34:00.348Z] --> token set from env [2022-09-26T03:34:00.348Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-26T03:34:00.348Z] ==> Running gcov in . (disable via -X gcov) [2022-09-26T03:34:00.348Z] ==> Python coveragepy not found [2022-09-26T03:34:00.348Z] ==> Searching for coverage reports in: [2022-09-26T03:34:00.348Z] + . [2022-09-26T03:34:00.607Z] -> Found 1 reports [2022-09-26T03:34:00.607Z] ==> Detecting git/mercurial file structure [2022-09-26T03:34:00.607Z] ==> Reading reports [2022-09-26T03:34:00.607Z] + ./coverage.out bytes=79818 [2022-09-26T03:34:00.607Z] ==> Appending adjustments [2022-09-26T03:34:00.607Z] https://docs.codecov.io/docs/fixing-reports [2022-09-26T03:34:00.607Z] + Found adjustments [2022-09-26T03:34:00.607Z] ==> Gzipping contents [2022-09-26T03:34:00.607Z] 12K /tmp/codecov.UbiX9k.gz [2022-09-26T03:34:00.607Z] ==> Uploading reports [2022-09-26T03:34:00.607Z] url: https://codecov.io [2022-09-26T03:34:00.607Z] query: branch=PR-163&commit=7219f81415a0cd39efed2f9b0e95028f91163a76&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-163%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=163&job=&cmd_args= [2022-09-26T03:34:00.607Z] -> Pinging Codecov [2022-09-26T03:34:00.607Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-163&commit=7219f81415a0cd39efed2f9b0e95028f91163a76&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-163%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=163&job=&cmd_args= [2022-09-26T03:34:00.866Z] -> Uploading to [2022-09-26T03:34:00.867Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-26/F29A59C45E3A92E06B3E522C9905F8EF/7219f81415a0cd39efed2f9b0e95028f91163a76/44e39e9e-bde2-42b8-a229-eec4c4adfbfd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220926%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220926T033400Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8fa3d62d463e8e8ae65de02b66c2ed1cf2049e1ac3507dc9600965f37fc92a43 [2022-09-26T03:34:00.867Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-26T03:34:00.867Z] Dload Upload Total Spent Left Speed [2022-09-26T03:34:01.126Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10937 0 0 100 10937 0 44279 --:--:-- --:--:-- --:--:-- 44279 [2022-09-26T03:34:01.126Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/7219f81415a0cd39efed2f9b0e95028f91163a76 [Pipeline] } [2022-09-26T03:34:01.155Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-09-26T03:34:02.894Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-163/archives ] [2022-09-26T03:34:02.894Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-163/archives [2022-09-26T03:34:02.894Z] total 16 [2022-09-26T03:34:02.894Z] drwxr-xr-x 3 root root 4096 Sep 26 03:26 . [2022-09-26T03:34:02.894Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 26 03:26 .. [2022-09-26T03:34:02.894Z] drwxr-xr-x 2 root root 4096 Sep 26 03:26 cost [2022-09-26T03:34:02.894Z] -rw-r--r-- 1 root root 91 Sep 26 03:26 cost.csv [2022-09-26T03:34:02.894Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-163/archives [2022-09-26T03:34:02.894Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-163/archives [2022-09-26T03:34:02.894Z] total 16 [2022-09-26T03:34:02.894Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 03:26 . [2022-09-26T03:34:02.894Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 26 03:26 .. [2022-09-26T03:34:02.894Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 26 03:26 cost [2022-09-26T03:34:02.894Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 26 03:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-26T03:34:03.225Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T03:34:04.118Z] ---> package-listing.sh [2022-09-26T03:34:04.118Z] ++ facter osfamily [2022-09-26T03:34:04.118Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-26T03:34:04.378Z] + OS_FAMILY=debian [2022-09-26T03:34:04.378Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-163 [2022-09-26T03:34:04.378Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-26T03:34:04.378Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-26T03:34:04.378Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-26T03:34:04.378Z] + PACKAGES=/tmp/packages_start.txt [2022-09-26T03:34:04.378Z] + '[' /w/workspace/undry_device-onvif-camera_PR-163 ']' [2022-09-26T03:34:04.378Z] + PACKAGES=/tmp/packages_end.txt [2022-09-26T03:34:04.378Z] + case "${OS_FAMILY}" in [2022-09-26T03:34:04.378Z] + dpkg -l [2022-09-26T03:34:04.378Z] + grep '^ii' [2022-09-26T03:34:04.378Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-26T03:34:04.378Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-26T03:34:04.378Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-26T03:34:04.378Z] + '[' /w/workspace/undry_device-onvif-camera_PR-163 ']' [2022-09-26T03:34:04.378Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-163/archives/ [2022-09-26T03:34:04.378Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-163/archives/ [Pipeline] echo [2022-09-26T03:34:04.413Z] 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-163/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-26T03:34:04.704Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T03:34:05.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T03:34:05.345Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T03:34:05.491Z] prd-ubuntu20.04-docker-8c-8g-1121 does not seem to be running inside a container [2022-09-26T03:34:05.517Z] $ 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-163/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-163 -v /w/workspace/undry_device-onvif-camera_PR-163:/w/workspace/undry_device-onvif-camera_PR-163:rw,z -v /w/workspace/undry_device-onvif-camera_PR-163@tmp:/w/workspace/undry_device-onvif-camera_PR-163@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-26T03:34:05.741Z] $ docker top 484e8cc82c781e9af84377fb421678e791e41e1ed6c91a4e940b4ca9e59183f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T03:34:06.127Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-26T03:34:06.433Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-26T03:34:06.740Z] + ls /var/log/sa-host [2022-09-26T03:34:06.740Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-26T03:34:06.951Z] provisioning config files... [2022-09-26T03:34:06.960Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-163@tmp/config10744593011951178346tmp [Pipeline] { [Pipeline] echo [2022-09-26T03:34:07.009Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T03:34:07.319Z] ---> create-netrc.sh [Pipeline] } [2022-09-26T03:34:07.345Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-26T03:34:07.750Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-26T03:34:07.783Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T03:34:08.089Z] ---> sudo-logs.sh [2022-09-26T03:34:08.089Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-26T03:34:08.166Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T03:34:08.472Z] ---> job-cost.sh [2022-09-26T03:34:08.473Z] lf-activate-venv: SKIPPING [2022-09-26T03:34:08.473Z] DEBUG: total: 0.2199999988079071 [2022-09-26T03:34:08.473Z] INFO: Retrieving Stack Cost... [2022-09-26T03:34:08.731Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-26T03:34:09.301Z] INFO: Archiving Costs [Pipeline] echo [2022-09-26T03:34:09.333Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T03:34:09.641Z] ---> logs-deploy.sh [2022-09-26T03:34:09.641Z] lf-activate-venv: SKIPPING [2022-09-26T03:34:09.641Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-163/1 [2022-09-26T03:34:09.641Z] INFO: archiving workspace using pattern(s): [2022-09-26T03:34:10.581Z] Archives upload complete. [2022-09-26T03:34:10.841Z] INFO: archiving logs to Nexus [2022-09-26T03:34:11.410Z] ---> uname -a: [2022-09-26T03:34:11.411Z] Linux prd-ubuntu20-04-docker-8c-8g-1121 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-09-26T03:34:11.411Z] [2022-09-26T03:34:11.411Z] [2022-09-26T03:34:11.411Z] ---> lscpu: [2022-09-26T03:34:11.411Z] Architecture: x86_64 [2022-09-26T03:34:11.411Z] CPU op-mode(s): 32-bit, 64-bit [2022-09-26T03:34:11.411Z] Byte Order: Little Endian [2022-09-26T03:34:11.411Z] Address sizes: 40 bits physical, 48 bits virtual [2022-09-26T03:34:11.411Z] CPU(s): 8 [2022-09-26T03:34:11.411Z] On-line CPU(s) list: 0-7 [2022-09-26T03:34:11.411Z] Thread(s) per core: 1 [2022-09-26T03:34:11.411Z] Core(s) per socket: 1 [2022-09-26T03:34:11.411Z] Socket(s): 8 [2022-09-26T03:34:11.411Z] NUMA node(s): 1 [2022-09-26T03:34:11.411Z] Vendor ID: AuthenticAMD [2022-09-26T03:34:11.411Z] CPU family: 23 [2022-09-26T03:34:11.411Z] Model: 49 [2022-09-26T03:34:11.411Z] Model name: AMD EPYC-Rome Processor [2022-09-26T03:34:11.411Z] Stepping: 0 [2022-09-26T03:34:11.411Z] CPU MHz: 2799.998 [2022-09-26T03:34:11.411Z] BogoMIPS: 5599.99 [2022-09-26T03:34:11.411Z] Virtualization: AMD-V [2022-09-26T03:34:11.411Z] Hypervisor vendor: KVM [2022-09-26T03:34:11.411Z] Virtualization type: full [2022-09-26T03:34:11.411Z] L1d cache: 256 KiB [2022-09-26T03:34:11.411Z] L1i cache: 256 KiB [2022-09-26T03:34:11.411Z] L2 cache: 4 MiB [2022-09-26T03:34:11.411Z] L3 cache: 128 MiB [2022-09-26T03:34:11.411Z] NUMA node0 CPU(s): 0-7 [2022-09-26T03:34:11.411Z] Vulnerability Itlb multihit: Not affected [2022-09-26T03:34:11.411Z] Vulnerability L1tf: Not affected [2022-09-26T03:34:11.411Z] Vulnerability Mds: Not affected [2022-09-26T03:34:11.411Z] Vulnerability Meltdown: Not affected [2022-09-26T03:34:11.411Z] Vulnerability Mmio stale data: Not affected [2022-09-26T03:34:11.411Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-09-26T03:34:11.411Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-09-26T03:34:11.411Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-09-26T03:34:11.411Z] Vulnerability Srbds: Not affected [2022-09-26T03:34:11.411Z] Vulnerability Tsx async abort: Not affected [2022-09-26T03:34:11.411Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-09-26T03:34:11.411Z] [2022-09-26T03:34:11.411Z] [2022-09-26T03:34:11.411Z] ---> nproc: [2022-09-26T03:34:11.411Z] 8 [2022-09-26T03:34:11.411Z] [2022-09-26T03:34:11.411Z] [2022-09-26T03:34:11.411Z] ---> df -h: [2022-09-26T03:34:11.411Z] Filesystem Size Used Avail Use% Mounted on [2022-09-26T03:34:11.411Z] overlay 155G 12G 144G 8% / [2022-09-26T03:34:11.411Z] tmpfs 64M 0 64M 0% /dev [2022-09-26T03:34:11.411Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-09-26T03:34:11.411Z] shm 64M 0 64M 0% /dev/shm [2022-09-26T03:34:11.411Z] /dev/vda1 155G 12G 144G 8% /facter-os [2022-09-26T03:34:11.411Z] [2022-09-26T03:34:11.411Z]