Pull request #185 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 659f5a409730c1aa6059f10a7d2527ba47038078+c32d12cb3f3d5bd786ac66f0af1d84994387a230 (53491650ebc6b37d4bdbac4d58501185aec18b4d) 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-ssh6645014603480845888.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh6035322517957644041.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-185/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-185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10527984396384666580.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-185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7338439856216455872.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh17493967265556935394.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-185/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-185/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1078310776684134255.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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 Running on prd-ubuntu20.04-docker-8c-8g-9066 in /w/workspace/undry_device-onvif-camera_PR-185 [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-185 # 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/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit 659f5a409730c1aa6059f10a7d2527ba47038078 Merge succeeded, producing 659f5a409730c1aa6059f10a7d2527ba47038078 Checking out Revision 659f5a409730c1aa6059f10a7d2527ba47038078 (PR-185) Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-24T03:44:45.025Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 659f5a409730c1aa6059f10a7d2527ba47038078 # 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 c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 659f5a409730c1aa6059f10a7d2527ba47038078 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-24T03:44:45.204Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-24T03:44:45.304Z] ========================================================= [2022-10-24T03:44:45.304Z] EdgeX Global Pipelines Version Info [2022-10-24T03:44:45.304Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:44:46.478Z] ------------------- [2022-10-24T03:44:46.478Z] stable info: [2022-10-24T03:44:46.478Z] ------------------- [2022-10-24T03:44:46.478Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-24T03:44:46.478Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T03:44:46.478Z] Message: update stable to v1.0.243 [2022-10-24T03:44:46.738Z] ------------------- [2022-10-24T03:44:46.738Z] experimental info: [2022-10-24T03:44:46.738Z] ------------------- [2022-10-24T03:44:46.738Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-24T03:44:46.738Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T03:44:46.738Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-24T03:44:47.021Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-24T03:44:47.066Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-24T03:44:47.101Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-24T03:44:47.144Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-24T03:44:47.185Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-24T03:44:47.232Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-24T03:44:47.273Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-24T03:44:47.312Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-24T03:44:47.381Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-24T03:44:47.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-24T03:44:47.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-24T03:44:47.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-24T03:44:47.556Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-24T03:44:47.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-24T03:44:47.640Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T03:44:47.681Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T03:44:47.730Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T03:44:47.769Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T03:44:47.817Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-24T03:44:47.854Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-24T03:44:47.892Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-24T03:44:47.932Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-24T03:44:47.977Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-24T03:44:48.026Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-24T03:44:48.071Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-24T03:44:48.113Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-24T03:44:48.155Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-24T03:44:48.201Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-185 [Pipeline] echo [2022-10-24T03:44:48.244Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-185 [Pipeline] echo [2022-10-24T03:44:48.285Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-185 [Pipeline] echo [2022-10-24T03:44:48.327Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 659f5a409730c1aa6059f10a7d2527ba47038078 [Pipeline] echo [2022-10-24T03:44:48.371Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 659f5a4 [Pipeline] echo [2022-10-24T03:44:48.411Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T03:44:48.526Z] provisioning config files... [2022-10-24T03:44:48.566Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-185@tmp/config16915449179494346807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:44:48.905Z] ---> docker-login.sh [2022-10-24T03:44:48.905Z] nexus3.edgexfoundry.org:10001 [2022-10-24T03:44:49.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:44:49.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:44:49.163Z] Configure a credential helper to remove this warning. See [2022-10-24T03:44:49.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:44:49.163Z] [2022-10-24T03:44:49.163Z] Login Succeeded [2022-10-24T03:44:49.163Z] nexus3.edgexfoundry.org:10002 [2022-10-24T03:44:49.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:44:49.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:44:49.422Z] Configure a credential helper to remove this warning. See [2022-10-24T03:44:49.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:44:49.422Z] [2022-10-24T03:44:49.422Z] Login Succeeded [2022-10-24T03:44:49.422Z] nexus3.edgexfoundry.org:10003 [2022-10-24T03:44:49.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:44:49.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:44:49.422Z] Configure a credential helper to remove this warning. See [2022-10-24T03:44:49.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:44:49.422Z] [2022-10-24T03:44:49.422Z] Login Succeeded [2022-10-24T03:44:49.422Z] nexus3.edgexfoundry.org:10004 [2022-10-24T03:44:49.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:44:49.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:44:49.422Z] Configure a credential helper to remove this warning. See [2022-10-24T03:44:49.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:44:49.422Z] [2022-10-24T03:44:49.422Z] Login Succeeded [2022-10-24T03:44:49.422Z] docker.io [2022-10-24T03:44:49.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:44:49.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:44:49.940Z] Configure a credential helper to remove this warning. See [2022-10-24T03:44:49.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:44:49.940Z] [2022-10-24T03:44:49.940Z] Login Succeeded [2022-10-24T03:44:49.940Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T03:44:49.967Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-24T03:44:50.597Z] + git rev-list -1 --merges 659f5a409730c1aa6059f10a7d2527ba47038078~1..659f5a409730c1aa6059f10a7d2527ba47038078 [Pipeline] echo [2022-10-24T03:44:50.636Z] -----------> git rev-list -1 --merges 659f5a409730c1aa6059f10a7d2527ba47038078~1..659f5a409730c1aa6059f10a7d2527ba47038078 659f5a409730c1aa6059f10a7d2527ba47038078 [false] [Pipeline] sh [2022-10-24T03:44:50.944Z] + git log --format=format:%s -1 659f5a409730c1aa6059f10a7d2527ba47038078 [Pipeline] echo [2022-10-24T03:44:50.989Z] ========================================================= [2022-10-24T03:44:50.989Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-24T03:44:50.989Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T03:44:51.417Z] + git log --format=format:%s -1 659f5a409730c1aa6059f10a7d2527ba47038078 [Pipeline] echo [2022-10-24T03:44:51.448Z] [semverPrep] GIT_COMMIT: 659f5a409730c1aa6059f10a7d2527ba47038078, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 [Pipeline] echo [2022-10-24T03:44:51.481Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-24T03:44:51.858Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-24T03:44:51.858Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-24T03:44:51.858Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-24T03:44:51.858Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-24T03:44:51.858Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-24T03:44:51.858Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-24T03:44:51.858Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:44:52.287Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T03:44:52.287Z] [2022-10-24T03:44:52.287Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:44:52.656Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T03:44:52.656Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-24T03:44:52.656Z] b85a868b505f: Pulling fs layer [2022-10-24T03:44:52.656Z] e2be974225ed: Pulling fs layer [2022-10-24T03:44:52.656Z] 339a4e72a1f5: Pulling fs layer [2022-10-24T03:44:52.656Z] 988bab9f4d93: Pulling fs layer [2022-10-24T03:44:52.656Z] 1469e6f7b9e6: Pulling fs layer [2022-10-24T03:44:52.656Z] eaf3925da568: Pulling fs layer [2022-10-24T03:44:52.656Z] bab4dde63d76: Pulling fs layer [2022-10-24T03:44:52.656Z] bde34c3a00c8: Pulling fs layer [2022-10-24T03:44:52.657Z] b352a97aabf1: Pulling fs layer [2022-10-24T03:44:52.657Z] 4872d77fe225: Pulling fs layer [2022-10-24T03:44:52.657Z] 5851b861e8e6: Pulling fs layer [2022-10-24T03:44:52.657Z] bde34c3a00c8: Waiting [2022-10-24T03:44:52.657Z] 1469e6f7b9e6: Waiting [2022-10-24T03:44:52.657Z] eaf3925da568: Waiting [2022-10-24T03:44:52.657Z] bab4dde63d76: Waiting [2022-10-24T03:44:52.657Z] b352a97aabf1: Waiting [2022-10-24T03:44:52.657Z] 4872d77fe225: Waiting [2022-10-24T03:44:52.657Z] 5851b861e8e6: Waiting [2022-10-24T03:44:52.657Z] e2be974225ed: Verifying Checksum [2022-10-24T03:44:52.657Z] e2be974225ed: Download complete [2022-10-24T03:44:52.657Z] 988bab9f4d93: Verifying Checksum [2022-10-24T03:44:52.657Z] 988bab9f4d93: Download complete [2022-10-24T03:44:52.915Z] 1469e6f7b9e6: Verifying Checksum [2022-10-24T03:44:52.915Z] 1469e6f7b9e6: Download complete [2022-10-24T03:44:52.915Z] eaf3925da568: Download complete [2022-10-24T03:44:52.915Z] 339a4e72a1f5: Verifying Checksum [2022-10-24T03:44:52.915Z] 339a4e72a1f5: Download complete [2022-10-24T03:44:52.915Z] bde34c3a00c8: Verifying Checksum [2022-10-24T03:44:52.915Z] bde34c3a00c8: Download complete [2022-10-24T03:44:52.915Z] b352a97aabf1: Download complete [2022-10-24T03:44:52.915Z] 4872d77fe225: Download complete [2022-10-24T03:44:52.915Z] 5851b861e8e6: Verifying Checksum [2022-10-24T03:44:52.915Z] 5851b861e8e6: Download complete [2022-10-24T03:44:52.915Z] b85a868b505f: Verifying Checksum [2022-10-24T03:44:52.915Z] b85a868b505f: Download complete [2022-10-24T03:44:53.173Z] bab4dde63d76: Verifying Checksum [2022-10-24T03:44:53.173Z] bab4dde63d76: Download complete [2022-10-24T03:44:54.113Z] b85a868b505f: Pull complete [2022-10-24T03:44:54.371Z] e2be974225ed: Pull complete [2022-10-24T03:44:54.635Z] 339a4e72a1f5: Pull complete [2022-10-24T03:44:54.894Z] 988bab9f4d93: Pull complete [2022-10-24T03:44:55.159Z] 1469e6f7b9e6: Pull complete [2022-10-24T03:44:55.159Z] eaf3925da568: Pull complete [2022-10-24T03:44:57.060Z] bab4dde63d76: Pull complete [2022-10-24T03:44:57.321Z] bde34c3a00c8: Pull complete [2022-10-24T03:44:57.321Z] b352a97aabf1: Pull complete [2022-10-24T03:44:57.321Z] 4872d77fe225: Pull complete [2022-10-24T03:44:57.582Z] 5851b861e8e6: Pull complete [2022-10-24T03:44:57.582Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-24T03:44:57.582Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T03:44:57.582Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T03:44:57.805Z] prd-ubuntu20.04-docker-8c-8g-9066 does not seem to be running inside a container [2022-10-24T03:44:57.840Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@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-10-24T03:44:59.847Z] $ docker top dbac4b743e8e6d7cc9e7a0dfd0230bfd546ee9f11fcaf46c1fb1de4d87ec019c -eo pid,comm [2022-10-24T03:44:59.904Z] 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-10-24T03:44:59.904Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-24T03:45:00.033Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T03:45:00.033Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T03:45:00.160Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T03:45:00.166Z] $ docker exec dbac4b743e8e6d7cc9e7a0dfd0230bfd546ee9f11fcaf46c1fb1de4d87ec019c ssh-agent [2022-10-24T03:45:00.277Z] SSH_AUTH_SOCK=/tmp/ssh-7LWPPymSuSII/agent.33 [2022-10-24T03:45:00.277Z] SSH_AGENT_PID=39 [2022-10-24T03:45:00.284Z] Running ssh-add (command line suppressed) [2022-10-24T03:45:00.395Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-185@tmp/private_key_9710983538296767066.key (/w/workspace/undry_device-onvif-camera_PR-185@tmp/private_key_9710983538296767066.key) [2022-10-24T03:45:00.406Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T03:45:00.793Z] + git tag --points-at HEAD [Pipeline] } [2022-10-24T03:45:00.821Z] $ docker exec --env ******** --env ******** dbac4b743e8e6d7cc9e7a0dfd0230bfd546ee9f11fcaf46c1fb1de4d87ec019c ssh-agent -k [2022-10-24T03:45:00.918Z] unset SSH_AUTH_SOCK; [2022-10-24T03:45:00.919Z] unset SSH_AGENT_PID; [2022-10-24T03:45:00.919Z] echo Agent pid 39 killed; [2022-10-24T03:45:00.927Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-24T03:45:01.013Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T03:45:01.013Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T03:45:01.121Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T03:45:01.126Z] $ docker exec dbac4b743e8e6d7cc9e7a0dfd0230bfd546ee9f11fcaf46c1fb1de4d87ec019c ssh-agent [2022-10-24T03:45:01.231Z] SSH_AUTH_SOCK=/tmp/ssh-kPe6WDeVGOrh/agent.71 [2022-10-24T03:45:01.231Z] SSH_AGENT_PID=77 [2022-10-24T03:45:01.236Z] Running ssh-add (command line suppressed) [2022-10-24T03:45:01.343Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-185@tmp/private_key_271803432687188719.key (/w/workspace/undry_device-onvif-camera_PR-185@tmp/private_key_271803432687188719.key) [2022-10-24T03:45:01.355Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T03:45:01.688Z] + git semver init [2022-10-24T03:45:01.947Z] 2022-10-24 03:45:01,896 [run_init] DEBUG init version:0.0.0 force:False [2022-10-24T03:45:01.947Z] 2022-10-24 03:45:01,897 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-185/.semver [2022-10-24T03:45:01.947Z] 2022-10-24 03:45:01,897 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-185/.semver [2022-10-24T03:45:01.947Z] 2022-10-24 03:45:01,897 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-185/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-185, universal_newlines=False, shell=None, istream=None) [2022-10-24T03:45:03.330Z] 2022-10-24 03:45:03,106 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-185/.git/info/exclude [2022-10-24T03:45:03.330Z] 2022-10-24 03:45:03,106 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-185/.semver/PR-185 with force:False [2022-10-24T03:45:03.330Z] 2022-10-24 03:45:03,106 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-185/.semver/PR-185 [2022-10-24T03:45:03.330Z] 2022-10-24 03:45:03,110 [execute] INFO git cat-file --batch-check [2022-10-24T03:45:03.330Z] 2022-10-24 03:45:03,111 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-185/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T03:45:03.330Z] 2022-10-24 03:45:03,116 [execute] INFO git cat-file --batch [2022-10-24T03:45:03.330Z] 2022-10-24 03:45:03,117 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-185/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T03:45:03.330Z] 2022-10-24 03:45:03,121 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-185/.semver/PR-185 [2022-10-24T03:45:03.330Z] 0.0.0 [Pipeline] } [2022-10-24T03:45:03.362Z] $ docker exec --env ******** --env ******** dbac4b743e8e6d7cc9e7a0dfd0230bfd546ee9f11fcaf46c1fb1de4d87ec019c ssh-agent -k [2022-10-24T03:45:03.461Z] unset SSH_AUTH_SOCK; [2022-10-24T03:45:03.462Z] unset SSH_AGENT_PID; [2022-10-24T03:45:03.463Z] echo Agent pid 77 killed; [2022-10-24T03:45:03.468Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-24T03:45:03.899Z] + git semver [Pipeline] } [2022-10-24T03:45:04.193Z] $ docker stop --time=1 dbac4b743e8e6d7cc9e7a0dfd0230bfd546ee9f11fcaf46c1fb1de4d87ec019c [2022-10-24T03:45:05.515Z] $ docker rm -f dbac4b743e8e6d7cc9e7a0dfd0230bfd546ee9f11fcaf46c1fb1de4d87ec019c [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T03:45:05.937Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-24T03:45:06.179Z] Stashed 1 file(s) [Pipeline] echo [2022-10-24T03:45:06.197Z] [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-10-24T03:45:06.797Z] provisioning config files... [2022-10-24T03:45:06.808Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-185@tmp/config16999485110899729881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:45:07.165Z] ---> docker-login.sh [2022-10-24T03:45:07.165Z] nexus3.edgexfoundry.org:10001 [2022-10-24T03:45:07.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:45:07.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:45:07.165Z] Configure a credential helper to remove this warning. See [2022-10-24T03:45:07.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:45:07.165Z] [2022-10-24T03:45:07.165Z] Login Succeeded [2022-10-24T03:45:07.165Z] nexus3.edgexfoundry.org:10002 [2022-10-24T03:45:07.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:45:07.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:45:07.165Z] Configure a credential helper to remove this warning. See [2022-10-24T03:45:07.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:45:07.165Z] [2022-10-24T03:45:07.165Z] Login Succeeded [2022-10-24T03:45:07.165Z] nexus3.edgexfoundry.org:10003 [2022-10-24T03:45:07.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:45:07.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:45:07.425Z] Configure a credential helper to remove this warning. See [2022-10-24T03:45:07.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:45:07.425Z] [2022-10-24T03:45:07.425Z] Login Succeeded [2022-10-24T03:45:07.425Z] nexus3.edgexfoundry.org:10004 [2022-10-24T03:45:07.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:45:07.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:45:07.425Z] Configure a credential helper to remove this warning. See [2022-10-24T03:45:07.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:45:07.425Z] [2022-10-24T03:45:07.425Z] Login Succeeded [2022-10-24T03:45:07.425Z] docker.io [2022-10-24T03:45:07.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:45:07.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:45:07.955Z] Configure a credential helper to remove this warning. See [2022-10-24T03:45:07.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:45:07.955Z] [2022-10-24T03:45:07.955Z] Login Succeeded [2022-10-24T03:45:07.955Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T03:45:07.994Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T03:45:08.197Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T03:45:08.227Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T03:45:08.261Z] ========================================================= [2022-10-24T03:45:08.261Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-24T03:45:08.261Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:45:08.717Z] + 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-10-24T03:45:08.717Z] Sending build context to Docker daemon 21.43MB [2022-10-24T03:45:08.717Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T03:45:08.717Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-24T03:45:08.978Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-24T03:45:08.978Z] 213ec9aee27d: Pulling fs layer [2022-10-24T03:45:08.978Z] 4583459ba037: Pulling fs layer [2022-10-24T03:45:08.978Z] 93c1e223e6f2: Pulling fs layer [2022-10-24T03:45:08.978Z] 53926ce57604: Pulling fs layer [2022-10-24T03:45:08.978Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-24T03:45:08.978Z] 30f14e443154: Pulling fs layer [2022-10-24T03:45:08.978Z] 801331c1e519: Pulling fs layer [2022-10-24T03:45:08.978Z] 99cc6dd402b0: Pulling fs layer [2022-10-24T03:45:08.978Z] 7d9ed39f4882: Pulling fs layer [2022-10-24T03:45:08.978Z] 801331c1e519: Waiting [2022-10-24T03:45:08.978Z] 53926ce57604: Waiting [2022-10-24T03:45:08.978Z] 21b2b0c7a3f4: Waiting [2022-10-24T03:45:08.978Z] 93c1e223e6f2: Verifying Checksum [2022-10-24T03:45:08.978Z] 93c1e223e6f2: Download complete [2022-10-24T03:45:08.978Z] 4583459ba037: Verifying Checksum [2022-10-24T03:45:08.978Z] 4583459ba037: Download complete [2022-10-24T03:45:08.978Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-24T03:45:08.978Z] 21b2b0c7a3f4: Download complete [2022-10-24T03:45:08.978Z] 30f14e443154: Download complete [2022-10-24T03:45:08.978Z] 213ec9aee27d: Verifying Checksum [2022-10-24T03:45:08.978Z] 213ec9aee27d: Download complete [2022-10-24T03:45:08.978Z] 801331c1e519: Verifying Checksum [2022-10-24T03:45:08.978Z] 801331c1e519: Download complete [2022-10-24T03:45:09.239Z] 213ec9aee27d: Pull complete [2022-10-24T03:45:09.239Z] 4583459ba037: Pull complete [2022-10-24T03:45:09.239Z] 93c1e223e6f2: Pull complete [2022-10-24T03:45:09.498Z] 7d9ed39f4882: Verifying Checksum [2022-10-24T03:45:09.499Z] 7d9ed39f4882: Download complete [2022-10-24T03:45:09.757Z] 99cc6dd402b0: Verifying Checksum [2022-10-24T03:45:09.757Z] 99cc6dd402b0: Download complete [2022-10-24T03:45:09.757Z] 53926ce57604: Verifying Checksum [2022-10-24T03:45:09.757Z] 53926ce57604: Download complete [2022-10-24T03:45:13.939Z] 53926ce57604: Pull complete [2022-10-24T03:45:13.939Z] 21b2b0c7a3f4: Pull complete [2022-10-24T03:45:13.939Z] 30f14e443154: Pull complete [2022-10-24T03:45:13.939Z] 801331c1e519: Pull complete [2022-10-24T03:45:15.839Z] 99cc6dd402b0: Pull complete [2022-10-24T03:45:16.773Z] 7d9ed39f4882: Pull complete [2022-10-24T03:45:16.773Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-24T03:45:16.773Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-24T03:45:16.773Z] ---> 1dedd983c030 [2022-10-24T03:45:16.773Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-24T03:45:20.065Z] ---> Running in ff53eab27c92 [2022-10-24T03:45:20.065Z] Removing intermediate container ff53eab27c92 [2022-10-24T03:45:20.065Z] ---> ae2c7a8cbce9 [2022-10-24T03:45:20.065Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T03:45:20.065Z] ---> Running in 981262d58099 [2022-10-24T03:45:20.065Z] Removing intermediate container 981262d58099 [2022-10-24T03:45:20.065Z] ---> 24c553bf8662 [2022-10-24T03:45:20.065Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T03:45:20.065Z] ---> Running in 2a2225190399 [2022-10-24T03:45:20.324Z] Removing intermediate container 2a2225190399 [2022-10-24T03:45:20.324Z] ---> 5be24d44dbbd [2022-10-24T03:45:20.324Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T03:45:20.324Z] ---> Running in a2821144b6fd [2022-10-24T03:45:20.324Z] Removing intermediate container a2821144b6fd [2022-10-24T03:45:20.324Z] ---> 23efb79b30e1 [2022-10-24T03:45:20.324Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-24T03:45:20.324Z] ---> Running in 6a2b4794455d [2022-10-24T03:45:20.324Z] Removing intermediate container 6a2b4794455d [2022-10-24T03:45:20.324Z] ---> 14fa9dbc348d [2022-10-24T03:45:20.324Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T03:45:20.324Z] ---> Running in 7e39a48c5733 [2022-10-24T03:45:21.261Z] Removing intermediate container 7e39a48c5733 [2022-10-24T03:45:21.261Z] ---> 29c87c37c4d9 [2022-10-24T03:45:21.261Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T03:45:21.261Z] ---> Running in 33c47caf3b66 [2022-10-24T03:45:21.261Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T03:45:21.624Z] Still waiting to schedule task [2022-10-24T03:45:21.624Z] ‘prd-centos7-blackbox-4c-2g-8824’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-24T03:45:21.624Z] ‘prd-centos7-blackbox-4c-2g-8825’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-24T03:45:21.624Z] ‘prd-ubuntu20.04-docker-8c-8g-9068’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-24T03:45:21.624Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-9070’ is offline [2022-10-24T03:45:22.199Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T03:45:22.460Z] OK: 211 MiB in 51 packages [2022-10-24T03:45:22.726Z] Removing intermediate container 33c47caf3b66 [2022-10-24T03:45:22.726Z] ---> bee3f1016082 [2022-10-24T03:45:22.726Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-24T03:45:22.984Z] ---> Running in 7d3adee5d0b5 [2022-10-24T03:45:22.984Z] Removing intermediate container 7d3adee5d0b5 [2022-10-24T03:45:22.984Z] ---> 3f09ee01c033 [2022-10-24T03:45:22.984Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-24T03:45:22.984Z] ---> d091d047deb7 [2022-10-24T03:45:22.984Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T03:45:23.243Z] ---> Running in 3724235f1bfb [2022-10-24T03:45:45.204Z] Removing intermediate container 3724235f1bfb [2022-10-24T03:45:45.204Z] ---> e1c9c8275a38 [2022-10-24T03:45:45.204Z] Step 13/14 : COPY . . [2022-10-24T03:45:45.204Z] ---> 414cd773f329 [2022-10-24T03:45:45.204Z] Step 14/14 : RUN ${MAKE} [2022-10-24T03:45:45.204Z] ---> Running in 410e4688b654 [2022-10-24T03:45:45.204Z] noop [2022-10-24T03:45:45.204Z] Removing intermediate container 410e4688b654 [2022-10-24T03:45:45.204Z] ---> 9d8f043be1af [2022-10-24T03:45:45.204Z] Successfully built 9d8f043be1af [2022-10-24T03:45:45.204Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:45:45.643Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T03:45:45.643Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T03:45:45.785Z] prd-ubuntu20.04-docker-8c-8g-9066 does not seem to be running inside a container [2022-10-24T03:45:45.813Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@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-10-24T03:45:46.178Z] $ docker top 491a42d41c4e91de4d2dc5545b38d08b0d97c805a7a6a877d9a370e357707ed1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T03:45:46.564Z] + go version [2022-10-24T03:45:46.565Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-24T03:45:46.597Z] $ docker stop --time=1 491a42d41c4e91de4d2dc5545b38d08b0d97c805a7a6a877d9a370e357707ed1 [2022-10-24T03:45:47.866Z] $ docker rm -f 491a42d41c4e91de4d2dc5545b38d08b0d97c805a7a6a877d9a370e357707ed1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:45:48.571Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T03:45:48.571Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T03:45:48.717Z] prd-ubuntu20.04-docker-8c-8g-9066 does not seem to be running inside a container [2022-10-24T03:45:48.742Z] $ 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-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@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-10-24T03:45:49.090Z] $ docker top 4e569e20f2395e2a5e7c4cb2b40cc50f1acabe7849bd38985780547d2e622113 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T03:45:49.476Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-185 [Pipeline] fileExists [Pipeline] sh [2022-10-24T03:45:49.829Z] + make test [2022-10-24T03:45:49.829Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-24T03:45:50.087Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-24T03:46:02.275Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-24T03:46:02.845Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.035s coverage: 28.2% of statements [2022-10-24T03:46:02.845Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-24T03:46:02.845Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.543s coverage: 86.5% of statements [2022-10-24T03:46:10.954Z] 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-10-24T03:46:10.954Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T03:46:15.144Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T03:46:15.144Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T03:46:15.144Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-24T03:46:15.182Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T03:46:15.209Z] $ docker stop --time=1 4e569e20f2395e2a5e7c4cb2b40cc50f1acabe7849bd38985780547d2e622113 [2022-10-24T03:46:17.587Z] $ docker rm -f 4e569e20f2395e2a5e7c4cb2b40cc50f1acabe7849bd38985780547d2e622113 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T03:46:18.221Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T03:46:18.295Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-24T03:46:18.933Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T03:46:19.253Z] + ls -al . [2022-10-24T03:46:19.253Z] total 236 [2022-10-24T03:46:19.253Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 03:45 . [2022-10-24T03:46:19.253Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:44 .. [2022-10-24T03:46:19.253Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 03:46 .git [2022-10-24T03:46:19.253Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:44 .github [2022-10-24T03:46:19.253Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 24 03:44 .gitignore [2022-10-24T03:46:19.253Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 03:44 .golangci.yml [2022-10-24T03:46:19.253Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 03:45 .semver [2022-10-24T03:46:19.253Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 24 03:44 Attribution.txt [2022-10-24T03:46:19.253Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 24 03:44 CHANGELOG.md [2022-10-24T03:46:19.253Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 24 03:44 Dockerfile [2022-10-24T03:46:19.253Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 03:44 GOVERNANCE.md [2022-10-24T03:46:19.253Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 24 03:44 Jenkinsfile [2022-10-24T03:46:19.253Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 24 03:44 LICENSE [2022-10-24T03:46:19.253Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 24 03:44 Makefile [2022-10-24T03:46:19.253Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 24 03:44 OWNERS.md [2022-10-24T03:46:19.253Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 24 03:44 README.md [2022-10-24T03:46:19.253Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 03:45 VERSION [2022-10-24T03:46:19.253Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 03:44 bin [2022-10-24T03:46:19.253Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:44 cmd [2022-10-24T03:46:19.253Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 24 03:46 coverage.out [2022-10-24T03:46:19.253Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 03:44 doc [2022-10-24T03:46:19.253Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 24 03:44 go.mod [2022-10-24T03:46:19.253Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 24 03:44 go.sum [2022-10-24T03:46:19.253Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:44 internal [2022-10-24T03:46:19.253Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:44 snap [2022-10-24T03:46:19.253Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 24 03:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:46:19.640Z] + 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=659f5a409730c1aa6059f10a7d2527ba47038078 --label arch=amd64 --label version=0.0.0 . [2022-10-24T03:46:19.640Z] Sending build context to Docker daemon 21.51MB [2022-10-24T03:46:19.640Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T03:46:19.640Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-24T03:46:19.640Z] ---> 9d8f043be1af [2022-10-24T03:46:19.640Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-24T03:46:19.899Z] ---> Running in b8d4cb4e18e5 [2022-10-24T03:46:19.899Z] Removing intermediate container b8d4cb4e18e5 [2022-10-24T03:46:19.899Z] ---> c2358914914b [2022-10-24T03:46:19.899Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T03:46:19.899Z] ---> Running in 79fe994c0e33 [2022-10-24T03:46:20.157Z] Removing intermediate container 79fe994c0e33 [2022-10-24T03:46:20.157Z] ---> 3cf640db24f0 [2022-10-24T03:46:20.157Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T03:46:20.157Z] ---> Running in aafdea461845 [2022-10-24T03:46:20.157Z] Removing intermediate container aafdea461845 [2022-10-24T03:46:20.157Z] ---> 4d5fee15c470 [2022-10-24T03:46:20.157Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T03:46:20.157Z] ---> Running in 10f3a3e44091 [2022-10-24T03:46:20.418Z] Removing intermediate container 10f3a3e44091 [2022-10-24T03:46:20.418Z] ---> 85236dd37135 [2022-10-24T03:46:20.418Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-24T03:46:20.418Z] ---> Running in 62bd201b55e7 [2022-10-24T03:46:20.418Z] Removing intermediate container 62bd201b55e7 [2022-10-24T03:46:20.418Z] ---> 7975e67a8e5f [2022-10-24T03:46:20.418Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T03:46:20.418Z] ---> Running in 9a38b7611e6d [2022-10-24T03:46:20.988Z] Removing intermediate container 9a38b7611e6d [2022-10-24T03:46:20.988Z] ---> 406b12efa4b0 [2022-10-24T03:46:20.988Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T03:46:20.988Z] ---> Running in 12064ad223c6 [2022-10-24T03:46:21.246Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T03:46:22.182Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T03:46:22.783Z] OK: 211 MiB in 51 packages [2022-10-24T03:46:23.042Z] Removing intermediate container 12064ad223c6 [2022-10-24T03:46:23.042Z] ---> c9bf5325e29c [2022-10-24T03:46:23.042Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-24T03:46:23.042Z] ---> Running in 4b379372fa20 [2022-10-24T03:46:23.042Z] Removing intermediate container 4b379372fa20 [2022-10-24T03:46:23.042Z] ---> c1b251e1dd4e [2022-10-24T03:46:23.042Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-24T03:46:23.300Z] ---> 4e1e8e134af4 [2022-10-24T03:46:23.300Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T03:46:23.300Z] ---> Running in 50ff64fd5890 [2022-10-24T03:46:23.866Z] Removing intermediate container 50ff64fd5890 [2022-10-24T03:46:23.866Z] ---> 7eafaa112d30 [2022-10-24T03:46:23.866Z] Step 13/27 : COPY . . [2022-10-24T03:46:24.801Z] ---> bc2e864229d6 [2022-10-24T03:46:24.801Z] Step 14/27 : RUN ${MAKE} [2022-10-24T03:46:24.801Z] ---> Running in 2fd5c78f435d [2022-10-24T03:46:25.059Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-24T03:46:51.609Z] Removing intermediate container 2fd5c78f435d [2022-10-24T03:46:51.609Z] ---> 7bc8a1b10fa5 [2022-10-24T03:46:51.609Z] Step 15/27 : FROM alpine:3.16 [2022-10-24T03:46:51.609Z] 3.16: Pulling from library/alpine [2022-10-24T03:46:51.609Z] 213ec9aee27d: Already exists [2022-10-24T03:46:51.609Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-24T03:46:51.609Z] Status: Downloaded newer image for alpine:3.16 [2022-10-24T03:46:51.609Z] ---> 9c6f07244728 [2022-10-24T03:46:51.609Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-24T03:46:51.609Z] ---> Running in b215206fc23b [2022-10-24T03:46:51.609Z] Removing intermediate container b215206fc23b [2022-10-24T03:46:51.609Z] ---> a5771fa18962 [2022-10-24T03:46:51.609Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-24T03:46:51.609Z] ---> Running in 1ca82443fc68 [2022-10-24T03:46:51.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T03:46:51.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T03:46:51.609Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-24T03:46:51.609Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-24T03:46:51.609Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-24T03:46:51.609Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-24T03:46:51.609Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-24T03:46:51.609Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-24T03:46:51.609Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T03:46:51.609Z] OK: 8 MiB in 20 packages [2022-10-24T03:46:51.609Z] Removing intermediate container 1ca82443fc68 [2022-10-24T03:46:51.609Z] ---> 71c10846e470 [2022-10-24T03:46:51.609Z] Step 18/27 : WORKDIR / [2022-10-24T03:46:51.609Z] ---> Running in 2ea9e9977f0e [2022-10-24T03:46:51.609Z] Removing intermediate container 2ea9e9977f0e [2022-10-24T03:46:51.609Z] ---> 47bb7b5c2151 [2022-10-24T03:46:51.609Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-24T03:46:51.609Z] ---> c99e6a953c3f [2022-10-24T03:46:51.609Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-24T03:46:51.609Z] ---> fa49d506c30b [2022-10-24T03:46:51.609Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-24T03:46:51.609Z] ---> fcf6b70f9066 [2022-10-24T03:46:51.609Z] Step 22/27 : EXPOSE 59984 [2022-10-24T03:46:51.609Z] ---> Running in de1a45da7f55 [2022-10-24T03:46:51.609Z] Removing intermediate container de1a45da7f55 [2022-10-24T03:46:51.609Z] ---> ec6343316638 [2022-10-24T03:46:51.609Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-24T03:46:51.609Z] ---> Running in 846e702c11c2 [2022-10-24T03:46:51.609Z] Removing intermediate container 846e702c11c2 [2022-10-24T03:46:51.609Z] ---> ba8af94456a3 [2022-10-24T03:46:51.609Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-24T03:46:51.609Z] ---> Running in dc5fe2685d9c [2022-10-24T03:46:51.609Z] Removing intermediate container dc5fe2685d9c [2022-10-24T03:46:51.609Z] ---> 82c28b27474c [2022-10-24T03:46:51.609Z] Step 25/27 : LABEL arch=amd64 [2022-10-24T03:46:51.609Z] ---> Running in 0c04dca58944 [2022-10-24T03:46:51.609Z] Removing intermediate container 0c04dca58944 [2022-10-24T03:46:51.609Z] ---> e680a01d160c [2022-10-24T03:46:51.609Z] Step 26/27 : LABEL git_sha=659f5a409730c1aa6059f10a7d2527ba47038078 [2022-10-24T03:46:51.868Z] ---> Running in 4d0c14ca24b1 [2022-10-24T03:46:51.868Z] Removing intermediate container 4d0c14ca24b1 [2022-10-24T03:46:51.868Z] ---> 3c81eef0ab66 [2022-10-24T03:46:51.868Z] Step 27/27 : LABEL version=0.0.0 [2022-10-24T03:46:51.868Z] ---> Running in ec8b9388bf98 [2022-10-24T03:46:51.868Z] Removing intermediate container ec8b9388bf98 [2022-10-24T03:46:51.868Z] ---> 27d47d5a65d3 [2022-10-24T03:46:51.868Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T03:46:51.868Z] Successfully built 27d47d5a65d3 [2022-10-24T03:46:51.868Z] 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-10-24T03:46:52.732Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T03:46:52.732Z] [2022-10-24T03:46:52.732Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:46:53.115Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T03:46:53.115Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-24T03:46:53.115Z] 5eb5b503b376: Pulling fs layer [2022-10-24T03:46:53.115Z] 5c69ac0246d0: Pulling fs layer [2022-10-24T03:46:53.115Z] ec43610c2a17: Pulling fs layer [2022-10-24T03:46:53.115Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-24T03:46:53.115Z] 33b1e0a273af: Pulling fs layer [2022-10-24T03:46:53.115Z] 5d3b04190fa2: Pulling fs layer [2022-10-24T03:46:53.115Z] 2f39f015ded8: Pulling fs layer [2022-10-24T03:46:53.115Z] 33b1e0a273af: Waiting [2022-10-24T03:46:53.115Z] 2f39f015ded8: Waiting [2022-10-24T03:46:53.115Z] 5d3b04190fa2: Waiting [2022-10-24T03:46:53.115Z] 3a2ae6a8a46f: Waiting [2022-10-24T03:46:53.115Z] 5c69ac0246d0: Download complete [2022-10-24T03:46:53.115Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-24T03:46:53.115Z] 3a2ae6a8a46f: Download complete [2022-10-24T03:46:53.115Z] ec43610c2a17: Verifying Checksum [2022-10-24T03:46:53.115Z] ec43610c2a17: Download complete [2022-10-24T03:46:53.115Z] 33b1e0a273af: Verifying Checksum [2022-10-24T03:46:53.115Z] 33b1e0a273af: Download complete [2022-10-24T03:46:53.375Z] 5d3b04190fa2: Verifying Checksum [2022-10-24T03:46:53.375Z] 5d3b04190fa2: Download complete [2022-10-24T03:46:53.375Z] 5eb5b503b376: Verifying Checksum [2022-10-24T03:46:53.375Z] 5eb5b503b376: Download complete [2022-10-24T03:46:53.947Z] 2f39f015ded8: Download complete [2022-10-24T03:46:54.519Z] 5eb5b503b376: Pull complete [2022-10-24T03:46:54.778Z] 5c69ac0246d0: Pull complete [2022-10-24T03:46:55.344Z] ec43610c2a17: Pull complete [2022-10-24T03:46:55.344Z] 3a2ae6a8a46f: Pull complete [2022-10-24T03:46:55.602Z] 33b1e0a273af: Pull complete [2022-10-24T03:46:55.602Z] 5d3b04190fa2: Pull complete [2022-10-24T03:47:00.872Z] 2f39f015ded8: Pull complete [2022-10-24T03:47:00.873Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-24T03:47:00.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T03:47:00.873Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T03:47:01.086Z] prd-ubuntu20.04-docker-8c-8g-9066 does not seem to be running inside a container [2022-10-24T03:47:01.117Z] $ 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-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@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-10-24T03:47:03.939Z] $ docker top e5434be59bf58e728fe664343311792ed50b5832da0e4d51c1e9ff888d0ee858 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:47:04.373Z] ---> job-cost.sh [2022-10-24T03:47:04.373Z] lf-activate-venv: SKIPPING [2022-10-24T03:47:04.373Z] INFO: No Stack... [2022-10-24T03:47:04.633Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T03:47:05.201Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T03:47:05.517Z] + cat /w/workspace/undry_device-onvif-camera_PR-185/archives/cost.csv [2022-10-24T03:47:05.518Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T03:47:05.556Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-185-1-stack-cost] [2022-10-24T03:47:05.562Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-185-1-stack-cost] did not exist. Created. [2022-10-24T03:47:05.562Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-185-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T03:47:05.953Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-24T03:47:06.000Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T03:47:06.029Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-185-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T03:47:06.110Z] $ docker stop --time=1 e5434be59bf58e728fe664343311792ed50b5832da0e4d51c1e9ff888d0ee858 [2022-10-24T03:47:07.277Z] $ docker rm -f e5434be59bf58e728fe664343311792ed50b5832da0e4d51c1e9ff888d0ee858 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-24T03:50:56.477Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9138 in /w/workspace/undry_device-onvif-camera_PR-185 [Pipeline] { [Pipeline] ws [2022-10-24T03:50:56.516Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-10-24T03:50:56.599Z] The recommended git tool is: git [2022-10-24T03:51:02.695Z] using credential edgex-jenkins-ssh [2022-10-24T03:51:02.716Z] Cloning the remote Git repository [2022-10-24T03:51:02.768Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-24T03:51:02.852Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-10-24T03:51:02.993Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-24T03:51:02.994Z] > git --version # timeout=10 [2022-10-24T03:51:03.024Z] > git --version # 'git version 2.25.1' [2022-10-24T03:51:03.026Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T03:51:03.079Z] Verifying host key using known hosts file [2022-10-24T03:51:03.291Z] 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-10-24T03:51:03.305Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T03:51:04.670Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-24T03:51:04.693Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T03:51:06.399Z] Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit 659f5a409730c1aa6059f10a7d2527ba47038078 [2022-10-24T03:51:06.800Z] Merge succeeded, producing 659f5a409730c1aa6059f10a7d2527ba47038078 [2022-10-24T03:51:06.801Z] Checking out Revision 659f5a409730c1aa6059f10a7d2527ba47038078 (PR-185) [2022-10-24T03:51:05.710Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-24T03:51:05.755Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-24T03:51:05.756Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T03:51:05.763Z] Verifying host key using known hosts file [2022-10-24T03:51:05.772Z] 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-10-24T03:51:05.787Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-24T03:51:06.423Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T03:51:06.443Z] > git checkout -f 659f5a409730c1aa6059f10a7d2527ba47038078 # timeout=10 [2022-10-24T03:51:06.682Z] > git remote # timeout=10 [2022-10-24T03:51:06.703Z] > git config --get remote.origin.url # timeout=10 [2022-10-24T03:51:06.731Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T03:51:06.737Z] Verifying host key using known hosts file [2022-10-24T03:51:06.741Z] 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-10-24T03:51:06.751Z] > git merge c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 [2022-10-24T03:51:06.782Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-24T03:51:06.809Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T03:51:06.833Z] > git checkout -f 659f5a409730c1aa6059f10a7d2527ba47038078 # timeout=10 [2022-10-24T03:51:07.631Z] Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2" [2022-10-24T03:51:07.699Z] > git --version # timeout=10 [2022-10-24T03:51:07.715Z] > git --version # 'git version 2.25.1' [2022-10-24T03:51:07.739Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T03:51:08.810Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-24T03:51:08.810Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T03:51:08.810Z] Dload Upload Total Spent Left Speed [2022-10-24T03:51:08.810Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 219k 0 --:--:-- --:--:-- --:--:-- 219k [Pipeline] sh [2022-10-24T03:51:09.379Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-24T03:51:09.725Z] + sudo tee /etc/docker/daemon.new [2022-10-24T03:51:09.725Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-24T03:51:09.725Z] { [2022-10-24T03:51:09.725Z] "registry-mirrors": [ [2022-10-24T03:51:09.725Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-24T03:51:09.725Z] ], [2022-10-24T03:51:09.725Z] "bip": "10.250.0.254/24", [2022-10-24T03:51:09.725Z] "hosts": [ [2022-10-24T03:51:09.725Z] "tcp://0.0.0.0:5555", [2022-10-24T03:51:09.725Z] "unix:///var/run/docker.sock" [2022-10-24T03:51:09.725Z] ], [2022-10-24T03:51:09.725Z] "mtu": 1458, [2022-10-24T03:51:09.725Z] "selinux-enabled": true, [2022-10-24T03:51:09.725Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-24T03:51:09.725Z] } [Pipeline] sh [2022-10-24T03:51:10.065Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-24T03:51:10.426Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T03:51:28.775Z] provisioning config files... [2022-10-24T03:51:28.806Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config3691316718993070052tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:51:29.196Z] ---> docker-login.sh [2022-10-24T03:51:29.196Z] nexus3.edgexfoundry.org:10001 [2022-10-24T03:51:29.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:51:29.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:51:29.789Z] Configure a credential helper to remove this warning. See [2022-10-24T03:51:29.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:51:29.789Z] [2022-10-24T03:51:29.789Z] Login Succeeded [2022-10-24T03:51:29.789Z] nexus3.edgexfoundry.org:10002 [2022-10-24T03:51:30.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:51:30.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:51:30.336Z] Configure a credential helper to remove this warning. See [2022-10-24T03:51:30.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:51:30.336Z] [2022-10-24T03:51:30.336Z] Login Succeeded [2022-10-24T03:51:30.336Z] nexus3.edgexfoundry.org:10003 [2022-10-24T03:51:30.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:51:30.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:51:30.612Z] Configure a credential helper to remove this warning. See [2022-10-24T03:51:30.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:51:30.612Z] [2022-10-24T03:51:30.612Z] Login Succeeded [2022-10-24T03:51:30.612Z] nexus3.edgexfoundry.org:10004 [2022-10-24T03:51:30.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:51:30.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:51:30.893Z] Configure a credential helper to remove this warning. See [2022-10-24T03:51:30.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:51:30.893Z] [2022-10-24T03:51:30.893Z] Login Succeeded [2022-10-24T03:51:30.893Z] docker.io [2022-10-24T03:51:31.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:51:31.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:51:31.678Z] Configure a credential helper to remove this warning. See [2022-10-24T03:51:31.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:51:31.678Z] [2022-10-24T03:51:31.678Z] Login Succeeded [2022-10-24T03:51:31.678Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T03:51:31.692Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T03:51:32.025Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T03:51:32.062Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T03:51:32.095Z] ========================================================= [2022-10-24T03:51:32.095Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-24T03:51:32.095Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:51:32.611Z] + 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-10-24T03:51:33.218Z] Sending build context to Docker daemon 14.75MB [2022-10-24T03:51:33.218Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T03:51:33.218Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-24T03:51:33.498Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-24T03:51:33.498Z] 9b18e9b68314: Pulling fs layer [2022-10-24T03:51:33.499Z] d32db5db7311: Pulling fs layer [2022-10-24T03:51:33.499Z] d0c4b47475fc: Pulling fs layer [2022-10-24T03:51:33.499Z] 5831b945b038: Pulling fs layer [2022-10-24T03:51:33.499Z] 86bbec2aaacd: Pulling fs layer [2022-10-24T03:51:33.499Z] e10730c5d714: Pulling fs layer [2022-10-24T03:51:33.499Z] 5dd5c2283517: Pulling fs layer [2022-10-24T03:51:33.499Z] d5ac0230b979: Pulling fs layer [2022-10-24T03:51:33.499Z] 5831b945b038: Waiting [2022-10-24T03:51:33.499Z] e10730c5d714: Waiting [2022-10-24T03:51:33.499Z] 86bbec2aaacd: Waiting [2022-10-24T03:51:33.499Z] 5dd5c2283517: Waiting [2022-10-24T03:51:33.499Z] d5ac0230b979: Waiting [2022-10-24T03:51:33.499Z] d0c4b47475fc: Verifying Checksum [2022-10-24T03:51:33.499Z] d0c4b47475fc: Download complete [2022-10-24T03:51:33.499Z] d32db5db7311: Verifying Checksum [2022-10-24T03:51:33.499Z] d32db5db7311: Download complete [2022-10-24T03:51:33.499Z] 86bbec2aaacd: Verifying Checksum [2022-10-24T03:51:33.499Z] 86bbec2aaacd: Download complete [2022-10-24T03:51:33.499Z] e10730c5d714: Verifying Checksum [2022-10-24T03:51:33.499Z] e10730c5d714: Download complete [2022-10-24T03:51:33.499Z] 9b18e9b68314: Verifying Checksum [2022-10-24T03:51:33.499Z] 9b18e9b68314: Download complete [2022-10-24T03:51:34.496Z] 9b18e9b68314: Pull complete [2022-10-24T03:51:35.089Z] d5ac0230b979: Verifying Checksum [2022-10-24T03:51:35.089Z] d5ac0230b979: Download complete [2022-10-24T03:51:35.369Z] d32db5db7311: Pull complete [2022-10-24T03:51:35.645Z] d0c4b47475fc: Pull complete [2022-10-24T03:51:36.240Z] 5dd5c2283517: Verifying Checksum [2022-10-24T03:51:36.240Z] 5dd5c2283517: Download complete [2022-10-24T03:51:36.833Z] 5831b945b038: Verifying Checksum [2022-10-24T03:51:36.833Z] 5831b945b038: Download complete [2022-10-24T03:51:51.881Z] 5831b945b038: Pull complete [2022-10-24T03:51:51.881Z] 86bbec2aaacd: Pull complete [2022-10-24T03:51:51.881Z] e10730c5d714: Pull complete [2022-10-24T03:51:57.425Z] 5dd5c2283517: Pull complete [2022-10-24T03:51:58.845Z] d5ac0230b979: Pull complete [2022-10-24T03:51:58.845Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-24T03:51:58.845Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-24T03:51:58.845Z] ---> 59b3b1a385d4 [2022-10-24T03:51:58.845Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-24T03:52:00.814Z] ---> Running in 21f4fe910239 [2022-10-24T03:52:01.411Z] Removing intermediate container 21f4fe910239 [2022-10-24T03:52:01.411Z] ---> 22cf2790acfa [2022-10-24T03:52:01.411Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T03:52:01.411Z] ---> Running in d9dfb57ad018 [2022-10-24T03:52:01.687Z] Removing intermediate container d9dfb57ad018 [2022-10-24T03:52:01.687Z] ---> 3744445ddba8 [2022-10-24T03:52:01.687Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T03:52:01.687Z] ---> Running in 992bceb33a13 [2022-10-24T03:52:02.279Z] Removing intermediate container 992bceb33a13 [2022-10-24T03:52:02.279Z] ---> 561c1e1a7f2d [2022-10-24T03:52:02.279Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T03:52:02.279Z] ---> Running in a3793fc0d5d9 [2022-10-24T03:52:02.551Z] Removing intermediate container a3793fc0d5d9 [2022-10-24T03:52:02.551Z] ---> b78ced384504 [2022-10-24T03:52:02.552Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-24T03:52:02.820Z] ---> Running in 9dd84d56a6f6 [2022-10-24T03:52:03.090Z] Removing intermediate container 9dd84d56a6f6 [2022-10-24T03:52:03.090Z] ---> 1b744576577d [2022-10-24T03:52:03.090Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T03:52:03.090Z] ---> Running in 440d9bb20546 [2022-10-24T03:52:05.049Z] Removing intermediate container 440d9bb20546 [2022-10-24T03:52:05.049Z] ---> 36e52176efe0 [2022-10-24T03:52:05.049Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T03:52:05.049Z] ---> Running in 7142bafde1d9 [2022-10-24T03:52:06.016Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T03:52:06.982Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T03:52:08.400Z] OK: 221 MiB in 51 packages [2022-10-24T03:52:09.381Z] Removing intermediate container 7142bafde1d9 [2022-10-24T03:52:09.381Z] ---> 6360e219a5ed [2022-10-24T03:52:09.381Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-24T03:52:09.381Z] ---> Running in d36c0acc8178 [2022-10-24T03:52:09.650Z] Removing intermediate container d36c0acc8178 [2022-10-24T03:52:09.650Z] ---> 2377709238a0 [2022-10-24T03:52:09.650Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-24T03:52:10.237Z] ---> 906879a0e7a0 [2022-10-24T03:52:10.237Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T03:52:10.237Z] ---> Running in dc10c662fa4c [2022-10-24T03:53:06.686Z] Removing intermediate container dc10c662fa4c [2022-10-24T03:53:06.686Z] ---> 65fa55b26056 [2022-10-24T03:53:06.686Z] Step 13/14 : COPY . . [2022-10-24T03:53:06.686Z] ---> 0ebdb0e09596 [2022-10-24T03:53:06.686Z] Step 14/14 : RUN ${MAKE} [2022-10-24T03:53:06.686Z] ---> Running in f389d890558a [2022-10-24T03:53:06.686Z] noop [2022-10-24T03:53:06.686Z] Removing intermediate container f389d890558a [2022-10-24T03:53:06.686Z] ---> d42d8fcd5178 [2022-10-24T03:53:06.686Z] Successfully built d42d8fcd5178 [2022-10-24T03:53:06.686Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:53:07.163Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T03:53:07.163Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T03:53:07.441Z] prd-ubuntu20.04-docker-arm64-4c-16g-9138 does not seem to be running inside a container [2022-10-24T03:53:07.513Z] $ 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-10-24T03:53:08.720Z] $ docker top ad870ee8bf96a6f516833c6931bdb54d902553fabc7653f8682d975b66853e29 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T03:53:09.643Z] + go version [2022-10-24T03:53:09.643Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-24T03:53:09.677Z] $ docker stop --time=1 ad870ee8bf96a6f516833c6931bdb54d902553fabc7653f8682d975b66853e29 [2022-10-24T03:53:11.396Z] $ docker rm -f ad870ee8bf96a6f516833c6931bdb54d902553fabc7653f8682d975b66853e29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:53:12.291Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T03:53:12.291Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T03:53:12.562Z] prd-ubuntu20.04-docker-arm64-4c-16g-9138 does not seem to be running inside a container [2022-10-24T03:53:12.631Z] $ 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-10-24T03:53:13.922Z] $ docker top 5dd03ecd8b56e34e23f582b826a2e4b1385912767a988cb15f54f90ed12c094a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T03:53:14.843Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-10-24T03:53:15.552Z] + make test [2022-10-24T03:53:15.552Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-24T03:53:17.504Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-24T03:55:09.199Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-24T03:55:09.199Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.236s coverage: 28.2% of statements [2022-10-24T03:55:09.199Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-24T03:55:27.488Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.009s coverage: 86.5% of statements [2022-10-24T03:55:28.080Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-24T03:55:28.080Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T03:56:07.007Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T03:56:07.007Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T03:56:07.007Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-24T03:56:07.048Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T03:56:07.081Z] $ docker stop --time=1 5dd03ecd8b56e34e23f582b826a2e4b1385912767a988cb15f54f90ed12c094a [2022-10-24T03:56:09.016Z] $ docker rm -f 5dd03ecd8b56e34e23f582b826a2e4b1385912767a988cb15f54f90ed12c094a [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T03:56:10.257Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T03:56:10.292Z] Warning: overwriting stash ‘coverage-report’ [2022-10-24T03:56:10.946Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T03:56:11.604Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T03:56:11.992Z] + ls -al . [2022-10-24T03:56:11.992Z] total 232 [2022-10-24T03:56:11.992Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 03:53 . [2022-10-24T03:56:11.992Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:51 .. [2022-10-24T03:56:11.992Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 03:51 .git [2022-10-24T03:56:11.992Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:51 .github [2022-10-24T03:56:11.992Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 24 03:51 .gitignore [2022-10-24T03:56:11.992Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 03:51 .golangci.yml [2022-10-24T03:56:11.992Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 24 03:51 Attribution.txt [2022-10-24T03:56:11.992Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 24 03:51 CHANGELOG.md [2022-10-24T03:56:11.992Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 24 03:51 Dockerfile [2022-10-24T03:56:11.992Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 03:51 GOVERNANCE.md [2022-10-24T03:56:11.992Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 24 03:51 Jenkinsfile [2022-10-24T03:56:11.992Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 24 03:51 LICENSE [2022-10-24T03:56:11.992Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 24 03:51 Makefile [2022-10-24T03:56:11.992Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 24 03:51 OWNERS.md [2022-10-24T03:56:11.992Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 24 03:51 README.md [2022-10-24T03:56:11.992Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 03:45 VERSION [2022-10-24T03:56:11.992Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 03:51 bin [2022-10-24T03:56:11.992Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:51 cmd [2022-10-24T03:56:11.992Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 24 03:55 coverage.out [2022-10-24T03:56:11.992Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 03:51 doc [2022-10-24T03:56:11.992Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 24 03:51 go.mod [2022-10-24T03:56:11.992Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 24 03:51 go.sum [2022-10-24T03:56:11.992Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:51 internal [2022-10-24T03:56:11.992Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:51 snap [2022-10-24T03:56:11.992Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 24 03:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:56:12.453Z] + 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=659f5a409730c1aa6059f10a7d2527ba47038078 --label arch=arm64 --label version=0.0.0 . [2022-10-24T03:56:13.048Z] Sending build context to Docker daemon 14.83MB [2022-10-24T03:56:13.048Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T03:56:13.048Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-24T03:56:13.048Z] ---> d42d8fcd5178 [2022-10-24T03:56:13.048Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-24T03:56:13.315Z] ---> Running in 73a15a713d67 [2022-10-24T03:56:14.727Z] Removing intermediate container 73a15a713d67 [2022-10-24T03:56:14.727Z] ---> 804578ceabad [2022-10-24T03:56:14.727Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T03:56:14.727Z] ---> Running in 6d4295d0509b [2022-10-24T03:56:14.997Z] Removing intermediate container 6d4295d0509b [2022-10-24T03:56:14.997Z] ---> 229c52a0f8c5 [2022-10-24T03:56:14.997Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T03:56:15.267Z] ---> Running in edde0c421d95 [2022-10-24T03:56:15.535Z] Removing intermediate container edde0c421d95 [2022-10-24T03:56:15.535Z] ---> 9fbe4b2c04cc [2022-10-24T03:56:15.535Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T03:56:15.803Z] ---> Running in de3d0ed8fe77 [2022-10-24T03:56:16.071Z] Removing intermediate container de3d0ed8fe77 [2022-10-24T03:56:16.071Z] ---> 49b10ea9dea6 [2022-10-24T03:56:16.071Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-24T03:56:16.071Z] ---> Running in 918c0d4ee92a [2022-10-24T03:56:16.342Z] Removing intermediate container 918c0d4ee92a [2022-10-24T03:56:16.342Z] ---> 393dd1f5f7af [2022-10-24T03:56:16.342Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T03:56:16.609Z] ---> Running in 8deb2fcbdb4b [2022-10-24T03:56:18.561Z] Removing intermediate container 8deb2fcbdb4b [2022-10-24T03:56:18.561Z] ---> da5533365372 [2022-10-24T03:56:18.561Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T03:56:18.561Z] ---> Running in 2ef46b4e16eb [2022-10-24T03:56:19.530Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T03:56:20.115Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T03:56:21.528Z] OK: 221 MiB in 51 packages [2022-10-24T03:56:22.117Z] Removing intermediate container 2ef46b4e16eb [2022-10-24T03:56:22.117Z] ---> 209603bd8f33 [2022-10-24T03:56:22.117Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-24T03:56:22.117Z] ---> Running in df801aa79bd0 [2022-10-24T03:56:22.703Z] Removing intermediate container df801aa79bd0 [2022-10-24T03:56:22.703Z] ---> 57541421cecd [2022-10-24T03:56:22.703Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-24T03:56:22.974Z] ---> 1d53952921bb [2022-10-24T03:56:22.974Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T03:56:23.242Z] ---> Running in 2096706fecb5 [2022-10-24T03:56:25.192Z] Removing intermediate container 2096706fecb5 [2022-10-24T03:56:25.192Z] ---> 1da2966e0727 [2022-10-24T03:56:25.192Z] Step 13/27 : COPY . . [2022-10-24T03:56:27.137Z] ---> a4e31f518e75 [2022-10-24T03:56:27.137Z] Step 14/27 : RUN ${MAKE} [2022-10-24T03:56:27.137Z] ---> Running in 9bdc31a81822 [2022-10-24T03:56:27.723Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-24T03:59:04.468Z] Removing intermediate container 9bdc31a81822 [2022-10-24T03:59:04.468Z] ---> 44a441481b07 [2022-10-24T03:59:04.468Z] Step 15/27 : FROM alpine:3.16 [2022-10-24T03:59:04.468Z] 3.16: Pulling from library/alpine [2022-10-24T03:59:04.469Z] 9b18e9b68314: Already exists [2022-10-24T03:59:04.469Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-24T03:59:04.469Z] Status: Downloaded newer image for alpine:3.16 [2022-10-24T03:59:04.469Z] ---> a6215f271958 [2022-10-24T03:59:04.469Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-24T03:59:04.469Z] ---> Running in c1cec1788344 [2022-10-24T03:59:04.469Z] Removing intermediate container c1cec1788344 [2022-10-24T03:59:04.469Z] ---> fbccfe5d4de4 [2022-10-24T03:59:04.469Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-24T03:59:04.469Z] ---> Running in 3fd6073068e1 [2022-10-24T03:59:04.469Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T03:59:04.469Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T03:59:04.469Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-24T03:59:04.469Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-24T03:59:04.469Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-24T03:59:04.469Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-24T03:59:04.469Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-24T03:59:04.469Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-24T03:59:04.469Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T03:59:04.469Z] OK: 8 MiB in 20 packages [2022-10-24T03:59:04.469Z] Removing intermediate container 3fd6073068e1 [2022-10-24T03:59:04.469Z] ---> 1c30c36aac30 [2022-10-24T03:59:04.469Z] Step 18/27 : WORKDIR / [2022-10-24T03:59:04.469Z] ---> Running in 33427e827bd7 [2022-10-24T03:59:04.737Z] Removing intermediate container 33427e827bd7 [2022-10-24T03:59:04.737Z] ---> 4ab626fadee2 [2022-10-24T03:59:04.737Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-24T03:59:06.148Z] ---> 8786f72ce196 [2022-10-24T03:59:06.148Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-24T03:59:06.736Z] ---> d56b6f319711 [2022-10-24T03:59:06.736Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-24T03:59:07.324Z] ---> c91637c0dc21 [2022-10-24T03:59:07.324Z] Step 22/27 : EXPOSE 59984 [2022-10-24T03:59:07.324Z] ---> Running in bf4dc515c1c1 [2022-10-24T03:59:07.597Z] Removing intermediate container bf4dc515c1c1 [2022-10-24T03:59:07.597Z] ---> fa56d13b0d57 [2022-10-24T03:59:07.597Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-24T03:59:07.597Z] ---> Running in aab7b22896f9 [2022-10-24T03:59:07.866Z] Removing intermediate container aab7b22896f9 [2022-10-24T03:59:07.866Z] ---> 313afcf08766 [2022-10-24T03:59:07.866Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-24T03:59:08.139Z] ---> Running in a7a61996ba86 [2022-10-24T03:59:08.557Z] Removing intermediate container a7a61996ba86 [2022-10-24T03:59:08.557Z] ---> 1180803eedef [2022-10-24T03:59:08.557Z] Step 25/27 : LABEL arch=arm64 [2022-10-24T03:59:08.557Z] ---> Running in 9fd827228706 [2022-10-24T03:59:08.557Z] Removing intermediate container 9fd827228706 [2022-10-24T03:59:08.557Z] ---> f0bc6ca9a858 [2022-10-24T03:59:08.557Z] Step 26/27 : LABEL git_sha=659f5a409730c1aa6059f10a7d2527ba47038078 [2022-10-24T03:59:08.839Z] ---> Running in f882ba66d1cc [2022-10-24T03:59:09.117Z] Removing intermediate container f882ba66d1cc [2022-10-24T03:59:09.117Z] ---> 5ba581f6f32b [2022-10-24T03:59:09.117Z] Step 27/27 : LABEL version=0.0.0 [2022-10-24T03:59:09.117Z] ---> Running in ca28a2ccb2b9 [2022-10-24T03:59:09.391Z] Removing intermediate container ca28a2ccb2b9 [2022-10-24T03:59:09.391Z] ---> 7fdae15d433f [2022-10-24T03:59:09.391Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T03:59:09.665Z] Successfully built 7fdae15d433f [2022-10-24T03:59:09.665Z] 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-10-24T03:59:10.496Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T03:59:10.496Z] [2022-10-24T03:59:10.496Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:59:10.914Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T03:59:10.914Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-24T03:59:10.914Z] 8998bd30e6a1: Pulling fs layer [2022-10-24T03:59:10.914Z] 04944245beec: Pulling fs layer [2022-10-24T03:59:10.914Z] 699f458cf7ca: Pulling fs layer [2022-10-24T03:59:10.914Z] 765212b225bb: Pulling fs layer [2022-10-24T03:59:10.914Z] f23df028b6ca: Pulling fs layer [2022-10-24T03:59:10.914Z] d65c8cfc05b1: Pulling fs layer [2022-10-24T03:59:10.914Z] 2437ff75d9bd: Pulling fs layer [2022-10-24T03:59:10.914Z] 765212b225bb: Waiting [2022-10-24T03:59:10.914Z] d65c8cfc05b1: Waiting [2022-10-24T03:59:10.914Z] 2437ff75d9bd: Waiting [2022-10-24T03:59:10.914Z] f23df028b6ca: Waiting [2022-10-24T03:59:11.190Z] 04944245beec: Verifying Checksum [2022-10-24T03:59:11.190Z] 04944245beec: Download complete [2022-10-24T03:59:11.190Z] 765212b225bb: Download complete [2022-10-24T03:59:11.190Z] f23df028b6ca: Verifying Checksum [2022-10-24T03:59:11.190Z] f23df028b6ca: Download complete [2022-10-24T03:59:11.190Z] d65c8cfc05b1: Verifying Checksum [2022-10-24T03:59:11.190Z] d65c8cfc05b1: Download complete [2022-10-24T03:59:11.461Z] 699f458cf7ca: Verifying Checksum [2022-10-24T03:59:11.461Z] 699f458cf7ca: Download complete [2022-10-24T03:59:11.729Z] 8998bd30e6a1: Verifying Checksum [2022-10-24T03:59:11.729Z] 8998bd30e6a1: Download complete [2022-10-24T03:59:14.333Z] 2437ff75d9bd: Verifying Checksum [2022-10-24T03:59:14.333Z] 2437ff75d9bd: Download complete [2022-10-24T03:59:15.745Z] 8998bd30e6a1: Pull complete [2022-10-24T03:59:16.334Z] 04944245beec: Pull complete [2022-10-24T03:59:17.748Z] 699f458cf7ca: Pull complete [2022-10-24T03:59:17.748Z] 765212b225bb: Pull complete [2022-10-24T03:59:18.708Z] f23df028b6ca: Pull complete [2022-10-24T03:59:18.708Z] d65c8cfc05b1: Pull complete [2022-10-24T03:59:33.707Z] 2437ff75d9bd: Pull complete [2022-10-24T03:59:33.707Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-24T03:59:33.707Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T03:59:33.707Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T03:59:34.038Z] prd-ubuntu20.04-docker-arm64-4c-16g-9138 does not seem to be running inside a container [2022-10-24T03:59:34.105Z] $ 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-10-24T03:59:37.070Z] $ docker top 60cec8a7304cc74fd1f95656c9ddc8da3b0fb673d87916dd3ee40ec1dffd671c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:59:37.953Z] ---> job-cost.sh [2022-10-24T03:59:37.953Z] lf-activate-venv: SKIPPING [2022-10-24T03:59:37.953Z] INFO: No Stack... [2022-10-24T03:59:38.218Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-24T03:59:39.181Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T03:59:39.840Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-10-24T03:59:39.840Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T03:59:39.930Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-185-1-stack-cost] [2022-10-24T03:59:39.935Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-185-1-stack-cost] did not exist. Created. [2022-10-24T03:59:39.935Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-185-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T03:59:40.660Z] /w/workspace/device-onvif-camera/1@tmp/durable-8a67ccf8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-24T03:59:41.342Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-24T03:59:41.378Z] Warning: overwriting stash ‘stack-cost’ [2022-10-24T03:59:41.450Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T03:59:41.468Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-185-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T03:59:41.539Z] $ docker stop --time=1 60cec8a7304cc74fd1f95656c9ddc8da3b0fb673d87916dd3ee40ec1dffd671c [2022-10-24T03:59:43.069Z] $ docker rm -f 60cec8a7304cc74fd1f95656c9ddc8da3b0fb673d87916dd3ee40ec1dffd671c [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-10-24T03:59:44.034Z] provisioning config files... [2022-10-24T03:59:44.042Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-185@tmp/config15039565301709768013tmp [Pipeline] { [Pipeline] sh [2022-10-24T03:59:44.382Z] + set +x [2022-10-24T03:59:44.382Z] + curl -s https://codecov.io/bash [2022-10-24T03:59:44.382Z] + bash -s -- [2022-10-24T03:59:44.382Z] [2022-10-24T03:59:44.382Z] _____ _ [2022-10-24T03:59:44.382Z] / ____| | | [2022-10-24T03:59:44.382Z] | | ___ __| | ___ ___ _____ __ [2022-10-24T03:59:44.382Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-24T03:59:44.382Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-24T03:59:44.382Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-24T03:59:44.382Z] Bash-1.0.6 [2022-10-24T03:59:44.382Z] [2022-10-24T03:59:44.382Z] [2022-10-24T03:59:44.382Z] ==> git version 2.25.1 found [2022-10-24T03:59:44.382Z] ==> 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-10-24T03:59:44.382Z] Release-Date: 2020-01-08 [2022-10-24T03:59:44.382Z] 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-10-24T03:59:44.382Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-24T03:59:44.382Z] ==> Jenkins CI detected. [2022-10-24T03:59:44.382Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-185 [2022-10-24T03:59:44.382Z] project root: . [2022-10-24T03:59:44.382Z] --> token set from env [2022-10-24T03:59:44.382Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-24T03:59:44.382Z] ==> Running gcov in . (disable via -X gcov) [2022-10-24T03:59:44.382Z] ==> Python coveragepy not found [2022-10-24T03:59:44.382Z] ==> Searching for coverage reports in: [2022-10-24T03:59:44.382Z] + . [2022-10-24T03:59:44.382Z] -> Found 1 reports [2022-10-24T03:59:44.382Z] ==> Detecting git/mercurial file structure [2022-10-24T03:59:44.382Z] ==> Reading reports [2022-10-24T03:59:44.382Z] + ./coverage.out bytes=78636 [2022-10-24T03:59:44.382Z] ==> Appending adjustments [2022-10-24T03:59:44.382Z] https://docs.codecov.io/docs/fixing-reports [2022-10-24T03:59:44.640Z] + Found adjustments [2022-10-24T03:59:44.640Z] ==> Gzipping contents [2022-10-24T03:59:44.640Z] 12K /tmp/codecov.t1xZfX.gz [2022-10-24T03:59:44.640Z] ==> Uploading reports [2022-10-24T03:59:44.640Z] url: https://codecov.io [2022-10-24T03:59:44.640Z] query: branch=PR-185&commit=659f5a409730c1aa6059f10a7d2527ba47038078&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-185%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=185&job=&cmd_args= [2022-10-24T03:59:44.640Z] -> Pinging Codecov [2022-10-24T03:59:44.640Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-185&commit=659f5a409730c1aa6059f10a7d2527ba47038078&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-185%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=185&job=&cmd_args= [2022-10-24T03:59:45.206Z] -> Uploading to [2022-10-24T03:59:45.206Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-24/F29A59C45E3A92E06B3E522C9905F8EF/659f5a409730c1aa6059f10a7d2527ba47038078/ba63a6fa-1a67-40c8-97c5-e8320d1cef16.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T035944Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6d22c7fa5ac15bf24b03e3f5268212f2a8f0d68cf2a61c2ec9f9a7516dbb098a [2022-10-24T03:59:45.206Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T03:59:45.206Z] Dload Upload Total Spent Left Speed [2022-10-24T03:59:45.206Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10785 0 0 100 10785 0 49246 --:--:-- --:--:-- --:--:-- 49246 [2022-10-24T03:59:45.206Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/659f5a409730c1aa6059f10a7d2527ba47038078 [Pipeline] } [2022-10-24T03:59:45.231Z] 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-10-24T03:59:46.932Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-185/archives ] [2022-10-24T03:59:46.932Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-185/archives [2022-10-24T03:59:46.932Z] total 16 [2022-10-24T03:59:46.932Z] drwxr-xr-x 3 root root 4096 Oct 24 03:47 . [2022-10-24T03:59:46.932Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 03:47 .. [2022-10-24T03:59:46.932Z] drwxr-xr-x 2 root root 4096 Oct 24 03:47 cost [2022-10-24T03:59:46.932Z] -rw-r--r-- 1 root root 91 Oct 24 03:47 cost.csv [2022-10-24T03:59:46.932Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-185/archives [2022-10-24T03:59:46.932Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-185/archives [2022-10-24T03:59:46.932Z] total 16 [2022-10-24T03:59:46.932Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 03:47 . [2022-10-24T03:59:46.932Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 03:47 .. [2022-10-24T03:59:46.932Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 03:47 cost [2022-10-24T03:59:46.932Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 24 03:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:59:47.255Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:59:48.133Z] ---> package-listing.sh [2022-10-24T03:59:48.133Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-24T03:59:48.133Z] ++ facter osfamily [2022-10-24T03:59:48.392Z] + OS_FAMILY=debian [2022-10-24T03:59:48.392Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-185 [2022-10-24T03:59:48.392Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-24T03:59:48.392Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-24T03:59:48.392Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-24T03:59:48.392Z] + PACKAGES=/tmp/packages_start.txt [2022-10-24T03:59:48.392Z] + '[' /w/workspace/undry_device-onvif-camera_PR-185 ']' [2022-10-24T03:59:48.392Z] + PACKAGES=/tmp/packages_end.txt [2022-10-24T03:59:48.392Z] + case "${OS_FAMILY}" in [2022-10-24T03:59:48.392Z] + dpkg -l [2022-10-24T03:59:48.392Z] + grep '^ii' [2022-10-24T03:59:48.392Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-24T03:59:48.392Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-24T03:59:48.392Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-24T03:59:48.392Z] + '[' /w/workspace/undry_device-onvif-camera_PR-185 ']' [2022-10-24T03:59:48.392Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-185/archives/ [2022-10-24T03:59:48.392Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-185/archives/ [Pipeline] echo [2022-10-24T03:59:48.426Z] 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-185/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-24T03:59:48.716Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:59:49.346Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T03:59:49.346Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T03:59:49.477Z] prd-ubuntu20.04-docker-8c-8g-9066 does not seem to be running inside a container [2022-10-24T03:59:49.504Z] $ 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-185/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-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@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-10-24T03:59:50.118Z] $ docker top 09bb48d700adef66bd5eac23215431de60f8b0abdb1bcb376ba17da8e8fc2f65 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T04:00:17.503Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-24T04:00:17.809Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-24T04:00:18.116Z] + ls /var/log/sa-host [2022-10-24T04:00:18.116Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T04:00:18.257Z] provisioning config files... [2022-10-24T04:00:18.265Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-185@tmp/config3785528297458060039tmp [Pipeline] { [Pipeline] echo [2022-10-24T04:00:18.323Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T04:00:18.637Z] ---> create-netrc.sh [Pipeline] } [2022-10-24T04:00:18.664Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-24T04:00:19.066Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-24T04:00:19.100Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T04:00:19.408Z] ---> sudo-logs.sh [2022-10-24T04:00:19.408Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-24T04:00:19.488Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T04:00:19.799Z] ---> job-cost.sh [2022-10-24T04:00:19.799Z] lf-activate-venv: SKIPPING [2022-10-24T04:00:19.799Z] DEBUG: total: 0.2199999988079071 [2022-10-24T04:00:19.799Z] INFO: Retrieving Stack Cost... [2022-10-24T04:00:20.058Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T04:00:20.626Z] INFO: Archiving Costs [Pipeline] echo [2022-10-24T04:00:20.659Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T04:00:20.969Z] ---> logs-deploy.sh [2022-10-24T04:00:20.969Z] lf-activate-venv: SKIPPING [2022-10-24T04:00:20.969Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-185/1 [2022-10-24T04:00:20.969Z] INFO: archiving workspace using pattern(s): [2022-10-24T04:00:21.906Z] Archives upload complete. [2022-10-24T04:00:21.906Z] INFO: archiving logs to Nexus