Pull request #180 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at c32d12cb3f3d5bd786ac66f0af1d84994387a230 rather than 3cb33cdf5438b92aa5f3efd3ec84d2543962f520 Obtained Jenkinsfile from c32d12cb3f3d5bd786ac66f0af1d84994387a230 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-ssh17838922909373702244.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-ssh16076832290817962517.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-180/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-180/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14277461435713697116.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-180/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12359622003952222372.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-ssh9833871163514394499.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-180/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-180/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10989287513218075226.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 Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-8493’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8496 in /w/workspace/undry_device-onvif-camera_PR-180 [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-180 # 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/180/head:refs/remotes/origin/PR-180 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit 3cb33cdf5438b92aa5f3efd3ec84d2543962f520 Merge succeeded, producing 3cb33cdf5438b92aa5f3efd3ec84d2543962f520 Checking out Revision 3cb33cdf5438b92aa5f3efd3ec84d2543962f520 (PR-180) > git config core.sparsecheckout # timeout=10 > git checkout -f 3cb33cdf5438b92aa5f3efd3ec84d2543962f520 # 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 3cb33cdf5438b92aa5f3efd3ec84d2543962f520 # timeout=10 Commit message: "docs: cleanup swagger generation code" 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-18T21:26:53.056Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-18T21:26:53.232Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-18T21:26:53.334Z] ========================================================= [2022-10-18T21:26:53.334Z] EdgeX Global Pipelines Version Info [2022-10-18T21:26:53.334Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-18T21:26:54.114Z] ------------------- [2022-10-18T21:26:54.114Z] stable info: [2022-10-18T21:26:54.114Z] ------------------- [2022-10-18T21:26:54.114Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-18T21:26:54.114Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-18T21:26:54.114Z] Message: update stable to v1.0.243 [2022-10-18T21:26:54.686Z] ------------------- [2022-10-18T21:26:54.686Z] experimental info: [2022-10-18T21:26:54.686Z] ------------------- [2022-10-18T21:26:54.686Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-18T21:26:54.686Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-18T21:26:54.686Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-18T21:26:54.978Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-18T21:26:55.017Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-18T21:26:55.058Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-18T21:26:55.105Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-18T21:26:55.148Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-18T21:26:55.187Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-18T21:26:55.226Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-18T21:26:55.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-18T21:26:55.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-18T21:26:55.346Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-18T21:26:55.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-18T21:26:55.419Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-18T21:26:55.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-18T21:26:55.502Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-18T21:26:55.542Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-18T21:26:55.579Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-18T21:26:55.616Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-18T21:26:55.651Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-18T21:26:55.687Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-18T21:26:55.725Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-18T21:26:55.760Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-18T21:26:55.797Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-18T21:26:55.832Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-18T21:26:55.869Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-18T21:26:55.906Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-18T21:26:55.943Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-18T21:26:55.982Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-18T21:26:56.021Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-180 [Pipeline] echo [2022-10-18T21:26:56.056Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-180 [Pipeline] echo [2022-10-18T21:26:56.091Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-180 [Pipeline] echo [2022-10-18T21:26:56.128Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3cb33cdf5438b92aa5f3efd3ec84d2543962f520 [Pipeline] echo [2022-10-18T21:26:56.163Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3cb33cd [Pipeline] echo [2022-10-18T21:26:56.203Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-18T21:26:56.315Z] provisioning config files... [2022-10-18T21:26:56.329Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config4139259591588500243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-18T21:26:56.678Z] ---> docker-login.sh [2022-10-18T21:26:56.678Z] nexus3.edgexfoundry.org:10001 [2022-10-18T21:26:56.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T21:26:57.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T21:26:57.197Z] Configure a credential helper to remove this warning. See [2022-10-18T21:26:57.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T21:26:57.197Z] [2022-10-18T21:26:57.197Z] Login Succeeded [2022-10-18T21:26:57.197Z] nexus3.edgexfoundry.org:10002 [2022-10-18T21:26:57.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T21:26:57.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T21:26:57.197Z] Configure a credential helper to remove this warning. See [2022-10-18T21:26:57.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T21:26:57.197Z] [2022-10-18T21:26:57.197Z] Login Succeeded [2022-10-18T21:26:57.197Z] nexus3.edgexfoundry.org:10003 [2022-10-18T21:26:57.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T21:26:57.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T21:26:57.197Z] Configure a credential helper to remove this warning. See [2022-10-18T21:26:57.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T21:26:57.197Z] [2022-10-18T21:26:57.197Z] Login Succeeded [2022-10-18T21:26:57.197Z] nexus3.edgexfoundry.org:10004 [2022-10-18T21:26:57.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T21:26:57.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T21:26:57.457Z] Configure a credential helper to remove this warning. See [2022-10-18T21:26:57.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T21:26:57.457Z] [2022-10-18T21:26:57.457Z] Login Succeeded [2022-10-18T21:26:57.457Z] docker.io [2022-10-18T21:26:57.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T21:26:57.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T21:26:57.718Z] Configure a credential helper to remove this warning. See [2022-10-18T21:26:57.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T21:26:57.718Z] [2022-10-18T21:26:57.718Z] Login Succeeded [2022-10-18T21:26:57.718Z] ---> docker-login.sh ends [Pipeline] } [2022-10-18T21:26:57.745Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-18T21:26:58.348Z] + git rev-list -1 --merges 3cb33cdf5438b92aa5f3efd3ec84d2543962f520~1..3cb33cdf5438b92aa5f3efd3ec84d2543962f520 [Pipeline] echo [2022-10-18T21:26:58.392Z] -----------> git rev-list -1 --merges 3cb33cdf5438b92aa5f3efd3ec84d2543962f520~1..3cb33cdf5438b92aa5f3efd3ec84d2543962f520 3cb33cdf5438b92aa5f3efd3ec84d2543962f520 [false] [Pipeline] sh [2022-10-18T21:26:58.710Z] + git log --format=format:%s -1 3cb33cdf5438b92aa5f3efd3ec84d2543962f520 [Pipeline] echo [2022-10-18T21:26:58.742Z] ========================================================= [2022-10-18T21:26:58.742Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-18T21:26:58.742Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-18T21:26:59.191Z] + git log --format=format:%s -1 3cb33cdf5438b92aa5f3efd3ec84d2543962f520 [Pipeline] echo [2022-10-18T21:26:59.221Z] [semverPrep] GIT_COMMIT: 3cb33cdf5438b92aa5f3efd3ec84d2543962f520, Commit Message: docs: cleanup swagger generation code [Pipeline] echo [2022-10-18T21:26:59.248Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-18T21:26:59.648Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-18T21:26:59.648Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-18T21:26:59.648Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-18T21:26:59.648Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-18T21:26:59.648Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-18T21:26:59.648Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-18T21:26:59.648Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T21:27:00.132Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-18T21:27:00.132Z] [2022-10-18T21:27:00.132Z] 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-18T21:27:00.501Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-18T21:27:00.501Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-18T21:27:00.501Z] b85a868b505f: Pulling fs layer [2022-10-18T21:27:00.501Z] e2be974225ed: Pulling fs layer [2022-10-18T21:27:00.501Z] 339a4e72a1f5: Pulling fs layer [2022-10-18T21:27:00.501Z] 988bab9f4d93: Pulling fs layer [2022-10-18T21:27:00.501Z] 1469e6f7b9e6: Pulling fs layer [2022-10-18T21:27:00.501Z] eaf3925da568: Pulling fs layer [2022-10-18T21:27:00.501Z] bab4dde63d76: Pulling fs layer [2022-10-18T21:27:00.501Z] bde34c3a00c8: Pulling fs layer [2022-10-18T21:27:00.501Z] b352a97aabf1: Pulling fs layer [2022-10-18T21:27:00.501Z] 4872d77fe225: Pulling fs layer [2022-10-18T21:27:00.501Z] 5851b861e8e6: Pulling fs layer [2022-10-18T21:27:00.501Z] bab4dde63d76: Waiting [2022-10-18T21:27:00.501Z] bde34c3a00c8: Waiting [2022-10-18T21:27:00.501Z] b352a97aabf1: Waiting [2022-10-18T21:27:00.501Z] 4872d77fe225: Waiting [2022-10-18T21:27:00.501Z] 5851b861e8e6: Waiting [2022-10-18T21:27:00.501Z] 988bab9f4d93: Waiting [2022-10-18T21:27:00.501Z] 1469e6f7b9e6: Waiting [2022-10-18T21:27:00.501Z] eaf3925da568: Waiting [2022-10-18T21:27:00.501Z] e2be974225ed: Verifying Checksum [2022-10-18T21:27:00.501Z] e2be974225ed: Download complete [2022-10-18T21:27:00.501Z] 988bab9f4d93: Verifying Checksum [2022-10-18T21:27:00.501Z] 988bab9f4d93: Download complete [2022-10-18T21:27:00.761Z] 339a4e72a1f5: Verifying Checksum [2022-10-18T21:27:00.761Z] 339a4e72a1f5: Download complete [2022-10-18T21:27:00.761Z] 1469e6f7b9e6: Verifying Checksum [2022-10-18T21:27:00.761Z] 1469e6f7b9e6: Download complete [2022-10-18T21:27:00.761Z] eaf3925da568: Verifying Checksum [2022-10-18T21:27:00.761Z] eaf3925da568: Download complete [2022-10-18T21:27:00.761Z] bde34c3a00c8: Verifying Checksum [2022-10-18T21:27:00.761Z] bde34c3a00c8: Download complete [2022-10-18T21:27:00.761Z] b352a97aabf1: Download complete [2022-10-18T21:27:00.761Z] 4872d77fe225: Verifying Checksum [2022-10-18T21:27:00.761Z] 4872d77fe225: Download complete [2022-10-18T21:27:00.761Z] 5851b861e8e6: Verifying Checksum [2022-10-18T21:27:00.761Z] 5851b861e8e6: Download complete [2022-10-18T21:27:00.761Z] b85a868b505f: Download complete [2022-10-18T21:27:01.021Z] bab4dde63d76: Verifying Checksum [2022-10-18T21:27:01.021Z] bab4dde63d76: Download complete [2022-10-18T21:27:01.957Z] b85a868b505f: Pull complete [2022-10-18T21:27:02.216Z] e2be974225ed: Pull complete [2022-10-18T21:27:02.785Z] 339a4e72a1f5: Pull complete [2022-10-18T21:27:02.785Z] 988bab9f4d93: Pull complete [2022-10-18T21:27:03.044Z] 1469e6f7b9e6: Pull complete [2022-10-18T21:27:03.044Z] eaf3925da568: Pull complete [2022-10-18T21:27:04.950Z] bab4dde63d76: Pull complete [2022-10-18T21:27:04.950Z] bde34c3a00c8: Pull complete [2022-10-18T21:27:05.211Z] b352a97aabf1: Pull complete [2022-10-18T21:27:05.211Z] 4872d77fe225: Pull complete [2022-10-18T21:27:05.211Z] 5851b861e8e6: Pull complete [2022-10-18T21:27:05.211Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-18T21:27:05.211Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-18T21:27:05.211Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T21:27:05.448Z] prd-ubuntu20.04-docker-8c-8g-8496 does not seem to be running inside a container [2022-10-18T21:27:05.479Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-18T21:27:06.961Z] $ docker top f9d4019be3473d1d75df20742c55e09d35132b4ff88213257994203f86a7c40b -eo pid,comm [2022-10-18T21:27:07.025Z] 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-18T21:27:07.025Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-18T21:27:07.148Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-18T21:27:07.148Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-18T21:27:07.252Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-18T21:27:07.247Z] $ docker exec f9d4019be3473d1d75df20742c55e09d35132b4ff88213257994203f86a7c40b ssh-agent [2022-10-18T21:27:07.362Z] SSH_AUTH_SOCK=/tmp/ssh-vLobXiR0CZ6M/agent.34 [2022-10-18T21:27:07.362Z] SSH_AGENT_PID=40 [2022-10-18T21:27:07.368Z] Running ssh-add (command line suppressed) [2022-10-18T21:27:07.460Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_9129486961996260841.key (/w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_9129486961996260841.key) [2022-10-18T21:27:07.481Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-18T21:27:07.820Z] + git tag --points-at HEAD [Pipeline] } [2022-10-18T21:27:07.841Z] $ docker exec --env ******** --env ******** f9d4019be3473d1d75df20742c55e09d35132b4ff88213257994203f86a7c40b ssh-agent -k [2022-10-18T21:27:07.933Z] unset SSH_AUTH_SOCK; [2022-10-18T21:27:07.934Z] unset SSH_AGENT_PID; [2022-10-18T21:27:07.934Z] echo Agent pid 40 killed; [2022-10-18T21:27:07.950Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-18T21:27:08.039Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-18T21:27:08.039Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-18T21:27:08.155Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-18T21:27:08.151Z] $ docker exec f9d4019be3473d1d75df20742c55e09d35132b4ff88213257994203f86a7c40b ssh-agent [2022-10-18T21:27:08.260Z] SSH_AUTH_SOCK=/tmp/ssh-chcuA56z4k1l/agent.73 [2022-10-18T21:27:08.260Z] SSH_AGENT_PID=79 [2022-10-18T21:27:08.265Z] Running ssh-add (command line suppressed) [2022-10-18T21:27:08.349Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_14461512785945068932.key (/w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_14461512785945068932.key) [2022-10-18T21:27:08.369Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-18T21:27:08.698Z] + git semver init [2022-10-18T21:27:08.958Z] 2022-10-18 21:27:08,890 [run_init] DEBUG init version:0.0.0 force:False [2022-10-18T21:27:08.958Z] 2022-10-18 21:27:08,891 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-180/.semver [2022-10-18T21:27:08.958Z] 2022-10-18 21:27:08,891 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-180/.semver [2022-10-18T21:27:08.958Z] 2022-10-18 21:27:08,892 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-180/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-180, universal_newlines=False, shell=None, istream=None) [2022-10-18T21:27:10.336Z] 2022-10-18 21:27:09,899 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-180/.git/info/exclude [2022-10-18T21:27:10.336Z] 2022-10-18 21:27:09,900 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 with force:False [2022-10-18T21:27:10.336Z] 2022-10-18 21:27:09,900 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 [2022-10-18T21:27:10.336Z] 2022-10-18 21:27:09,904 [execute] INFO git cat-file --batch-check [2022-10-18T21:27:10.336Z] 2022-10-18 21:27:09,905 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-180/.semver, universal_newlines=False, shell=None, istream=) [2022-10-18T21:27:10.336Z] 2022-10-18 21:27:09,912 [execute] INFO git cat-file --batch [2022-10-18T21:27:10.336Z] 2022-10-18 21:27:09,912 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-180/.semver, universal_newlines=False, shell=None, istream=) [2022-10-18T21:27:10.336Z] 2022-10-18 21:27:09,918 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 [2022-10-18T21:27:10.336Z] 0.0.0 [Pipeline] } [2022-10-18T21:27:10.355Z] $ docker exec --env ******** --env ******** f9d4019be3473d1d75df20742c55e09d35132b4ff88213257994203f86a7c40b ssh-agent -k [2022-10-18T21:27:10.450Z] unset SSH_AUTH_SOCK; [2022-10-18T21:27:10.451Z] unset SSH_AGENT_PID; [2022-10-18T21:27:10.451Z] echo Agent pid 79 killed; [2022-10-18T21:27:10.467Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-18T21:27:10.898Z] + git semver [Pipeline] } [2022-10-18T21:27:11.173Z] $ docker stop --time=1 f9d4019be3473d1d75df20742c55e09d35132b4ff88213257994203f86a7c40b [2022-10-18T21:27:12.518Z] $ docker rm -f f9d4019be3473d1d75df20742c55e09d35132b4ff88213257994203f86a7c40b [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-18T21:27:12.920Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-18T21:27:13.144Z] Stashed 1 file(s) [Pipeline] echo [2022-10-18T21:27:13.160Z] [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-18T21:27:13.717Z] provisioning config files... [2022-10-18T21:27:13.728Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config10729170730796791905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-18T21:27:14.070Z] ---> docker-login.sh [2022-10-18T21:27:14.070Z] nexus3.edgexfoundry.org:10001 [2022-10-18T21:27:14.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T21:27:14.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T21:27:14.070Z] Configure a credential helper to remove this warning. See [2022-10-18T21:27:14.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T21:27:14.070Z] [2022-10-18T21:27:14.070Z] Login Succeeded [2022-10-18T21:27:14.070Z] nexus3.edgexfoundry.org:10002 [2022-10-18T21:27:14.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T21:27:14.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T21:27:14.070Z] Configure a credential helper to remove this warning. See [2022-10-18T21:27:14.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T21:27:14.070Z] [2022-10-18T21:27:14.070Z] Login Succeeded [2022-10-18T21:27:14.070Z] nexus3.edgexfoundry.org:10003 [2022-10-18T21:27:14.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T21:27:14.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T21:27:14.333Z] Configure a credential helper to remove this warning. See [2022-10-18T21:27:14.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T21:27:14.333Z] [2022-10-18T21:27:14.333Z] Login Succeeded [2022-10-18T21:27:14.333Z] nexus3.edgexfoundry.org:10004 [2022-10-18T21:27:14.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T21:27:14.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T21:27:14.333Z] Configure a credential helper to remove this warning. See [2022-10-18T21:27:14.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T21:27:14.333Z] [2022-10-18T21:27:14.333Z] Login Succeeded [2022-10-18T21:27:14.333Z] docker.io [2022-10-18T21:27:14.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T21:27:14.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T21:27:14.904Z] Configure a credential helper to remove this warning. See [2022-10-18T21:27:14.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T21:27:14.904Z] [2022-10-18T21:27:14.904Z] Login Succeeded [2022-10-18T21:27:14.904Z] ---> docker-login.sh ends [Pipeline] } [2022-10-18T21:27:14.935Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-18T21:27:15.131Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-18T21:27:15.161Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-18T21:27:15.190Z] ========================================================= [2022-10-18T21:27:15.190Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-18T21:27:15.190Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T21:27:15.646Z] + 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-18T21:27:15.646Z] Sending build context to Docker daemon 28.38MB [2022-10-18T21:27:15.646Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-18T21:27:15.646Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-18T21:27:15.906Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-18T21:27:15.906Z] 213ec9aee27d: Pulling fs layer [2022-10-18T21:27:15.906Z] 4583459ba037: Pulling fs layer [2022-10-18T21:27:15.906Z] 93c1e223e6f2: Pulling fs layer [2022-10-18T21:27:15.906Z] 53926ce57604: Pulling fs layer [2022-10-18T21:27:15.906Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-18T21:27:15.906Z] 30f14e443154: Pulling fs layer [2022-10-18T21:27:15.906Z] 801331c1e519: Pulling fs layer [2022-10-18T21:27:15.906Z] 99cc6dd402b0: Pulling fs layer [2022-10-18T21:27:15.906Z] 7d9ed39f4882: Pulling fs layer [2022-10-18T21:27:15.906Z] 53926ce57604: Waiting [2022-10-18T21:27:15.906Z] 21b2b0c7a3f4: Waiting [2022-10-18T21:27:15.906Z] 30f14e443154: Waiting [2022-10-18T21:27:15.906Z] 801331c1e519: Waiting [2022-10-18T21:27:15.906Z] 99cc6dd402b0: Waiting [2022-10-18T21:27:15.906Z] 7d9ed39f4882: Waiting [2022-10-18T21:27:15.906Z] 93c1e223e6f2: Verifying Checksum [2022-10-18T21:27:15.906Z] 93c1e223e6f2: Download complete [2022-10-18T21:27:15.906Z] 4583459ba037: Verifying Checksum [2022-10-18T21:27:15.906Z] 4583459ba037: Download complete [2022-10-18T21:27:15.906Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-18T21:27:15.906Z] 21b2b0c7a3f4: Download complete [2022-10-18T21:27:15.906Z] 30f14e443154: Verifying Checksum [2022-10-18T21:27:15.906Z] 30f14e443154: Download complete [2022-10-18T21:27:15.906Z] 213ec9aee27d: Verifying Checksum [2022-10-18T21:27:15.906Z] 213ec9aee27d: Download complete [2022-10-18T21:27:15.906Z] 801331c1e519: Download complete [2022-10-18T21:27:15.906Z] 213ec9aee27d: Pull complete [2022-10-18T21:27:16.165Z] 4583459ba037: Pull complete [2022-10-18T21:27:16.165Z] 93c1e223e6f2: Pull complete [2022-10-18T21:27:16.425Z] 7d9ed39f4882: Verifying Checksum [2022-10-18T21:27:16.425Z] 7d9ed39f4882: Download complete [2022-10-18T21:27:16.683Z] 99cc6dd402b0: Download complete [2022-10-18T21:27:16.942Z] 53926ce57604: Verifying Checksum [2022-10-18T21:27:16.942Z] 53926ce57604: Download complete [2022-10-18T21:27:20.223Z] 53926ce57604: Pull complete [2022-10-18T21:27:20.223Z] 21b2b0c7a3f4: Pull complete [2022-10-18T21:27:20.223Z] 30f14e443154: Pull complete [2022-10-18T21:27:20.223Z] 801331c1e519: Pull complete [2022-10-18T21:27:22.124Z] 99cc6dd402b0: Pull complete [2022-10-18T21:27:23.059Z] 7d9ed39f4882: Pull complete [2022-10-18T21:27:23.059Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-18T21:27:23.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-18T21:27:23.059Z] ---> 1dedd983c030 [2022-10-18T21:27:23.059Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-18T21:27:24.964Z] ---> Running in a142ccf45e7f [2022-10-18T21:27:24.964Z] Removing intermediate container a142ccf45e7f [2022-10-18T21:27:24.964Z] ---> 0496e8c42baf [2022-10-18T21:27:24.964Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-18T21:27:24.964Z] ---> Running in 12ea59189cfa [2022-10-18T21:27:24.964Z] Removing intermediate container 12ea59189cfa [2022-10-18T21:27:24.964Z] ---> 102aa90e790b [2022-10-18T21:27:24.964Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-18T21:27:25.223Z] ---> Running in ae1f011e0975 [2022-10-18T21:27:25.223Z] Removing intermediate container ae1f011e0975 [2022-10-18T21:27:25.223Z] ---> e28f2ab9a147 [2022-10-18T21:27:25.223Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-18T21:27:25.223Z] ---> Running in 9fbd15beafac [2022-10-18T21:27:25.223Z] Removing intermediate container 9fbd15beafac [2022-10-18T21:27:25.223Z] ---> 0de79a6e720c [2022-10-18T21:27:25.223Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-18T21:27:25.483Z] ---> Running in 3b1bf02ff517 [2022-10-18T21:27:25.483Z] Removing intermediate container 3b1bf02ff517 [2022-10-18T21:27:25.483Z] ---> 1ac7ab79e4ed [2022-10-18T21:27:25.483Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-18T21:27:25.483Z] ---> Running in 16283a352a1e [2022-10-18T21:27:26.052Z] Removing intermediate container 16283a352a1e [2022-10-18T21:27:26.052Z] ---> 0881fcbb0300 [2022-10-18T21:27:26.052Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-18T21:27:26.052Z] ---> Running in 99a8320c3446 [2022-10-18T21:27:26.311Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-18T21:27:27.246Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-18T21:27:27.503Z] OK: 211 MiB in 51 packages [2022-10-18T21:27:27.776Z] Removing intermediate container 99a8320c3446 [2022-10-18T21:27:27.776Z] ---> 09a65ade8259 [2022-10-18T21:27:27.776Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-18T21:27:28.047Z] ---> Running in eedeb5f1749c [2022-10-18T21:27:28.047Z] Removing intermediate container eedeb5f1749c [2022-10-18T21:27:28.047Z] ---> 2251a17924b8 [2022-10-18T21:27:28.047Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-18T21:27:28.047Z] ---> 07a12df49e71 [2022-10-18T21:27:28.047Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-18T21:27:28.309Z] ---> Running in e8fe2b730f31 [2022-10-18T21:27:28.546Z] Still waiting to schedule task [2022-10-18T21:27:28.547Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8494’ is offline [2022-10-18T21:27:46.403Z] Removing intermediate container e8fe2b730f31 [2022-10-18T21:27:46.403Z] ---> fc2a1973fefa [2022-10-18T21:27:46.403Z] Step 13/14 : COPY . . [2022-10-18T21:27:46.969Z] ---> 67cf874853d3 [2022-10-18T21:27:46.969Z] Step 14/14 : RUN ${MAKE} [2022-10-18T21:27:46.969Z] ---> Running in fe09d321967f [2022-10-18T21:27:47.227Z] noop [2022-10-18T21:27:47.483Z] Removing intermediate container fe09d321967f [2022-10-18T21:27:47.483Z] ---> 98e6077631d2 [2022-10-18T21:27:47.740Z] Successfully built 98e6077631d2 [2022-10-18T21:27:47.740Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T21:27:48.189Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-18T21:27:48.189Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T21:27:48.329Z] prd-ubuntu20.04-docker-8c-8g-8496 does not seem to be running inside a container [2022-10-18T21:27:48.354Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-18T21:27:48.739Z] $ docker top 2c6435e2d028e744d0d2790990a7e39e1a8dbbaadc7e5f3d07f70ec623750c09 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-18T21:27:49.134Z] + go version [2022-10-18T21:27:49.134Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-18T21:27:49.165Z] $ docker stop --time=1 2c6435e2d028e744d0d2790990a7e39e1a8dbbaadc7e5f3d07f70ec623750c09 [2022-10-18T21:27:50.447Z] $ docker rm -f 2c6435e2d028e744d0d2790990a7e39e1a8dbbaadc7e5f3d07f70ec623750c09 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T21:27:51.148Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-18T21:27:51.148Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T21:27:51.286Z] prd-ubuntu20.04-docker-8c-8g-8496 does not seem to be running inside a container [2022-10-18T21:27:51.316Z] $ 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-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-18T21:27:51.688Z] $ docker top d82006125491d3163797299c24f82279a7d07adbec6615be2992558a681b9b1c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-18T21:27:52.081Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] fileExists [Pipeline] sh [2022-10-18T21:27:52.435Z] + make test [2022-10-18T21:27:52.435Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-18T21:27:53.002Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-18T21:28:02.967Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-18T21:28:04.342Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.2% of statements [2022-10-18T21:28:04.342Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-18T21:28:04.342Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.405s coverage: 86.5% of statements [2022-10-18T21:28:10.897Z] 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-18T21:28:10.897Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-18T21:28:15.087Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-18T21:28:15.087Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-18T21:28:15.087Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-18T21:28:15.124Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-18T21:28:15.153Z] $ docker stop --time=1 d82006125491d3163797299c24f82279a7d07adbec6615be2992558a681b9b1c [2022-10-18T21:28:17.044Z] $ docker rm -f d82006125491d3163797299c24f82279a7d07adbec6615be2992558a681b9b1c [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-18T21:28:17.551Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-18T21:28:17.640Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-18T21:28:18.321Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-18T21:28:18.632Z] + ls -al . [2022-10-18T21:28:18.632Z] total 236 [2022-10-18T21:28:18.632Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 21:27 . [2022-10-18T21:28:18.632Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 21:26 .. [2022-10-18T21:28:18.633Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 21:28 .git [2022-10-18T21:28:18.633Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 21:26 .github [2022-10-18T21:28:18.633Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 18 21:26 .gitignore [2022-10-18T21:28:18.633Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 18 21:26 .golangci.yml [2022-10-18T21:28:18.633Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 21:27 .semver [2022-10-18T21:28:18.633Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 18 21:26 Attribution.txt [2022-10-18T21:28:18.633Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 18 21:26 CHANGELOG.md [2022-10-18T21:28:18.633Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 18 21:26 Dockerfile [2022-10-18T21:28:18.633Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 21:26 GOVERNANCE.md [2022-10-18T21:28:18.633Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 18 21:26 Jenkinsfile [2022-10-18T21:28:18.633Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 18 21:26 LICENSE [2022-10-18T21:28:18.633Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 18 21:26 Makefile [2022-10-18T21:28:18.633Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 18 21:26 OWNERS.md [2022-10-18T21:28:18.633Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 18 21:26 README.md [2022-10-18T21:28:18.633Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 21:27 VERSION [2022-10-18T21:28:18.633Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 21:26 bin [2022-10-18T21:28:18.633Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 21:26 cmd [2022-10-18T21:28:18.633Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 18 21:28 coverage.out [2022-10-18T21:28:18.633Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 18 21:26 doc [2022-10-18T21:28:18.633Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 18 21:26 go.mod [2022-10-18T21:28:18.633Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 18 21:26 go.sum [2022-10-18T21:28:18.633Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 21:26 internal [2022-10-18T21:28:18.633Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 21:26 snap [2022-10-18T21:28:18.633Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 18 21:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T21:28:19.023Z] + 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=3cb33cdf5438b92aa5f3efd3ec84d2543962f520 --label arch=amd64 --label version=0.0.0 . [2022-10-18T21:28:19.024Z] Sending build context to Docker daemon 28.45MB [2022-10-18T21:28:19.024Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-18T21:28:19.024Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-18T21:28:19.024Z] ---> 98e6077631d2 [2022-10-18T21:28:19.024Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-18T21:28:19.282Z] ---> Running in fbe0050b4036 [2022-10-18T21:28:19.542Z] Removing intermediate container fbe0050b4036 [2022-10-18T21:28:19.542Z] ---> 42190472fa3f [2022-10-18T21:28:19.542Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-18T21:28:19.542Z] ---> Running in 5f9d5fd939a1 [2022-10-18T21:28:19.542Z] Removing intermediate container 5f9d5fd939a1 [2022-10-18T21:28:19.542Z] ---> ab1591aedac9 [2022-10-18T21:28:19.542Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-18T21:28:19.542Z] ---> Running in f124ec5cd351 [2022-10-18T21:28:19.802Z] Removing intermediate container f124ec5cd351 [2022-10-18T21:28:19.802Z] ---> e1f4443ff929 [2022-10-18T21:28:19.802Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-18T21:28:19.802Z] ---> Running in 678718a44166 [2022-10-18T21:28:19.802Z] Removing intermediate container 678718a44166 [2022-10-18T21:28:19.802Z] ---> 523a30ea4d6f [2022-10-18T21:28:19.802Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-18T21:28:19.802Z] ---> Running in 53305d6a3884 [2022-10-18T21:28:20.062Z] Removing intermediate container 53305d6a3884 [2022-10-18T21:28:20.062Z] ---> d7d267cd2f73 [2022-10-18T21:28:20.062Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-18T21:28:20.062Z] ---> Running in 85bf74467c24 [2022-10-18T21:28:20.630Z] Removing intermediate container 85bf74467c24 [2022-10-18T21:28:20.630Z] ---> f4e77763c77d [2022-10-18T21:28:20.630Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-18T21:28:20.630Z] ---> Running in ca016d5e39c6 [2022-10-18T21:28:20.889Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-18T21:28:21.825Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-18T21:28:22.083Z] OK: 211 MiB in 51 packages [2022-10-18T21:28:22.649Z] Removing intermediate container ca016d5e39c6 [2022-10-18T21:28:22.649Z] ---> fd30b319c497 [2022-10-18T21:28:22.649Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-18T21:28:22.649Z] ---> Running in f22010b8cf50 [2022-10-18T21:28:22.649Z] Removing intermediate container f22010b8cf50 [2022-10-18T21:28:22.649Z] ---> b4c54144cced [2022-10-18T21:28:22.649Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-18T21:28:22.649Z] ---> a47776e4cc00 [2022-10-18T21:28:22.649Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-18T21:28:22.908Z] ---> Running in eade9854c32b [2022-10-18T21:28:23.475Z] Removing intermediate container eade9854c32b [2022-10-18T21:28:23.475Z] ---> 6ff0bbd23ac2 [2022-10-18T21:28:23.475Z] Step 13/27 : COPY . . [2022-10-18T21:28:24.043Z] ---> d37433a43048 [2022-10-18T21:28:24.043Z] Step 14/27 : RUN ${MAKE} [2022-10-18T21:28:24.302Z] ---> Running in 4dfda397c5ae [2022-10-18T21:28:24.561Z] 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-18T21:28:46.484Z] Removing intermediate container 4dfda397c5ae [2022-10-18T21:28:46.484Z] ---> 1433de2321a4 [2022-10-18T21:28:46.484Z] Step 15/27 : FROM alpine:3.16 [2022-10-18T21:28:46.484Z] 3.16: Pulling from library/alpine [2022-10-18T21:28:46.484Z] 213ec9aee27d: Already exists [2022-10-18T21:28:46.484Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-18T21:28:46.484Z] Status: Downloaded newer image for alpine:3.16 [2022-10-18T21:28:46.484Z] ---> 9c6f07244728 [2022-10-18T21:28:46.484Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-18T21:28:46.484Z] ---> Running in 679d1455505d [2022-10-18T21:28:46.484Z] Removing intermediate container 679d1455505d [2022-10-18T21:28:46.484Z] ---> 0ba13d19bd4b [2022-10-18T21:28:46.484Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-18T21:28:46.484Z] ---> Running in 1516dd0bc31a [2022-10-18T21:28:46.484Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-18T21:28:46.484Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-18T21:28:46.484Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-18T21:28:46.484Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-18T21:28:46.484Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-18T21:28:46.484Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-18T21:28:46.484Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-18T21:28:46.484Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-18T21:28:46.484Z] Executing busybox-1.35.0-r17.trigger [2022-10-18T21:28:46.484Z] OK: 8 MiB in 20 packages [2022-10-18T21:28:46.742Z] Removing intermediate container 1516dd0bc31a [2022-10-18T21:28:46.742Z] ---> 0740185217bd [2022-10-18T21:28:46.742Z] Step 18/27 : WORKDIR / [2022-10-18T21:28:46.742Z] ---> Running in 0127001a0a73 [2022-10-18T21:28:46.742Z] Removing intermediate container 0127001a0a73 [2022-10-18T21:28:46.742Z] ---> 4da31f9869aa [2022-10-18T21:28:46.742Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-18T21:28:47.308Z] ---> 14714efc3285 [2022-10-18T21:28:47.308Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-18T21:28:47.569Z] ---> 7813bc26cbc6 [2022-10-18T21:28:47.569Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-18T21:28:47.569Z] ---> 2cb553876c81 [2022-10-18T21:28:47.569Z] Step 22/27 : EXPOSE 59984 [2022-10-18T21:28:47.569Z] ---> Running in 4a19f338f529 [2022-10-18T21:28:47.830Z] Removing intermediate container 4a19f338f529 [2022-10-18T21:28:47.830Z] ---> 22904630d00f [2022-10-18T21:28:47.830Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-18T21:28:47.830Z] ---> Running in 50bb7f79e0d3 [2022-10-18T21:28:47.830Z] Removing intermediate container 50bb7f79e0d3 [2022-10-18T21:28:47.830Z] ---> ee18a812fb1c [2022-10-18T21:28:47.830Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-18T21:28:47.830Z] ---> Running in e1e7f6c46dd7 [2022-10-18T21:28:48.088Z] Removing intermediate container e1e7f6c46dd7 [2022-10-18T21:28:48.088Z] ---> 7ed736cd5713 [2022-10-18T21:28:48.088Z] Step 25/27 : LABEL arch=amd64 [2022-10-18T21:28:48.088Z] ---> Running in d53be4b8f33d [2022-10-18T21:28:48.088Z] Removing intermediate container d53be4b8f33d [2022-10-18T21:28:48.088Z] ---> 1fb55d653ff5 [2022-10-18T21:28:48.088Z] Step 26/27 : LABEL git_sha=3cb33cdf5438b92aa5f3efd3ec84d2543962f520 [2022-10-18T21:28:48.088Z] ---> Running in 6377a30fab7a [2022-10-18T21:28:48.346Z] Removing intermediate container 6377a30fab7a [2022-10-18T21:28:48.346Z] ---> b4dbeb50f675 [2022-10-18T21:28:48.346Z] Step 27/27 : LABEL version=0.0.0 [2022-10-18T21:28:48.346Z] ---> Running in 112ab0afb39e [2022-10-18T21:28:48.346Z] Removing intermediate container 112ab0afb39e [2022-10-18T21:28:48.346Z] ---> 483629fbe659 [2022-10-18T21:28:48.346Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-18T21:28:48.346Z] Successfully built 483629fbe659 [2022-10-18T21:28:48.346Z] 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-18T21:28:49.181Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-18T21:28:49.181Z] [2022-10-18T21:28:49.181Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T21:28:49.547Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-18T21:28:49.547Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-18T21:28:49.547Z] 5eb5b503b376: Pulling fs layer [2022-10-18T21:28:49.547Z] 5c69ac0246d0: Pulling fs layer [2022-10-18T21:28:49.547Z] ec43610c2a17: Pulling fs layer [2022-10-18T21:28:49.547Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-18T21:28:49.547Z] 33b1e0a273af: Pulling fs layer [2022-10-18T21:28:49.547Z] 5d3b04190fa2: Pulling fs layer [2022-10-18T21:28:49.547Z] 2f39f015ded8: Pulling fs layer [2022-10-18T21:28:49.547Z] 33b1e0a273af: Waiting [2022-10-18T21:28:49.547Z] 5d3b04190fa2: Waiting [2022-10-18T21:28:49.547Z] 2f39f015ded8: Waiting [2022-10-18T21:28:49.547Z] 3a2ae6a8a46f: Waiting [2022-10-18T21:28:49.547Z] 5c69ac0246d0: Verifying Checksum [2022-10-18T21:28:49.547Z] 5c69ac0246d0: Download complete [2022-10-18T21:28:49.547Z] 3a2ae6a8a46f: Download complete [2022-10-18T21:28:49.547Z] 33b1e0a273af: Verifying Checksum [2022-10-18T21:28:49.547Z] 33b1e0a273af: Download complete [2022-10-18T21:28:49.547Z] 5d3b04190fa2: Verifying Checksum [2022-10-18T21:28:49.806Z] ec43610c2a17: Verifying Checksum [2022-10-18T21:28:49.806Z] ec43610c2a17: Download complete [2022-10-18T21:28:49.806Z] 5eb5b503b376: Verifying Checksum [2022-10-18T21:28:49.806Z] 5eb5b503b376: Download complete [2022-10-18T21:28:50.372Z] 2f39f015ded8: Download complete [2022-10-18T21:28:50.936Z] 5eb5b503b376: Pull complete [2022-10-18T21:28:51.194Z] 5c69ac0246d0: Pull complete [2022-10-18T21:28:51.455Z] ec43610c2a17: Pull complete [2022-10-18T21:28:51.455Z] 3a2ae6a8a46f: Pull complete [2022-10-18T21:28:51.506Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8497 in /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] { [Pipeline] ws [2022-10-18T21:28:51.545Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-10-18T21:28:51.619Z] The recommended git tool is: git [2022-10-18T21:28:51.714Z] 33b1e0a273af: Pull complete [2022-10-18T21:28:51.714Z] 5d3b04190fa2: Pull complete [2022-10-18T21:28:55.892Z] 2f39f015ded8: Pull complete [2022-10-18T21:28:55.892Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-18T21:28:55.892Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-18T21:28:55.892Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T21:28:56.094Z] prd-ubuntu20.04-docker-8c-8g-8496 does not seem to be running inside a container [2022-10-18T21:28:56.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-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-18T21:28:56.838Z] using credential edgex-jenkins-ssh [2022-10-18T21:28:56.864Z] Cloning the remote Git repository [2022-10-18T21:28:56.908Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-18T21:28:56.985Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-10-18T21:28:57.136Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-18T21:28:57.138Z] > git --version # timeout=10 [2022-10-18T21:28:57.158Z] > git --version # 'git version 2.25.1' [2022-10-18T21:28:57.160Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-18T21:28:57.209Z] Verifying host key using known hosts file [2022-10-18T21:28:57.411Z] 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-18T21:28:57.424Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-18T21:28:58.082Z] $ docker top 30961c67301bed249e31d426a5eb4fe814f55ee3b1bd2d1b7e892a30aa2541d6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-18T21:28:58.516Z] ---> job-cost.sh [2022-10-18T21:28:58.517Z] lf-activate-venv: SKIPPING [2022-10-18T21:28:58.517Z] INFO: No Stack... [2022-10-18T21:28:58.775Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-18T21:28:58.719Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-18T21:28:58.739Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-18T21:28:59.341Z] INFO: Archiving Costs [Pipeline] sh [2022-10-18T21:28:59.653Z] + cat /w/workspace/undry_device-onvif-camera_PR-180/archives/cost.csv [2022-10-18T21:28:59.653Z] + cut -d, -f6 [Pipeline] lock [2022-10-18T21:28:59.694Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-1-stack-cost] [2022-10-18T21:28:59.699Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-1-stack-cost] did not exist. Created. [2022-10-18T21:28:59.699Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-18T21:29:00.095Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-18T21:29:00.141Z] Stashed 1 file(s) [Pipeline] } [2022-10-18T21:29:00.170Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-18T21:29:00.246Z] $ docker stop --time=1 30961c67301bed249e31d426a5eb4fe814f55ee3b1bd2d1b7e892a30aa2541d6 [2022-10-18T21:28:59.566Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-18T21:28:59.610Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-18T21:28:59.611Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-18T21:28:59.616Z] Verifying host key using known hosts file [2022-10-18T21:28:59.623Z] 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-18T21:28:59.636Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/180/head:refs/remotes/origin/PR-180 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-18T21:29:00.865Z] Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit 3cb33cdf5438b92aa5f3efd3ec84d2543962f520 [2022-10-18T21:29:01.315Z] Merge succeeded, producing 3cb33cdf5438b92aa5f3efd3ec84d2543962f520 [2022-10-18T21:29:01.316Z] Checking out Revision 3cb33cdf5438b92aa5f3efd3ec84d2543962f520 (PR-180) [2022-10-18T21:29:01.410Z] $ docker rm -f 30961c67301bed249e31d426a5eb4fe814f55ee3b1bd2d1b7e892a30aa2541d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-18T21:29:00.880Z] > git config core.sparsecheckout # timeout=10 [2022-10-18T21:29:00.913Z] > git checkout -f 3cb33cdf5438b92aa5f3efd3ec84d2543962f520 # timeout=10 [2022-10-18T21:29:01.203Z] > git remote # timeout=10 [2022-10-18T21:29:01.221Z] > git config --get remote.origin.url # timeout=10 [2022-10-18T21:29:01.240Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-18T21:29:01.246Z] Verifying host key using known hosts file [2022-10-18T21:29:01.250Z] 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-18T21:29:01.259Z] > git merge c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 [2022-10-18T21:29:01.284Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-18T21:29:01.326Z] > git config core.sparsecheckout # timeout=10 [2022-10-18T21:29:01.367Z] > git checkout -f 3cb33cdf5438b92aa5f3efd3ec84d2543962f520 # timeout=10 [2022-10-18T21:29:05.080Z] Commit message: "docs: cleanup swagger generation code" [2022-10-18T21:29:05.122Z] > git --version # timeout=10 [2022-10-18T21:29:05.136Z] > git --version # 'git version 2.25.1' [2022-10-18T21:29:05.158Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-18T21:29:06.293Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-18T21:29:06.293Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-18T21:29:06.293Z] Dload Upload Total Spent Left Speed [2022-10-18T21:29:06.293Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 99228 0 --:--:-- --:--:-- --:--:-- 99228 [Pipeline] sh [2022-10-18T21:29:07.040Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-18T21:29:07.386Z] + sudo tee /etc/docker/daemon.new [2022-10-18T21:29:07.386Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-18T21:29:07.386Z] { [2022-10-18T21:29:07.386Z] "registry-mirrors": [ [2022-10-18T21:29:07.386Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-18T21:29:07.386Z] ], [2022-10-18T21:29:07.386Z] "bip": "10.250.0.254/24", [2022-10-18T21:29:07.386Z] "hosts": [ [2022-10-18T21:29:07.386Z] "tcp://0.0.0.0:5555", [2022-10-18T21:29:07.386Z] "unix:///var/run/docker.sock" [2022-10-18T21:29:07.386Z] ], [2022-10-18T21:29:07.386Z] "mtu": 1458, [2022-10-18T21:29:07.386Z] "selinux-enabled": true, [2022-10-18T21:29:07.386Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-18T21:29:07.386Z] } [Pipeline] sh [2022-10-18T21:29:07.733Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-18T21:29:08.088Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-18T21:29:26.420Z] provisioning config files... [2022-10-18T21:29:26.445Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config12005699086046196524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-18T21:29:26.829Z] ---> docker-login.sh [2022-10-18T21:29:26.829Z] nexus3.edgexfoundry.org:10001 [2022-10-18T21:29:27.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T21:29:27.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T21:29:27.365Z] Configure a credential helper to remove this warning. See [2022-10-18T21:29:27.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T21:29:27.365Z] [2022-10-18T21:29:27.365Z] Login Succeeded [2022-10-18T21:29:27.365Z] nexus3.edgexfoundry.org:10002 [2022-10-18T21:29:27.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T21:29:27.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T21:29:27.635Z] Configure a credential helper to remove this warning. See [2022-10-18T21:29:27.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T21:29:27.635Z] [2022-10-18T21:29:27.635Z] Login Succeeded [2022-10-18T21:29:27.635Z] nexus3.edgexfoundry.org:10003 [2022-10-18T21:29:27.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T21:29:28.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T21:29:28.173Z] Configure a credential helper to remove this warning. See [2022-10-18T21:29:28.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T21:29:28.173Z] [2022-10-18T21:29:28.173Z] Login Succeeded [2022-10-18T21:29:28.173Z] nexus3.edgexfoundry.org:10004 [2022-10-18T21:29:28.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T21:29:28.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T21:29:28.443Z] Configure a credential helper to remove this warning. See [2022-10-18T21:29:28.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T21:29:28.443Z] [2022-10-18T21:29:28.443Z] Login Succeeded [2022-10-18T21:29:28.443Z] docker.io [2022-10-18T21:29:28.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T21:29:28.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T21:29:28.978Z] Configure a credential helper to remove this warning. See [2022-10-18T21:29:28.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T21:29:28.978Z] [2022-10-18T21:29:28.978Z] Login Succeeded [2022-10-18T21:29:28.978Z] ---> docker-login.sh ends [Pipeline] } [2022-10-18T21:29:29.007Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-18T21:29:29.270Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-18T21:29:29.299Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-18T21:29:29.325Z] ========================================================= [2022-10-18T21:29:29.325Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-18T21:29:29.325Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T21:29:29.809Z] + 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-18T21:29:30.396Z] Sending build context to Docker daemon 21.74MB [2022-10-18T21:29:30.396Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-18T21:29:30.396Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-18T21:29:30.396Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-18T21:29:30.396Z] 9b18e9b68314: Pulling fs layer [2022-10-18T21:29:30.396Z] d32db5db7311: Pulling fs layer [2022-10-18T21:29:30.396Z] d0c4b47475fc: Pulling fs layer [2022-10-18T21:29:30.396Z] 5831b945b038: Pulling fs layer [2022-10-18T21:29:30.396Z] 86bbec2aaacd: Pulling fs layer [2022-10-18T21:29:30.396Z] e10730c5d714: Pulling fs layer [2022-10-18T21:29:30.396Z] 5dd5c2283517: Pulling fs layer [2022-10-18T21:29:30.396Z] d5ac0230b979: Pulling fs layer [2022-10-18T21:29:30.396Z] 5831b945b038: Waiting [2022-10-18T21:29:30.396Z] 86bbec2aaacd: Waiting [2022-10-18T21:29:30.396Z] e10730c5d714: Waiting [2022-10-18T21:29:30.396Z] d5ac0230b979: Waiting [2022-10-18T21:29:30.396Z] 5dd5c2283517: Waiting [2022-10-18T21:29:30.396Z] d0c4b47475fc: Verifying Checksum [2022-10-18T21:29:30.396Z] d0c4b47475fc: Download complete [2022-10-18T21:29:30.396Z] d32db5db7311: Verifying Checksum [2022-10-18T21:29:30.396Z] d32db5db7311: Download complete [2022-10-18T21:29:30.664Z] 86bbec2aaacd: Verifying Checksum [2022-10-18T21:29:30.664Z] 86bbec2aaacd: Download complete [2022-10-18T21:29:30.664Z] e10730c5d714: Verifying Checksum [2022-10-18T21:29:30.664Z] e10730c5d714: Download complete [2022-10-18T21:29:30.664Z] 9b18e9b68314: Verifying Checksum [2022-10-18T21:29:30.664Z] 9b18e9b68314: Download complete [2022-10-18T21:29:31.253Z] 9b18e9b68314: Pull complete [2022-10-18T21:29:31.523Z] d5ac0230b979: Verifying Checksum [2022-10-18T21:29:31.523Z] d5ac0230b979: Download complete [2022-10-18T21:29:32.487Z] 5dd5c2283517: Download complete [2022-10-18T21:29:33.072Z] 5831b945b038: Verifying Checksum [2022-10-18T21:29:33.072Z] 5831b945b038: Download complete [2022-10-18T21:29:33.339Z] d32db5db7311: Pull complete [2022-10-18T21:29:33.339Z] d0c4b47475fc: Pull complete [2022-10-18T21:29:45.699Z] 5831b945b038: Pull complete [2022-10-18T21:29:45.699Z] 86bbec2aaacd: Pull complete [2022-10-18T21:29:45.968Z] e10730c5d714: Pull complete [2022-10-18T21:29:52.649Z] 5dd5c2283517: Pull complete [2022-10-18T21:29:54.075Z] d5ac0230b979: Pull complete [2022-10-18T21:29:54.075Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-18T21:29:54.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-18T21:29:54.075Z] ---> 59b3b1a385d4 [2022-10-18T21:29:54.075Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-18T21:29:56.018Z] ---> Running in b30ca379c6ca [2022-10-18T21:29:56.018Z] Removing intermediate container b30ca379c6ca [2022-10-18T21:29:56.018Z] ---> d682a53cc213 [2022-10-18T21:29:56.018Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-18T21:29:56.018Z] ---> Running in f6172bf74981 [2022-10-18T21:29:56.286Z] Removing intermediate container f6172bf74981 [2022-10-18T21:29:56.286Z] ---> 9d464befe056 [2022-10-18T21:29:56.286Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-18T21:29:56.555Z] ---> Running in a45b4445e8df [2022-10-18T21:29:56.824Z] Removing intermediate container a45b4445e8df [2022-10-18T21:29:56.824Z] ---> f9d12fb66b2c [2022-10-18T21:29:56.824Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-18T21:29:56.824Z] ---> Running in 21d20791b179 [2022-10-18T21:29:57.091Z] Removing intermediate container 21d20791b179 [2022-10-18T21:29:57.091Z] ---> 2580ab3c65d6 [2022-10-18T21:29:57.091Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-18T21:29:57.091Z] ---> Running in 6b3d7192ae54 [2022-10-18T21:29:57.364Z] Removing intermediate container 6b3d7192ae54 [2022-10-18T21:29:57.364Z] ---> bec5bff0b2c1 [2022-10-18T21:29:57.364Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-18T21:29:57.631Z] ---> Running in 7d971468bc24 [2022-10-18T21:29:59.595Z] Removing intermediate container 7d971468bc24 [2022-10-18T21:29:59.595Z] ---> 57f2a8d0ab83 [2022-10-18T21:29:59.595Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-18T21:29:59.595Z] ---> Running in dfb7d78c08b2 [2022-10-18T21:30:00.184Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-18T21:30:01.144Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-18T21:30:02.108Z] OK: 221 MiB in 51 packages [2022-10-18T21:30:02.696Z] Removing intermediate container dfb7d78c08b2 [2022-10-18T21:30:02.696Z] ---> 050f16deee29 [2022-10-18T21:30:02.696Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-18T21:30:02.696Z] ---> Running in 949a24d4cb2a [2022-10-18T21:30:02.962Z] Removing intermediate container 949a24d4cb2a [2022-10-18T21:30:02.962Z] ---> df21372c19af [2022-10-18T21:30:03.229Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-18T21:30:03.499Z] ---> b7393bfb162e [2022-10-18T21:30:03.499Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-18T21:30:03.767Z] ---> Running in f3d9a9f418bf [2022-10-18T21:31:00.207Z] Removing intermediate container f3d9a9f418bf [2022-10-18T21:31:00.207Z] ---> 52709056bc97 [2022-10-18T21:31:00.207Z] Step 13/14 : COPY . . [2022-10-18T21:31:00.207Z] ---> 12179682defc [2022-10-18T21:31:00.207Z] Step 14/14 : RUN ${MAKE} [2022-10-18T21:31:00.207Z] ---> Running in 7b65dbff60c1 [2022-10-18T21:31:00.207Z] noop [2022-10-18T21:31:00.207Z] Removing intermediate container 7b65dbff60c1 [2022-10-18T21:31:00.207Z] ---> 47a26c62818a [2022-10-18T21:31:00.207Z] Successfully built 47a26c62818a [2022-10-18T21:31:00.207Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T21:31:00.690Z] + docker inspect -f . ci-base-image-arm64 [2022-10-18T21:31:00.690Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T21:31:00.933Z] prd-ubuntu20.04-docker-arm64-4c-16g-8497 does not seem to be running inside a container [2022-10-18T21:31:00.992Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-18T21:31:02.161Z] $ docker top 2277b714f9f8398cd782b8670532576fa32aecda1909e01779a33668f062ed55 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-18T21:31:03.040Z] + go version [2022-10-18T21:31:03.040Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-18T21:31:03.073Z] $ docker stop --time=1 2277b714f9f8398cd782b8670532576fa32aecda1909e01779a33668f062ed55 [2022-10-18T21:31:04.688Z] $ docker rm -f 2277b714f9f8398cd782b8670532576fa32aecda1909e01779a33668f062ed55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T21:31:05.529Z] + docker inspect -f . ci-base-image-arm64 [2022-10-18T21:31:05.529Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T21:31:05.766Z] prd-ubuntu20.04-docker-arm64-4c-16g-8497 does not seem to be running inside a container [2022-10-18T21:31:05.827Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-18T21:31:07.313Z] $ docker top ce452f7aff29e062aaa3ed2d27cc8148e18a0fcf5af9537cd7baf25dd0230d4c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-18T21:31:07.860Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-10-18T21:31:08.495Z] + make test [2022-10-18T21:31:08.495Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-18T21:31:10.440Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-18T21:32:47.109Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-18T21:32:47.109Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.195s coverage: 28.2% of statements [2022-10-18T21:32:47.109Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-18T21:33:05.352Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.809s coverage: 86.5% of statements [2022-10-18T21:33:05.352Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-18T21:33:05.352Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-18T21:33:32.066Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-18T21:33:32.066Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-18T21:33:32.066Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-18T21:33:32.105Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-18T21:33:32.134Z] $ docker stop --time=1 ce452f7aff29e062aaa3ed2d27cc8148e18a0fcf5af9537cd7baf25dd0230d4c [2022-10-18T21:33:34.061Z] $ docker rm -f ce452f7aff29e062aaa3ed2d27cc8148e18a0fcf5af9537cd7baf25dd0230d4c [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-18T21:33:35.134Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-18T21:33:35.169Z] Warning: overwriting stash ‘coverage-report’ [2022-10-18T21:33:35.723Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-18T21:33:36.321Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-18T21:33:36.664Z] + ls -al . [2022-10-18T21:33:36.664Z] total 232 [2022-10-18T21:33:36.664Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 18 21:31 . [2022-10-18T21:33:36.664Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 21:28 .. [2022-10-18T21:33:36.664Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 21:29 .git [2022-10-18T21:33:36.664Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 21:29 .github [2022-10-18T21:33:36.664Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 18 21:29 .gitignore [2022-10-18T21:33:36.664Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 18 21:29 .golangci.yml [2022-10-18T21:33:36.664Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 18 21:29 Attribution.txt [2022-10-18T21:33:36.664Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 18 21:29 CHANGELOG.md [2022-10-18T21:33:36.664Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 18 21:29 Dockerfile [2022-10-18T21:33:36.664Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 21:29 GOVERNANCE.md [2022-10-18T21:33:36.664Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 18 21:29 Jenkinsfile [2022-10-18T21:33:36.664Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 18 21:29 LICENSE [2022-10-18T21:33:36.664Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 18 21:29 Makefile [2022-10-18T21:33:36.664Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 18 21:29 OWNERS.md [2022-10-18T21:33:36.664Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 18 21:29 README.md [2022-10-18T21:33:36.664Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 21:27 VERSION [2022-10-18T21:33:36.664Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 21:29 bin [2022-10-18T21:33:36.664Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 21:29 cmd [2022-10-18T21:33:36.664Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 18 21:33 coverage.out [2022-10-18T21:33:36.664Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 18 21:29 doc [2022-10-18T21:33:36.664Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 18 21:29 go.mod [2022-10-18T21:33:36.664Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 18 21:29 go.sum [2022-10-18T21:33:36.664Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 21:29 internal [2022-10-18T21:33:36.664Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 21:29 snap [2022-10-18T21:33:36.664Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 18 21:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T21:33:37.075Z] + 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=3cb33cdf5438b92aa5f3efd3ec84d2543962f520 --label arch=arm64 --label version=0.0.0 . [2022-10-18T21:33:38.043Z] Sending build context to Docker daemon 21.82MB [2022-10-18T21:33:38.043Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-18T21:33:38.043Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-18T21:33:38.043Z] ---> 47a26c62818a [2022-10-18T21:33:38.043Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-18T21:33:38.311Z] ---> Running in a2806304a733 [2022-10-18T21:33:38.589Z] Removing intermediate container a2806304a733 [2022-10-18T21:33:38.589Z] ---> 976e30c97882 [2022-10-18T21:33:38.589Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-18T21:33:38.589Z] ---> Running in 9ac3bb0b6e54 [2022-10-18T21:33:38.857Z] Removing intermediate container 9ac3bb0b6e54 [2022-10-18T21:33:38.857Z] ---> d28e8f024c08 [2022-10-18T21:33:38.857Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-18T21:33:39.126Z] ---> Running in d6b7be73b809 [2022-10-18T21:33:39.395Z] Removing intermediate container d6b7be73b809 [2022-10-18T21:33:39.395Z] ---> 032132c79fd1 [2022-10-18T21:33:39.395Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-18T21:33:39.670Z] ---> Running in 65feef05ec1c [2022-10-18T21:33:39.938Z] Removing intermediate container 65feef05ec1c [2022-10-18T21:33:39.938Z] ---> 82074e440ff2 [2022-10-18T21:33:39.938Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-18T21:33:39.938Z] ---> Running in 85b5ed174b96 [2022-10-18T21:33:40.209Z] Removing intermediate container 85b5ed174b96 [2022-10-18T21:33:40.209Z] ---> 29a5c0687f98 [2022-10-18T21:33:40.209Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-18T21:33:40.209Z] ---> Running in 99dd331c62df [2022-10-18T21:33:42.156Z] Removing intermediate container 99dd331c62df [2022-10-18T21:33:42.156Z] ---> 5be853e09762 [2022-10-18T21:33:42.156Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-18T21:33:42.156Z] ---> Running in 3bd35364f999 [2022-10-18T21:33:43.125Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-18T21:33:44.088Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-18T21:33:45.151Z] OK: 221 MiB in 51 packages [2022-10-18T21:33:46.216Z] Removing intermediate container 3bd35364f999 [2022-10-18T21:33:46.216Z] ---> 866f86911517 [2022-10-18T21:33:46.216Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-18T21:33:46.216Z] ---> Running in 6b2caa44030b [2022-10-18T21:33:46.813Z] Removing intermediate container 6b2caa44030b [2022-10-18T21:33:46.813Z] ---> 1052b547469a [2022-10-18T21:33:46.813Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-18T21:33:47.108Z] ---> 5aa207918e69 [2022-10-18T21:33:47.108Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-18T21:33:47.401Z] ---> Running in 3d6af503035b [2022-10-18T21:33:50.009Z] Removing intermediate container 3d6af503035b [2022-10-18T21:33:50.009Z] ---> 2e2aa8ccb7ae [2022-10-18T21:33:50.009Z] Step 13/27 : COPY . . [2022-10-18T21:33:54.269Z] ---> b8f1cd6fa79e [2022-10-18T21:33:54.269Z] Step 14/27 : RUN ${MAKE} [2022-10-18T21:33:54.269Z] ---> Running in d1ad11675149 [2022-10-18T21:33:54.538Z] 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-18T21:36:16.230Z] Removing intermediate container d1ad11675149 [2022-10-18T21:36:16.230Z] ---> 82d48640f629 [2022-10-18T21:36:16.230Z] Step 15/27 : FROM alpine:3.16 [2022-10-18T21:36:16.230Z] 3.16: Pulling from library/alpine [2022-10-18T21:36:16.230Z] 9b18e9b68314: Already exists [2022-10-18T21:36:16.230Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-18T21:36:16.230Z] Status: Downloaded newer image for alpine:3.16 [2022-10-18T21:36:16.230Z] ---> a6215f271958 [2022-10-18T21:36:16.230Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-18T21:36:16.230Z] ---> Running in 34a99533ae47 [2022-10-18T21:36:16.230Z] Removing intermediate container 34a99533ae47 [2022-10-18T21:36:16.230Z] ---> 4bf4f5281068 [2022-10-18T21:36:16.230Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-18T21:36:16.230Z] ---> Running in bbd9ad4d8d78 [2022-10-18T21:36:16.230Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-18T21:36:16.230Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-18T21:36:16.230Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-18T21:36:16.230Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-18T21:36:16.230Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-18T21:36:16.230Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-18T21:36:16.230Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-18T21:36:16.230Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-18T21:36:16.230Z] Executing busybox-1.35.0-r17.trigger [2022-10-18T21:36:16.230Z] OK: 8 MiB in 20 packages [2022-10-18T21:36:17.190Z] Removing intermediate container bbd9ad4d8d78 [2022-10-18T21:36:17.190Z] ---> f306630dda09 [2022-10-18T21:36:17.190Z] Step 18/27 : WORKDIR / [2022-10-18T21:36:17.190Z] ---> Running in e3ae28b510cf [2022-10-18T21:36:17.456Z] Removing intermediate container e3ae28b510cf [2022-10-18T21:36:17.456Z] ---> 2d7eddb58352 [2022-10-18T21:36:17.456Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-18T21:36:18.862Z] ---> 9f6cc3a2809a [2022-10-18T21:36:18.862Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-18T21:36:19.444Z] ---> cd0cf16206b8 [2022-10-18T21:36:19.444Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-18T21:36:19.713Z] ---> 3d1772eb6b05 [2022-10-18T21:36:19.713Z] Step 22/27 : EXPOSE 59984 [2022-10-18T21:36:19.980Z] ---> Running in aa8d0223a7fd [2022-10-18T21:36:20.248Z] Removing intermediate container aa8d0223a7fd [2022-10-18T21:36:20.248Z] ---> 3b6d84bdc28e [2022-10-18T21:36:20.248Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-18T21:36:20.248Z] ---> Running in 7be5d6c17bb4 [2022-10-18T21:36:20.515Z] Removing intermediate container 7be5d6c17bb4 [2022-10-18T21:36:20.515Z] ---> 000a944c4f32 [2022-10-18T21:36:20.515Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-18T21:36:20.515Z] ---> Running in fc9ab0d44e98 [2022-10-18T21:36:20.783Z] Removing intermediate container fc9ab0d44e98 [2022-10-18T21:36:20.783Z] ---> 25a0197ed75f [2022-10-18T21:36:20.783Z] Step 25/27 : LABEL arch=arm64 [2022-10-18T21:36:20.783Z] ---> Running in c671f8bc1ce6 [2022-10-18T21:36:21.060Z] Removing intermediate container c671f8bc1ce6 [2022-10-18T21:36:21.061Z] ---> 9855de04cdb1 [2022-10-18T21:36:21.061Z] Step 26/27 : LABEL git_sha=3cb33cdf5438b92aa5f3efd3ec84d2543962f520 [2022-10-18T21:36:21.330Z] ---> Running in ca6dd7ffbc66 [2022-10-18T21:36:21.597Z] Removing intermediate container ca6dd7ffbc66 [2022-10-18T21:36:21.597Z] ---> f6f2447337cd [2022-10-18T21:36:21.597Z] Step 27/27 : LABEL version=0.0.0 [2022-10-18T21:36:21.597Z] ---> Running in 62a93843e2f6 [2022-10-18T21:36:21.862Z] Removing intermediate container 62a93843e2f6 [2022-10-18T21:36:21.862Z] ---> 2ee2716ab2e8 [2022-10-18T21:36:21.862Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-18T21:36:21.862Z] Successfully built 2ee2716ab2e8 [2022-10-18T21:36:21.862Z] 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-18T21:36:22.668Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-18T21:36:22.668Z] [2022-10-18T21:36:22.668Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T21:36:23.066Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-18T21:36:23.066Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-18T21:36:23.066Z] 8998bd30e6a1: Pulling fs layer [2022-10-18T21:36:23.066Z] 04944245beec: Pulling fs layer [2022-10-18T21:36:23.066Z] 699f458cf7ca: Pulling fs layer [2022-10-18T21:36:23.066Z] 765212b225bb: Pulling fs layer [2022-10-18T21:36:23.066Z] f23df028b6ca: Pulling fs layer [2022-10-18T21:36:23.066Z] d65c8cfc05b1: Pulling fs layer [2022-10-18T21:36:23.066Z] 2437ff75d9bd: Pulling fs layer [2022-10-18T21:36:23.066Z] f23df028b6ca: Waiting [2022-10-18T21:36:23.066Z] d65c8cfc05b1: Waiting [2022-10-18T21:36:23.066Z] 2437ff75d9bd: Waiting [2022-10-18T21:36:23.066Z] 765212b225bb: Waiting [2022-10-18T21:36:23.336Z] 04944245beec: Verifying Checksum [2022-10-18T21:36:23.336Z] 04944245beec: Download complete [2022-10-18T21:36:23.336Z] 765212b225bb: Verifying Checksum [2022-10-18T21:36:23.336Z] 765212b225bb: Download complete [2022-10-18T21:36:23.336Z] f23df028b6ca: Verifying Checksum [2022-10-18T21:36:23.336Z] f23df028b6ca: Download complete [2022-10-18T21:36:23.336Z] d65c8cfc05b1: Verifying Checksum [2022-10-18T21:36:23.336Z] d65c8cfc05b1: Download complete [2022-10-18T21:36:23.336Z] 699f458cf7ca: Verifying Checksum [2022-10-18T21:36:23.336Z] 699f458cf7ca: Download complete [2022-10-18T21:36:23.919Z] 8998bd30e6a1: Verifying Checksum [2022-10-18T21:36:23.919Z] 8998bd30e6a1: Download complete [2022-10-18T21:36:25.863Z] 2437ff75d9bd: Verifying Checksum [2022-10-18T21:36:25.863Z] 2437ff75d9bd: Download complete [2022-10-18T21:36:27.803Z] 8998bd30e6a1: Pull complete [2022-10-18T21:36:28.070Z] 04944245beec: Pull complete [2022-10-18T21:36:29.480Z] 699f458cf7ca: Pull complete [2022-10-18T21:36:29.481Z] 765212b225bb: Pull complete [2022-10-18T21:36:30.065Z] f23df028b6ca: Pull complete [2022-10-18T21:36:30.332Z] d65c8cfc05b1: Pull complete [2022-10-18T21:36:45.319Z] 2437ff75d9bd: Pull complete [2022-10-18T21:36:45.319Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-18T21:36:45.319Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-18T21:36:45.319Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T21:36:45.604Z] prd-ubuntu20.04-docker-arm64-4c-16g-8497 does not seem to be running inside a container [2022-10-18T21:36:45.660Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-18T21:36:48.180Z] $ docker top e6ea59ece305e4bd5b604cdc634c0a97cf3547560c3eaef05d4a99854829c9d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-18T21:36:49.076Z] ---> job-cost.sh [2022-10-18T21:36:49.076Z] lf-activate-venv: SKIPPING [2022-10-18T21:36:49.076Z] INFO: No Stack... [2022-10-18T21:36:49.653Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-18T21:36:50.232Z] INFO: Archiving Costs [Pipeline] sh [2022-10-18T21:36:50.573Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-10-18T21:36:50.573Z] + cut -d, -f6 [Pipeline] lock [2022-10-18T21:36:50.623Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-1-stack-cost] [2022-10-18T21:36:50.629Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-1-stack-cost] did not exist. Created. [2022-10-18T21:36:50.629Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-18T21:36:51.358Z] /w/workspace/device-onvif-camera/1@tmp/durable-dcf7650c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-18T21:36:52.030Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-18T21:36:52.069Z] Warning: overwriting stash ‘stack-cost’ [2022-10-18T21:36:52.121Z] Stashed 1 file(s) [Pipeline] } [2022-10-18T21:36:52.137Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-18T21:36:52.210Z] $ docker stop --time=1 e6ea59ece305e4bd5b604cdc634c0a97cf3547560c3eaef05d4a99854829c9d7 [2022-10-18T21:36:53.703Z] $ docker rm -f e6ea59ece305e4bd5b604cdc634c0a97cf3547560c3eaef05d4a99854829c9d7 [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-18T21:36:54.768Z] provisioning config files... [2022-10-18T21:36:54.777Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config7616968112815606747tmp [Pipeline] { [Pipeline] sh [2022-10-18T21:36:55.122Z] + set +x [2022-10-18T21:36:55.122Z] + bash -s+ -- [2022-10-18T21:36:55.122Z] curl -s https://codecov.io/bash [2022-10-18T21:36:55.122Z] [2022-10-18T21:36:55.122Z] _____ _ [2022-10-18T21:36:55.122Z] / ____| | | [2022-10-18T21:36:55.122Z] | | ___ __| | ___ ___ _____ __ [2022-10-18T21:36:55.122Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-18T21:36:55.122Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-18T21:36:55.122Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-18T21:36:55.122Z] Bash-1.0.6 [2022-10-18T21:36:55.122Z] [2022-10-18T21:36:55.122Z] [2022-10-18T21:36:55.122Z] ==> git version 2.25.1 found [2022-10-18T21:36:55.122Z] ==> 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-18T21:36:55.122Z] Release-Date: 2020-01-08 [2022-10-18T21:36:55.122Z] 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-18T21:36:55.122Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-18T21:36:55.122Z] ==> Jenkins CI detected. [2022-10-18T21:36:55.122Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-180 [2022-10-18T21:36:55.122Z] project root: . [2022-10-18T21:36:55.122Z] --> token set from env [2022-10-18T21:36:55.122Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-18T21:36:55.122Z] ==> Running gcov in . (disable via -X gcov) [2022-10-18T21:36:55.122Z] ==> Python coveragepy not found [2022-10-18T21:36:55.122Z] ==> Searching for coverage reports in: [2022-10-18T21:36:55.122Z] + . [2022-10-18T21:36:55.122Z] -> Found 1 reports [2022-10-18T21:36:55.122Z] ==> Detecting git/mercurial file structure [2022-10-18T21:36:55.122Z] ==> Reading reports [2022-10-18T21:36:55.122Z] + ./coverage.out bytes=78636 [2022-10-18T21:36:55.122Z] ==> Appending adjustments [2022-10-18T21:36:55.122Z] https://docs.codecov.io/docs/fixing-reports [2022-10-18T21:36:55.383Z] + Found adjustments [2022-10-18T21:36:55.383Z] ==> Gzipping contents [2022-10-18T21:36:55.383Z] 12K /tmp/codecov.OrEgan.gz [2022-10-18T21:36:55.383Z] ==> Uploading reports [2022-10-18T21:36:55.383Z] url: https://codecov.io [2022-10-18T21:36:55.383Z] query: branch=PR-180&commit=3cb33cdf5438b92aa5f3efd3ec84d2543962f520&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-180%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=180&job=&cmd_args= [2022-10-18T21:36:55.383Z] -> Pinging Codecov [2022-10-18T21:36:55.383Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-180&commit=3cb33cdf5438b92aa5f3efd3ec84d2543962f520&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-180%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=180&job=&cmd_args= [2022-10-18T21:36:55.949Z] -> Uploading to [2022-10-18T21:36:55.949Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-18/F29A59C45E3A92E06B3E522C9905F8EF/3cb33cdf5438b92aa5f3efd3ec84d2543962f520/2eae5a55-6a31-47f7-b9c1-1e3b7a625d54.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221018%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221018T213655Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3789a5a0d9cd286aea0dd8ae81df91340e2fb55aa3a1fb59293591d7728ac4ad [2022-10-18T21:36:55.949Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-18T21:36:55.949Z] Dload Upload Total Spent Left Speed [2022-10-18T21:36:56.209Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10787 0 0 100 10787 0 42301 --:--:-- --:--:-- --:--:-- 42301 [2022-10-18T21:36:56.209Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/3cb33cdf5438b92aa5f3efd3ec84d2543962f520 [Pipeline] } [2022-10-18T21:36:56.238Z] 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-18T21:36:58.011Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-180/archives ] [2022-10-18T21:36:58.011Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives [2022-10-18T21:36:58.011Z] total 16 [2022-10-18T21:36:58.011Z] drwxr-xr-x 3 root root 4096 Oct 18 21:28 . [2022-10-18T21:36:58.011Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 18 21:28 .. [2022-10-18T21:36:58.011Z] drwxr-xr-x 2 root root 4096 Oct 18 21:28 cost [2022-10-18T21:36:58.011Z] -rw-r--r-- 1 root root 91 Oct 18 21:28 cost.csv [2022-10-18T21:36:58.011Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-180/archives [2022-10-18T21:36:58.011Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives [2022-10-18T21:36:58.011Z] total 16 [2022-10-18T21:36:58.011Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 21:28 . [2022-10-18T21:36:58.011Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 18 21:28 .. [2022-10-18T21:36:58.011Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 18 21:28 cost [2022-10-18T21:36:58.011Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 18 21:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-18T21:36:58.333Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-18T21:36:59.218Z] ---> package-listing.sh [2022-10-18T21:36:59.218Z] ++ facter osfamily [2022-10-18T21:36:59.218Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-18T21:36:59.476Z] + OS_FAMILY=debian [2022-10-18T21:36:59.476Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-180 [2022-10-18T21:36:59.476Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-18T21:36:59.476Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-18T21:36:59.476Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-18T21:36:59.476Z] + PACKAGES=/tmp/packages_start.txt [2022-10-18T21:36:59.476Z] + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' [2022-10-18T21:36:59.476Z] + PACKAGES=/tmp/packages_end.txt [2022-10-18T21:36:59.476Z] + case "${OS_FAMILY}" in [2022-10-18T21:36:59.476Z] + dpkg -l [2022-10-18T21:36:59.476Z] + grep '^ii' [2022-10-18T21:36:59.476Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-18T21:36:59.476Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-18T21:36:59.476Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-18T21:36:59.476Z] + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' [2022-10-18T21:36:59.476Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-180/archives/ [2022-10-18T21:36:59.476Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-180/archives/ [Pipeline] echo [2022-10-18T21:36:59.505Z] 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-180/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-18T21:36:59.797Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T21:37:00.429Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-18T21:37:00.429Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T21:37:00.565Z] prd-ubuntu20.04-docker-8c-8g-8496 does not seem to be running inside a container [2022-10-18T21:37:00.599Z] $ 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-180/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-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-18T21:37:00.798Z] $ docker top 347a3561b90066ba0913ccbec171c2266910e3788f8593a12f5551ab6e0a5e1a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-18T21:37:01.182Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-18T21:37:01.491Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-18T21:37:01.798Z] + ls /var/log/sa-host [2022-10-18T21:37:01.798Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-18T21:37:02.025Z] provisioning config files... [2022-10-18T21:37:02.036Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config16208901846969425978tmp [Pipeline] { [Pipeline] echo [2022-10-18T21:37:02.084Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-18T21:37:02.389Z] ---> create-netrc.sh [Pipeline] } [2022-10-18T21:37:02.415Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-18T21:37:02.826Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-18T21:37:02.853Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-18T21:37:03.160Z] ---> sudo-logs.sh [2022-10-18T21:37:03.160Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-18T21:37:03.237Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-18T21:37:03.544Z] ---> job-cost.sh [2022-10-18T21:37:03.544Z] lf-activate-venv: SKIPPING [2022-10-18T21:37:03.544Z] DEBUG: total: 0.2199999988079071 [2022-10-18T21:37:03.544Z] INFO: Retrieving Stack Cost... [2022-10-18T21:37:04.479Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-18T21:37:04.742Z] INFO: Archiving Costs [Pipeline] echo [2022-10-18T21:37:04.776Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-18T21:37:05.084Z] ---> logs-deploy.sh [2022-10-18T21:37:05.084Z] lf-activate-venv: SKIPPING [2022-10-18T21:37:05.084Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-180/1 [2022-10-18T21:37:05.084Z] INFO: archiving workspace using pattern(s): [2022-10-18T21:37:06.021Z] Archives upload complete. [2022-10-18T21:37:06.021Z] INFO: archiving logs to Nexus