Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 704ee13449308adf69c4899592c40628e88298f9 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-ssh966284388370986045.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6470467591924170475.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6434130755417057237.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh15532838743127153138.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3204873177206584481.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4260’ Running on prd-ubuntu20.04-docker-8c-8g-4264 in /w/workspace/foundry_device-onvif-camera_main [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/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 704ee13449308adf69c4899592c40628e88298f9 (main) Commit message: "build(deps): Bump github.com/google/uuid from 1.3.0 to 1.3.1 (#376)" > 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 core.sparsecheckout # timeout=10 > git checkout -f 704ee13449308adf69c4899592c40628e88298f9 # timeout=10 > git rev-list --no-walk f9a51d90d45793b537885a974cdf3c636c247a85 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-22T16:21:18.947Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-22T16:21:19.026Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-22T16:21:19.045Z] ========================================================= [2023-08-22T16:21:19.045Z] EdgeX Global Pipelines Version Info [2023-08-22T16:21:19.045Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:21:19.754Z] ------------------- [2023-08-22T16:21:19.754Z] stable info: [2023-08-22T16:21:19.754Z] ------------------- [2023-08-22T16:21:19.754Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-22T16:21:19.754Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-22T16:21:19.754Z] Message: update stable to v1.0.253 [2023-08-22T16:21:20.323Z] ------------------- [2023-08-22T16:21:20.323Z] experimental info: [2023-08-22T16:21:20.323Z] ------------------- [2023-08-22T16:21:20.323Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-22T16:21:20.323Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-22T16:21:20.323Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-22T16:21:20.478Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-08-22T16:21:20.489Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-08-22T16:21:20.502Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-22T16:21:20.516Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-22T16:21:20.531Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-22T16:21:20.549Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-22T16:21:20.562Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-22T16:21:20.575Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-22T16:21:20.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-22T16:21:20.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-22T16:21:20.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-22T16:21:20.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-08-22T16:21:20.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-22T16:21:20.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-22T16:21:20.680Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-22T16:21:20.692Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-22T16:21:20.705Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-22T16:21:20.715Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-22T16:21:20.728Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-22T16:21:20.744Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-22T16:21:20.760Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-08-22T16:21:20.770Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2023-08-22T16:21:20.784Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-22T16:21:20.794Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-22T16:21:20.809Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-22T16:21:20.822Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-22T16:21:20.834Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-22T16:21:20.848Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-22T16:21:20.859Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-22T16:21:20.875Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-22T16:21:20.893Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 704ee13449308adf69c4899592c40628e88298f9 [Pipeline] echo [2023-08-22T16:21:20.911Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 704ee13 [Pipeline] echo [2023-08-22T16:21:20.937Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-22T16:21:20.978Z] provisioning config files... [2023-08-22T16:21:20.991Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6063006905315099489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:21:21.293Z] ---> docker-login.sh [2023-08-22T16:21:21.293Z] nexus3.edgexfoundry.org:10001 [2023-08-22T16:21:21.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:21:21.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:21:21.554Z] Configure a credential helper to remove this warning. See [2023-08-22T16:21:21.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:21:21.554Z] [2023-08-22T16:21:21.554Z] Login Succeeded [2023-08-22T16:21:21.554Z] nexus3.edgexfoundry.org:10002 [2023-08-22T16:21:21.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:21:21.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:21:21.814Z] Configure a credential helper to remove this warning. See [2023-08-22T16:21:21.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:21:21.814Z] [2023-08-22T16:21:21.814Z] Login Succeeded [2023-08-22T16:21:21.814Z] nexus3.edgexfoundry.org:10003 [2023-08-22T16:21:21.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:21:21.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:21:21.814Z] Configure a credential helper to remove this warning. See [2023-08-22T16:21:21.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:21:21.814Z] [2023-08-22T16:21:21.814Z] Login Succeeded [2023-08-22T16:21:21.814Z] nexus3.edgexfoundry.org:10004 [2023-08-22T16:21:21.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:21:21.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:21:21.814Z] Configure a credential helper to remove this warning. See [2023-08-22T16:21:21.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:21:21.814Z] [2023-08-22T16:21:21.814Z] Login Succeeded [2023-08-22T16:21:21.814Z] docker.io [2023-08-22T16:21:22.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:21:22.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:21:22.074Z] Configure a credential helper to remove this warning. See [2023-08-22T16:21:22.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:21:22.074Z] [2023-08-22T16:21:22.074Z] Login Succeeded [2023-08-22T16:21:22.074Z] ---> docker-login.sh ends [Pipeline] } [2023-08-22T16:21:22.082Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-22T16:21:22.443Z] + git rev-list -1 --merges 704ee13449308adf69c4899592c40628e88298f9~1..704ee13449308adf69c4899592c40628e88298f9 [Pipeline] echo [2023-08-22T16:21:22.490Z] -----------> git rev-list -1 --merges 704ee13449308adf69c4899592c40628e88298f9~1..704ee13449308adf69c4899592c40628e88298f9 704ee13449308adf69c4899592c40628e88298f9 [false] [Pipeline] sh [2023-08-22T16:21:22.778Z] + git log --format=format:%s -1 704ee13449308adf69c4899592c40628e88298f9 [Pipeline] echo [2023-08-22T16:21:22.793Z] ========================================================= [2023-08-22T16:21:22.793Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-22T16:21:22.793Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-22T16:21:23.128Z] + git log --format=format:%s -1 704ee13449308adf69c4899592c40628e88298f9 [Pipeline] echo [2023-08-22T16:21:23.140Z] [semverPrep] GIT_COMMIT: 704ee13449308adf69c4899592c40628e88298f9, Commit Message: build(deps): Bump github.com/google/uuid from 1.3.0 to 1.3.1 (#376) [Pipeline] echo [2023-08-22T16:21:23.149Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-22T16:21:23.498Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-22T16:21:23.498Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-22T16:21:23.498Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-22T16:21:23.498Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-22T16:21:23.498Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-22T16:21:23.498Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-22T16:21:23.498Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:21:23.836Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-22T16:21:23.836Z] [2023-08-22T16:21:23.836Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:21:24.137Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-22T16:21:24.137Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-22T16:21:24.137Z] b85a868b505f: Pulling fs layer [2023-08-22T16:21:24.137Z] e2be974225ed: Pulling fs layer [2023-08-22T16:21:24.137Z] 339a4e72a1f5: Pulling fs layer [2023-08-22T16:21:24.137Z] 988bab9f4d93: Pulling fs layer [2023-08-22T16:21:24.137Z] 1469e6f7b9e6: Pulling fs layer [2023-08-22T16:21:24.137Z] eaf3925da568: Pulling fs layer [2023-08-22T16:21:24.137Z] bab4dde63d76: Pulling fs layer [2023-08-22T16:21:24.137Z] bde34c3a00c8: Pulling fs layer [2023-08-22T16:21:24.137Z] b352a97aabf1: Pulling fs layer [2023-08-22T16:21:24.137Z] 4872d77fe225: Pulling fs layer [2023-08-22T16:21:24.137Z] 5851b861e8e6: Pulling fs layer [2023-08-22T16:21:24.137Z] 988bab9f4d93: Waiting [2023-08-22T16:21:24.137Z] 1469e6f7b9e6: Waiting [2023-08-22T16:21:24.137Z] eaf3925da568: Waiting [2023-08-22T16:21:24.137Z] bab4dde63d76: Waiting [2023-08-22T16:21:24.137Z] bde34c3a00c8: Waiting [2023-08-22T16:21:24.137Z] b352a97aabf1: Waiting [2023-08-22T16:21:24.137Z] 4872d77fe225: Waiting [2023-08-22T16:21:24.137Z] 5851b861e8e6: Waiting [2023-08-22T16:21:24.137Z] e2be974225ed: Verifying Checksum [2023-08-22T16:21:24.137Z] e2be974225ed: Download complete [2023-08-22T16:21:24.137Z] 988bab9f4d93: Verifying Checksum [2023-08-22T16:21:24.137Z] 988bab9f4d93: Download complete [2023-08-22T16:21:24.137Z] 1469e6f7b9e6: Verifying Checksum [2023-08-22T16:21:24.137Z] 1469e6f7b9e6: Download complete [2023-08-22T16:21:24.137Z] 339a4e72a1f5: Verifying Checksum [2023-08-22T16:21:24.137Z] 339a4e72a1f5: Download complete [2023-08-22T16:21:24.396Z] eaf3925da568: Verifying Checksum [2023-08-22T16:21:24.396Z] eaf3925da568: Download complete [2023-08-22T16:21:24.396Z] bde34c3a00c8: Verifying Checksum [2023-08-22T16:21:24.396Z] bde34c3a00c8: Download complete [2023-08-22T16:21:24.396Z] b352a97aabf1: Download complete [2023-08-22T16:21:24.396Z] 4872d77fe225: Verifying Checksum [2023-08-22T16:21:24.396Z] 4872d77fe225: Download complete [2023-08-22T16:21:24.396Z] 5851b861e8e6: Verifying Checksum [2023-08-22T16:21:24.396Z] 5851b861e8e6: Download complete [2023-08-22T16:21:24.396Z] b85a868b505f: Download complete [2023-08-22T16:21:24.655Z] bab4dde63d76: Verifying Checksum [2023-08-22T16:21:24.655Z] bab4dde63d76: Download complete [2023-08-22T16:21:25.592Z] b85a868b505f: Pull complete [2023-08-22T16:21:25.592Z] e2be974225ed: Pull complete [2023-08-22T16:21:26.174Z] 339a4e72a1f5: Pull complete [2023-08-22T16:21:26.174Z] 988bab9f4d93: Pull complete [2023-08-22T16:21:26.443Z] 1469e6f7b9e6: Pull complete [2023-08-22T16:21:26.704Z] eaf3925da568: Pull complete [2023-08-22T16:21:28.614Z] bab4dde63d76: Pull complete [2023-08-22T16:21:28.614Z] bde34c3a00c8: Pull complete [2023-08-22T16:21:28.614Z] b352a97aabf1: Pull complete [2023-08-22T16:21:28.614Z] 4872d77fe225: Pull complete [2023-08-22T16:21:28.614Z] 5851b861e8e6: Pull complete [2023-08-22T16:21:28.873Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-22T16:21:28.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-22T16:21:28.873Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:21:28.967Z] prd-ubuntu20.04-docker-8c-8g-4264 does not seem to be running inside a container [2023-08-22T16:21:28.994Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-22T16:21:31.507Z] $ docker top dd34fa0bd1d78550081c62037619bf16e8b42ad31b716d979d93057670d0a034 -eo pid,comm [2023-08-22T16:21:31.568Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-22T16:21:31.568Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-22T16:21:31.598Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-22T16:21:31.598Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-22T16:21:31.724Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-22T16:21:31.724Z] $ docker exec dd34fa0bd1d78550081c62037619bf16e8b42ad31b716d979d93057670d0a034 ssh-agent [2023-08-22T16:21:31.841Z] SSH_AUTH_SOCK=/tmp/ssh-dd7bA49Lf85u/agent.32 [2023-08-22T16:21:31.841Z] SSH_AGENT_PID=38 [2023-08-22T16:21:31.848Z] Running ssh-add (command line suppressed) [2023-08-22T16:21:31.947Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12860049956380498461.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12860049956380498461.key) [2023-08-22T16:21:31.966Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-22T16:21:32.251Z] + git tag --points-at HEAD [Pipeline] } [2023-08-22T16:21:32.259Z] $ docker exec --env ******** --env ******** dd34fa0bd1d78550081c62037619bf16e8b42ad31b716d979d93057670d0a034 ssh-agent -k [2023-08-22T16:21:32.357Z] unset SSH_AUTH_SOCK; [2023-08-22T16:21:32.357Z] unset SSH_AGENT_PID; [2023-08-22T16:21:32.357Z] echo Agent pid 38 killed; [2023-08-22T16:21:32.371Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-22T16:21:32.392Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-22T16:21:32.392Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-22T16:21:32.501Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-22T16:21:32.500Z] $ docker exec dd34fa0bd1d78550081c62037619bf16e8b42ad31b716d979d93057670d0a034 ssh-agent [2023-08-22T16:21:32.612Z] SSH_AUTH_SOCK=/tmp/ssh-GNqC9MSm22P7/agent.71 [2023-08-22T16:21:32.612Z] SSH_AGENT_PID=77 [2023-08-22T16:21:32.617Z] Running ssh-add (command line suppressed) [2023-08-22T16:21:32.715Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8309741719448952726.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8309741719448952726.key) [2023-08-22T16:21:32.735Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-22T16:21:33.024Z] + git semver init [2023-08-22T16:21:33.284Z] 2023-08-22 16:21:33,229 [run_init] DEBUG init version:0.0.0 force:False [2023-08-22T16:21:33.284Z] 2023-08-22 16:21:33,230 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2023-08-22T16:21:33.284Z] 2023-08-22 16:21:33,230 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2023-08-22T16:21:33.284Z] 2023-08-22 16:21:33,230 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2023-08-22T16:21:34.664Z] 2023-08-22 16:21:34,258 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2023-08-22T16:21:34.664Z] 2023-08-22 16:21:34,258 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2023-08-22T16:21:34.664Z] 2023-08-22 16:21:34,258 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-08-22T16:21:34.664Z] 2023-08-22 16:21:34,258 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-08-22T16:21:34.664Z] 3.1.0-dev.4 [Pipeline] } [2023-08-22T16:21:34.672Z] $ docker exec --env ******** --env ******** dd34fa0bd1d78550081c62037619bf16e8b42ad31b716d979d93057670d0a034 ssh-agent -k [2023-08-22T16:21:34.788Z] unset SSH_AUTH_SOCK; [2023-08-22T16:21:34.789Z] unset SSH_AGENT_PID; [2023-08-22T16:21:34.789Z] echo Agent pid 77 killed; [2023-08-22T16:21:34.802Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-22T16:21:35.108Z] + git semver [Pipeline] } [2023-08-22T16:21:35.375Z] $ docker stop --time=1 dd34fa0bd1d78550081c62037619bf16e8b42ad31b716d979d93057670d0a034 [2023-08-22T16:21:36.692Z] $ docker rm -f --volumes dd34fa0bd1d78550081c62037619bf16e8b42ad31b716d979d93057670d0a034 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-22T16:21:37.048Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-22T16:21:37.282Z] Stashed 1 file(s) [Pipeline] echo [2023-08-22T16:21:37.285Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-22T16:21:37.407Z] provisioning config files... [2023-08-22T16:21:37.415Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2666633946109941795tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:21:37.713Z] ---> docker-login.sh [2023-08-22T16:21:37.713Z] nexus3.edgexfoundry.org:10001 [2023-08-22T16:21:37.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:21:37.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:21:37.713Z] Configure a credential helper to remove this warning. See [2023-08-22T16:21:37.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:21:37.713Z] [2023-08-22T16:21:37.713Z] Login Succeeded [2023-08-22T16:21:37.713Z] nexus3.edgexfoundry.org:10002 [2023-08-22T16:21:37.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:21:37.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:21:37.713Z] Configure a credential helper to remove this warning. See [2023-08-22T16:21:37.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:21:37.713Z] [2023-08-22T16:21:37.713Z] Login Succeeded [2023-08-22T16:21:37.713Z] nexus3.edgexfoundry.org:10003 [2023-08-22T16:21:37.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:21:37.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:21:37.973Z] Configure a credential helper to remove this warning. See [2023-08-22T16:21:37.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:21:37.973Z] [2023-08-22T16:21:37.973Z] Login Succeeded [2023-08-22T16:21:37.973Z] nexus3.edgexfoundry.org:10004 [2023-08-22T16:21:37.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:21:37.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:21:37.973Z] Configure a credential helper to remove this warning. See [2023-08-22T16:21:37.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:21:37.973Z] [2023-08-22T16:21:37.973Z] Login Succeeded [2023-08-22T16:21:38.232Z] docker.io [2023-08-22T16:21:38.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:21:38.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:21:38.492Z] Configure a credential helper to remove this warning. See [2023-08-22T16:21:38.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:21:38.492Z] [2023-08-22T16:21:38.492Z] Login Succeeded [2023-08-22T16:21:38.492Z] ---> docker-login.sh ends [Pipeline] } [2023-08-22T16:21:38.498Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-22T16:21:38.570Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-22T16:21:38.584Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-22T16:21:38.594Z] ========================================================= [2023-08-22T16:21:38.594Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-22T16:21:38.594Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:21:38.906Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-22T16:21:38.906Z] Sending build context to Docker daemon 21.61MB [2023-08-22T16:21:38.906Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-22T16:21:38.906Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-22T16:21:38.906Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-22T16:21:38.906Z] 4db1b89c0bd1: Pulling fs layer [2023-08-22T16:21:38.906Z] 6911f1a30b25: Pulling fs layer [2023-08-22T16:21:38.906Z] e194b8c5c2a9: Pulling fs layer [2023-08-22T16:21:38.906Z] 6863d3e3a2b1: Pulling fs layer [2023-08-22T16:21:38.906Z] ec0bb842ea78: Pulling fs layer [2023-08-22T16:21:38.906Z] 40a00589a448: Pulling fs layer [2023-08-22T16:21:38.906Z] 6c08303d61cc: Pulling fs layer [2023-08-22T16:21:38.906Z] 798269fcf238: Pulling fs layer [2023-08-22T16:21:38.906Z] ec0bb842ea78: Waiting [2023-08-22T16:21:38.906Z] 40a00589a448: Waiting [2023-08-22T16:21:38.906Z] 6c08303d61cc: Waiting [2023-08-22T16:21:38.906Z] 798269fcf238: Waiting [2023-08-22T16:21:38.906Z] 6863d3e3a2b1: Waiting [2023-08-22T16:21:39.167Z] 6911f1a30b25: Verifying Checksum [2023-08-22T16:21:39.167Z] 6911f1a30b25: Download complete [2023-08-22T16:21:39.167Z] 4db1b89c0bd1: Verifying Checksum [2023-08-22T16:21:39.167Z] 4db1b89c0bd1: Download complete [2023-08-22T16:21:39.167Z] ec0bb842ea78: Verifying Checksum [2023-08-22T16:21:39.167Z] ec0bb842ea78: Download complete [2023-08-22T16:21:39.167Z] 6863d3e3a2b1: Verifying Checksum [2023-08-22T16:21:39.167Z] 6863d3e3a2b1: Download complete [2023-08-22T16:21:39.167Z] 40a00589a448: Verifying Checksum [2023-08-22T16:21:39.167Z] 40a00589a448: Download complete [2023-08-22T16:21:39.167Z] 4db1b89c0bd1: Pull complete [2023-08-22T16:21:39.426Z] 6911f1a30b25: Pull complete [2023-08-22T16:21:39.684Z] e194b8c5c2a9: Verifying Checksum [2023-08-22T16:21:39.684Z] e194b8c5c2a9: Download complete [2023-08-22T16:21:39.684Z] 798269fcf238: Verifying Checksum [2023-08-22T16:21:39.684Z] 798269fcf238: Download complete [2023-08-22T16:21:39.942Z] 6c08303d61cc: Verifying Checksum [2023-08-22T16:21:39.942Z] 6c08303d61cc: Download complete [2023-08-22T16:21:44.136Z] e194b8c5c2a9: Pull complete [2023-08-22T16:21:44.136Z] 6863d3e3a2b1: Pull complete [2023-08-22T16:21:44.136Z] ec0bb842ea78: Pull complete [2023-08-22T16:21:44.136Z] 40a00589a448: Pull complete [2023-08-22T16:21:46.039Z] 6c08303d61cc: Pull complete [2023-08-22T16:21:46.974Z] 798269fcf238: Pull complete [2023-08-22T16:21:46.974Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-22T16:21:46.974Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-22T16:21:46.974Z] ---> ec979cd7f677 [2023-08-22T16:21:46.974Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-22T16:21:51.183Z] ---> Running in 6a815bff67b5 [2023-08-22T16:21:51.183Z] Removing intermediate container 6a815bff67b5 [2023-08-22T16:21:51.183Z] ---> 0de82f62d687 [2023-08-22T16:21:51.183Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-22T16:21:51.183Z] ---> Running in e526c93e7b08 [2023-08-22T16:21:51.183Z] Removing intermediate container e526c93e7b08 [2023-08-22T16:21:51.183Z] ---> 155e123af6d2 [2023-08-22T16:21:51.183Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-08-22T16:21:51.183Z] ---> Running in ef05a4cf75f5 [2023-08-22T16:21:51.442Z] Removing intermediate container ef05a4cf75f5 [2023-08-22T16:21:51.442Z] ---> 676187e14b52 [2023-08-22T16:21:51.442Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-08-22T16:21:51.442Z] ---> Running in d43e8b06cd58 [2023-08-22T16:21:51.442Z] Removing intermediate container d43e8b06cd58 [2023-08-22T16:21:51.442Z] ---> 1cfc2c0106fd [2023-08-22T16:21:51.442Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-08-22T16:21:51.442Z] ---> Running in 3f37342122d2 [2023-08-22T16:21:51.701Z] Removing intermediate container 3f37342122d2 [2023-08-22T16:21:51.701Z] ---> ed805ab6929a [2023-08-22T16:21:51.701Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-22T16:21:51.701Z] ---> Running in fb4afc9ba898 [2023-08-22T16:21:51.961Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-22T16:21:52.220Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-22T16:21:52.375Z] Still waiting to schedule task [2023-08-22T16:21:52.375Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4261’ [2023-08-22T16:21:52.480Z] OK: 265 MiB in 53 packages [2023-08-22T16:21:53.049Z] Removing intermediate container fb4afc9ba898 [2023-08-22T16:21:53.049Z] ---> 0518a0d335f3 [2023-08-22T16:21:53.049Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-08-22T16:21:53.049Z] ---> Running in 58f95115fa5b [2023-08-22T16:21:53.049Z] Removing intermediate container 58f95115fa5b [2023-08-22T16:21:53.049Z] ---> b71d3fa2c116 [2023-08-22T16:21:53.049Z] Step 10/13 : COPY go.mod vendor* ./ [2023-08-22T16:21:53.049Z] ---> 80abc334ba65 [2023-08-22T16:21:53.049Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-22T16:21:53.049Z] ---> Running in f30fddea9c7b [2023-08-22T16:22:25.167Z] Removing intermediate container f30fddea9c7b [2023-08-22T16:22:25.167Z] ---> 5031a27c9b55 [2023-08-22T16:22:25.167Z] Step 12/13 : COPY . . [2023-08-22T16:22:25.167Z] ---> 9e57a4a75160 [2023-08-22T16:22:25.167Z] Step 13/13 : RUN ${MAKE} [2023-08-22T16:22:25.167Z] ---> Running in dba11258449b [2023-08-22T16:22:25.167Z] noop [2023-08-22T16:22:25.167Z] Removing intermediate container dba11258449b [2023-08-22T16:22:25.167Z] ---> 56329e098765 [2023-08-22T16:22:25.167Z] Successfully built 56329e098765 [2023-08-22T16:22:25.167Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:22:25.491Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-22T16:22:25.491Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:22:25.569Z] prd-ubuntu20.04-docker-8c-8g-4264 does not seem to be running inside a container [2023-08-22T16:22:25.616Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** ci-base-image-x86_64 cat [2023-08-22T16:22:25.970Z] $ docker top b000a036d981ce688621e7f62e46fa7173d46d644fd75a03f779406c494b83e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-22T16:22:26.314Z] + go version [2023-08-22T16:22:26.314Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-22T16:22:26.331Z] $ docker stop --time=1 b000a036d981ce688621e7f62e46fa7173d46d644fd75a03f779406c494b83e1 [2023-08-22T16:22:27.605Z] $ docker rm -f --volumes b000a036d981ce688621e7f62e46fa7173d46d644fd75a03f779406c494b83e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:22:28.017Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-22T16:22:28.017Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:22:28.094Z] prd-ubuntu20.04-docker-8c-8g-4264 does not seem to be running inside a container [2023-08-22T16:22:28.134Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** ci-base-image-x86_64 cat [2023-08-22T16:22:28.454Z] $ docker top 5014d3cfeb1360071532674425b81fc047286132998169c6429e43126c525049 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-22T16:22:28.798Z] + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh [2023-08-22T16:22:29.098Z] + make test [2023-08-22T16:22:29.098Z] go test ./... -coverprofile=coverage.out ./... [2023-08-22T16:22:34.364Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-08-22T16:22:46.571Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-08-22T16:22:46.571Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-08-22T16:22:47.949Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.036s coverage: 31.4% of statements [2023-08-22T16:22:52.151Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.590s coverage: 86.5% of statements [2023-08-22T16:23:00.289Z] go vet ./... [2023-08-22T16:23:03.599Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-22T16:23:03.599Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-22T16:23:03.599Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-22T16:23:03.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-22T16:23:03.627Z] $ docker stop --time=1 5014d3cfeb1360071532674425b81fc047286132998169c6429e43126c525049 [2023-08-22T16:23:07.067Z] $ docker rm -f --volumes 5014d3cfeb1360071532674425b81fc047286132998169c6429e43126c525049 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-22T16:23:07.544Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-22T16:23:07.660Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-22T16:23:08.122Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-22T16:23:08.446Z] + ls -al . [2023-08-22T16:23:08.446Z] total 240 [2023-08-22T16:23:08.446Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 22 16:22 . [2023-08-22T16:23:08.446Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:21 .. [2023-08-22T16:23:08.446Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 22 16:21 .git [2023-08-22T16:23:08.446Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 16:21 .github [2023-08-22T16:23:08.446Z] -rw-rw-r-- 1 jenkins jenkins 496 Aug 22 16:21 .gitignore [2023-08-22T16:23:08.446Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 22 16:21 .golangci.yml [2023-08-22T16:23:08.446Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 22 16:21 .semver [2023-08-22T16:23:08.446Z] -rw-rw-r-- 1 jenkins jenkins 10087 Aug 22 16:21 Attribution.txt [2023-08-22T16:23:08.446Z] -rw-rw-r-- 1 jenkins jenkins 15932 Aug 22 16:21 CHANGELOG.md [2023-08-22T16:23:08.446Z] -rw-rw-r-- 1 jenkins jenkins 1574 Aug 22 16:21 Dockerfile [2023-08-22T16:23:08.446Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 22 16:21 GOVERNANCE.md [2023-08-22T16:23:08.446Z] -rw-rw-r-- 1 jenkins jenkins 739 Aug 22 16:21 Jenkinsfile [2023-08-22T16:23:08.446Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 22 16:21 LICENSE [2023-08-22T16:23:08.446Z] -rw-rw-r-- 1 jenkins jenkins 2751 Aug 22 16:21 Makefile [2023-08-22T16:23:08.446Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 22 16:21 OWNERS.md [2023-08-22T16:23:08.446Z] -rw-rw-r-- 1 jenkins jenkins 2620 Aug 22 16:21 README.md [2023-08-22T16:23:08.446Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 22 16:21 VERSION [2023-08-22T16:23:08.446Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 16:21 bin [2023-08-22T16:23:08.446Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 16:21 cmd [2023-08-22T16:23:08.446Z] -rw-r--r-- 1 jenkins jenkins 78459 Aug 22 16:22 coverage.out [2023-08-22T16:23:08.446Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:21 doc [2023-08-22T16:23:08.446Z] -rw-rw-r-- 1 jenkins jenkins 3594 Aug 22 16:21 go.mod [2023-08-22T16:23:08.446Z] -rw-rw-r-- 1 jenkins jenkins 33570 Aug 22 16:21 go.sum [2023-08-22T16:23:08.446Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:21 internal [2023-08-22T16:23:08.446Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:21 snap [2023-08-22T16:23:08.446Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 22 16:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:08.766Z] + 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=704ee13449308adf69c4899592c40628e88298f9 --label arch=amd64 --label version=3.1.0-dev.4 . [2023-08-22T16:23:08.766Z] Sending build context to Docker daemon 21.69MB [2023-08-22T16:23:08.766Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-08-22T16:23:08.766Z] Step 2/26 : FROM ${BASE} AS builder [2023-08-22T16:23:08.766Z] ---> 56329e098765 [2023-08-22T16:23:08.766Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-08-22T16:23:09.335Z] ---> Running in f0ea503bb172 [2023-08-22T16:23:09.335Z] Removing intermediate container f0ea503bb172 [2023-08-22T16:23:09.335Z] ---> 0544159ecd1c [2023-08-22T16:23:09.335Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-22T16:23:09.335Z] ---> Running in bd5027b01e26 [2023-08-22T16:23:09.335Z] Removing intermediate container bd5027b01e26 [2023-08-22T16:23:09.335Z] ---> 70edb367e25f [2023-08-22T16:23:09.335Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-08-22T16:23:09.335Z] ---> Running in 10d48a10dfed [2023-08-22T16:23:09.335Z] Removing intermediate container 10d48a10dfed [2023-08-22T16:23:09.335Z] ---> c9ce000e3703 [2023-08-22T16:23:09.335Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-08-22T16:23:09.595Z] ---> Running in 3345a2c83186 [2023-08-22T16:23:09.595Z] Removing intermediate container 3345a2c83186 [2023-08-22T16:23:09.595Z] ---> 7f45836e18ba [2023-08-22T16:23:09.595Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-08-22T16:23:09.595Z] ---> Running in c4d78759350d [2023-08-22T16:23:09.595Z] Removing intermediate container c4d78759350d [2023-08-22T16:23:09.595Z] ---> 7c6cd56ee6b2 [2023-08-22T16:23:09.595Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-22T16:23:09.595Z] ---> Running in e914566f8331 [2023-08-22T16:23:09.854Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-22T16:23:10.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-22T16:23:10.113Z] OK: 265 MiB in 53 packages [2023-08-22T16:23:10.374Z] Removing intermediate container e914566f8331 [2023-08-22T16:23:10.374Z] ---> 7ed0883844dc [2023-08-22T16:23:10.374Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-08-22T16:23:10.633Z] ---> Running in 600ab09db435 [2023-08-22T16:23:10.633Z] Removing intermediate container 600ab09db435 [2023-08-22T16:23:10.633Z] ---> 0cb3915dc303 [2023-08-22T16:23:10.633Z] Step 10/26 : COPY go.mod vendor* ./ [2023-08-22T16:23:10.633Z] ---> d736ed63515e [2023-08-22T16:23:10.633Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-22T16:23:10.633Z] ---> Running in 466a2f4bd777 [2023-08-22T16:23:11.570Z] Removing intermediate container 466a2f4bd777 [2023-08-22T16:23:11.570Z] ---> 1f9b1fb953c7 [2023-08-22T16:23:11.570Z] Step 12/26 : COPY . . [2023-08-22T16:23:12.138Z] ---> 7454e18d874f [2023-08-22T16:23:12.138Z] Step 13/26 : RUN ${MAKE} [2023-08-22T16:23:12.138Z] ---> Running in 1fd28b5dbd75 [2023-08-22T16:23:12.396Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.4" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-08-22T16:23:34.324Z] Removing intermediate container 1fd28b5dbd75 [2023-08-22T16:23:34.324Z] ---> 973a1de48b39 [2023-08-22T16:23:34.324Z] Step 14/26 : FROM alpine:3.17 [2023-08-22T16:23:34.324Z] 3.17: Pulling from library/alpine [2023-08-22T16:23:34.324Z] 9398808236ff: Pulling fs layer [2023-08-22T16:23:34.583Z] 9398808236ff: Download complete [2023-08-22T16:23:34.583Z] 9398808236ff: Pull complete [2023-08-22T16:23:34.841Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-22T16:23:34.841Z] Status: Downloaded newer image for alpine:3.17 [2023-08-22T16:23:34.841Z] ---> 1e0b8b5322fc [2023-08-22T16:23:34.841Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-22T16:23:34.841Z] ---> Running in b807c8716a21 [2023-08-22T16:23:34.841Z] Removing intermediate container b807c8716a21 [2023-08-22T16:23:34.841Z] ---> d2b664220e94 [2023-08-22T16:23:34.841Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-08-22T16:23:34.841Z] ---> Running in f812c0f8271a [2023-08-22T16:23:35.102Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-22T16:23:35.359Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-22T16:23:35.618Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-22T16:23:35.618Z] Executing busybox-1.35.0-r29.trigger [2023-08-22T16:23:35.618Z] OK: 7 MiB in 16 packages [2023-08-22T16:23:35.877Z] Removing intermediate container f812c0f8271a [2023-08-22T16:23:35.877Z] ---> e9d50b43e051 [2023-08-22T16:23:35.877Z] Step 17/26 : WORKDIR / [2023-08-22T16:23:36.142Z] ---> Running in ff392e154690 [2023-08-22T16:23:36.142Z] Removing intermediate container ff392e154690 [2023-08-22T16:23:36.142Z] ---> 3206eeea6b14 [2023-08-22T16:23:36.142Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-08-22T16:23:37.085Z] ---> 296e8aa904b5 [2023-08-22T16:23:37.085Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-08-22T16:23:37.085Z] ---> fe34a92f99ef [2023-08-22T16:23:37.085Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-08-22T16:23:37.344Z] ---> c7509221d819 [2023-08-22T16:23:37.344Z] Step 21/26 : EXPOSE 59984 [2023-08-22T16:23:37.344Z] ---> Running in d055fef6fe47 [2023-08-22T16:23:37.344Z] Removing intermediate container d055fef6fe47 [2023-08-22T16:23:37.344Z] ---> bc1598c86116 [2023-08-22T16:23:37.344Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-08-22T16:23:37.344Z] ---> Running in 685f9bc7b453 [2023-08-22T16:23:37.344Z] Removing intermediate container 685f9bc7b453 [2023-08-22T16:23:37.344Z] ---> aa35fa0e15b0 [2023-08-22T16:23:37.344Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-22T16:23:37.344Z] ---> Running in bd65702af11c [2023-08-22T16:23:37.601Z] Removing intermediate container bd65702af11c [2023-08-22T16:23:37.601Z] ---> 608a64d67f3f [2023-08-22T16:23:37.601Z] Step 24/26 : LABEL arch=amd64 [2023-08-22T16:23:37.601Z] ---> Running in c85c0429a457 [2023-08-22T16:23:37.601Z] Removing intermediate container c85c0429a457 [2023-08-22T16:23:37.601Z] ---> 03ee4d04b33f [2023-08-22T16:23:37.601Z] Step 25/26 : LABEL git_sha=704ee13449308adf69c4899592c40628e88298f9 [2023-08-22T16:23:37.601Z] ---> Running in f9a8fd76d47b [2023-08-22T16:23:37.601Z] Removing intermediate container f9a8fd76d47b [2023-08-22T16:23:37.601Z] ---> d8c0dbea0129 [2023-08-22T16:23:37.601Z] Step 26/26 : LABEL version=3.1.0-dev.4 [2023-08-22T16:23:37.601Z] ---> Running in ae3de1263848 [2023-08-22T16:23:37.860Z] Removing intermediate container ae3de1263848 [2023-08-22T16:23:37.860Z] ---> 68b2b07cb8d3 [2023-08-22T16:23:37.860Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-22T16:23:37.860Z] Successfully built 68b2b07cb8d3 [2023-08-22T16:23:37.860Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-22T16:23:37.942Z] provisioning config files... [2023-08-22T16:23:37.951Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13286694372436850409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:23:38.248Z] ---> docker-login.sh [2023-08-22T16:23:38.248Z] nexus3.edgexfoundry.org:10001 [2023-08-22T16:23:38.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:23:38.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:23:38.248Z] Configure a credential helper to remove this warning. See [2023-08-22T16:23:38.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:23:38.248Z] [2023-08-22T16:23:38.248Z] Login Succeeded [2023-08-22T16:23:38.248Z] nexus3.edgexfoundry.org:10002 [2023-08-22T16:23:38.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:23:38.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:23:38.248Z] Configure a credential helper to remove this warning. See [2023-08-22T16:23:38.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:23:38.248Z] [2023-08-22T16:23:38.248Z] Login Succeeded [2023-08-22T16:23:38.248Z] nexus3.edgexfoundry.org:10003 [2023-08-22T16:23:38.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:23:38.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:23:38.508Z] Configure a credential helper to remove this warning. See [2023-08-22T16:23:38.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:23:38.508Z] [2023-08-22T16:23:38.508Z] Login Succeeded [2023-08-22T16:23:38.508Z] nexus3.edgexfoundry.org:10004 [2023-08-22T16:23:38.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:23:38.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:23:38.768Z] Configure a credential helper to remove this warning. See [2023-08-22T16:23:38.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:23:38.768Z] [2023-08-22T16:23:38.768Z] Login Succeeded [2023-08-22T16:23:38.768Z] docker.io [2023-08-22T16:23:38.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:23:39.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:23:39.028Z] Configure a credential helper to remove this warning. See [2023-08-22T16:23:39.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:23:39.028Z] [2023-08-22T16:23:39.028Z] Login Succeeded [2023-08-22T16:23:39.028Z] ---> docker-login.sh ends [Pipeline] } [2023-08-22T16:23:39.035Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-22T16:23:39.060Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-22T16:23:39.077Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2023-08-22T16:23:39.077Z] 704ee13449308adf69c4899592c40628e88298f9 [2023-08-22T16:23:39.077Z] latest [2023-08-22T16:23:39.077Z] 3.1.0-dev.4 [2023-08-22T16:23:39.077Z] 704ee13449308adf69c4899592c40628e88298f9-3.1.0-dev.4 [2023-08-22T16:23:39.077Z] main [2023-08-22T16:23:39.077Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:39.383Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:704ee13449308adf69c4899592c40628e88298f9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:39.686Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:704ee13449308adf69c4899592c40628e88298f9 [2023-08-22T16:23:39.686Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-08-22T16:23:39.686Z] dbfc1997c4cb: Preparing [2023-08-22T16:23:39.686Z] b5b945d9361d: Preparing [2023-08-22T16:23:39.686Z] 2f897c7e3cd1: Preparing [2023-08-22T16:23:39.686Z] 7c344ebc877c: Preparing [2023-08-22T16:23:39.686Z] 36b50b131297: Preparing [2023-08-22T16:23:39.686Z] 36b50b131297: Layer already exists [2023-08-22T16:23:39.686Z] dbfc1997c4cb: Pushed [2023-08-22T16:23:39.686Z] b5b945d9361d: Pushed [2023-08-22T16:23:39.686Z] 7c344ebc877c: Pushed [2023-08-22T16:23:42.971Z] 2f897c7e3cd1: Pushed [2023-08-22T16:23:42.971Z] 704ee13449308adf69c4899592c40628e88298f9: digest: sha256:1bc37516e970308d5bd7ccea018d1df33403a55a3a74027837e8e1b83b1f0642 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:43.277Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:43.572Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-08-22T16:23:43.573Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-08-22T16:23:43.573Z] dbfc1997c4cb: Preparing [2023-08-22T16:23:43.573Z] b5b945d9361d: Preparing [2023-08-22T16:23:43.573Z] 2f897c7e3cd1: Preparing [2023-08-22T16:23:43.573Z] 7c344ebc877c: Preparing [2023-08-22T16:23:43.573Z] 36b50b131297: Preparing [2023-08-22T16:23:43.573Z] 2f897c7e3cd1: Layer already exists [2023-08-22T16:23:43.573Z] 36b50b131297: Layer already exists [2023-08-22T16:23:43.573Z] b5b945d9361d: Layer already exists [2023-08-22T16:23:43.573Z] dbfc1997c4cb: Layer already exists [2023-08-22T16:23:43.573Z] 7c344ebc877c: Layer already exists [2023-08-22T16:23:43.573Z] latest: digest: sha256:1bc37516e970308d5bd7ccea018d1df33403a55a3a74027837e8e1b83b1f0642 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:43.877Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:44.189Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.4 [2023-08-22T16:23:44.189Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-08-22T16:23:44.189Z] dbfc1997c4cb: Preparing [2023-08-22T16:23:44.189Z] b5b945d9361d: Preparing [2023-08-22T16:23:44.189Z] 2f897c7e3cd1: Preparing [2023-08-22T16:23:44.189Z] 7c344ebc877c: Preparing [2023-08-22T16:23:44.189Z] 36b50b131297: Preparing [2023-08-22T16:23:44.189Z] 7c344ebc877c: Layer already exists [2023-08-22T16:23:44.189Z] b5b945d9361d: Layer already exists [2023-08-22T16:23:44.189Z] 36b50b131297: Layer already exists [2023-08-22T16:23:44.189Z] 2f897c7e3cd1: Layer already exists [2023-08-22T16:23:44.189Z] dbfc1997c4cb: Layer already exists [2023-08-22T16:23:44.189Z] 3.1.0-dev.4: digest: sha256:1bc37516e970308d5bd7ccea018d1df33403a55a3a74027837e8e1b83b1f0642 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:44.504Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:704ee13449308adf69c4899592c40628e88298f9-3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:44.805Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:704ee13449308adf69c4899592c40628e88298f9-3.1.0-dev.4 [2023-08-22T16:23:44.805Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-08-22T16:23:44.805Z] dbfc1997c4cb: Preparing [2023-08-22T16:23:44.805Z] b5b945d9361d: Preparing [2023-08-22T16:23:44.805Z] 2f897c7e3cd1: Preparing [2023-08-22T16:23:44.805Z] 7c344ebc877c: Preparing [2023-08-22T16:23:44.805Z] 36b50b131297: Preparing [2023-08-22T16:23:44.805Z] b5b945d9361d: Layer already exists [2023-08-22T16:23:44.805Z] 7c344ebc877c: Layer already exists [2023-08-22T16:23:44.805Z] 2f897c7e3cd1: Layer already exists [2023-08-22T16:23:44.805Z] dbfc1997c4cb: Layer already exists [2023-08-22T16:23:44.805Z] 36b50b131297: Layer already exists [2023-08-22T16:23:44.805Z] 704ee13449308adf69c4899592c40628e88298f9-3.1.0-dev.4: digest: sha256:1bc37516e970308d5bd7ccea018d1df33403a55a3a74027837e8e1b83b1f0642 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:45.110Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:45.412Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2023-08-22T16:23:45.413Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-08-22T16:23:45.413Z] dbfc1997c4cb: Preparing [2023-08-22T16:23:45.413Z] b5b945d9361d: Preparing [2023-08-22T16:23:45.413Z] 2f897c7e3cd1: Preparing [2023-08-22T16:23:45.413Z] 7c344ebc877c: Preparing [2023-08-22T16:23:45.413Z] 36b50b131297: Preparing [2023-08-22T16:23:45.413Z] b5b945d9361d: Layer already exists [2023-08-22T16:23:45.413Z] dbfc1997c4cb: Layer already exists [2023-08-22T16:23:45.413Z] 7c344ebc877c: Layer already exists [2023-08-22T16:23:45.413Z] 36b50b131297: Layer already exists [2023-08-22T16:23:45.413Z] 2f897c7e3cd1: Layer already exists [2023-08-22T16:23:45.413Z] main: digest: sha256:1bc37516e970308d5bd7ccea018d1df33403a55a3a74027837e8e1b83b1f0642 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-22T16:23:45.473Z] ===================================================== [Pipeline] echo [2023-08-22T16:23:45.486Z] taggedImages: [2023-08-22T16:23:45.486Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:704ee13449308adf69c4899592c40628e88298f9 [2023-08-22T16:23:45.486Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-08-22T16:23:45.486Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.4 [2023-08-22T16:23:45.486Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:704ee13449308adf69c4899592c40628e88298f9-3.1.0-dev.4 [2023-08-22T16:23:45.486Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:45.869Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-22T16:23:45.869Z] [2023-08-22T16:23:45.869Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:46.162Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-22T16:23:46.162Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-22T16:23:46.162Z] 5eb5b503b376: Pulling fs layer [2023-08-22T16:23:46.162Z] 5c69ac0246d0: Pulling fs layer [2023-08-22T16:23:46.162Z] ec43610c2a17: Pulling fs layer [2023-08-22T16:23:46.162Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-22T16:23:46.162Z] 33b1e0a273af: Pulling fs layer [2023-08-22T16:23:46.162Z] 5d3b04190fa2: Pulling fs layer [2023-08-22T16:23:46.162Z] 2f39f015ded8: Pulling fs layer [2023-08-22T16:23:46.162Z] 3a2ae6a8a46f: Waiting [2023-08-22T16:23:46.162Z] 33b1e0a273af: Waiting [2023-08-22T16:23:46.162Z] 5d3b04190fa2: Waiting [2023-08-22T16:23:46.162Z] 2f39f015ded8: Waiting [2023-08-22T16:23:46.162Z] 5c69ac0246d0: Download complete [2023-08-22T16:23:46.162Z] 3a2ae6a8a46f: Download complete [2023-08-22T16:23:46.162Z] 33b1e0a273af: Verifying Checksum [2023-08-22T16:23:46.162Z] 33b1e0a273af: Download complete [2023-08-22T16:23:46.162Z] ec43610c2a17: Verifying Checksum [2023-08-22T16:23:46.162Z] ec43610c2a17: Download complete [2023-08-22T16:23:46.162Z] 5d3b04190fa2: Verifying Checksum [2023-08-22T16:23:46.162Z] 5d3b04190fa2: Download complete [2023-08-22T16:23:46.420Z] 5eb5b503b376: Verifying Checksum [2023-08-22T16:23:46.420Z] 5eb5b503b376: Download complete [2023-08-22T16:23:46.986Z] 2f39f015ded8: Download complete [2023-08-22T16:23:47.550Z] 5eb5b503b376: Pull complete [2023-08-22T16:23:47.551Z] 5c69ac0246d0: Pull complete [2023-08-22T16:23:48.117Z] ec43610c2a17: Pull complete [2023-08-22T16:23:48.117Z] 3a2ae6a8a46f: Pull complete [2023-08-22T16:23:48.374Z] 33b1e0a273af: Pull complete [2023-08-22T16:23:48.375Z] 5d3b04190fa2: Pull complete [2023-08-22T16:23:52.558Z] 2f39f015ded8: Pull complete [2023-08-22T16:23:52.558Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-22T16:23:52.558Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-22T16:23:52.558Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:23:52.648Z] prd-ubuntu20.04-docker-8c-8g-4264 does not seem to be running inside a container [2023-08-22T16:23:52.679Z] $ 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/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-22T16:23:57.940Z] $ docker top 68315ab9560711b788dd47edad243b04927c4c3de2c6f26af6df07639f7763fc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:23:58.304Z] ---> job-cost.sh [2023-08-22T16:23:58.304Z] lf-activate-venv: SKIPPING [2023-08-22T16:23:58.304Z] INFO: No Stack... [2023-08-22T16:23:58.563Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-22T16:23:58.821Z] INFO: Archiving Costs [Pipeline] sh [2023-08-22T16:23:59.107Z] + cut -d, -f6 [2023-08-22T16:23:59.107Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [Pipeline] lock [2023-08-22T16:23:59.118Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-160-stack-cost] [2023-08-22T16:23:59.123Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-160-stack-cost] did not exist. Created. [2023-08-22T16:23:59.123Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-160-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-22T16:23:59.422Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-22T16:23:59.454Z] Stashed 1 file(s) [Pipeline] } [2023-08-22T16:23:59.460Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-160-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-22T16:23:59.482Z] $ docker stop --time=1 68315ab9560711b788dd47edad243b04927c4c3de2c6f26af6df07639f7763fc [2023-08-22T16:24:00.643Z] $ docker rm -f --volumes 68315ab9560711b788dd47edad243b04927c4c3de2c6f26af6df07639f7763fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-22T16:24:24.711Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4271 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2023-08-22T16:24:24.723Z] Running in /w/workspace/device-onvif-camera/160 [Pipeline] { [Pipeline] checkout [2023-08-22T16:24:24.766Z] The recommended git tool is: git [2023-08-22T16:24:31.628Z] using credential edgex-jenkins-ssh [2023-08-22T16:24:31.649Z] Cloning the remote Git repository [2023-08-22T16:24:31.718Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-08-22T16:24:31.876Z] > git init /w/workspace/device-onvif-camera/160 # timeout=10 [2023-08-22T16:24:32.091Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-08-22T16:24:32.092Z] > git --version # timeout=10 [2023-08-22T16:24:32.122Z] > git --version # 'git version 2.25.1' [2023-08-22T16:24:32.126Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-22T16:24:32.346Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-22T16:24:34.102Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-08-22T16:24:34.127Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-22T16:24:35.337Z] Avoid second fetch [2023-08-22T16:24:35.337Z] Checking out Revision 704ee13449308adf69c4899592c40628e88298f9 (main) [2023-08-22T16:24:36.164Z] Commit message: "build(deps): Bump github.com/google/uuid from 1.3.0 to 1.3.1 (#376)" [2023-08-22T16:24:35.363Z] > git config core.sparsecheckout # timeout=10 [2023-08-22T16:24:35.452Z] > git checkout -f 704ee13449308adf69c4899592c40628e88298f9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-22T16:24:37.263Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-22T16:24:37.263Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-22T16:24:37.263Z] Dload Upload Total Spent Left Speed [2023-08-22T16:24:37.263Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-08-22T16:24:37.872Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-22T16:24:38.217Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-22T16:24:38.217Z] + sudo tee /etc/docker/daemon.new [2023-08-22T16:24:38.217Z] { [2023-08-22T16:24:38.217Z] "registry-mirrors": [ [2023-08-22T16:24:38.217Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-22T16:24:38.217Z] ], [2023-08-22T16:24:38.217Z] "bip": "10.250.0.254/24", [2023-08-22T16:24:38.217Z] "hosts": [ [2023-08-22T16:24:38.217Z] "tcp://0.0.0.0:5555", [2023-08-22T16:24:38.217Z] "unix:///var/run/docker.sock" [2023-08-22T16:24:38.217Z] ], [2023-08-22T16:24:38.217Z] "mtu": 1458, [2023-08-22T16:24:38.217Z] "selinux-enabled": true, [2023-08-22T16:24:38.217Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-22T16:24:38.217Z] } [Pipeline] sh [2023-08-22T16:24:38.553Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-22T16:24:38.904Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-22T16:24:57.245Z] provisioning config files... [2023-08-22T16:24:57.281Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/160@tmp/config9748851363500679637tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:25:01.400Z] ---> docker-login.sh [2023-08-22T16:25:01.400Z] nexus3.edgexfoundry.org:10001 [2023-08-22T16:25:01.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:25:04.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:25:04.015Z] Configure a credential helper to remove this warning. See [2023-08-22T16:25:04.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:25:04.015Z] [2023-08-22T16:25:04.015Z] Login Succeeded [2023-08-22T16:25:04.015Z] nexus3.edgexfoundry.org:10002 [2023-08-22T16:25:04.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:25:04.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:25:04.610Z] Configure a credential helper to remove this warning. See [2023-08-22T16:25:04.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:25:04.610Z] [2023-08-22T16:25:04.610Z] Login Succeeded [2023-08-22T16:25:04.610Z] nexus3.edgexfoundry.org:10003 [2023-08-22T16:25:04.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:25:04.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:25:04.883Z] Configure a credential helper to remove this warning. See [2023-08-22T16:25:04.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:25:04.883Z] [2023-08-22T16:25:04.883Z] Login Succeeded [2023-08-22T16:25:04.883Z] nexus3.edgexfoundry.org:10004 [2023-08-22T16:25:05.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:25:05.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:25:05.484Z] Configure a credential helper to remove this warning. See [2023-08-22T16:25:05.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:25:05.484Z] [2023-08-22T16:25:05.484Z] Login Succeeded [2023-08-22T16:25:05.484Z] docker.io [2023-08-22T16:25:05.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:25:06.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:25:06.030Z] Configure a credential helper to remove this warning. See [2023-08-22T16:25:06.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:25:06.030Z] [2023-08-22T16:25:06.030Z] Login Succeeded [2023-08-22T16:25:06.030Z] ---> docker-login.sh ends [Pipeline] } [2023-08-22T16:25:06.046Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-22T16:25:06.412Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-22T16:25:06.425Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-22T16:25:06.433Z] ========================================================= [2023-08-22T16:25:06.433Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-22T16:25:06.433Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:25:06.795Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-22T16:25:07.406Z] Sending build context to Docker daemon 14.17MB [2023-08-22T16:25:07.406Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-22T16:25:07.406Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-22T16:25:07.406Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-22T16:25:07.406Z] edb6bdbacee9: Pulling fs layer [2023-08-22T16:25:07.406Z] 5f9638ab2659: Pulling fs layer [2023-08-22T16:25:07.406Z] 8d51d6327a98: Pulling fs layer [2023-08-22T16:25:07.406Z] 8b374f2dd631: Pulling fs layer [2023-08-22T16:25:07.406Z] ec14aa9079de: Pulling fs layer [2023-08-22T16:25:07.406Z] 2f466654f4bb: Pulling fs layer [2023-08-22T16:25:07.406Z] 554e91adad29: Pulling fs layer [2023-08-22T16:25:07.406Z] ec14aa9079de: Waiting [2023-08-22T16:25:07.406Z] 2f466654f4bb: Waiting [2023-08-22T16:25:07.406Z] 554e91adad29: Waiting [2023-08-22T16:25:07.406Z] 8b374f2dd631: Waiting [2023-08-22T16:25:07.406Z] 5f9638ab2659: Verifying Checksum [2023-08-22T16:25:07.406Z] 5f9638ab2659: Download complete [2023-08-22T16:25:07.696Z] 8b374f2dd631: Verifying Checksum [2023-08-22T16:25:07.696Z] 8b374f2dd631: Download complete [2023-08-22T16:25:07.696Z] ec14aa9079de: Verifying Checksum [2023-08-22T16:25:07.696Z] ec14aa9079de: Download complete [2023-08-22T16:25:07.696Z] edb6bdbacee9: Verifying Checksum [2023-08-22T16:25:07.696Z] edb6bdbacee9: Download complete [2023-08-22T16:25:08.713Z] edb6bdbacee9: Pull complete [2023-08-22T16:25:09.704Z] 554e91adad29: Verifying Checksum [2023-08-22T16:25:09.704Z] 554e91adad29: Download complete [2023-08-22T16:25:09.704Z] 5f9638ab2659: Pull complete [2023-08-22T16:25:10.689Z] 8d51d6327a98: Verifying Checksum [2023-08-22T16:25:10.690Z] 8d51d6327a98: Download complete [2023-08-22T16:25:10.690Z] 2f466654f4bb: Verifying Checksum [2023-08-22T16:25:10.690Z] 2f466654f4bb: Download complete [2023-08-22T16:25:23.098Z] 8d51d6327a98: Pull complete [2023-08-22T16:25:23.098Z] 8b374f2dd631: Pull complete [2023-08-22T16:25:23.373Z] ec14aa9079de: Pull complete [2023-08-22T16:25:31.695Z] 2f466654f4bb: Pull complete [2023-08-22T16:25:34.329Z] 554e91adad29: Pull complete [2023-08-22T16:25:34.329Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-22T16:25:34.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-22T16:25:34.329Z] ---> 1e15ea492957 [2023-08-22T16:25:34.329Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-22T16:25:35.810Z] ---> Running in 02f41eebaf62 [2023-08-22T16:25:35.810Z] Removing intermediate container 02f41eebaf62 [2023-08-22T16:25:35.810Z] ---> 03ea563788ef [2023-08-22T16:25:35.810Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-22T16:25:36.087Z] ---> Running in b6b8597c139e [2023-08-22T16:25:36.464Z] Removing intermediate container b6b8597c139e [2023-08-22T16:25:36.464Z] ---> 971068695e36 [2023-08-22T16:25:36.464Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-08-22T16:25:36.464Z] ---> Running in 0142bc52cf70 [2023-08-22T16:25:37.097Z] Removing intermediate container 0142bc52cf70 [2023-08-22T16:25:37.097Z] ---> b8d56a703929 [2023-08-22T16:25:37.097Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-08-22T16:25:37.097Z] ---> Running in acfa59bba8f5 [2023-08-22T16:25:37.376Z] Removing intermediate container acfa59bba8f5 [2023-08-22T16:25:37.376Z] ---> 5c98818b3c3b [2023-08-22T16:25:37.376Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-08-22T16:25:37.652Z] ---> Running in 6a7bcb55d26f [2023-08-22T16:25:37.940Z] Removing intermediate container 6a7bcb55d26f [2023-08-22T16:25:37.940Z] ---> 8eff89d49a04 [2023-08-22T16:25:37.940Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-22T16:25:37.940Z] ---> Running in c0e9fe3b0a70 [2023-08-22T16:25:39.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-22T16:25:40.348Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-22T16:25:41.411Z] OK: 263 MiB in 53 packages [2023-08-22T16:25:44.013Z] Removing intermediate container c0e9fe3b0a70 [2023-08-22T16:25:44.013Z] ---> c6d339938543 [2023-08-22T16:25:44.013Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-08-22T16:25:44.288Z] ---> Running in fd1b90a9caac [2023-08-22T16:25:44.562Z] Removing intermediate container fd1b90a9caac [2023-08-22T16:25:44.562Z] ---> 5ae34deca8ff [2023-08-22T16:25:44.562Z] Step 10/13 : COPY go.mod vendor* ./ [2023-08-22T16:25:45.156Z] ---> 16b5bcc63132 [2023-08-22T16:25:45.156Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-22T16:25:45.156Z] ---> Running in a88435af4653 [2023-08-22T16:27:06.856Z] Removing intermediate container a88435af4653 [2023-08-22T16:27:06.856Z] ---> 8aff2a28fd04 [2023-08-22T16:27:06.856Z] Step 12/13 : COPY . . [2023-08-22T16:27:06.856Z] ---> 98af78f73745 [2023-08-22T16:27:06.856Z] Step 13/13 : RUN ${MAKE} [2023-08-22T16:27:06.856Z] ---> Running in 106d96bcb58b [2023-08-22T16:27:06.856Z] noop [2023-08-22T16:27:06.856Z] Removing intermediate container 106d96bcb58b [2023-08-22T16:27:06.856Z] ---> 973b8c35c7ed [2023-08-22T16:27:06.856Z] Successfully built 973b8c35c7ed [2023-08-22T16:27:06.856Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:27:07.232Z] + docker inspect -f . ci-base-image-arm64 [2023-08-22T16:27:07.232Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:27:07.478Z] prd-ubuntu20.04-docker-arm64-4c-16g-4271 does not seem to be running inside a container [2023-08-22T16:27:07.571Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/160 -v /w/workspace/device-onvif-camera/160:/w/workspace/device-onvif-camera/160:rw,z -v /w/workspace/device-onvif-camera/160@tmp:/w/workspace/device-onvif-camera/160@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 ******** ci-base-image-arm64 cat [2023-08-22T16:27:08.988Z] $ docker top 541dd44b837a3d07fcdcdabc0d7ac0c1ffdf9df63a2c4e0859acc707e038986f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-22T16:27:09.861Z] + go version [2023-08-22T16:27:09.861Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-22T16:27:09.885Z] $ docker stop --time=1 541dd44b837a3d07fcdcdabc0d7ac0c1ffdf9df63a2c4e0859acc707e038986f [2023-08-22T16:27:11.534Z] $ docker rm -f --volumes 541dd44b837a3d07fcdcdabc0d7ac0c1ffdf9df63a2c4e0859acc707e038986f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:27:12.108Z] + docker inspect -f . ci-base-image-arm64 [2023-08-22T16:27:12.108Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:27:12.345Z] prd-ubuntu20.04-docker-arm64-4c-16g-4271 does not seem to be running inside a container [2023-08-22T16:27:12.434Z] $ 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/160 -v /w/workspace/device-onvif-camera/160:/w/workspace/device-onvif-camera/160:rw,z -v /w/workspace/device-onvif-camera/160@tmp:/w/workspace/device-onvif-camera/160@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 ******** ci-base-image-arm64 cat [2023-08-22T16:27:13.700Z] $ docker top f74be0981cfd1131776e57c50de1f3b2f656ea49783f696b5dd3abb73153647f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-22T16:27:14.564Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/160 [Pipeline] fileExists [Pipeline] sh [2023-08-22T16:27:15.232Z] + make test [2023-08-22T16:27:15.232Z] go test ./... -coverprofile=coverage.out ./... [2023-08-22T16:28:02.118Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-08-22T16:30:23.870Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-08-22T16:30:25.295Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-08-22T16:30:27.893Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.225s coverage: 31.4% of statements [2023-08-22T16:30:49.972Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.462s coverage: 86.5% of statements [2023-08-22T16:30:50.556Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-22T16:30:50.556Z] go vet ./... [2023-08-22T16:31:22.808Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-22T16:31:23.081Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-22T16:31:23.081Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-22T16:31:23.686Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-22T16:31:23.704Z] $ docker stop --time=1 f74be0981cfd1131776e57c50de1f3b2f656ea49783f696b5dd3abb73153647f [2023-08-22T16:31:25.672Z] $ docker rm -f --volumes f74be0981cfd1131776e57c50de1f3b2f656ea49783f696b5dd3abb73153647f [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-22T16:31:27.005Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-22T16:31:27.020Z] Warning: overwriting stash ‘coverage-report’ [2023-08-22T16:31:27.677Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-22T16:31:28.053Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-22T16:31:28.379Z] + ls -al . [2023-08-22T16:31:28.380Z] total 236 [2023-08-22T16:31:28.380Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 22 16:27 . [2023-08-22T16:31:28.380Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:24 .. [2023-08-22T16:31:28.380Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 22 16:24 .git [2023-08-22T16:31:28.380Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 16:24 .github [2023-08-22T16:31:28.380Z] -rw-rw-r-- 1 jenkins jenkins 496 Aug 22 16:24 .gitignore [2023-08-22T16:31:28.380Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 22 16:24 .golangci.yml [2023-08-22T16:31:28.380Z] -rw-rw-r-- 1 jenkins jenkins 10087 Aug 22 16:24 Attribution.txt [2023-08-22T16:31:28.380Z] -rw-rw-r-- 1 jenkins jenkins 15932 Aug 22 16:24 CHANGELOG.md [2023-08-22T16:31:28.380Z] -rw-rw-r-- 1 jenkins jenkins 1574 Aug 22 16:24 Dockerfile [2023-08-22T16:31:28.380Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 22 16:24 GOVERNANCE.md [2023-08-22T16:31:28.380Z] -rw-rw-r-- 1 jenkins jenkins 739 Aug 22 16:24 Jenkinsfile [2023-08-22T16:31:28.380Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 22 16:24 LICENSE [2023-08-22T16:31:28.380Z] -rw-rw-r-- 1 jenkins jenkins 2751 Aug 22 16:24 Makefile [2023-08-22T16:31:28.380Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 22 16:24 OWNERS.md [2023-08-22T16:31:28.380Z] -rw-rw-r-- 1 jenkins jenkins 2620 Aug 22 16:24 README.md [2023-08-22T16:31:28.380Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 22 16:21 VERSION [2023-08-22T16:31:28.380Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 16:24 bin [2023-08-22T16:31:28.380Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 16:24 cmd [2023-08-22T16:31:28.380Z] -rw-r--r-- 1 jenkins jenkins 78459 Aug 22 16:30 coverage.out [2023-08-22T16:31:28.380Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:24 doc [2023-08-22T16:31:28.380Z] -rw-rw-r-- 1 jenkins jenkins 3594 Aug 22 16:24 go.mod [2023-08-22T16:31:28.380Z] -rw-rw-r-- 1 jenkins jenkins 33570 Aug 22 16:24 go.sum [2023-08-22T16:31:28.380Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:24 internal [2023-08-22T16:31:28.380Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:24 snap [2023-08-22T16:31:28.380Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 22 16:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:31:28.733Z] + 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=704ee13449308adf69c4899592c40628e88298f9 --label arch=arm64 --label version=3.1.0-dev.4 . [2023-08-22T16:31:29.342Z] Sending build context to Docker daemon 14.25MB [2023-08-22T16:31:29.342Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-08-22T16:31:29.342Z] Step 2/26 : FROM ${BASE} AS builder [2023-08-22T16:31:29.342Z] ---> 973b8c35c7ed [2023-08-22T16:31:29.342Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-08-22T16:31:29.614Z] ---> Running in c953e3471d85 [2023-08-22T16:31:29.885Z] Removing intermediate container c953e3471d85 [2023-08-22T16:31:29.885Z] ---> 9608252bbef1 [2023-08-22T16:31:29.885Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-22T16:31:29.885Z] ---> Running in 8475752b29dd [2023-08-22T16:31:30.156Z] Removing intermediate container 8475752b29dd [2023-08-22T16:31:30.156Z] ---> 7baf8752a24b [2023-08-22T16:31:30.156Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-08-22T16:31:30.425Z] ---> Running in 33f283c190c8 [2023-08-22T16:31:30.695Z] Removing intermediate container 33f283c190c8 [2023-08-22T16:31:30.695Z] ---> 976c4461a2f7 [2023-08-22T16:31:30.695Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-08-22T16:31:30.695Z] ---> Running in dd821a217935 [2023-08-22T16:31:30.963Z] Removing intermediate container dd821a217935 [2023-08-22T16:31:30.963Z] ---> 12340fb01e5a [2023-08-22T16:31:30.963Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-08-22T16:31:31.233Z] ---> Running in 4a8b04ef5471 [2023-08-22T16:31:31.511Z] Removing intermediate container 4a8b04ef5471 [2023-08-22T16:31:31.511Z] ---> 034ac64a43ac [2023-08-22T16:31:31.511Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-22T16:31:31.511Z] ---> Running in 23a47571f942 [2023-08-22T16:31:32.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-22T16:31:33.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-22T16:31:34.949Z] OK: 263 MiB in 53 packages [2023-08-22T16:31:35.962Z] Removing intermediate container 23a47571f942 [2023-08-22T16:31:35.962Z] ---> 4571a92a348f [2023-08-22T16:31:35.962Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-08-22T16:31:35.962Z] ---> Running in af5dcf2bc5a4 [2023-08-22T16:31:36.232Z] Removing intermediate container af5dcf2bc5a4 [2023-08-22T16:31:36.232Z] ---> aa441f6fc9ad [2023-08-22T16:31:36.232Z] Step 10/26 : COPY go.mod vendor* ./ [2023-08-22T16:31:36.820Z] ---> 527bb67bdeef [2023-08-22T16:31:36.820Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-22T16:31:37.088Z] ---> Running in cb3f76d50af0 [2023-08-22T16:31:39.701Z] Removing intermediate container cb3f76d50af0 [2023-08-22T16:31:39.701Z] ---> 141c377120c8 [2023-08-22T16:31:39.701Z] Step 12/26 : COPY . . [2023-08-22T16:31:41.115Z] ---> 69c9ecaa439f [2023-08-22T16:31:41.115Z] Step 13/26 : RUN ${MAKE} [2023-08-22T16:31:41.115Z] ---> Running in 125d41b36d48 [2023-08-22T16:31:42.076Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.4" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-08-22T16:34:33.903Z] Removing intermediate container 125d41b36d48 [2023-08-22T16:34:33.904Z] ---> f7b00ef8d3b8 [2023-08-22T16:34:33.904Z] Step 14/26 : FROM alpine:3.17 [2023-08-22T16:34:33.904Z] 3.17: Pulling from library/alpine [2023-08-22T16:34:33.904Z] 4060ece20d7a: Pulling fs layer [2023-08-22T16:34:33.904Z] 4060ece20d7a: Verifying Checksum [2023-08-22T16:34:33.904Z] 4060ece20d7a: Download complete [2023-08-22T16:34:33.904Z] 4060ece20d7a: Pull complete [2023-08-22T16:34:33.904Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-22T16:34:33.904Z] Status: Downloaded newer image for alpine:3.17 [2023-08-22T16:34:33.904Z] ---> 8650cd65339b [2023-08-22T16:34:33.904Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-22T16:34:33.904Z] ---> Running in 8a54ab926da4 [2023-08-22T16:34:33.904Z] Removing intermediate container 8a54ab926da4 [2023-08-22T16:34:33.904Z] ---> 94c7d0a3711c [2023-08-22T16:34:33.904Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-08-22T16:34:33.904Z] ---> Running in d156d72126e8 [2023-08-22T16:34:33.904Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-22T16:34:33.904Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-22T16:34:33.904Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-22T16:34:33.904Z] Executing busybox-1.35.0-r29.trigger [2023-08-22T16:34:33.904Z] OK: 8 MiB in 16 packages [2023-08-22T16:34:33.904Z] Removing intermediate container d156d72126e8 [2023-08-22T16:34:33.904Z] ---> 9af600008c54 [2023-08-22T16:34:33.904Z] Step 17/26 : WORKDIR / [2023-08-22T16:34:33.904Z] ---> Running in bf7e07cb4fa2 [2023-08-22T16:34:33.904Z] Removing intermediate container bf7e07cb4fa2 [2023-08-22T16:34:33.904Z] ---> 20a28b535626 [2023-08-22T16:34:33.904Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-08-22T16:34:33.904Z] ---> 5666b1199453 [2023-08-22T16:34:33.904Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-08-22T16:34:33.904Z] ---> 1b761efa7470 [2023-08-22T16:34:33.904Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-08-22T16:34:33.904Z] ---> 24a2cec58f37 [2023-08-22T16:34:33.904Z] Step 21/26 : EXPOSE 59984 [2023-08-22T16:34:33.904Z] ---> Running in c1fe1e54fd86 [2023-08-22T16:34:33.904Z] Removing intermediate container c1fe1e54fd86 [2023-08-22T16:34:33.904Z] ---> 5d133b1bfd0d [2023-08-22T16:34:33.904Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-08-22T16:34:34.180Z] ---> Running in 3d1aa5f0aeaa [2023-08-22T16:34:34.458Z] Removing intermediate container 3d1aa5f0aeaa [2023-08-22T16:34:34.458Z] ---> 35310a34b25c [2023-08-22T16:34:34.458Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-22T16:34:34.458Z] ---> Running in 5b620c23d7cc [2023-08-22T16:34:34.733Z] Removing intermediate container 5b620c23d7cc [2023-08-22T16:34:34.733Z] ---> e1133b14e9ea [2023-08-22T16:34:34.733Z] Step 24/26 : LABEL arch=arm64 [2023-08-22T16:34:35.021Z] ---> Running in e8b344d461ba [2023-08-22T16:34:35.302Z] Removing intermediate container e8b344d461ba [2023-08-22T16:34:35.302Z] ---> fee310f9f59d [2023-08-22T16:34:35.302Z] Step 25/26 : LABEL git_sha=704ee13449308adf69c4899592c40628e88298f9 [2023-08-22T16:34:35.302Z] ---> Running in d02b20878159 [2023-08-22T16:34:35.575Z] Removing intermediate container d02b20878159 [2023-08-22T16:34:35.575Z] ---> 862068e846e9 [2023-08-22T16:34:35.575Z] Step 26/26 : LABEL version=3.1.0-dev.4 [2023-08-22T16:34:35.575Z] ---> Running in 1311b620d88a [2023-08-22T16:34:35.843Z] Removing intermediate container 1311b620d88a [2023-08-22T16:34:35.843Z] ---> b1371955c988 [2023-08-22T16:34:35.843Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-22T16:34:35.843Z] Successfully built b1371955c988 [2023-08-22T16:34:35.843Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-22T16:34:35.986Z] provisioning config files... [2023-08-22T16:34:36.003Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/160@tmp/config10318650445997849510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:34:36.338Z] ---> docker-login.sh [2023-08-22T16:34:36.338Z] nexus3.edgexfoundry.org:10001 [2023-08-22T16:34:36.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:34:36.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:34:36.607Z] Configure a credential helper to remove this warning. See [2023-08-22T16:34:36.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:34:36.607Z] [2023-08-22T16:34:36.607Z] Login Succeeded [2023-08-22T16:34:36.607Z] nexus3.edgexfoundry.org:10002 [2023-08-22T16:34:36.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:34:36.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:34:36.875Z] Configure a credential helper to remove this warning. See [2023-08-22T16:34:36.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:34:36.875Z] [2023-08-22T16:34:36.875Z] Login Succeeded [2023-08-22T16:34:36.875Z] nexus3.edgexfoundry.org:10003 [2023-08-22T16:34:37.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:34:37.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:34:37.407Z] Configure a credential helper to remove this warning. See [2023-08-22T16:34:37.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:34:37.407Z] [2023-08-22T16:34:37.407Z] Login Succeeded [2023-08-22T16:34:37.407Z] nexus3.edgexfoundry.org:10004 [2023-08-22T16:34:37.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:34:37.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:34:37.675Z] Configure a credential helper to remove this warning. See [2023-08-22T16:34:37.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:34:37.675Z] [2023-08-22T16:34:37.675Z] Login Succeeded [2023-08-22T16:34:37.675Z] docker.io [2023-08-22T16:34:37.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:34:38.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:34:38.212Z] Configure a credential helper to remove this warning. See [2023-08-22T16:34:38.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:34:38.212Z] [2023-08-22T16:34:38.212Z] Login Succeeded [2023-08-22T16:34:38.212Z] ---> docker-login.sh ends [Pipeline] } [2023-08-22T16:34:38.226Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-22T16:34:38.264Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-22T16:34:38.293Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2023-08-22T16:34:38.293Z] 704ee13449308adf69c4899592c40628e88298f9 [2023-08-22T16:34:38.293Z] latest [2023-08-22T16:34:38.293Z] 3.1.0-dev.4 [2023-08-22T16:34:38.293Z] 704ee13449308adf69c4899592c40628e88298f9-3.1.0-dev.4 [2023-08-22T16:34:38.293Z] main [2023-08-22T16:34:38.293Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:34:38.654Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:704ee13449308adf69c4899592c40628e88298f9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:34:38.999Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:704ee13449308adf69c4899592c40628e88298f9 [2023-08-22T16:34:38.999Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-08-22T16:34:38.999Z] b48c29900480: Preparing [2023-08-22T16:34:38.999Z] a85336a250e5: Preparing [2023-08-22T16:34:38.999Z] fd0e025923fb: Preparing [2023-08-22T16:34:38.999Z] 29fbaf6b7581: Preparing [2023-08-22T16:34:38.999Z] d2d9d24a8c2a: Preparing [2023-08-22T16:34:38.999Z] d2d9d24a8c2a: Layer already exists [2023-08-22T16:34:39.265Z] 29fbaf6b7581: Pushed [2023-08-22T16:34:39.265Z] b48c29900480: Pushed [2023-08-22T16:34:39.265Z] a85336a250e5: Pushed [2023-08-22T16:34:44.612Z] fd0e025923fb: Pushed [2023-08-22T16:34:44.612Z] 704ee13449308adf69c4899592c40628e88298f9: digest: sha256:be4909f173614a81c6bc98d017e8aa54c278b4805df169ba09656747f5e9287c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:34:45.222Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:34:45.557Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2023-08-22T16:34:45.557Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-08-22T16:34:45.557Z] b48c29900480: Preparing [2023-08-22T16:34:45.557Z] a85336a250e5: Preparing [2023-08-22T16:34:45.557Z] fd0e025923fb: Preparing [2023-08-22T16:34:45.557Z] 29fbaf6b7581: Preparing [2023-08-22T16:34:45.557Z] d2d9d24a8c2a: Preparing [2023-08-22T16:34:45.557Z] d2d9d24a8c2a: Layer already exists [2023-08-22T16:34:45.557Z] fd0e025923fb: Layer already exists [2023-08-22T16:34:45.557Z] b48c29900480: Layer already exists [2023-08-22T16:34:45.557Z] 29fbaf6b7581: Layer already exists [2023-08-22T16:34:45.557Z] a85336a250e5: Layer already exists [2023-08-22T16:34:45.557Z] latest: digest: sha256:be4909f173614a81c6bc98d017e8aa54c278b4805df169ba09656747f5e9287c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:34:46.186Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:34:46.541Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.4 [2023-08-22T16:34:46.541Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-08-22T16:34:46.541Z] b48c29900480: Preparing [2023-08-22T16:34:46.541Z] a85336a250e5: Preparing [2023-08-22T16:34:46.541Z] fd0e025923fb: Preparing [2023-08-22T16:34:46.541Z] 29fbaf6b7581: Preparing [2023-08-22T16:34:46.541Z] d2d9d24a8c2a: Preparing [2023-08-22T16:34:46.541Z] 29fbaf6b7581: Layer already exists [2023-08-22T16:34:46.541Z] d2d9d24a8c2a: Layer already exists [2023-08-22T16:34:46.541Z] a85336a250e5: Layer already exists [2023-08-22T16:34:46.541Z] fd0e025923fb: Layer already exists [2023-08-22T16:34:46.541Z] b48c29900480: Layer already exists [2023-08-22T16:34:46.541Z] 3.1.0-dev.4: digest: sha256:be4909f173614a81c6bc98d017e8aa54c278b4805df169ba09656747f5e9287c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:34:46.906Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:704ee13449308adf69c4899592c40628e88298f9-3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:34:47.246Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:704ee13449308adf69c4899592c40628e88298f9-3.1.0-dev.4 [2023-08-22T16:34:47.246Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-08-22T16:34:47.246Z] b48c29900480: Preparing [2023-08-22T16:34:47.246Z] a85336a250e5: Preparing [2023-08-22T16:34:47.246Z] fd0e025923fb: Preparing [2023-08-22T16:34:47.246Z] 29fbaf6b7581: Preparing [2023-08-22T16:34:47.246Z] d2d9d24a8c2a: Preparing [2023-08-22T16:34:47.246Z] b48c29900480: Layer already exists [2023-08-22T16:34:47.246Z] 29fbaf6b7581: Layer already exists [2023-08-22T16:34:47.246Z] d2d9d24a8c2a: Layer already exists [2023-08-22T16:34:47.246Z] fd0e025923fb: Layer already exists [2023-08-22T16:34:47.246Z] a85336a250e5: Layer already exists [2023-08-22T16:34:47.246Z] 704ee13449308adf69c4899592c40628e88298f9-3.1.0-dev.4: digest: sha256:be4909f173614a81c6bc98d017e8aa54c278b4805df169ba09656747f5e9287c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:34:47.612Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:34:47.957Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2023-08-22T16:34:47.957Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-08-22T16:34:47.957Z] b48c29900480: Preparing [2023-08-22T16:34:47.957Z] a85336a250e5: Preparing [2023-08-22T16:34:47.957Z] fd0e025923fb: Preparing [2023-08-22T16:34:47.957Z] 29fbaf6b7581: Preparing [2023-08-22T16:34:47.957Z] d2d9d24a8c2a: Preparing [2023-08-22T16:34:47.957Z] b48c29900480: Layer already exists [2023-08-22T16:34:47.957Z] d2d9d24a8c2a: Layer already exists [2023-08-22T16:34:47.957Z] 29fbaf6b7581: Layer already exists [2023-08-22T16:34:47.957Z] fd0e025923fb: Layer already exists [2023-08-22T16:34:47.957Z] a85336a250e5: Layer already exists [2023-08-22T16:34:48.226Z] main: digest: sha256:be4909f173614a81c6bc98d017e8aa54c278b4805df169ba09656747f5e9287c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-22T16:34:48.270Z] ===================================================== [Pipeline] echo [2023-08-22T16:34:48.277Z] taggedImages: [2023-08-22T16:34:48.277Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:704ee13449308adf69c4899592c40628e88298f9 [2023-08-22T16:34:48.277Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2023-08-22T16:34:48.277Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.4 [2023-08-22T16:34:48.277Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:704ee13449308adf69c4899592c40628e88298f9-3.1.0-dev.4 [2023-08-22T16:34:48.277Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:34:48.648Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-22T16:34:48.648Z] [2023-08-22T16:34:48.648Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:34:48.993Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-22T16:34:48.993Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-22T16:34:48.993Z] 8998bd30e6a1: Pulling fs layer [2023-08-22T16:34:48.993Z] 04944245beec: Pulling fs layer [2023-08-22T16:34:48.993Z] 699f458cf7ca: Pulling fs layer [2023-08-22T16:34:48.993Z] 765212b225bb: Pulling fs layer [2023-08-22T16:34:48.993Z] f23df028b6ca: Pulling fs layer [2023-08-22T16:34:48.993Z] d65c8cfc05b1: Pulling fs layer [2023-08-22T16:34:48.993Z] 2437ff75d9bd: Pulling fs layer [2023-08-22T16:34:48.993Z] 765212b225bb: Waiting [2023-08-22T16:34:48.993Z] d65c8cfc05b1: Waiting [2023-08-22T16:34:48.993Z] 2437ff75d9bd: Waiting [2023-08-22T16:34:49.264Z] 04944245beec: Verifying Checksum [2023-08-22T16:34:49.264Z] 04944245beec: Download complete [2023-08-22T16:34:49.264Z] 765212b225bb: Verifying Checksum [2023-08-22T16:34:49.264Z] 765212b225bb: Download complete [2023-08-22T16:34:49.264Z] f23df028b6ca: Download complete [2023-08-22T16:34:49.264Z] d65c8cfc05b1: Verifying Checksum [2023-08-22T16:34:49.264Z] d65c8cfc05b1: Download complete [2023-08-22T16:34:49.533Z] 699f458cf7ca: Verifying Checksum [2023-08-22T16:34:49.533Z] 699f458cf7ca: Download complete [2023-08-22T16:34:49.803Z] 8998bd30e6a1: Verifying Checksum [2023-08-22T16:34:49.803Z] 8998bd30e6a1: Download complete [2023-08-22T16:34:52.411Z] 2437ff75d9bd: Verifying Checksum [2023-08-22T16:34:52.411Z] 2437ff75d9bd: Download complete [2023-08-22T16:34:54.363Z] 8998bd30e6a1: Pull complete [2023-08-22T16:34:54.633Z] 04944245beec: Pull complete [2023-08-22T16:34:56.052Z] 699f458cf7ca: Pull complete [2023-08-22T16:34:56.323Z] 765212b225bb: Pull complete [2023-08-22T16:34:56.912Z] f23df028b6ca: Pull complete [2023-08-22T16:34:57.181Z] d65c8cfc05b1: Pull complete [2023-08-22T16:35:12.192Z] 2437ff75d9bd: Pull complete [2023-08-22T16:35:12.192Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-22T16:35:12.192Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-22T16:35:12.192Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:35:12.410Z] prd-ubuntu20.04-docker-arm64-4c-16g-4271 does not seem to be running inside a container [2023-08-22T16:35:12.488Z] $ 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/160 -v /w/workspace/device-onvif-camera/160:/w/workspace/device-onvif-camera/160:rw,z -v /w/workspace/device-onvif-camera/160@tmp:/w/workspace/device-onvif-camera/160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-22T16:35:15.246Z] $ docker top ac634532a63932b20290f6db36b749092fac4ee778412bf25bb8759df1275464 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:35:16.093Z] ---> job-cost.sh [2023-08-22T16:35:16.093Z] lf-activate-venv: SKIPPING [2023-08-22T16:35:16.093Z] INFO: No Stack... [2023-08-22T16:35:16.676Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-22T16:35:17.260Z] INFO: Archiving Costs [Pipeline] sh [2023-08-22T16:35:17.902Z] + cut -d, -f6 [2023-08-22T16:35:17.902Z] + cat /w/workspace/device-onvif-camera/160/archives/cost.csv [Pipeline] lock [2023-08-22T16:35:17.978Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-160-stack-cost] [2023-08-22T16:35:17.986Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-160-stack-cost] did not exist. Created. [2023-08-22T16:35:17.986Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-160-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-22T16:35:18.649Z] /w/workspace/device-onvif-camera/160@tmp/durable-b8c60f58/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-22T16:35:19.318Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-22T16:35:19.342Z] Warning: overwriting stash ‘stack-cost’ [2023-08-22T16:35:19.431Z] Stashed 1 file(s) [Pipeline] } [2023-08-22T16:35:19.438Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-160-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-22T16:35:19.456Z] $ docker stop --time=1 ac634532a63932b20290f6db36b749092fac4ee778412bf25bb8759df1275464 [2023-08-22T16:35:20.991Z] $ docker rm -f --volumes ac634532a63932b20290f6db36b749092fac4ee778412bf25bb8759df1275464 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-08-22T16:35:21.416Z] provisioning config files... [2023-08-22T16:35:21.424Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17811424355396339432tmp [Pipeline] { [Pipeline] sh [2023-08-22T16:35:21.725Z] + set +x [2023-08-22T16:35:21.725Z] + curl -s https://codecov.io/bash [2023-08-22T16:35:21.725Z] + bash -s -- [2023-08-22T16:35:21.725Z] [2023-08-22T16:35:21.725Z] _____ _ [2023-08-22T16:35:21.725Z] / ____| | | [2023-08-22T16:35:21.725Z] | | ___ __| | ___ ___ _____ __ [2023-08-22T16:35:21.725Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-22T16:35:21.725Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-22T16:35:21.725Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-22T16:35:21.725Z] Bash-1.0.6 [2023-08-22T16:35:21.725Z] [2023-08-22T16:35:21.725Z] [2023-08-22T16:35:21.725Z] ==> git version 2.25.1 found [2023-08-22T16:35:21.725Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-08-22T16:35:21.725Z] Release-Date: 2020-01-08 [2023-08-22T16:35:21.725Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-08-22T16:35:21.725Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-22T16:35:21.725Z] ==> Jenkins CI detected. [2023-08-22T16:35:21.725Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2023-08-22T16:35:21.725Z] project root: . [2023-08-22T16:35:21.725Z] --> token set from env [2023-08-22T16:35:21.725Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-22T16:35:21.725Z] ==> Running gcov in . (disable via -X gcov) [2023-08-22T16:35:21.725Z] ==> Python coveragepy not found [2023-08-22T16:35:21.725Z] ==> Searching for coverage reports in: [2023-08-22T16:35:21.725Z] + . [2023-08-22T16:35:21.983Z] -> Found 1 reports [2023-08-22T16:35:21.983Z] ==> Detecting git/mercurial file structure [2023-08-22T16:35:21.983Z] ==> Reading reports [2023-08-22T16:35:21.983Z] + ./coverage.out bytes=78459 [2023-08-22T16:35:21.983Z] ==> Appending adjustments [2023-08-22T16:35:21.983Z] https://docs.codecov.io/docs/fixing-reports [2023-08-22T16:35:21.983Z] + Found adjustments [2023-08-22T16:35:21.983Z] ==> Gzipping contents [2023-08-22T16:35:21.983Z] 12K /tmp/codecov.An9Fph.gz [2023-08-22T16:35:21.983Z] ==> Uploading reports [2023-08-22T16:35:21.983Z] url: https://codecov.io [2023-08-22T16:35:21.983Z] query: branch=main&commit=704ee13449308adf69c4899592c40628e88298f9&build=160&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F160%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-22T16:35:21.983Z] -> Pinging Codecov [2023-08-22T16:35:21.983Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=main&commit=704ee13449308adf69c4899592c40628e88298f9&build=160&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F160%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-22T16:35:22.242Z] -> Uploading to [2023-08-22T16:35:22.242Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-22/F29A59C45E3A92E06B3E522C9905F8EF/704ee13449308adf69c4899592c40628e88298f9/546ecd72-0d91-456a-b2fb-5a177721fa58.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230822%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230822T163522Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7f3ebc5811b71488eeb6f41bb25ab9b0ed0cf59d9bc5b308ff769526d01d54fe [2023-08-22T16:35:22.242Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-22T16:35:22.242Z] Dload Upload Total Spent Left Speed [2023-08-22T16:35:22.500Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10573 0 0 100 10573 0 55067 --:--:-- --:--:-- --:--:-- 55067 [2023-08-22T16:35:22.500Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/704ee13449308adf69c4899592c40628e88298f9 [Pipeline] } [2023-08-22T16:35:22.506Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-22T16:35:22.650Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-22T16:35:22.663Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:35:22.954Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-22T16:35:22.954Z] [2023-08-22T16:35:22.954Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:35:23.247Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-22T16:35:23.247Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-22T16:35:23.247Z] df9b9388f04a: Pulling fs layer [2023-08-22T16:35:23.247Z] 52dc419b0ee2: Pulling fs layer [2023-08-22T16:35:23.247Z] 25bc292e5bac: Pulling fs layer [2023-08-22T16:35:23.247Z] 114826534d7a: Pulling fs layer [2023-08-22T16:35:23.247Z] 4657fd5d0bcf: Pulling fs layer [2023-08-22T16:35:23.247Z] 6ad1cebc031e: Pulling fs layer [2023-08-22T16:35:23.247Z] 8a3aa393b2d8: Pulling fs layer [2023-08-22T16:35:23.247Z] 114826534d7a: Waiting [2023-08-22T16:35:23.247Z] 4657fd5d0bcf: Waiting [2023-08-22T16:35:23.247Z] 6ad1cebc031e: Waiting [2023-08-22T16:35:23.247Z] 8a3aa393b2d8: Waiting [2023-08-22T16:35:23.247Z] 25bc292e5bac: Download complete [2023-08-22T16:35:23.247Z] 52dc419b0ee2: Verifying Checksum [2023-08-22T16:35:23.247Z] 52dc419b0ee2: Download complete [2023-08-22T16:35:23.247Z] 4657fd5d0bcf: Verifying Checksum [2023-08-22T16:35:23.247Z] 4657fd5d0bcf: Download complete [2023-08-22T16:35:23.247Z] df9b9388f04a: Verifying Checksum [2023-08-22T16:35:23.247Z] df9b9388f04a: Download complete [2023-08-22T16:35:23.505Z] df9b9388f04a: Pull complete [2023-08-22T16:35:23.505Z] 6ad1cebc031e: Verifying Checksum [2023-08-22T16:35:23.505Z] 6ad1cebc031e: Download complete [2023-08-22T16:35:23.505Z] 52dc419b0ee2: Pull complete [2023-08-22T16:35:23.764Z] 25bc292e5bac: Pull complete [2023-08-22T16:35:24.022Z] 114826534d7a: Verifying Checksum [2023-08-22T16:35:24.022Z] 114826534d7a: Download complete [2023-08-22T16:35:24.279Z] 8a3aa393b2d8: Verifying Checksum [2023-08-22T16:35:24.279Z] 8a3aa393b2d8: Download complete [2023-08-22T16:35:27.584Z] 114826534d7a: Pull complete [2023-08-22T16:35:27.584Z] 4657fd5d0bcf: Pull complete [2023-08-22T16:35:27.842Z] 6ad1cebc031e: Pull complete [2023-08-22T16:35:31.144Z] 8a3aa393b2d8: Pull complete [2023-08-22T16:35:31.144Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-22T16:35:31.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-22T16:35:31.403Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:35:31.477Z] prd-ubuntu20.04-docker-8c-8g-4264 does not seem to be running inside a container [2023-08-22T16:35:31.515Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-08-22T16:35:47.372Z] $ docker top 86574318954af2273ada5db541e1aa463cd2611b686c59149da25aa84a3e7b56 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-22T16:35:47.429Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh [2023-08-22T16:35:47.709Z] + set -o pipefail [2023-08-22T16:35:47.709Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' [2023-08-22T16:35:52.981Z] [2023-08-22T16:35:52.981Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2023-08-22T16:35:52.981Z] [2023-08-22T16:35:52.981Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/1434f994-9ebd-4f68-be2a-bc862c697332 [2023-08-22T16:35:52.981Z] [2023-08-22T16:35:52.981Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-08-22T16:35:52.981Z] [2023-08-22T16:35:52.981Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-22T16:35:52.981Z] [2023-08-22T16:35:52.981Z] [2023-08-22T16:35:52.981Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-22T16:35:52.981Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-22T16:35:52.981Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-08-22T16:35:53.003Z] $ docker stop --time=1 86574318954af2273ada5db541e1aa463cd2611b686c59149da25aa84a3e7b56 [2023-08-22T16:35:57.750Z] $ docker rm -f --volumes 86574318954af2273ada5db541e1aa463cd2611b686c59149da25aa84a3e7b56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2023-08-22T16:35:58.158Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-22T16:35:58.171Z] provisioning config files... [2023-08-22T16:35:58.179Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8944077134729906563tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:35:58.480Z] --> edgex-publish-swagger.sh [2023-08-22T16:35:58.480Z] === Publish doc/openapi/v3 API === [2023-08-22T16:35:58.480Z] [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger [2023-08-22T16:35:58.480Z] [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] [2023-08-22T16:35:58.480Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-22T16:35:58.480Z] Dload Upload Total Spent Left Speed [2023-08-22T16:35:59.052Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 0 0 100 485k 0 711k --:--:-- --:--:-- --:--:-- 710k 100 485k 0 0 100 485k 0 711k --:--:-- --:--:-- --:--:-- 710k [2023-08-22T16:35:59.052Z] [2023-08-22T16:35:59.052Z] [Pipeline] } [2023-08-22T16:35:59.058Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-22T16:35:59.471Z] + git log --format=format:%s -1 704ee13449308adf69c4899592c40628e88298f9 [Pipeline] sh [2023-08-22T16:35:59.765Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-22T16:35:59.765Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:36:00.068Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-22T16:36:00.068Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:36:00.136Z] prd-ubuntu20.04-docker-8c-8g-4264 does not seem to be running inside a container [2023-08-22T16:36:00.178Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-22T16:36:00.676Z] $ docker top 6316022f66a35901649120759676ad4e7a4d44ec231977b56f49d11ff38aac72 -eo pid,comm [2023-08-22T16:36:00.709Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-22T16:36:00.709Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-22T16:36:00.754Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-22T16:36:00.754Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-22T16:36:00.869Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-22T16:36:00.882Z] $ docker exec 6316022f66a35901649120759676ad4e7a4d44ec231977b56f49d11ff38aac72 ssh-agent [2023-08-22T16:36:00.982Z] SSH_AUTH_SOCK=/tmp/ssh-OUqeX1uqMijT/agent.33 [2023-08-22T16:36:00.982Z] SSH_AGENT_PID=39 [2023-08-22T16:36:00.986Z] Running ssh-add (command line suppressed) [2023-08-22T16:36:01.092Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4902619898067719901.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4902619898067719901.key) [2023-08-22T16:36:01.097Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-22T16:36:01.387Z] + git semver tag [2023-08-22T16:36:01.646Z] 2023-08-22 16:36:01,582 [run_tag] DEBUG tag force:False [2023-08-22T16:36:01.646Z] 2023-08-22 16:36:01,582 [check_head_tag] DEBUG check head tag [2023-08-22T16:36:01.646Z] 2023-08-22 16:36:01,582 [execute] INFO git cat-file --batch-check [2023-08-22T16:36:01.646Z] 2023-08-22 16:36:01,582 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2023-08-22T16:36:01.646Z] 2023-08-22 16:36:01,586 [execute] INFO git cat-file --batch [2023-08-22T16:36:01.646Z] 2023-08-22 16:36:01,586 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2023-08-22T16:36:01.646Z] 2023-08-22 16:36:01,593 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-08-22T16:36:01.646Z] 2023-08-22 16:36:01,593 [execute] INFO git tag -a v3.1.0-dev.4 -m v3.1.0-dev.4 [2023-08-22T16:36:01.646Z] 2023-08-22 16:36:01,593 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.4', '-m', 'v3.1.0-dev.4'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2023-08-22T16:36:01.646Z] 2023-08-22 16:36:01,599 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-08-22T16:36:01.646Z] 3.1.0-dev.4 [Pipeline] } [2023-08-22T16:36:01.665Z] $ docker exec --env ******** --env ******** 6316022f66a35901649120759676ad4e7a4d44ec231977b56f49d11ff38aac72 ssh-agent -k [2023-08-22T16:36:01.753Z] unset SSH_AUTH_SOCK; [2023-08-22T16:36:01.754Z] unset SSH_AGENT_PID; [2023-08-22T16:36:01.754Z] echo Agent pid 39 killed; [2023-08-22T16:36:01.755Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-22T16:36:02.064Z] + git semver [Pipeline] } [2023-08-22T16:36:02.345Z] $ docker stop --time=1 6316022f66a35901649120759676ad4e7a4d44ec231977b56f49d11ff38aac72 [2023-08-22T16:36:03.600Z] $ docker rm -f --volumes 6316022f66a35901649120759676ad4e7a4d44ec231977b56f49d11ff38aac72 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:36:03.954Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-22T16:36:03.954Z] [2023-08-22T16:36:03.954Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:36:04.251Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-22T16:36:04.251Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-22T16:36:04.251Z] ab5ef0e58194: Pulling fs layer [2023-08-22T16:36:04.251Z] 9712f1f96733: Pulling fs layer [2023-08-22T16:36:04.251Z] 63f879dbbcfc: Pulling fs layer [2023-08-22T16:36:04.251Z] 0d9ebad4ef96: Pulling fs layer [2023-08-22T16:36:04.251Z] e9a5061849ea: Pulling fs layer [2023-08-22T16:36:04.251Z] d747dcd14b5f: Pulling fs layer [2023-08-22T16:36:04.251Z] 2de7ff778b66: Pulling fs layer [2023-08-22T16:36:04.251Z] e9a5061849ea: Waiting [2023-08-22T16:36:04.251Z] d747dcd14b5f: Waiting [2023-08-22T16:36:04.251Z] 2de7ff778b66: Waiting [2023-08-22T16:36:04.251Z] 0d9ebad4ef96: Waiting [2023-08-22T16:36:04.251Z] 9712f1f96733: Verifying Checksum [2023-08-22T16:36:04.251Z] 9712f1f96733: Download complete [2023-08-22T16:36:04.510Z] 63f879dbbcfc: Verifying Checksum [2023-08-22T16:36:04.510Z] 63f879dbbcfc: Download complete [2023-08-22T16:36:04.768Z] e9a5061849ea: Verifying Checksum [2023-08-22T16:36:04.768Z] e9a5061849ea: Download complete [2023-08-22T16:36:04.768Z] d747dcd14b5f: Verifying Checksum [2023-08-22T16:36:04.768Z] d747dcd14b5f: Download complete [2023-08-22T16:36:04.768Z] 0d9ebad4ef96: Verifying Checksum [2023-08-22T16:36:04.768Z] 0d9ebad4ef96: Download complete [2023-08-22T16:36:04.768Z] ab5ef0e58194: Download complete [2023-08-22T16:36:04.768Z] 2de7ff778b66: Verifying Checksum [2023-08-22T16:36:04.768Z] 2de7ff778b66: Download complete [2023-08-22T16:36:07.297Z] ab5ef0e58194: Pull complete [2023-08-22T16:36:07.297Z] 9712f1f96733: Pull complete [2023-08-22T16:36:08.230Z] 63f879dbbcfc: Pull complete [2023-08-22T16:36:12.412Z] 0d9ebad4ef96: Pull complete [2023-08-22T16:36:12.412Z] e9a5061849ea: Pull complete [2023-08-22T16:36:12.412Z] d747dcd14b5f: Pull complete [2023-08-22T16:36:13.348Z] 2de7ff778b66: Pull complete [2023-08-22T16:36:13.348Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-22T16:36:13.348Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-22T16:36:13.348Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:36:13.427Z] prd-ubuntu20.04-docker-8c-8g-4264 does not seem to be running inside a container [2023-08-22T16:36:13.468Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-08-22T16:36:19.936Z] $ docker top 36273e6442e5f9b9e79ca80b84ef203691b5d813e35fb702abf792f65823535c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-22T16:36:19.994Z] provisioning config files... [2023-08-22T16:36:20.001Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11607332864844242195tmp [2023-08-22T16:36:20.011Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7449772046258139799tmp [2023-08-22T16:36:20.022Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4540904594943141413tmp [Pipeline] { [Pipeline] echo [2023-08-22T16:36:20.036Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:36:20.317Z] ---> sigul-configuration.sh [2023-08-22T16:36:20.317Z] gpg: directory `/root/.gnupg' created [2023-08-22T16:36:20.317Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-22T16:36:20.317Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-22T16:36:20.317Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-22T16:36:20.317Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-22T16:36:20.317Z] gpg: CAST5 encrypted data [2023-08-22T16:36:20.317Z] gpg: encrypted with 1 passphrase [2023-08-22T16:36:20.317Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-22T16:36:20.599Z] + mkdir /home/jenkins [2023-08-22T16:36:20.599Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-22T16:36:20.884Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-08-22T16:36:20.891Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:36:21.175Z] ---> sigul-install.sh [2023-08-22T16:36:21.175Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-22T16:36:21.462Z] + git tag --list [2023-08-22T16:36:21.463Z] v0.0.0 [2023-08-22T16:36:21.463Z] v2.2.0 [2023-08-22T16:36:21.463Z] v2.3.0 [2023-08-22T16:36:21.463Z] v2.3.1 [2023-08-22T16:36:21.463Z] v3.0 [2023-08-22T16:36:21.463Z] v3.0.0 [2023-08-22T16:36:21.463Z] v3.1.0-dev.1 [2023-08-22T16:36:21.463Z] v3.1.0-dev.2 [2023-08-22T16:36:21.463Z] v3.1.0-dev.3 [2023-08-22T16:36:21.463Z] v3.1.0-dev.4 [Pipeline] sh [2023-08-22T16:36:21.748Z] + lftools sign git-tag v3.1.0-dev.4 [2023-08-22T16:36:22.315Z] Signing Git tag with Sigul... [2023-08-22T16:36:22.315Z] Signing v3.1.0-dev.4 [Pipeline] echo [2023-08-22T16:36:22.892Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:36:23.176Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-22T16:36:23.184Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-22T16:36:23.222Z] $ docker stop --time=1 36273e6442e5f9b9e79ca80b84ef203691b5d813e35fb702abf792f65823535c [2023-08-22T16:36:25.042Z] $ docker rm -f --volumes 36273e6442e5f9b9e79ca80b84ef203691b5d813e35fb702abf792f65823535c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-22T16:36:25.444Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-22T16:36:25.444Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:36:25.739Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-22T16:36:25.739Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:36:25.803Z] prd-ubuntu20.04-docker-8c-8g-4264 does not seem to be running inside a container [2023-08-22T16:36:25.844Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-22T16:36:26.425Z] $ docker top cc3f9ded83854f2e230c4a6d46d165418f7a2332839c449a2f51649691f43136 -eo pid,comm [2023-08-22T16:36:26.460Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-22T16:36:26.460Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-22T16:36:26.495Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-22T16:36:26.495Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-22T16:36:26.633Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-22T16:36:26.646Z] $ docker exec cc3f9ded83854f2e230c4a6d46d165418f7a2332839c449a2f51649691f43136 ssh-agent [2023-08-22T16:36:26.754Z] SSH_AUTH_SOCK=/tmp/ssh-cObNaPuxXtOu/agent.14 [2023-08-22T16:36:26.755Z] SSH_AGENT_PID=20 [2023-08-22T16:36:26.761Z] Running ssh-add (command line suppressed) [2023-08-22T16:36:26.859Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10179121836436240900.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10179121836436240900.key) [2023-08-22T16:36:26.861Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-22T16:36:27.150Z] + git semver bump pre [2023-08-22T16:36:27.409Z] 2023-08-22 16:36:27,326 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-08-22T16:36:27.409Z] 2023-08-22 16:36:27,326 [bump_version] DEBUG bumping version:3.1.0-dev.4 on axis:pre with prefix:dev [2023-08-22T16:36:27.409Z] 2023-08-22 16:36:27,326 [bump_version] DEBUG bumped version:3.1.0-dev.5 [2023-08-22T16:36:27.409Z] 2023-08-22 16:36:27,326 [write_version] DEBUG write version:3.1.0-dev.5 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2023-08-22T16:36:27.409Z] 2023-08-22 16:36:27,326 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-08-22T16:36:27.409Z] 2023-08-22 16:36:27,327 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-08-22T16:36:27.409Z] 2023-08-22 16:36:27,329 [execute] INFO git cat-file --batch-check [2023-08-22T16:36:27.409Z] 2023-08-22 16:36:27,329 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-22T16:36:27.409Z] 2023-08-22 16:36:27,337 [execute] INFO git cat-file --batch [2023-08-22T16:36:27.409Z] 2023-08-22 16:36:27,338 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-22T16:36:27.409Z] 2023-08-22 16:36:27,343 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-08-22T16:36:27.409Z] 3.1.0-dev.5 [Pipeline] } [2023-08-22T16:36:27.429Z] $ docker exec --env ******** --env ******** cc3f9ded83854f2e230c4a6d46d165418f7a2332839c449a2f51649691f43136 ssh-agent -k [2023-08-22T16:36:27.520Z] unset SSH_AUTH_SOCK; [2023-08-22T16:36:27.520Z] unset SSH_AGENT_PID; [2023-08-22T16:36:27.520Z] echo Agent pid 20 killed; [2023-08-22T16:36:27.521Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-22T16:36:27.832Z] + git semver [Pipeline] } [2023-08-22T16:36:28.121Z] $ docker stop --time=1 cc3f9ded83854f2e230c4a6d46d165418f7a2332839c449a2f51649691f43136 [2023-08-22T16:36:29.728Z] $ docker rm -f --volumes cc3f9ded83854f2e230c4a6d46d165418f7a2332839c449a2f51649691f43136 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-22T16:36:30.164Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-22T16:36:30.164Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:36:30.461Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-22T16:36:30.461Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:36:30.531Z] prd-ubuntu20.04-docker-8c-8g-4264 does not seem to be running inside a container [2023-08-22T16:36:30.575Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-22T16:36:31.235Z] $ docker top a81ac564c1b2fbfc176c2d7f70ceeeb56aba9b53eaf79bc29242293172bcd5d4 -eo pid,comm [2023-08-22T16:36:31.271Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-22T16:36:31.271Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-22T16:36:31.308Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-22T16:36:31.308Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-22T16:36:31.421Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-22T16:36:31.434Z] $ docker exec a81ac564c1b2fbfc176c2d7f70ceeeb56aba9b53eaf79bc29242293172bcd5d4 ssh-agent [2023-08-22T16:36:31.532Z] SSH_AUTH_SOCK=/tmp/ssh-hnuMDGqo30Q6/agent.33 [2023-08-22T16:36:31.532Z] SSH_AGENT_PID=39 [2023-08-22T16:36:31.537Z] Running ssh-add (command line suppressed) [2023-08-22T16:36:31.645Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13117035942855272316.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13117035942855272316.key) [2023-08-22T16:36:31.648Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-22T16:36:31.931Z] + git semver push [2023-08-22T16:36:32.498Z] 2023-08-22 16:36:32,212 [run_push] DEBUG push [2023-08-22T16:36:32.498Z] 2023-08-22 16:36:32,213 [execute] INFO git cat-file --batch-check [2023-08-22T16:36:32.498Z] 2023-08-22 16:36:32,214 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-22T16:36:32.498Z] 2023-08-22 16:36:32,219 [execute] INFO git rev-list 79bbba99b96898d1d274137b00b466ac7f1b8ab2 -- [2023-08-22T16:36:32.498Z] 2023-08-22 16:36:32,220 [execute] DEBUG Popen(['git', 'rev-list', '79bbba99b96898d1d274137b00b466ac7f1b8ab2', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-22T16:36:32.498Z] 2023-08-22 16:36:32,229 [execute] INFO git fetch -v origin [2023-08-22T16:36:32.498Z] 2023-08-22 16:36:32,229 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-22T16:36:33.067Z] 2023-08-22 16:36:32,788 [run_push] DEBUG no remote changes detected [2023-08-22T16:36:33.067Z] 2023-08-22 16:36:32,788 [execute] INFO git push origin semver [2023-08-22T16:36:33.067Z] 2023-08-22 16:36:32,789 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-22T16:36:33.636Z] 2023-08-22 16:36:33,628 [run_push] DEBUG push all version tags [2023-08-22T16:36:33.636Z] 2023-08-22 16:36:33,628 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-22T16:36:33.636Z] 2023-08-22 16:36:33,629 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2023-08-22T16:36:34.569Z] 2023-08-22 16:36:34,285 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-08-22T16:36:34.569Z] 3.1.0-dev.5 [Pipeline] } [2023-08-22T16:36:34.590Z] $ docker exec --env ******** --env ******** a81ac564c1b2fbfc176c2d7f70ceeeb56aba9b53eaf79bc29242293172bcd5d4 ssh-agent -k [2023-08-22T16:36:34.682Z] unset SSH_AUTH_SOCK; [2023-08-22T16:36:34.683Z] unset SSH_AGENT_PID; [2023-08-22T16:36:34.683Z] echo Agent pid 39 killed; [2023-08-22T16:36:34.681Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-22T16:36:34.978Z] + git semver [Pipeline] } [2023-08-22T16:36:35.259Z] $ docker stop --time=1 a81ac564c1b2fbfc176c2d7f70ceeeb56aba9b53eaf79bc29242293172bcd5d4 [2023-08-22T16:36:37.097Z] $ docker rm -f --volumes a81ac564c1b2fbfc176c2d7f70ceeeb56aba9b53eaf79bc29242293172bcd5d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-08-22T16:36:37.803Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2023-08-22T16:36:37.804Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-08-22T16:36:37.804Z] total 16 [2023-08-22T16:36:37.804Z] drwxr-xr-x 3 root root 4096 Aug 22 16:23 . [2023-08-22T16:36:37.804Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 22 16:36 .. [2023-08-22T16:36:37.804Z] drwxr-xr-x 2 root root 4096 Aug 22 16:23 cost [2023-08-22T16:36:37.804Z] -rw-r--r-- 1 root root 91 Aug 22 16:23 cost.csv [2023-08-22T16:36:37.804Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2023-08-22T16:36:37.804Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-08-22T16:36:37.804Z] total 16 [2023-08-22T16:36:37.804Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 22 16:23 . [2023-08-22T16:36:37.804Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 22 16:36 .. [2023-08-22T16:36:37.804Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 22 16:23 cost [2023-08-22T16:36:37.804Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 22 16:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:36:38.097Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:36:38.966Z] ---> package-listing.sh [2023-08-22T16:36:38.966Z] ++ facter osfamily [2023-08-22T16:36:38.966Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-22T16:36:39.225Z] + OS_FAMILY=debian [2023-08-22T16:36:39.225Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2023-08-22T16:36:39.225Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-22T16:36:39.225Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-22T16:36:39.225Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-22T16:36:39.225Z] + PACKAGES=/tmp/packages_start.txt [2023-08-22T16:36:39.225Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-08-22T16:36:39.225Z] + PACKAGES=/tmp/packages_end.txt [2023-08-22T16:36:39.225Z] + case "${OS_FAMILY}" in [2023-08-22T16:36:39.225Z] + dpkg -l [2023-08-22T16:36:39.225Z] + grep '^ii' [2023-08-22T16:36:39.225Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-22T16:36:39.225Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-22T16:36:39.225Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-22T16:36:39.225Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-08-22T16:36:39.225Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2023-08-22T16:36:39.225Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo [2023-08-22T16:36:39.236Z] 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-22T16:36:39.511Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:36:40.135Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-22T16:36:40.135Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:36:40.274Z] prd-ubuntu20.04-docker-8c-8g-4264 does not seem to be running inside a container [2023-08-22T16:36:40.375Z] $ 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-22T16:36:40.586Z] $ docker top 521e8b12656da6c3d53c55927179e20bb7af6d4543b300afa56c41b5cc12cfd3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-22T16:36:40.917Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-22T16:36:41.205Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-22T16:36:41.490Z] + ls /var/log/sa-host [2023-08-22T16:36:41.490Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-22T16:36:41.567Z] provisioning config files... [2023-08-22T16:36:41.575Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6104987302334757722tmp [Pipeline] { [Pipeline] echo [2023-08-22T16:36:41.587Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:36:41.866Z] ---> create-netrc.sh [Pipeline] } [2023-08-22T16:36:41.872Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:36:42.230Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-22T16:36:42.237Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:36:42.520Z] ---> sudo-logs.sh [2023-08-22T16:36:42.520Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-22T16:36:42.552Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:36:42.834Z] ---> job-cost.sh [2023-08-22T16:36:42.834Z] lf-activate-venv: SKIPPING [2023-08-22T16:36:42.834Z] DEBUG: total: 0.2199999988079071 [2023-08-22T16:36:42.834Z] INFO: Retrieving Stack Cost... [2023-08-22T16:36:43.402Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-22T16:36:43.662Z] INFO: Archiving Costs [Pipeline] echo [2023-08-22T16:36:43.673Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:36:43.954Z] ---> logs-deploy.sh [2023-08-22T16:36:43.954Z] lf-activate-venv: SKIPPING [2023-08-22T16:36:43.954Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/160 [2023-08-22T16:36:43.954Z] INFO: archiving workspace using pattern(s): [2023-08-22T16:36:44.889Z] Archives upload complete. [2023-08-22T16:36:44.889Z] INFO: archiving logs to Nexus