Pull request #76 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 0a9f00bd9fde175d00e24b55ed571ef77bca9b17+35e88c606ff591756c04535471448b721e880ee3 (ef725a4ba87439e94885d0d28c1c19ddba52000f) 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-ssh16392178784758158696.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh3023507817328382664.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 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-76/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-76/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8037857842011211655.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-76/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3792133613118368476.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3587892035682361992.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-76/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-76/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16821970025873850412.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e 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-usb-camera] ========================================================= [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-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-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: false SWAGGER_API_FOLDERS: openapi/v1 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-22286’ Running on prd-ubuntu20.04-docker-8c-8g-22342 in /w/workspace/xfoundry_device-usb-camera_PR-76 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/xfoundry_device-usb-camera_PR-76 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-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-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/76/head:refs/remotes/origin/PR-76 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 35e88c606ff591756c04535471448b721e880ee3 into PR head commit 0a9f00bd9fde175d00e24b55ed571ef77bca9b17 Merge succeeded, producing 0a9f00bd9fde175d00e24b55ed571ef77bca9b17 Checking out Revision 0a9f00bd9fde175d00e24b55ed571ef77bca9b17 (PR-76) > git config core.sparsecheckout # timeout=10 > git checkout -f 0a9f00bd9fde175d00e24b55ed571ef77bca9b17 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 35e88c606ff591756c04535471448b721e880ee3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0a9f00bd9fde175d00e24b55ed571ef77bca9b17 # timeout=10 Commit message: "build: Upgrade to Go 1.18, Alpine 3.16, linter version and latest SDK/go-mod versions" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-09T22:13:46.624Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-09T22:13:46.791Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-09T22:13:46.882Z] ========================================================= [2022-08-09T22:13:46.882Z] EdgeX Global Pipelines Version Info [2022-08-09T22:13:46.882Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-09T22:13:47.669Z] ------------------- [2022-08-09T22:13:47.669Z] stable info: [2022-08-09T22:13:47.669Z] ------------------- [2022-08-09T22:13:47.669Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-09T22:13:47.669Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-09T22:13:47.669Z] Message: update stable to v1.0.238 [2022-08-09T22:13:48.242Z] ------------------- [2022-08-09T22:13:48.242Z] experimental info: [2022-08-09T22:13:48.242Z] ------------------- [2022-08-09T22:13:48.242Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-09T22:13:48.242Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-09T22:13:48.242Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-09T22:13:48.611Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-08-09T22:13:48.652Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-08-09T22:13:48.690Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-09T22:13:48.731Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-09T22:13:48.767Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-09T22:13:48.805Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-09T22:13:48.848Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-09T22:13:48.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-09T22:13:48.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-09T22:13:48.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-09T22:13:48.999Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-09T22:13:49.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-08-09T22:13:49.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-09T22:13:49.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-09T22:13:49.163Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-09T22:13:49.200Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-09T22:13:49.240Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-09T22:13:49.280Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-09T22:13:49.317Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-09T22:13:49.354Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-09T22:13:49.394Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-09T22:13:49.431Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-09T22:13:49.467Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-09T22:13:49.505Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-09T22:13:49.545Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-09T22:13:49.587Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-09T22:13:49.624Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-09T22:13:49.665Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-76 [Pipeline] echo [2022-08-09T22:13:49.708Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-76 [Pipeline] echo [2022-08-09T22:13:49.752Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-76 [Pipeline] echo [2022-08-09T22:13:49.793Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0a9f00bd9fde175d00e24b55ed571ef77bca9b17 [Pipeline] echo [2022-08-09T22:13:49.832Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0a9f00b [Pipeline] echo [2022-08-09T22:13:49.872Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-09T22:13:49.988Z] provisioning config files... [2022-08-09T22:13:50.001Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-76@tmp/config2288998388337204199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T22:13:50.351Z] ---> docker-login.sh [2022-08-09T22:13:50.351Z] nexus3.edgexfoundry.org:10001 [2022-08-09T22:13:50.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:13:50.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:13:50.874Z] Configure a credential helper to remove this warning. See [2022-08-09T22:13:50.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:13:50.874Z] [2022-08-09T22:13:50.874Z] Login Succeeded [2022-08-09T22:13:50.874Z] nexus3.edgexfoundry.org:10002 [2022-08-09T22:13:50.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:13:51.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:13:51.136Z] Configure a credential helper to remove this warning. See [2022-08-09T22:13:51.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:13:51.136Z] [2022-08-09T22:13:51.136Z] Login Succeeded [2022-08-09T22:13:51.136Z] nexus3.edgexfoundry.org:10003 [2022-08-09T22:13:51.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:13:51.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:13:51.136Z] Configure a credential helper to remove this warning. See [2022-08-09T22:13:51.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:13:51.136Z] [2022-08-09T22:13:51.136Z] Login Succeeded [2022-08-09T22:13:51.136Z] nexus3.edgexfoundry.org:10004 [2022-08-09T22:13:51.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:13:51.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:13:51.398Z] Configure a credential helper to remove this warning. See [2022-08-09T22:13:51.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:13:51.398Z] [2022-08-09T22:13:51.398Z] Login Succeeded [2022-08-09T22:13:51.398Z] docker.io [2022-08-09T22:13:51.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:13:51.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:13:51.659Z] Configure a credential helper to remove this warning. See [2022-08-09T22:13:51.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:13:51.659Z] [2022-08-09T22:13:51.659Z] Login Succeeded [2022-08-09T22:13:51.659Z] ---> docker-login.sh ends [Pipeline] } [2022-08-09T22:13:51.687Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-09T22:13:52.378Z] + git rev-list -1 --merges 0a9f00bd9fde175d00e24b55ed571ef77bca9b17~1..0a9f00bd9fde175d00e24b55ed571ef77bca9b17 [Pipeline] echo [2022-08-09T22:13:52.431Z] -----------> git rev-list -1 --merges 0a9f00bd9fde175d00e24b55ed571ef77bca9b17~1..0a9f00bd9fde175d00e24b55ed571ef77bca9b17 0a9f00bd9fde175d00e24b55ed571ef77bca9b17 [false] [Pipeline] sh [2022-08-09T22:13:52.745Z] + git log --format=format:%s -1 0a9f00bd9fde175d00e24b55ed571ef77bca9b17 [Pipeline] echo [2022-08-09T22:13:52.783Z] ========================================================= [2022-08-09T22:13:52.783Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-09T22:13:52.783Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-09T22:13:53.243Z] + git log --format=format:%s -1 0a9f00bd9fde175d00e24b55ed571ef77bca9b17 [Pipeline] echo [2022-08-09T22:13:53.272Z] [semverPrep] GIT_COMMIT: 0a9f00bd9fde175d00e24b55ed571ef77bca9b17, Commit Message: build: Upgrade to Go 1.18, Alpine 3.16, linter version and latest SDK/go-mod versions [Pipeline] echo [2022-08-09T22:13:53.298Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-09T22:13:53.687Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-09T22:13:53.687Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-09T22:13:53.687Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-09T22:13:53.687Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-09T22:13:53.687Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-09T22:13:53.687Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-09T22:13:53.687Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:13:54.180Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-09T22:13:54.180Z] [2022-08-09T22:13:54.180Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:13:54.568Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-09T22:13:54.568Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-09T22:13:54.568Z] b85a868b505f: Pulling fs layer [2022-08-09T22:13:54.568Z] e2be974225ed: Pulling fs layer [2022-08-09T22:13:54.568Z] 339a4e72a1f5: Pulling fs layer [2022-08-09T22:13:54.568Z] 988bab9f4d93: Pulling fs layer [2022-08-09T22:13:54.568Z] 1469e6f7b9e6: Pulling fs layer [2022-08-09T22:13:54.568Z] eaf3925da568: Pulling fs layer [2022-08-09T22:13:54.568Z] bab4dde63d76: Pulling fs layer [2022-08-09T22:13:54.568Z] bde34c3a00c8: Pulling fs layer [2022-08-09T22:13:54.568Z] b352a97aabf1: Pulling fs layer [2022-08-09T22:13:54.568Z] 4872d77fe225: Pulling fs layer [2022-08-09T22:13:54.568Z] 5851b861e8e6: Pulling fs layer [2022-08-09T22:13:54.568Z] 4872d77fe225: Waiting [2022-08-09T22:13:54.568Z] 988bab9f4d93: Waiting [2022-08-09T22:13:54.568Z] bde34c3a00c8: Waiting [2022-08-09T22:13:54.568Z] b352a97aabf1: Waiting [2022-08-09T22:13:54.568Z] 1469e6f7b9e6: Waiting [2022-08-09T22:13:54.568Z] eaf3925da568: Waiting [2022-08-09T22:13:54.568Z] bab4dde63d76: Waiting [2022-08-09T22:13:54.568Z] 5851b861e8e6: Waiting [2022-08-09T22:13:54.568Z] e2be974225ed: Download complete [2022-08-09T22:13:54.568Z] 988bab9f4d93: Verifying Checksum [2022-08-09T22:13:54.568Z] 988bab9f4d93: Download complete [2022-08-09T22:13:54.831Z] 1469e6f7b9e6: Verifying Checksum [2022-08-09T22:13:54.831Z] 1469e6f7b9e6: Download complete [2022-08-09T22:13:54.831Z] eaf3925da568: Download complete [2022-08-09T22:13:54.831Z] 339a4e72a1f5: Verifying Checksum [2022-08-09T22:13:54.831Z] 339a4e72a1f5: Download complete [2022-08-09T22:13:54.831Z] bde34c3a00c8: Download complete [2022-08-09T22:13:54.831Z] b352a97aabf1: Download complete [2022-08-09T22:13:54.831Z] 4872d77fe225: Verifying Checksum [2022-08-09T22:13:54.831Z] 4872d77fe225: Download complete [2022-08-09T22:13:54.831Z] 5851b861e8e6: Verifying Checksum [2022-08-09T22:13:54.831Z] 5851b861e8e6: Download complete [2022-08-09T22:13:54.831Z] b85a868b505f: Verifying Checksum [2022-08-09T22:13:54.831Z] b85a868b505f: Download complete [2022-08-09T22:13:55.092Z] bab4dde63d76: Verifying Checksum [2022-08-09T22:13:55.092Z] bab4dde63d76: Download complete [2022-08-09T22:13:56.042Z] b85a868b505f: Pull complete [2022-08-09T22:13:56.305Z] e2be974225ed: Pull complete [2022-08-09T22:13:56.568Z] 339a4e72a1f5: Pull complete [2022-08-09T22:13:56.829Z] 988bab9f4d93: Pull complete [2022-08-09T22:13:57.089Z] 1469e6f7b9e6: Pull complete [2022-08-09T22:13:57.089Z] eaf3925da568: Pull complete [2022-08-09T22:13:59.000Z] bab4dde63d76: Pull complete [2022-08-09T22:13:59.000Z] bde34c3a00c8: Pull complete [2022-08-09T22:13:59.263Z] b352a97aabf1: Pull complete [2022-08-09T22:13:59.263Z] 4872d77fe225: Pull complete [2022-08-09T22:13:59.263Z] 5851b861e8e6: Pull complete [2022-08-09T22:13:59.263Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-09T22:13:59.263Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-09T22:13:59.263Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T22:13:59.496Z] prd-ubuntu20.04-docker-8c-8g-22342 does not seem to be running inside a container [2022-08-09T22:13:59.530Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-76 -v /w/workspace/xfoundry_device-usb-camera_PR-76:/w/workspace/xfoundry_device-usb-camera_PR-76:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-76@tmp:/w/workspace/xfoundry_device-usb-camera_PR-76@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-09T22:14:00.852Z] $ docker top fe9bd74d6bccbe91e687822880d17b67716564a1cb7c7a122a82f81c16499a76 -eo pid,comm [2022-08-09T22:14:00.914Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-08-09T22:14:00.914Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-09T22:14:01.043Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-09T22:14:01.043Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-09T22:14:01.171Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-09T22:14:01.172Z] $ docker exec fe9bd74d6bccbe91e687822880d17b67716564a1cb7c7a122a82f81c16499a76 ssh-agent [2022-08-09T22:14:01.293Z] SSH_AUTH_SOCK=/tmp/ssh-BvBCkkokmh2l/agent.33 [2022-08-09T22:14:01.293Z] SSH_AGENT_PID=40 [2022-08-09T22:14:01.300Z] Running ssh-add (command line suppressed) [2022-08-09T22:14:01.408Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-76@tmp/private_key_3442507389133533191.key (/w/workspace/xfoundry_device-usb-camera_PR-76@tmp/private_key_3442507389133533191.key) [2022-08-09T22:14:01.428Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-09T22:14:01.759Z] + git tag --points-at HEAD [Pipeline] } [2022-08-09T22:14:01.782Z] $ docker exec --env ******** --env ******** fe9bd74d6bccbe91e687822880d17b67716564a1cb7c7a122a82f81c16499a76 ssh-agent -k [2022-08-09T22:14:01.889Z] unset SSH_AUTH_SOCK; [2022-08-09T22:14:01.890Z] unset SSH_AGENT_PID; [2022-08-09T22:14:01.890Z] echo Agent pid 40 killed; [2022-08-09T22:14:01.903Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-09T22:14:01.990Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-09T22:14:01.990Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-09T22:14:02.095Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-09T22:14:02.096Z] $ docker exec fe9bd74d6bccbe91e687822880d17b67716564a1cb7c7a122a82f81c16499a76 ssh-agent [2022-08-09T22:14:02.207Z] SSH_AUTH_SOCK=/tmp/ssh-5lM7Fx6L7HUD/agent.72 [2022-08-09T22:14:02.207Z] SSH_AGENT_PID=78 [2022-08-09T22:14:02.213Z] Running ssh-add (command line suppressed) [2022-08-09T22:14:02.315Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-76@tmp/private_key_4334280279851816588.key (/w/workspace/xfoundry_device-usb-camera_PR-76@tmp/private_key_4334280279851816588.key) [2022-08-09T22:14:02.334Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-09T22:14:02.669Z] + git semver init [2022-08-09T22:14:02.933Z] 2022-08-09 22:14:02,850 [run_init] DEBUG init version:0.0.0 force:False [2022-08-09T22:14:02.933Z] 2022-08-09 22:14:02,851 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-76/.semver [2022-08-09T22:14:02.933Z] 2022-08-09 22:14:02,851 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-76/.semver [2022-08-09T22:14:02.933Z] 2022-08-09 22:14:02,851 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-76/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-76, universal_newlines=False, shell=None, istream=None) [2022-08-09T22:14:03.876Z] 2022-08-09 22:14:03,513 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-76/.git/info/exclude [2022-08-09T22:14:03.876Z] 2022-08-09 22:14:03,514 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-76/.semver/PR-76 with force:False [2022-08-09T22:14:03.876Z] 2022-08-09 22:14:03,514 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-76/.semver/PR-76 [2022-08-09T22:14:03.876Z] 2022-08-09 22:14:03,518 [execute] INFO git cat-file --batch-check [2022-08-09T22:14:03.876Z] 2022-08-09 22:14:03,518 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-76/.semver, universal_newlines=False, shell=None, istream=) [2022-08-09T22:14:03.876Z] 2022-08-09 22:14:03,524 [execute] INFO git cat-file --batch [2022-08-09T22:14:03.876Z] 2022-08-09 22:14:03,524 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-76/.semver, universal_newlines=False, shell=None, istream=) [2022-08-09T22:14:03.876Z] 2022-08-09 22:14:03,528 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-76/.semver/PR-76 [2022-08-09T22:14:03.876Z] 0.0.0 [Pipeline] } [2022-08-09T22:14:03.901Z] $ docker exec --env ******** --env ******** fe9bd74d6bccbe91e687822880d17b67716564a1cb7c7a122a82f81c16499a76 ssh-agent -k [2022-08-09T22:14:04.006Z] unset SSH_AUTH_SOCK; [2022-08-09T22:14:04.007Z] unset SSH_AGENT_PID; [2022-08-09T22:14:04.007Z] echo Agent pid 78 killed; [2022-08-09T22:14:04.019Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-09T22:14:04.457Z] + git semver [Pipeline] } [2022-08-09T22:14:05.059Z] $ docker stop --time=1 fe9bd74d6bccbe91e687822880d17b67716564a1cb7c7a122a82f81c16499a76 [2022-08-09T22:14:06.340Z] $ docker rm -f fe9bd74d6bccbe91e687822880d17b67716564a1cb7c7a122a82f81c16499a76 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-09T22:14:06.761Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-09T22:14:07.049Z] Stashed 1 file(s) [Pipeline] echo [2022-08-09T22:14:07.067Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-09T22:14:07.649Z] provisioning config files... [2022-08-09T22:14:07.660Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-76@tmp/config1146018751808023609tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T22:14:07.844Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22341 in /w/workspace/xfoundry_device-usb-camera_PR-76 [Pipeline] { [Pipeline] ws [2022-08-09T22:14:07.885Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2022-08-09T22:14:07.958Z] Selected Git installation does not exist. Using Default [2022-08-09T22:14:07.958Z] The recommended git tool is: NONE [2022-08-09T22:14:08.005Z] ---> docker-login.sh [2022-08-09T22:14:08.005Z] nexus3.edgexfoundry.org:10001 [2022-08-09T22:14:08.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:14:08.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:14:08.005Z] Configure a credential helper to remove this warning. See [2022-08-09T22:14:08.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:14:08.005Z] [2022-08-09T22:14:08.005Z] Login Succeeded [2022-08-09T22:14:08.005Z] nexus3.edgexfoundry.org:10002 [2022-08-09T22:14:08.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:14:08.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:14:08.265Z] Configure a credential helper to remove this warning. See [2022-08-09T22:14:08.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:14:08.265Z] [2022-08-09T22:14:08.265Z] Login Succeeded [2022-08-09T22:14:08.265Z] nexus3.edgexfoundry.org:10003 [2022-08-09T22:14:08.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:14:08.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:14:08.265Z] Configure a credential helper to remove this warning. See [2022-08-09T22:14:08.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:14:08.265Z] [2022-08-09T22:14:08.265Z] Login Succeeded [2022-08-09T22:14:08.265Z] nexus3.edgexfoundry.org:10004 [2022-08-09T22:14:08.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:14:08.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:14:08.525Z] Configure a credential helper to remove this warning. See [2022-08-09T22:14:08.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:14:08.525Z] [2022-08-09T22:14:08.525Z] Login Succeeded [2022-08-09T22:14:08.525Z] docker.io [2022-08-09T22:14:08.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:14:08.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:14:08.787Z] Configure a credential helper to remove this warning. See [2022-08-09T22:14:08.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:14:08.787Z] [2022-08-09T22:14:08.787Z] Login Succeeded [2022-08-09T22:14:08.787Z] ---> docker-login.sh ends [Pipeline] } [2022-08-09T22:14:08.815Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-09T22:14:09.000Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T22:14:09.037Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T22:14:09.065Z] ========================================================= [2022-08-09T22:14:09.065Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-09T22:14:09.065Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:14:09.525Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-09T22:14:09.525Z] Sending build context to Docker daemon 860.7kB [2022-08-09T22:14:09.525Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-09T22:14:09.525Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-09T22:14:09.525Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-09T22:14:09.525Z] 2408cc74d12b: Pulling fs layer [2022-08-09T22:14:09.525Z] ea60b727a1ce: Pulling fs layer [2022-08-09T22:14:09.525Z] 30c4a7721957: Pulling fs layer [2022-08-09T22:14:09.525Z] 370296b7ddb6: Pulling fs layer [2022-08-09T22:14:09.525Z] 7c6cee850709: Pulling fs layer [2022-08-09T22:14:09.525Z] 39a5fcdaea64: Pulling fs layer [2022-08-09T22:14:09.525Z] 370296b7ddb6: Waiting [2022-08-09T22:14:09.525Z] d94ebbe4e438: Pulling fs layer [2022-08-09T22:14:09.525Z] 39a5fcdaea64: Waiting [2022-08-09T22:14:09.525Z] bcfd1f05c69d: Pulling fs layer [2022-08-09T22:14:09.525Z] d94ebbe4e438: Waiting [2022-08-09T22:14:09.525Z] 59ccb84bbe0f: Pulling fs layer [2022-08-09T22:14:09.525Z] bcfd1f05c69d: Waiting [2022-08-09T22:14:09.525Z] 59ccb84bbe0f: Waiting [2022-08-09T22:14:09.525Z] 30c4a7721957: Verifying Checksum [2022-08-09T22:14:09.525Z] 30c4a7721957: Download complete [2022-08-09T22:14:09.525Z] ea60b727a1ce: Download complete [2022-08-09T22:14:09.525Z] 7c6cee850709: Download complete [2022-08-09T22:14:09.525Z] 39a5fcdaea64: Verifying Checksum [2022-08-09T22:14:09.525Z] 39a5fcdaea64: Download complete [2022-08-09T22:14:09.525Z] 2408cc74d12b: Verifying Checksum [2022-08-09T22:14:09.525Z] 2408cc74d12b: Download complete [2022-08-09T22:14:09.790Z] d94ebbe4e438: Verifying Checksum [2022-08-09T22:14:09.790Z] d94ebbe4e438: Download complete [2022-08-09T22:14:09.790Z] 2408cc74d12b: Pull complete [2022-08-09T22:14:10.053Z] ea60b727a1ce: Pull complete [2022-08-09T22:14:10.053Z] 30c4a7721957: Pull complete [2022-08-09T22:14:10.053Z] 59ccb84bbe0f: Verifying Checksum [2022-08-09T22:14:10.053Z] 59ccb84bbe0f: Download complete [2022-08-09T22:14:10.315Z] bcfd1f05c69d: Verifying Checksum [2022-08-09T22:14:10.315Z] 370296b7ddb6: Verifying Checksum [2022-08-09T22:14:10.315Z] 370296b7ddb6: Download complete [2022-08-09T22:14:13.026Z] using credential edgex-jenkins-ssh [2022-08-09T22:14:13.044Z] Cloning the remote Git repository [2022-08-09T22:14:13.115Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-08-09T22:14:13.209Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2022-08-09T22:14:13.304Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-08-09T22:14:13.305Z] > git --version # timeout=10 [2022-08-09T22:14:13.328Z] > git --version # 'git version 2.25.1' [2022-08-09T22:14:13.331Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-09T22:14:13.395Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-09T22:14:13.991Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-08-09T22:14:14.012Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-09T22:14:14.045Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-08-09T22:14:14.088Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-08-09T22:14:14.089Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-09T22:14:14.104Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/76/head:refs/remotes/origin/PR-76 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-09T22:14:14.511Z] 370296b7ddb6: Pull complete [2022-08-09T22:14:14.511Z] 7c6cee850709: Pull complete [2022-08-09T22:14:14.511Z] 39a5fcdaea64: Pull complete [2022-08-09T22:14:14.511Z] d94ebbe4e438: Pull complete [2022-08-09T22:14:14.595Z] Merging remotes/origin/main commit 35e88c606ff591756c04535471448b721e880ee3 into PR head commit 0a9f00bd9fde175d00e24b55ed571ef77bca9b17 [2022-08-09T22:14:14.813Z] Merge succeeded, producing 0a9f00bd9fde175d00e24b55ed571ef77bca9b17 [2022-08-09T22:14:14.814Z] Checking out Revision 0a9f00bd9fde175d00e24b55ed571ef77bca9b17 (PR-76) [2022-08-09T22:14:14.620Z] > git config core.sparsecheckout # timeout=10 [2022-08-09T22:14:14.639Z] > git checkout -f 0a9f00bd9fde175d00e24b55ed571ef77bca9b17 # timeout=10 [2022-08-09T22:14:14.727Z] > git remote # timeout=10 [2022-08-09T22:14:14.746Z] > git config --get remote.origin.url # timeout=10 [2022-08-09T22:14:14.761Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-09T22:14:14.776Z] > git merge 35e88c606ff591756c04535471448b721e880ee3 # timeout=10 [2022-08-09T22:14:14.802Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-09T22:14:14.827Z] > git config core.sparsecheckout # timeout=10 [2022-08-09T22:14:14.845Z] > git checkout -f 0a9f00bd9fde175d00e24b55ed571ef77bca9b17 # timeout=10 [2022-08-09T22:14:16.419Z] bcfd1f05c69d: Pull complete [2022-08-09T22:14:16.989Z] 59ccb84bbe0f: Pull complete [2022-08-09T22:14:16.989Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-09T22:14:16.989Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-09T22:14:16.989Z] ---> a4fb48ad2a94 [2022-08-09T22:14:16.989Z] Step 3/13 : ARG MAKE="make build" [2022-08-09T22:14:18.901Z] ---> Running in 4f1f581e2bf2 [2022-08-09T22:14:18.901Z] Removing intermediate container 4f1f581e2bf2 [2022-08-09T22:14:18.901Z] ---> 66a9c4d2f5a9 [2022-08-09T22:14:18.901Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-08-09T22:14:18.901Z] ---> Running in 4966d889ae69 [2022-08-09T22:14:18.901Z] Removing intermediate container 4966d889ae69 [2022-08-09T22:14:18.901Z] ---> 4a5fc15723cb [2022-08-09T22:14:18.901Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-08-09T22:14:18.901Z] ---> Running in d0e3900d35a2 [2022-08-09T22:14:18.901Z] Removing intermediate container d0e3900d35a2 [2022-08-09T22:14:18.901Z] ---> 3523175d1ea5 [2022-08-09T22:14:18.901Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T22:14:18.901Z] ---> Running in f9c92396899e [2022-08-09T22:14:19.163Z] Commit message: "build: Upgrade to Go 1.18, Alpine 3.16, linter version and latest SDK/go-mod versions" [2022-08-09T22:14:19.228Z] > git --version # timeout=10 [2022-08-09T22:14:19.240Z] > git --version # 'git version 2.25.1' [2022-08-09T22:14:19.257Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-09T22:14:19.471Z] Removing intermediate container f9c92396899e [2022-08-09T22:14:19.471Z] ---> 44c8ab2a4eff [2022-08-09T22:14:19.471Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T22:14:19.471Z] ---> Running in 6cb3c7fa6cd5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2022-08-09T22:14:19.731Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-09T22:14:20.370Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-09T22:14:20.370Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-09T22:14:20.370Z] Dload Upload Total Spent Left Speed [2022-08-09T22:14:20.370Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 62918 0 --:--:-- --:--:-- --:--:-- 62918 [2022-08-09T22:14:20.669Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [Pipeline] sh [2022-08-09T22:14:20.930Z] (1/80) Installing mesa (21.3.8-r2) [2022-08-09T22:14:20.930Z] (2/80) Installing libxau (1.0.9-r0) [2022-08-09T22:14:20.930Z] (3/80) Installing libxdmcp (1.1.3-r0) [2022-08-09T22:14:21.191Z] (4/80) Installing libxcb (1.15-r0) [2022-08-09T22:14:21.191Z] (5/80) Installing libx11 (1.8-r0) [2022-08-09T22:14:21.191Z] (6/80) Installing libxext (1.3.4-r0) [2022-08-09T22:14:21.230Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-09T22:14:21.453Z] (7/80) Installing libxfixes (6.0.0-r0) [2022-08-09T22:14:21.453Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2022-08-09T22:14:21.453Z] (9/80) Installing libpciaccess (0.16-r0) [2022-08-09T22:14:21.595Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-09T22:14:21.595Z] + sudo tee /etc/docker/daemon.new [2022-08-09T22:14:21.595Z] { [2022-08-09T22:14:21.595Z] "registry-mirrors": [ [2022-08-09T22:14:21.595Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-09T22:14:21.595Z] ], [2022-08-09T22:14:21.595Z] "bip": "10.250.0.254/24", [2022-08-09T22:14:21.595Z] "hosts": [ [2022-08-09T22:14:21.595Z] "tcp://0.0.0.0:5555", [2022-08-09T22:14:21.595Z] "unix:///var/run/docker.sock" [2022-08-09T22:14:21.595Z] ], [2022-08-09T22:14:21.595Z] "mtu": 1458, [2022-08-09T22:14:21.595Z] "selinux-enabled": true, [2022-08-09T22:14:21.595Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-09T22:14:21.595Z] } [Pipeline] sh [2022-08-09T22:14:21.713Z] (10/80) Installing libdrm (2.4.110-r0) [2022-08-09T22:14:21.713Z] (11/80) Installing mesa-glapi (21.3.8-r2) [2022-08-09T22:14:21.713Z] (12/80) Installing libxshmfence (1.3-r1) [2022-08-09T22:14:21.961Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2022-08-09T22:14:21.975Z] (13/80) Installing mesa-gl (21.3.8-r2) [2022-08-09T22:14:21.975Z] (14/80) Installing icu-data-full (71.1-r2) [Pipeline] sh [2022-08-09T22:14:22.368Z] + sudo service docker restart [2022-08-09T22:14:22.555Z] (15/80) Installing libice (1.0.10-r0) [2022-08-09T22:14:22.816Z] (16/80) Installing libuuid (2.38-r1) [2022-08-09T22:14:22.816Z] (17/80) Installing libsm (1.2.3-r0) [2022-08-09T22:14:22.816Z] (18/80) Installing libxt (1.2.1-r0) [2022-08-09T22:14:23.075Z] (19/80) Installing libxmu (1.1.3-r0) [2022-08-09T22:14:23.075Z] (20/80) Installing xset (1.2.4-r0) [2022-08-09T22:14:23.075Z] (21/80) Installing xprop (1.2.5-r0) [2022-08-09T22:14:23.335Z] (22/80) Installing xdg-utils (1.1.3-r3) [2022-08-09T22:14:23.335Z] (23/80) Installing dbus-libs (1.14.0-r1) [2022-08-09T22:14:23.335Z] (24/80) Installing libffi (3.4.2-r1) [2022-08-09T22:14:23.599Z] (25/80) Installing libintl (0.21-r2) [2022-08-09T22:14:23.599Z] (26/80) Installing libblkid (2.38-r1) [2022-08-09T22:14:23.599Z] (27/80) Installing libmount (2.38-r1) [2022-08-09T22:14:23.860Z] (28/80) Installing pcre (8.45-r2) [2022-08-09T22:14:23.860Z] (29/80) Installing glib (2.72.1-r0) [2022-08-09T22:14:23.860Z] (30/80) Installing icu-libs (71.1-r2) [2022-08-09T22:14:24.120Z] (31/80) Installing libpcre2-16 (10.40-r0) [2022-08-09T22:14:24.120Z] (32/80) Installing zstd-libs (1.5.2-r1) [2022-08-09T22:14:24.381Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2022-08-09T22:14:24.641Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2022-08-09T22:14:24.641Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2022-08-09T22:14:24.902Z] (36/80) Installing mesa-gbm (21.3.8-r2) [2022-08-09T22:14:24.902Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2022-08-09T22:14:24.902Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2022-08-09T22:14:25.473Z] (39/80) Installing libxcomposite (0.4.5-r0) [2022-08-09T22:14:25.473Z] (40/80) Installing libbz2 (1.0.8-r1) [2022-08-09T22:14:25.473Z] (41/80) Installing libpng (1.6.37-r1) [2022-08-09T22:14:25.732Z] (42/80) Installing freetype (2.12.1-r0) [2022-08-09T22:14:25.732Z] (43/80) Installing fontconfig (2.14.0-r0) [2022-08-09T22:14:25.732Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2022-08-09T22:14:25.993Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2022-08-09T22:14:25.993Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2022-08-09T22:14:25.993Z] (47/80) Installing xz-libs (5.2.5-r1) [2022-08-09T22:14:26.253Z] (48/80) Installing libxml2 (2.9.14-r0) [2022-08-09T22:14:26.253Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2022-08-09T22:14:26.515Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2022-08-09T22:14:26.515Z] (51/80) Installing mesa-egl (21.3.8-r2) [2022-08-09T22:14:26.515Z] (52/80) Installing avahi-libs (0.8-r6) [2022-08-09T22:14:26.777Z] (53/80) Installing nettle (3.7.3-r0) [2022-08-09T22:14:26.777Z] (54/80) Installing p11-kit (0.24.1-r0) [2022-08-09T22:14:26.777Z] (55/80) Installing libtasn1 (4.18.0-r0) [2022-08-09T22:14:27.037Z] (56/80) Installing libunistring (1.0-r0) [2022-08-09T22:14:27.037Z] (57/80) Installing gnutls (3.7.7-r0) [2022-08-09T22:14:27.037Z] (58/80) Installing cups-libs (2.4.2-r0) [2022-08-09T22:14:27.303Z] (59/80) Installing graphite2 (1.3.14-r1) [2022-08-09T22:14:27.303Z] (60/80) Installing harfbuzz (4.3.0-r0) [2022-08-09T22:14:27.563Z] (61/80) Installing libevdev (1.12.1-r0) [2022-08-09T22:14:27.563Z] (62/80) Installing mtdev (1.1.6-r0) [2022-08-09T22:14:27.563Z] (63/80) Installing eudev-libs (3.2.11-r0) [2022-08-09T22:14:27.823Z] (64/80) Installing libinput-libs (1.20.1-r0) [2022-08-09T22:14:27.823Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2022-08-09T22:14:27.823Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2022-08-09T22:14:28.083Z] (67/80) Installing xcb-util (0.4.0-r3) [2022-08-09T22:14:28.083Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2022-08-09T22:14:28.083Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2022-08-09T22:14:28.344Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2022-08-09T22:14:28.344Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2022-08-09T22:14:28.344Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2022-08-09T22:14:28.916Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2022-08-09T22:14:28.916Z] (74/80) Installing v4l-utils (1.22.1-r1) [2022-08-09T22:14:29.177Z] (75/80) Installing udev-init-scripts (35-r0) [2022-08-09T22:14:29.177Z] Executing udev-init-scripts-35-r0.post-install [2022-08-09T22:14:29.177Z] (76/80) Installing kmod-libs (29-r2) [2022-08-09T22:14:29.177Z] (77/80) Installing eudev (3.2.11-r0) [2022-08-09T22:14:29.439Z] (78/80) Installing eudev-dev (3.2.11-r0) [2022-08-09T22:14:29.439Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-08-09T22:14:29.439Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2022-08-09T22:14:29.702Z] Executing busybox-1.35.0-r13.trigger [2022-08-09T22:14:29.702Z] Executing eudev-3.2.11-r0.trigger [2022-08-09T22:14:29.702Z] OK: 330 MiB in 131 packages [2022-08-09T22:14:31.613Z] Removing intermediate container 6cb3c7fa6cd5 [2022-08-09T22:14:31.613Z] ---> a3a1901049ab [2022-08-09T22:14:31.613Z] Step 8/13 : WORKDIR /device-usb-camera [2022-08-09T22:14:31.613Z] ---> Running in 74fff897ed6b [2022-08-09T22:14:31.613Z] Removing intermediate container 74fff897ed6b [2022-08-09T22:14:31.613Z] ---> 5a501a2c47c9 [2022-08-09T22:14:31.613Z] Step 9/13 : COPY go.mod vendor* ./ [2022-08-09T22:14:31.613Z] ---> 56c33800a390 [2022-08-09T22:14:31.613Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T22:14:31.613Z] ---> Running in 12fd2ed5ca46 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-09T22:14:40.801Z] provisioning config files... [2022-08-09T22:14:40.826Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config3909162335062914065tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T22:14:41.243Z] ---> docker-login.sh [2022-08-09T22:14:41.243Z] nexus3.edgexfoundry.org:10001 [2022-08-09T22:14:41.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:14:42.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:14:42.113Z] Configure a credential helper to remove this warning. See [2022-08-09T22:14:42.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:14:42.113Z] [2022-08-09T22:14:42.113Z] Login Succeeded [2022-08-09T22:14:42.113Z] nexus3.edgexfoundry.org:10002 [2022-08-09T22:14:42.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:14:42.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:14:42.709Z] Configure a credential helper to remove this warning. See [2022-08-09T22:14:42.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:14:42.709Z] [2022-08-09T22:14:42.709Z] Login Succeeded [2022-08-09T22:14:42.709Z] nexus3.edgexfoundry.org:10003 [2022-08-09T22:14:42.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:14:43.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:14:43.261Z] Configure a credential helper to remove this warning. See [2022-08-09T22:14:43.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:14:43.261Z] [2022-08-09T22:14:43.261Z] Login Succeeded [2022-08-09T22:14:43.261Z] nexus3.edgexfoundry.org:10004 [2022-08-09T22:14:43.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:14:43.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:14:43.536Z] Configure a credential helper to remove this warning. See [2022-08-09T22:14:43.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:14:43.536Z] [2022-08-09T22:14:43.536Z] Login Succeeded [2022-08-09T22:14:43.536Z] docker.io [2022-08-09T22:14:44.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:14:44.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:14:44.408Z] Configure a credential helper to remove this warning. See [2022-08-09T22:14:44.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:14:44.408Z] [2022-08-09T22:14:44.408Z] Login Succeeded [2022-08-09T22:14:44.408Z] ---> docker-login.sh ends [Pipeline] } [2022-08-09T22:14:44.435Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-09T22:14:44.827Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T22:14:44.862Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T22:14:44.898Z] ========================================================= [2022-08-09T22:14:44.898Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-09T22:14:44.898Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:14:45.414Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-09T22:14:45.690Z] Sending build context to Docker daemon 572.4kB [2022-08-09T22:14:45.690Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-09T22:14:45.690Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-09T22:14:45.965Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-09T22:14:45.965Z] b3c136eddcbf: Pulling fs layer [2022-08-09T22:14:45.965Z] c0a3192eca97: Pulling fs layer [2022-08-09T22:14:45.965Z] a050256f5b6f: Pulling fs layer [2022-08-09T22:14:45.965Z] 656be50a0ddc: Pulling fs layer [2022-08-09T22:14:45.965Z] 2bbca73fdf42: Pulling fs layer [2022-08-09T22:14:45.965Z] 46d945488cbd: Pulling fs layer [2022-08-09T22:14:45.965Z] 8a5474983e97: Pulling fs layer [2022-08-09T22:14:45.965Z] 329c88fbcd65: Pulling fs layer [2022-08-09T22:14:45.965Z] 656be50a0ddc: Waiting [2022-08-09T22:14:45.965Z] 2bbca73fdf42: Waiting [2022-08-09T22:14:45.965Z] 46d945488cbd: Waiting [2022-08-09T22:14:45.965Z] 8a5474983e97: Waiting [2022-08-09T22:14:45.965Z] 329c88fbcd65: Waiting [2022-08-09T22:14:45.965Z] a050256f5b6f: Verifying Checksum [2022-08-09T22:14:45.965Z] a050256f5b6f: Download complete [2022-08-09T22:14:45.965Z] c0a3192eca97: Verifying Checksum [2022-08-09T22:14:45.965Z] c0a3192eca97: Download complete [2022-08-09T22:14:45.965Z] 2bbca73fdf42: Verifying Checksum [2022-08-09T22:14:45.965Z] 2bbca73fdf42: Download complete [2022-08-09T22:14:45.965Z] 46d945488cbd: Verifying Checksum [2022-08-09T22:14:45.965Z] 46d945488cbd: Download complete [2022-08-09T22:14:45.965Z] b3c136eddcbf: Verifying Checksum [2022-08-09T22:14:45.965Z] b3c136eddcbf: Download complete [2022-08-09T22:14:46.958Z] b3c136eddcbf: Pull complete [2022-08-09T22:14:47.236Z] 329c88fbcd65: Verifying Checksum [2022-08-09T22:14:47.236Z] 329c88fbcd65: Download complete [2022-08-09T22:14:47.514Z] c0a3192eca97: Pull complete [2022-08-09T22:14:47.796Z] a050256f5b6f: Pull complete [2022-08-09T22:14:48.398Z] 8a5474983e97: Verifying Checksum [2022-08-09T22:14:48.398Z] 8a5474983e97: Download complete [2022-08-09T22:14:49.001Z] 656be50a0ddc: Verifying Checksum [2022-08-09T22:14:49.001Z] 656be50a0ddc: Download complete [2022-08-09T22:14:53.718Z] Removing intermediate container 12fd2ed5ca46 [2022-08-09T22:14:53.718Z] ---> d52bffbcd9ba [2022-08-09T22:14:53.718Z] Step 11/13 : COPY . . [2022-08-09T22:14:53.718Z] ---> dd9d3e705191 [2022-08-09T22:14:53.718Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-08-09T22:14:53.718Z] ---> Running in 46298a78edac [2022-08-09T22:14:53.718Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-09T22:14:53.718Z] Dload Upload Total Spent Left  Speed [2022-08-09T22:14:53.718Z] 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 10973 0 --:--:-- --:--:-- --:--:-- 11062 [2022-08-09T22:14:53.718Z] Removing intermediate container 46298a78edac [2022-08-09T22:14:53.718Z] ---> 343f0fcc8dad [2022-08-09T22:14:53.718Z] Step 13/13 : RUN ${MAKE} [2022-08-09T22:14:53.718Z] ---> Running in 51d715ac6e6e [2022-08-09T22:14:53.718Z] noop [2022-08-09T22:14:53.718Z] Removing intermediate container 51d715ac6e6e [2022-08-09T22:14:53.718Z] ---> 24bfa1fb2ebe [2022-08-09T22:14:53.718Z] Successfully built 24bfa1fb2ebe [2022-08-09T22:14:53.718Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:14:54.167Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-09T22:14:54.167Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T22:14:54.319Z] prd-ubuntu20.04-docker-8c-8g-22342 does not seem to be running inside a container [2022-08-09T22:14:54.359Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-76 -v /w/workspace/xfoundry_device-usb-camera_PR-76:/w/workspace/xfoundry_device-usb-camera_PR-76:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-76@tmp:/w/workspace/xfoundry_device-usb-camera_PR-76@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-09T22:14:54.755Z] $ docker top 0ed9201e982638569274cea363c88329e17aa323236f266e094c0ef1b8836561 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T22:14:55.153Z] + go version [2022-08-09T22:14:55.153Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-09T22:14:55.194Z] $ docker stop --time=1 0ed9201e982638569274cea363c88329e17aa323236f266e094c0ef1b8836561 [2022-08-09T22:14:56.457Z] $ docker rm -f 0ed9201e982638569274cea363c88329e17aa323236f266e094c0ef1b8836561 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:14:57.189Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-09T22:14:57.189Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T22:14:57.357Z] prd-ubuntu20.04-docker-8c-8g-22342 does not seem to be running inside a container [2022-08-09T22:14:57.403Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/xfoundry_device-usb-camera_PR-76 -v /w/workspace/xfoundry_device-usb-camera_PR-76:/w/workspace/xfoundry_device-usb-camera_PR-76:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-76@tmp:/w/workspace/xfoundry_device-usb-camera_PR-76@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-09T22:14:57.779Z] $ docker top dbcbde67b35d3274cba6f5c16551031d33843076c29835ed19d600271e8690d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T22:14:58.196Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-76 [Pipeline] fileExists [Pipeline] sh [2022-08-09T22:14:58.554Z] + make test [2022-08-09T22:14:58.554Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-08-09T22:14:58.813Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-08-09T22:15:01.423Z] 656be50a0ddc: Pull complete [2022-08-09T22:15:01.423Z] 2bbca73fdf42: Pull complete [2022-08-09T22:15:01.700Z] 46d945488cbd: Pull complete [2022-08-09T22:15:08.420Z] 8a5474983e97: Pull complete [2022-08-09T22:15:08.824Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-08-09T22:15:08.824Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.011s coverage: 1.9% of statements [2022-08-09T22:15:09.869Z] 329c88fbcd65: Pull complete [2022-08-09T22:15:09.869Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-09T22:15:10.143Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-09T22:15:10.143Z] ---> ff4287adb874 [2022-08-09T22:15:10.143Z] Step 3/13 : ARG MAKE="make build" [2022-08-09T22:15:10.747Z] ---> Running in 56304e8a19f5 [2022-08-09T22:15:11.354Z] Removing intermediate container 56304e8a19f5 [2022-08-09T22:15:11.354Z] ---> a54b0879d743 [2022-08-09T22:15:11.354Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-08-09T22:15:11.354Z] ---> Running in 34a319dba77c [2022-08-09T22:15:11.628Z] Removing intermediate container 34a319dba77c [2022-08-09T22:15:11.628Z] ---> 4581e433e871 [2022-08-09T22:15:11.629Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-08-09T22:15:11.629Z] ---> Running in ce6bf3da8212 [2022-08-09T22:15:11.906Z] Removing intermediate container ce6bf3da8212 [2022-08-09T22:15:11.906Z] ---> 527313457587 [2022-08-09T22:15:11.906Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T22:15:11.907Z] ---> Running in d240674562eb [2022-08-09T22:15:13.883Z] Removing intermediate container d240674562eb [2022-08-09T22:15:13.883Z] ---> a2d306973af9 [2022-08-09T22:15:13.883Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T22:15:13.883Z] ---> Running in 2e5e7e4ce631 [2022-08-09T22:15:14.477Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-09T22:15:15.397Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-08-09T22:15:15.397Z] CGO_ENABLED=1 go vet ./... [2022-08-09T22:15:15.455Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-09T22:15:16.430Z] (1/14) Installing libintl (0.21-r2) [2022-08-09T22:15:16.430Z] (2/14) Installing eudev-libs (3.2.11-r0) [2022-08-09T22:15:16.430Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2022-08-09T22:15:16.704Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-08-09T22:15:16.704Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-08-09T22:15:16.985Z] (6/14) Installing udev-init-scripts (35-r0) [2022-08-09T22:15:16.985Z] Executing udev-init-scripts-35-r0.post-install [2022-08-09T22:15:16.985Z] (7/14) Installing libblkid (2.38-r1) [2022-08-09T22:15:17.258Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-08-09T22:15:17.258Z] (9/14) Installing zstd-libs (1.5.2-r1) [2022-08-09T22:15:17.258Z] (10/14) Installing kmod-libs (29-r2) [2022-08-09T22:15:17.301Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-09T22:15:17.301Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-09T22:15:17.301Z] ./bin/test-attribution-txt.sh [2022-08-09T22:15:17.533Z] (11/14) Installing eudev (3.2.11-r0) [2022-08-09T22:15:17.533Z] (12/14) Installing eudev-dev (3.2.11-r0) [2022-08-09T22:15:17.533Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [Pipeline] echo [2022-08-09T22:15:17.595Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-09T22:15:17.633Z] $ docker stop --time=1 dbcbde67b35d3274cba6f5c16551031d33843076c29835ed19d600271e8690d6 [2022-08-09T22:15:17.808Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-08-09T22:15:17.809Z] Executing busybox-1.35.0-r13.trigger [2022-08-09T22:15:17.809Z] Executing eudev-3.2.11-r0.trigger [2022-08-09T22:15:18.089Z] OK: 228 MiB in 65 packages [2022-08-09T22:15:19.072Z] Removing intermediate container 2e5e7e4ce631 [2022-08-09T22:15:19.072Z] ---> 7765346b8979 [2022-08-09T22:15:19.072Z] Step 8/13 : WORKDIR /device-usb-camera [2022-08-09T22:15:19.072Z] ---> Running in ac1627e52fd7 [2022-08-09T22:15:19.346Z] Removing intermediate container ac1627e52fd7 [2022-08-09T22:15:19.346Z] ---> 39a0321fd90c [2022-08-09T22:15:19.346Z] Step 9/13 : COPY go.mod vendor* ./ [2022-08-09T22:15:19.657Z] $ docker rm -f dbcbde67b35d3274cba6f5c16551031d33843076c29835ed19d600271e8690d6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-09T22:15:19.942Z] ---> 1fe3001cdfa0 [2022-08-09T22:15:19.942Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T22:15:19.942Z] ---> Running in 2d4fbc2a454f [2022-08-09T22:15:20.224Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-09T22:15:20.287Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-09T22:15:20.961Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-09T22:15:21.273Z] + ls -al . [2022-08-09T22:15:21.273Z] total 200 [2022-08-09T22:15:21.273Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 22:14 . [2022-08-09T22:15:21.273Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 22:13 .. [2022-08-09T22:15:21.273Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 22:15 .git [2022-08-09T22:15:21.273Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 22:13 .github [2022-08-09T22:15:21.273Z] -rw-rw-r-- 1 jenkins jenkins 414 Aug 9 22:13 .gitignore [2022-08-09T22:15:21.273Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 9 22:13 .golangci.yml [2022-08-09T22:15:21.273Z] -rw-rw-r-- 1 jenkins jenkins 77 Aug 9 22:13 .hadolint.yml [2022-08-09T22:15:21.273Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 22:14 .semver [2022-08-09T22:15:21.273Z] -rw-rw-r-- 1 jenkins jenkins 9569 Aug 9 22:13 Attribution.txt [2022-08-09T22:15:21.273Z] -rw-rw-r-- 1 jenkins jenkins 1206 Aug 9 22:13 CHANGELOG.md [2022-08-09T22:15:21.273Z] -rw-rw-r-- 1 jenkins jenkins 2410 Aug 9 22:13 Dockerfile [2022-08-09T22:15:21.273Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 9 22:13 GOVERNANCE.md [2022-08-09T22:15:21.273Z] -rw-rw-r-- 1 jenkins jenkins 659 Aug 9 22:13 Jenkinsfile [2022-08-09T22:15:21.273Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 9 22:13 LICENSE [2022-08-09T22:15:21.273Z] -rw-rw-r-- 1 jenkins jenkins 2345 Aug 9 22:13 Makefile [2022-08-09T22:15:21.273Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 9 22:13 OWNERS.md [2022-08-09T22:15:21.273Z] -rw-rw-r-- 1 jenkins jenkins 12817 Aug 9 22:13 README.md [2022-08-09T22:15:21.273Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 22:14 VERSION [2022-08-09T22:15:21.273Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 22:13 bin [2022-08-09T22:15:21.273Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 22:13 cmd [2022-08-09T22:15:21.273Z] -rw-r--r-- 1 jenkins jenkins 29387 Aug 9 22:15 coverage.out [2022-08-09T22:15:21.273Z] -rwxrwxr-x 1 jenkins jenkins 140 Aug 9 22:13 docker-entrypoint.sh [2022-08-09T22:15:21.273Z] -rw-rw-r-- 1 jenkins jenkins 3606 Aug 9 22:13 go.mod [2022-08-09T22:15:21.273Z] -rw-rw-r-- 1 jenkins jenkins 37073 Aug 9 22:13 go.sum [2022-08-09T22:15:21.273Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 22:13 internal [2022-08-09T22:15:21.273Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 22:13 snap [2022-08-09T22:15:21.273Z] -rw-rw-r-- 1 jenkins jenkins 231 Aug 9 22:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:15:21.668Z] + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=0a9f00bd9fde175d00e24b55ed571ef77bca9b17 --label arch=amd64 --label version=0.0.0 . [2022-08-09T22:15:21.668Z] Sending build context to Docker daemon 890.9kB [2022-08-09T22:15:21.668Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2022-08-09T22:15:21.668Z] Step 2/35 : FROM ${BASE} AS builder [2022-08-09T22:15:21.668Z] ---> 24bfa1fb2ebe [2022-08-09T22:15:21.668Z] Step 3/35 : ARG MAKE="make build" [2022-08-09T22:15:21.668Z] ---> Running in d1a238c1368f [2022-08-09T22:15:21.668Z] Removing intermediate container d1a238c1368f [2022-08-09T22:15:21.668Z] ---> ff9d555d99ac [2022-08-09T22:15:21.668Z] Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-08-09T22:15:21.931Z] ---> Running in cc666caab678 [2022-08-09T22:15:21.931Z] Removing intermediate container cc666caab678 [2022-08-09T22:15:21.931Z] ---> 3d9b9f82cdbd [2022-08-09T22:15:21.931Z] Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-08-09T22:15:21.931Z] ---> Running in 40b915e88295 [2022-08-09T22:15:21.931Z] Removing intermediate container 40b915e88295 [2022-08-09T22:15:21.931Z] ---> b551e985b644 [2022-08-09T22:15:21.931Z] Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T22:15:22.191Z] ---> Running in 739e9549a6e3 [2022-08-09T22:15:22.761Z] Removing intermediate container 739e9549a6e3 [2022-08-09T22:15:22.761Z] ---> a1d47d32fe6e [2022-08-09T22:15:22.761Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T22:15:22.761Z] ---> Running in 87fe836ae211 [2022-08-09T22:15:22.761Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-09T22:15:23.701Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-09T22:15:23.966Z] OK: 330 MiB in 131 packages [2022-08-09T22:15:24.227Z] Removing intermediate container 87fe836ae211 [2022-08-09T22:15:24.227Z] ---> 95294e8998bd [2022-08-09T22:15:24.227Z] Step 8/35 : WORKDIR /device-usb-camera [2022-08-09T22:15:24.487Z] ---> Running in e21940899989 [2022-08-09T22:15:24.487Z] Removing intermediate container e21940899989 [2022-08-09T22:15:24.487Z] ---> cbb9346281c8 [2022-08-09T22:15:24.487Z] Step 9/35 : COPY go.mod vendor* ./ [2022-08-09T22:15:24.487Z] ---> 663e0a3ec081 [2022-08-09T22:15:24.487Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T22:15:24.488Z] ---> Running in 4507eb7340da [2022-08-09T22:15:25.425Z] Removing intermediate container 4507eb7340da [2022-08-09T22:15:25.425Z] ---> 87045f3e7200 [2022-08-09T22:15:25.425Z] Step 11/35 : COPY . . [2022-08-09T22:15:25.425Z] ---> 337453641bd8 [2022-08-09T22:15:25.425Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-08-09T22:15:25.425Z] ---> Running in fc861bae0496 [2022-08-09T22:15:25.687Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-09T22:15:25.687Z] Dload Upload Total Spent Left Speed [2022-08-09T22:15:25.687Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 46495 0 --:--:-- --:--:-- --:--:-- 48272 [2022-08-09T22:15:25.946Z] Removing intermediate container fc861bae0496 [2022-08-09T22:15:25.946Z] ---> f1cbc139bd1d [2022-08-09T22:15:25.946Z] Step 13/35 : RUN ${MAKE} [2022-08-09T22:15:25.946Z] ---> Running in e3264f78f56b [2022-08-09T22:15:26.208Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-08-09T22:15:48.153Z] Removing intermediate container e3264f78f56b [2022-08-09T22:15:48.153Z] ---> ed79464befc1 [2022-08-09T22:15:48.153Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-08-09T22:15:48.153Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-08-09T22:15:48.153Z] af6660deedbd: Pulling fs layer [2022-08-09T22:15:48.153Z] 97cd0a44c592: Pulling fs layer [2022-08-09T22:15:48.153Z] 97cd0a44c592: Verifying Checksum [2022-08-09T22:15:48.153Z] 97cd0a44c592: Download complete [2022-08-09T22:15:48.153Z] af6660deedbd: Verifying Checksum [2022-08-09T22:15:48.153Z] af6660deedbd: Download complete [2022-08-09T22:15:48.153Z] af6660deedbd: Pull complete [2022-08-09T22:15:48.153Z] 97cd0a44c592: Pull complete [2022-08-09T22:15:48.153Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-08-09T22:15:48.153Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-08-09T22:15:48.153Z] ---> fea57e182299 [2022-08-09T22:15:48.153Z] Step 15/35 : FROM alpine:3.16 [2022-08-09T22:15:48.153Z] 3.16: Pulling from library/alpine [2022-08-09T22:15:48.153Z] 213ec9aee27d: Pulling fs layer [2022-08-09T22:15:48.153Z] 213ec9aee27d: Verifying Checksum [2022-08-09T22:15:48.153Z] 213ec9aee27d: Download complete [2022-08-09T22:15:48.153Z] 213ec9aee27d: Pull complete [2022-08-09T22:15:48.153Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-09T22:15:48.153Z] Status: Downloaded newer image for alpine:3.16 [2022-08-09T22:15:48.153Z] ---> 9c6f07244728 [2022-08-09T22:15:48.153Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-09T22:15:48.153Z] ---> Running in 90fec758c584 [2022-08-09T22:15:48.153Z] Removing intermediate container 90fec758c584 [2022-08-09T22:15:48.153Z] ---> 37e7caaf9692 [2022-08-09T22:15:48.153Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-08-09T22:15:48.153Z] ---> Running in c181ff9132c0 [2022-08-09T22:15:48.153Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-09T22:15:48.153Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-09T22:15:48.153Z] (1/83) Installing dumb-init (1.2.5-r1) [2022-08-09T22:15:48.153Z] (2/83) Installing sdl2 (2.0.22-r0) [2022-08-09T22:15:48.153Z] (3/83) Installing libxau (1.0.9-r0) [2022-08-09T22:15:48.153Z] (4/83) Installing libxdmcp (1.1.3-r0) [2022-08-09T22:15:48.153Z] (5/83) Installing libxcb (1.15-r0) [2022-08-09T22:15:48.414Z] (6/83) Installing libx11 (1.8-r0) [2022-08-09T22:15:48.414Z] (7/83) Installing aom-libs (3.3.0-r0) [2022-08-09T22:15:48.414Z] (8/83) Installing alsa-lib (1.2.7.2-r0) [2022-08-09T22:15:48.414Z] (9/83) Installing expat (2.4.8-r0) [2022-08-09T22:15:48.414Z] (10/83) Installing brotli-libs (1.0.9-r6) [2022-08-09T22:15:48.414Z] (11/83) Installing libbz2 (1.0.8-r1) [2022-08-09T22:15:48.414Z] (12/83) Installing libpng (1.6.37-r1) [2022-08-09T22:15:48.414Z] (13/83) Installing freetype (2.12.1-r0) [2022-08-09T22:15:48.414Z] (14/83) Installing fontconfig (2.14.0-r0) [2022-08-09T22:15:48.414Z] (15/83) Installing fribidi (1.0.12-r0) [2022-08-09T22:15:48.414Z] (16/83) Installing libffi (3.4.2-r1) [2022-08-09T22:15:48.414Z] (17/83) Installing libintl (0.21-r2) [2022-08-09T22:15:48.414Z] (18/83) Installing libblkid (2.38-r1) [2022-08-09T22:15:48.414Z] (19/83) Installing libmount (2.38-r1) [2022-08-09T22:15:48.414Z] (20/83) Installing pcre (8.45-r2) [2022-08-09T22:15:48.414Z] (21/83) Installing glib (2.72.1-r0) [2022-08-09T22:15:48.414Z] (22/83) Installing graphite2 (1.3.14-r1) [2022-08-09T22:15:48.414Z] (23/83) Installing harfbuzz (4.3.0-r0) [2022-08-09T22:15:48.674Z] (24/83) Installing libass (0.16.0-r0) [2022-08-09T22:15:48.674Z] (25/83) Installing libdav1d (1.0.0-r0) [2022-08-09T22:15:48.674Z] (26/83) Installing libpciaccess (0.16-r0) [2022-08-09T22:15:48.674Z] (27/83) Installing libdrm (2.4.110-r0) [2022-08-09T22:15:48.674Z] (28/83) Installing gmp (6.2.1-r2) [2022-08-09T22:15:48.674Z] (29/83) Installing nettle (3.7.3-r0) [2022-08-09T22:15:48.674Z] (30/83) Installing p11-kit (0.24.1-r0) [2022-08-09T22:15:48.674Z] (31/83) Installing libtasn1 (4.18.0-r0) [2022-08-09T22:15:48.674Z] (32/83) Installing libunistring (1.0-r0) [2022-08-09T22:15:48.674Z] (33/83) Installing gnutls (3.7.7-r0) [2022-08-09T22:15:48.674Z] (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-08-09T22:15:48.674Z] (35/83) Installing ncurses-libs (6.3_p20220521-r0) [2022-08-09T22:15:48.674Z] (36/83) Installing lame (3.100-r0) [2022-08-09T22:15:48.674Z] (37/83) Installing opus (1.3.1-r1) [2022-08-09T22:15:48.674Z] (38/83) Installing libasyncns (0.8-r1) [2022-08-09T22:15:48.674Z] (39/83) Installing dbus-libs (1.14.0-r1) [2022-08-09T22:15:48.674Z] (40/83) Installing libltdl (2.4.7-r0) [2022-08-09T22:15:48.674Z] (41/83) Installing orc (0.4.32-r0) [2022-08-09T22:15:48.674Z] (42/83) Installing libgcc (11.2.1_git20220219-r2) [2022-08-09T22:15:48.674Z] (43/83) Installing libogg (1.3.5-r1) [2022-08-09T22:15:48.674Z] (44/83) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-09T22:15:48.674Z] (45/83) Installing flac (1.3.4-r0) [2022-08-09T22:15:48.674Z] (46/83) Installing libvorbis (1.3.7-r0) [2022-08-09T22:15:48.674Z] (47/83) Installing libsndfile (1.1.0-r0) [2022-08-09T22:15:48.674Z] (48/83) Installing libgomp (11.2.1_git20220219-r2) [2022-08-09T22:15:48.674Z] (49/83) Installing soxr (0.1.3-r2) [2022-08-09T22:15:48.674Z] (50/83) Installing speexdsp (1.2.0-r0) [2022-08-09T22:15:48.933Z] (51/83) Installing tdb-libs (1.4.6-r0) [2022-08-09T22:15:48.933Z] (52/83) Installing libpulse (15.0-r2) [2022-08-09T22:15:48.933Z] (53/83) Installing cjson (1.7.15-r3) [2022-08-09T22:15:48.933Z] (54/83) Installing mbedtls (2.28.1-r0) [2022-08-09T22:15:48.933Z] (55/83) Installing librist (0.2.6-r1) [2022-08-09T22:15:48.933Z] (56/83) Installing libsrt (1.4.4-r0) [2022-08-09T22:15:48.933Z] (57/83) Installing libssh (0.9.6-r1) [2022-08-09T22:15:48.933Z] (58/83) Installing libtheora (1.1.1-r16) [2022-08-09T22:15:48.933Z] (59/83) Installing libjpeg-turbo (2.1.3-r1) [2022-08-09T22:15:48.933Z] (60/83) Installing v4l-utils-libs (1.22.1-r1) [2022-08-09T22:15:48.933Z] (61/83) Installing libxext (1.3.4-r0) [2022-08-09T22:15:48.933Z] (62/83) Installing libxfixes (6.0.0-r0) [2022-08-09T22:15:48.933Z] (63/83) Installing wayland-libs-client (1.20.0-r0) [2022-08-09T22:15:48.933Z] (64/83) Installing libva (2.14.0-r0) [2022-08-09T22:15:48.933Z] (65/83) Installing libvdpau (1.5-r0) [2022-08-09T22:15:48.933Z] (66/83) Installing vidstab (1.1.0-r1) [2022-08-09T22:15:48.933Z] (67/83) Installing libvpx (1.11.0-r1) [2022-08-09T22:15:48.933Z] (68/83) Installing libwebp (1.2.3-r0) [2022-08-09T22:15:48.933Z] (69/83) Installing x264-libs (0.163_git20210613-r0) [2022-08-09T22:15:48.933Z] (70/83) Installing numactl (2.0.14-r0) [2022-08-09T22:15:48.933Z] (71/83) Installing x265-libs (3.5-r3) [2022-08-09T22:15:49.193Z] (72/83) Installing xvidcore (1.3.7-r1) [2022-08-09T22:15:49.193Z] (73/83) Installing ffmpeg-libs (5.0.1-r1) [2022-08-09T22:15:49.193Z] (74/83) Installing ffmpeg (5.0.1-r1) [2022-08-09T22:15:49.193Z] (75/83) Installing udev-init-scripts (35-r0) [2022-08-09T22:15:49.193Z] Executing udev-init-scripts-35-r0.post-install [2022-08-09T22:15:49.193Z] (76/83) Installing eudev-libs (3.2.11-r0) [2022-08-09T22:15:49.193Z] (77/83) Installing xz-libs (5.2.5-r1) [2022-08-09T22:15:49.193Z] (78/83) Installing zstd-libs (1.5.2-r1) [2022-08-09T22:15:49.193Z] (79/83) Installing kmod-libs (29-r2) [2022-08-09T22:15:49.193Z] (80/83) Installing eudev (3.2.11-r0) [2022-08-09T22:15:49.193Z] (81/83) Installing libsodium (1.0.18-r0) [2022-08-09T22:15:49.193Z] (82/83) Installing libzmq (4.3.4-r0) [2022-08-09T22:15:49.193Z] (83/83) Installing zeromq (4.3.4-r0) [2022-08-09T22:15:49.193Z] Executing busybox-1.35.0-r17.trigger [2022-08-09T22:15:49.453Z] Executing eudev-3.2.11-r0.trigger [2022-08-09T22:15:49.453Z] OK: 101 MiB in 97 packages [2022-08-09T22:15:50.834Z] Removing intermediate container c181ff9132c0 [2022-08-09T22:15:50.834Z] ---> 5fe1b884728a [2022-08-09T22:15:50.834Z] Step 18/35 : WORKDIR / [2022-08-09T22:15:51.095Z] ---> Running in b78cbb58be25 [2022-08-09T22:15:51.095Z] Removing intermediate container b78cbb58be25 [2022-08-09T22:15:51.095Z] ---> e2c25dea4c3f [2022-08-09T22:15:51.095Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-08-09T22:15:51.666Z] ---> 740269c9f968 [2022-08-09T22:15:51.666Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-08-09T22:15:51.666Z] ---> 442f231628dc [2022-08-09T22:15:51.666Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-08-09T22:15:51.927Z] ---> 1826da1d116c [2022-08-09T22:15:51.927Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-08-09T22:15:51.927Z] ---> f07f6af91cc7 [2022-08-09T22:15:51.927Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-08-09T22:15:52.186Z] ---> 00cbdb588518 [2022-08-09T22:15:52.186Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-08-09T22:15:52.186Z] ---> dd9cbaa93848 [2022-08-09T22:15:52.186Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-08-09T22:15:52.755Z] ---> 886727ff05e9 [2022-08-09T22:15:52.755Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-08-09T22:15:52.755Z] ---> Running in 93c869ee1950 [2022-08-09T22:15:53.327Z] Removing intermediate container 93c869ee1950 [2022-08-09T22:15:53.327Z] ---> 94cf0566d257 [2022-08-09T22:15:53.327Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-08-09T22:15:53.327Z] ---> Running in 7d5fb09f0b47 [2022-08-09T22:15:53.587Z] Removing intermediate container 7d5fb09f0b47 [2022-08-09T22:15:53.587Z] ---> 04c669e7c453 [2022-08-09T22:15:53.587Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-08-09T22:15:53.587Z] ---> Running in 592c54e33f0a [2022-08-09T22:15:54.155Z] Removing intermediate container 592c54e33f0a [2022-08-09T22:15:54.155Z] ---> 8f08a385f320 [2022-08-09T22:15:54.155Z] Step 29/35 : EXPOSE 59983 [2022-08-09T22:15:54.155Z] ---> Running in b431f5aff411 [2022-08-09T22:15:54.416Z] Removing intermediate container b431f5aff411 [2022-08-09T22:15:54.416Z] ---> ca7bbe04ba0b [2022-08-09T22:15:54.416Z] Step 30/35 : EXPOSE 8554 [2022-08-09T22:15:54.416Z] ---> Running in ebd86d5bb41f [2022-08-09T22:15:54.416Z] Removing intermediate container ebd86d5bb41f [2022-08-09T22:15:54.416Z] ---> a79b61264274 [2022-08-09T22:15:54.416Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-08-09T22:15:54.416Z] ---> Running in abb6fa108be1 [2022-08-09T22:15:54.416Z] Removing intermediate container abb6fa108be1 [2022-08-09T22:15:54.416Z] ---> 12ac5a2478d2 [2022-08-09T22:15:54.416Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-08-09T22:15:54.675Z] ---> Running in 3278f0e2913d [2022-08-09T22:15:54.675Z] Removing intermediate container 3278f0e2913d [2022-08-09T22:15:54.675Z] ---> ccc86ba8c5ab [2022-08-09T22:15:54.675Z] Step 33/35 : LABEL arch=amd64 [2022-08-09T22:15:54.675Z] ---> Running in 0e71e68569ff [2022-08-09T22:15:54.675Z] Removing intermediate container 0e71e68569ff [2022-08-09T22:15:54.675Z] ---> 94954d91eb83 [2022-08-09T22:15:54.675Z] Step 34/35 : LABEL git_sha=0a9f00bd9fde175d00e24b55ed571ef77bca9b17 [2022-08-09T22:15:54.675Z] ---> Running in f9972a135901 [2022-08-09T22:15:54.934Z] Removing intermediate container f9972a135901 [2022-08-09T22:15:54.934Z] ---> f63bf1f400c6 [2022-08-09T22:15:54.934Z] Step 35/35 : LABEL version=0.0.0 [2022-08-09T22:15:54.934Z] ---> Running in c5a2df4f4737 [2022-08-09T22:15:54.934Z] Removing intermediate container c5a2df4f4737 [2022-08-09T22:15:54.934Z] ---> 1ee6c327e752 [2022-08-09T22:15:54.934Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-09T22:15:54.934Z] Successfully built 1ee6c327e752 [2022-08-09T22:15:54.934Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:15:55.791Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T22:15:55.791Z] [2022-08-09T22:15:55.791Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:15:56.165Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T22:15:56.165Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-09T22:15:56.165Z] 5eb5b503b376: Pulling fs layer [2022-08-09T22:15:56.165Z] 5c69ac0246d0: Pulling fs layer [2022-08-09T22:15:56.165Z] ec43610c2a17: Pulling fs layer [2022-08-09T22:15:56.166Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-09T22:15:56.166Z] 33b1e0a273af: Pulling fs layer [2022-08-09T22:15:56.166Z] 5d3b04190fa2: Pulling fs layer [2022-08-09T22:15:56.166Z] 2f39f015ded8: Pulling fs layer [2022-08-09T22:15:56.166Z] 5d3b04190fa2: Waiting [2022-08-09T22:15:56.166Z] 2f39f015ded8: Waiting [2022-08-09T22:15:56.166Z] 33b1e0a273af: Waiting [2022-08-09T22:15:56.166Z] 5c69ac0246d0: Download complete [2022-08-09T22:15:56.166Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-09T22:15:56.166Z] 3a2ae6a8a46f: Download complete [2022-08-09T22:15:56.166Z] 33b1e0a273af: Download complete [2022-08-09T22:15:56.166Z] ec43610c2a17: Verifying Checksum [2022-08-09T22:15:56.166Z] ec43610c2a17: Download complete [2022-08-09T22:15:56.166Z] 5d3b04190fa2: Download complete [2022-08-09T22:15:56.427Z] 5eb5b503b376: Verifying Checksum [2022-08-09T22:15:56.427Z] 5eb5b503b376: Download complete [2022-08-09T22:15:56.996Z] 2f39f015ded8: Download complete [2022-08-09T22:15:57.565Z] 5eb5b503b376: Pull complete [2022-08-09T22:15:57.825Z] 5c69ac0246d0: Pull complete [2022-08-09T22:15:58.086Z] ec43610c2a17: Pull complete [2022-08-09T22:15:58.346Z] 3a2ae6a8a46f: Pull complete [2022-08-09T22:15:58.346Z] 33b1e0a273af: Pull complete [2022-08-09T22:15:58.605Z] 5d3b04190fa2: Pull complete [2022-08-09T22:16:02.793Z] 2f39f015ded8: Pull complete [2022-08-09T22:16:02.793Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-09T22:16:02.793Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T22:16:02.793Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T22:16:03.019Z] prd-ubuntu20.04-docker-8c-8g-22342 does not seem to be running inside a container [2022-08-09T22:16:03.110Z] $ 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/xfoundry_device-usb-camera_PR-76 -v /w/workspace/xfoundry_device-usb-camera_PR-76:/w/workspace/xfoundry_device-usb-camera_PR-76:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-76@tmp:/w/workspace/xfoundry_device-usb-camera_PR-76@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-09T22:16:05.177Z] $ docker top 23d38606e48f641e2575d9dfca75d9bc2cae5d95af28a5482ee34d2a998ad89b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T22:16:05.638Z] ---> job-cost.sh [2022-08-09T22:16:05.638Z] lf-activate-venv: SKIPPING [2022-08-09T22:16:05.638Z] INFO: No Stack... [2022-08-09T22:16:05.899Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-09T22:16:06.470Z] INFO: Archiving Costs [Pipeline] sh [2022-08-09T22:16:06.787Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-76/archives/cost.csv [2022-08-09T22:16:06.787Z] + cut -d, -f6 [Pipeline] lock [2022-08-09T22:16:06.829Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-76-1-stack-cost] [2022-08-09T22:16:06.833Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-76-1-stack-cost] did not exist. Created. [2022-08-09T22:16:06.833Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-76-1-stack-cost] [Pipeline] { [Pipeline] unstash [2022-08-09T22:16:06.924Z] Removing intermediate container 2d4fbc2a454f [2022-08-09T22:16:06.924Z] ---> eeff19883048 [2022-08-09T22:16:06.924Z] Step 11/13 : COPY . . [2022-08-09T22:16:06.924Z] ---> a36d7450e593 [2022-08-09T22:16:06.924Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-08-09T22:16:06.924Z] ---> Running in b1927aa9d9a4 [2022-08-09T22:16:06.924Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-09T22:16:06.924Z] Dload Upload Total Spent Left Speed [2022-08-09T22:16:06.924Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 15065 0 --:--:-- --:--:-- --:--:-- 15171 [2022-08-09T22:16:06.924Z] Removing intermediate container b1927aa9d9a4 [2022-08-09T22:16:06.924Z] ---> e4d0030a4807 [2022-08-09T22:16:06.924Z] Step 13/13 : RUN ${MAKE} [2022-08-09T22:16:06.924Z] ---> Running in 619c098f6801 [Pipeline] sh [2022-08-09T22:16:07.244Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-09T22:16:07.292Z] Stashed 1 file(s) [Pipeline] } [2022-08-09T22:16:07.319Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-76-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-09T22:16:07.403Z] $ docker stop --time=1 23d38606e48f641e2575d9dfca75d9bc2cae5d95af28a5482ee34d2a998ad89b [2022-08-09T22:16:07.526Z] noop [2022-08-09T22:16:08.121Z] Removing intermediate container 619c098f6801 [2022-08-09T22:16:08.121Z] ---> 34ac585bfbff [2022-08-09T22:16:08.121Z] Successfully built 34ac585bfbff [2022-08-09T22:16:08.121Z] Successfully tagged ci-base-image-arm64:latest [2022-08-09T22:16:08.552Z] $ docker rm -f 23d38606e48f641e2575d9dfca75d9bc2cae5d95af28a5482ee34d2a998ad89b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] // script [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-09T22:16:09.193Z] + docker inspect -f . ci-base-image-arm64 [2022-08-09T22:16:09.193Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T22:16:09.496Z] prd-ubuntu20.04-docker-arm64-4c-16g-22341 does not seem to be running inside a container [2022-08-09T22:16:09.581Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-09T22:16:10.774Z] $ docker top 24f45bfcd05596aba00c6404df2dc69537b56e52da58b79451e30760db9f0338 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T22:16:11.709Z] + go version [2022-08-09T22:16:11.710Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-09T22:16:11.755Z] $ docker stop --time=1 24f45bfcd05596aba00c6404df2dc69537b56e52da58b79451e30760db9f0338 [2022-08-09T22:16:13.383Z] $ docker rm -f 24f45bfcd05596aba00c6404df2dc69537b56e52da58b79451e30760db9f0338 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:16:14.276Z] + docker inspect -f . ci-base-image-arm64 [2022-08-09T22:16:14.276Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T22:16:14.565Z] prd-ubuntu20.04-docker-arm64-4c-16g-22341 does not seem to be running inside a container [2022-08-09T22:16:14.653Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-09T22:16:15.851Z] $ docker top 3be9f1378e231ddabcaeb8dc6c5de510ac0cd0522620a66aab15cc614c0fb360 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T22:16:16.760Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-08-09T22:16:17.482Z] + make test [2022-08-09T22:16:17.482Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-08-09T22:16:18.918Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-08-09T22:17:55.788Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-08-09T22:17:55.788Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.076s coverage: 1.9% of statements [2022-08-09T22:17:55.788Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-09T22:17:55.788Z] CGO_ENABLED=1 go vet ./... [2022-08-09T22:18:18.171Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-09T22:18:18.171Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-09T22:18:18.171Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-09T22:18:18.213Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-09T22:18:18.256Z] $ docker stop --time=1 3be9f1378e231ddabcaeb8dc6c5de510ac0cd0522620a66aab15cc614c0fb360 [2022-08-09T22:18:20.071Z] $ docker rm -f 3be9f1378e231ddabcaeb8dc6c5de510ac0cd0522620a66aab15cc614c0fb360 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-09T22:18:21.132Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-09T22:18:21.168Z] Warning: overwriting stash ‘coverage-report’ [2022-08-09T22:18:21.743Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-09T22:18:22.356Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-09T22:18:22.704Z] + ls -al . [2022-08-09T22:18:22.704Z] total 196 [2022-08-09T22:18:22.704Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 22:16 . [2022-08-09T22:18:22.704Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 22:14 .. [2022-08-09T22:18:22.704Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 22:14 .git [2022-08-09T22:18:22.704Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 22:14 .github [2022-08-09T22:18:22.704Z] -rw-rw-r-- 1 jenkins jenkins 414 Aug 9 22:14 .gitignore [2022-08-09T22:18:22.704Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 9 22:14 .golangci.yml [2022-08-09T22:18:22.704Z] -rw-rw-r-- 1 jenkins jenkins 77 Aug 9 22:14 .hadolint.yml [2022-08-09T22:18:22.704Z] -rw-rw-r-- 1 jenkins jenkins 9569 Aug 9 22:14 Attribution.txt [2022-08-09T22:18:22.704Z] -rw-rw-r-- 1 jenkins jenkins 1206 Aug 9 22:14 CHANGELOG.md [2022-08-09T22:18:22.704Z] -rw-rw-r-- 1 jenkins jenkins 2410 Aug 9 22:14 Dockerfile [2022-08-09T22:18:22.704Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 9 22:14 GOVERNANCE.md [2022-08-09T22:18:22.704Z] -rw-rw-r-- 1 jenkins jenkins 659 Aug 9 22:14 Jenkinsfile [2022-08-09T22:18:22.704Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 9 22:14 LICENSE [2022-08-09T22:18:22.704Z] -rw-rw-r-- 1 jenkins jenkins 2345 Aug 9 22:14 Makefile [2022-08-09T22:18:22.704Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 9 22:14 OWNERS.md [2022-08-09T22:18:22.704Z] -rw-rw-r-- 1 jenkins jenkins 12817 Aug 9 22:14 README.md [2022-08-09T22:18:22.704Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 22:14 VERSION [2022-08-09T22:18:22.704Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 22:14 bin [2022-08-09T22:18:22.704Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 22:14 cmd [2022-08-09T22:18:22.704Z] -rw-r--r-- 1 jenkins jenkins 29387 Aug 9 22:17 coverage.out [2022-08-09T22:18:22.704Z] -rwxrwxr-x 1 jenkins jenkins 140 Aug 9 22:14 docker-entrypoint.sh [2022-08-09T22:18:22.704Z] -rw-rw-r-- 1 jenkins jenkins 3606 Aug 9 22:14 go.mod [2022-08-09T22:18:22.704Z] -rw-rw-r-- 1 jenkins jenkins 37073 Aug 9 22:14 go.sum [2022-08-09T22:18:22.704Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 22:14 internal [2022-08-09T22:18:22.704Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 22:14 snap [2022-08-09T22:18:22.704Z] -rw-rw-r-- 1 jenkins jenkins 231 Aug 9 22:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:18:23.138Z] + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=0a9f00bd9fde175d00e24b55ed571ef77bca9b17 --label arch=arm64 --label version=0.0.0 . [2022-08-09T22:18:23.416Z] Sending build context to Docker daemon 602.6kB [2022-08-09T22:18:23.416Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2022-08-09T22:18:23.416Z] Step 2/35 : FROM ${BASE} AS builder [2022-08-09T22:18:23.416Z] ---> 34ac585bfbff [2022-08-09T22:18:23.416Z] Step 3/35 : ARG MAKE="make build" [2022-08-09T22:18:23.689Z] ---> Running in 8bdf147547e6 [2022-08-09T22:18:23.961Z] Removing intermediate container 8bdf147547e6 [2022-08-09T22:18:23.961Z] ---> 187b37e018aa [2022-08-09T22:18:23.961Z] Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-08-09T22:18:23.961Z] ---> Running in 85cf807cb26d [2022-08-09T22:18:24.235Z] Removing intermediate container 85cf807cb26d [2022-08-09T22:18:24.235Z] ---> 2e0fb86758f6 [2022-08-09T22:18:24.235Z] Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-08-09T22:18:24.235Z] ---> Running in 2d89a18f0adc [2022-08-09T22:18:24.514Z] Removing intermediate container 2d89a18f0adc [2022-08-09T22:18:24.514Z] ---> 5566c7798599 [2022-08-09T22:18:24.514Z] Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T22:18:24.788Z] ---> Running in 6374e7799608 [2022-08-09T22:18:26.777Z] Removing intermediate container 6374e7799608 [2022-08-09T22:18:26.777Z] ---> c165abe01f4e [2022-08-09T22:18:26.777Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T22:18:26.777Z] ---> Running in 3d3d5b9257ce [2022-08-09T22:18:27.765Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-09T22:18:28.754Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-09T22:18:29.728Z] OK: 228 MiB in 65 packages [2022-08-09T22:18:30.709Z] Removing intermediate container 3d3d5b9257ce [2022-08-09T22:18:30.709Z] ---> fa17697a5fbf [2022-08-09T22:18:30.709Z] Step 8/35 : WORKDIR /device-usb-camera [2022-08-09T22:18:30.709Z] ---> Running in bfad4d32b151 [2022-08-09T22:18:30.984Z] Removing intermediate container bfad4d32b151 [2022-08-09T22:18:30.984Z] ---> 98fffe85efc9 [2022-08-09T22:18:30.984Z] Step 9/35 : COPY go.mod vendor* ./ [2022-08-09T22:18:31.584Z] ---> a20211dd8b6e [2022-08-09T22:18:31.584Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T22:18:31.584Z] ---> Running in 66f2b23dcd3c [2022-08-09T22:18:34.232Z] Removing intermediate container 66f2b23dcd3c [2022-08-09T22:18:34.232Z] ---> 8c974bd3ff68 [2022-08-09T22:18:34.232Z] Step 11/35 : COPY . . [2022-08-09T22:18:34.833Z] ---> f6387ec0605d [2022-08-09T22:18:34.833Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-08-09T22:18:34.833Z] ---> Running in b76dba1d5418 [2022-08-09T22:18:35.819Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-09T22:18:35.819Z] Dload Upload Total Spent Left Speed [2022-08-09T22:18:35.819Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 15219 0 --:--:-- --:--:-- --:--:-- 15391 [2022-08-09T22:18:36.423Z] Removing intermediate container b76dba1d5418 [2022-08-09T22:18:36.423Z] ---> 839a01e3dbd9 [2022-08-09T22:18:36.423Z] Step 13/35 : RUN ${MAKE} [2022-08-09T22:18:36.704Z] ---> Running in 46f230239950 [2022-08-09T22:18:37.695Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-08-09T22:21:14.656Z] Removing intermediate container 46f230239950 [2022-08-09T22:21:14.656Z] ---> 0cc948cbe452 [2022-08-09T22:21:14.656Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-08-09T22:21:14.656Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-08-09T22:21:14.656Z] eab2503cf8f4: Pulling fs layer [2022-08-09T22:21:14.656Z] 97cd0a44c592: Pulling fs layer [2022-08-09T22:21:14.656Z] 97cd0a44c592: Verifying Checksum [2022-08-09T22:21:14.656Z] 97cd0a44c592: Download complete [2022-08-09T22:21:14.656Z] eab2503cf8f4: Verifying Checksum [2022-08-09T22:21:14.656Z] eab2503cf8f4: Download complete [2022-08-09T22:21:14.656Z] eab2503cf8f4: Pull complete [2022-08-09T22:21:14.656Z] 97cd0a44c592: Pull complete [2022-08-09T22:21:14.656Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-08-09T22:21:14.656Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-08-09T22:21:14.656Z] ---> 7f763cca56b3 [2022-08-09T22:21:14.656Z] Step 15/35 : FROM alpine:3.16 [2022-08-09T22:21:14.656Z] 3.16: Pulling from library/alpine [2022-08-09T22:21:14.656Z] 9b18e9b68314: Pulling fs layer [2022-08-09T22:21:14.656Z] 9b18e9b68314: Verifying Checksum [2022-08-09T22:21:14.656Z] 9b18e9b68314: Download complete [2022-08-09T22:21:14.656Z] 9b18e9b68314: Pull complete [2022-08-09T22:21:14.656Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-09T22:21:14.656Z] Status: Downloaded newer image for alpine:3.16 [2022-08-09T22:21:14.656Z] ---> a6215f271958 [2022-08-09T22:21:14.656Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-09T22:21:14.656Z] ---> Running in f954b6fe8a1f [2022-08-09T22:21:14.656Z] Removing intermediate container f954b6fe8a1f [2022-08-09T22:21:14.656Z] ---> 92d0f5891078 [2022-08-09T22:21:14.656Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-08-09T22:21:14.656Z] ---> Running in 85246d1e9e11 [2022-08-09T22:21:16.109Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-09T22:21:16.719Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-09T22:21:17.704Z] (1/82) Installing dumb-init (1.2.5-r1) [2022-08-09T22:21:17.704Z] (2/82) Installing sdl2 (2.0.22-r0) [2022-08-09T22:21:17.981Z] (3/82) Installing libxau (1.0.9-r0) [2022-08-09T22:21:17.981Z] (4/82) Installing libxdmcp (1.1.3-r0) [2022-08-09T22:21:17.981Z] (5/82) Installing libxcb (1.15-r0) [2022-08-09T22:21:17.981Z] (6/82) Installing libx11 (1.8-r0) [2022-08-09T22:21:17.981Z] (7/82) Installing aom-libs (3.3.0-r0) [2022-08-09T22:21:18.256Z] (8/82) Installing alsa-lib (1.2.7.2-r0) [2022-08-09T22:21:18.256Z] (9/82) Installing expat (2.4.8-r0) [2022-08-09T22:21:18.256Z] (10/82) Installing brotli-libs (1.0.9-r6) [2022-08-09T22:21:18.256Z] (11/82) Installing libbz2 (1.0.8-r1) [2022-08-09T22:21:18.256Z] (12/82) Installing libpng (1.6.37-r1) [2022-08-09T22:21:18.256Z] (13/82) Installing freetype (2.12.1-r0) [2022-08-09T22:21:18.531Z] (14/82) Installing fontconfig (2.14.0-r0) [2022-08-09T22:21:18.531Z] (15/82) Installing fribidi (1.0.12-r0) [2022-08-09T22:21:18.531Z] (16/82) Installing libffi (3.4.2-r1) [2022-08-09T22:21:18.531Z] (17/82) Installing libintl (0.21-r2) [2022-08-09T22:21:18.531Z] (18/82) Installing libblkid (2.38-r1) [2022-08-09T22:21:18.531Z] (19/82) Installing libmount (2.38-r1) [2022-08-09T22:21:18.531Z] (20/82) Installing pcre (8.45-r2) [2022-08-09T22:21:18.531Z] (21/82) Installing glib (2.72.1-r0) [2022-08-09T22:21:18.531Z] (22/82) Installing graphite2 (1.3.14-r1) [2022-08-09T22:21:18.531Z] (23/82) Installing harfbuzz (4.3.0-r0) [2022-08-09T22:21:18.803Z] (24/82) Installing libass (0.16.0-r0) [2022-08-09T22:21:18.803Z] (25/82) Installing libdav1d (1.0.0-r0) [2022-08-09T22:21:18.803Z] (26/82) Installing libdrm (2.4.110-r0) [2022-08-09T22:21:18.803Z] (27/82) Installing gmp (6.2.1-r2) [2022-08-09T22:21:18.803Z] (28/82) Installing nettle (3.7.3-r0) [2022-08-09T22:21:18.803Z] (29/82) Installing p11-kit (0.24.1-r0) [2022-08-09T22:21:18.803Z] (30/82) Installing libtasn1 (4.18.0-r0) [2022-08-09T22:21:18.803Z] (31/82) Installing libunistring (1.0-r0) [2022-08-09T22:21:18.803Z] (32/82) Installing gnutls (3.7.7-r0) [2022-08-09T22:21:18.803Z] (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-08-09T22:21:18.803Z] (34/82) Installing ncurses-libs (6.3_p20220521-r0) [2022-08-09T22:21:19.079Z] (35/82) Installing lame (3.100-r0) [2022-08-09T22:21:19.079Z] (36/82) Installing opus (1.3.1-r1) [2022-08-09T22:21:19.079Z] (37/82) Installing libasyncns (0.8-r1) [2022-08-09T22:21:19.079Z] (38/82) Installing dbus-libs (1.14.0-r1) [2022-08-09T22:21:19.079Z] (39/82) Installing libltdl (2.4.7-r0) [2022-08-09T22:21:19.079Z] (40/82) Installing orc (0.4.32-r0) [2022-08-09T22:21:19.079Z] (41/82) Installing libgcc (11.2.1_git20220219-r2) [2022-08-09T22:21:19.079Z] (42/82) Installing libogg (1.3.5-r1) [2022-08-09T22:21:19.079Z] (43/82) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-09T22:21:19.079Z] (44/82) Installing flac (1.3.4-r0) [2022-08-09T22:21:19.079Z] (45/82) Installing libvorbis (1.3.7-r0) [2022-08-09T22:21:19.079Z] (46/82) Installing libsndfile (1.1.0-r0) [2022-08-09T22:21:19.079Z] (47/82) Installing libgomp (11.2.1_git20220219-r2) [2022-08-09T22:21:19.079Z] (48/82) Installing soxr (0.1.3-r2) [2022-08-09T22:21:19.079Z] (49/82) Installing speexdsp (1.2.0-r0) [2022-08-09T22:21:19.355Z] (50/82) Installing tdb-libs (1.4.6-r0) [2022-08-09T22:21:19.355Z] (51/82) Installing libpulse (15.0-r2) [2022-08-09T22:21:19.355Z] (52/82) Installing cjson (1.7.15-r3) [2022-08-09T22:21:19.355Z] (53/82) Installing mbedtls (2.28.1-r0) [2022-08-09T22:21:19.355Z] (54/82) Installing librist (0.2.6-r1) [2022-08-09T22:21:19.355Z] (55/82) Installing libsrt (1.4.4-r0) [2022-08-09T22:21:19.355Z] (56/82) Installing libssh (0.9.6-r1) [2022-08-09T22:21:19.355Z] (57/82) Installing libtheora (1.1.1-r16) [2022-08-09T22:21:19.355Z] (58/82) Installing libjpeg-turbo (2.1.3-r1) [2022-08-09T22:21:19.355Z] (59/82) Installing v4l-utils-libs (1.22.1-r1) [2022-08-09T22:21:19.355Z] (60/82) Installing libxext (1.3.4-r0) [2022-08-09T22:21:19.355Z] (61/82) Installing libxfixes (6.0.0-r0) [2022-08-09T22:21:19.355Z] (62/82) Installing wayland-libs-client (1.20.0-r0) [2022-08-09T22:21:19.355Z] (63/82) Installing libva (2.14.0-r0) [2022-08-09T22:21:19.355Z] (64/82) Installing libvdpau (1.5-r0) [2022-08-09T22:21:19.355Z] (65/82) Installing vidstab (1.1.0-r1) [2022-08-09T22:21:19.355Z] (66/82) Installing libvpx (1.11.0-r1) [2022-08-09T22:21:19.631Z] (67/82) Installing libwebp (1.2.3-r0) [2022-08-09T22:21:19.631Z] (68/82) Installing x264-libs (0.163_git20210613-r0) [2022-08-09T22:21:19.631Z] (69/82) Installing numactl (2.0.14-r0) [2022-08-09T22:21:19.631Z] (70/82) Installing x265-libs (3.5-r3) [2022-08-09T22:21:19.631Z] (71/82) Installing xvidcore (1.3.7-r1) [2022-08-09T22:21:19.631Z] (72/82) Installing ffmpeg-libs (5.0.1-r1) [2022-08-09T22:21:20.226Z] (73/82) Installing ffmpeg (5.0.1-r1) [2022-08-09T22:21:20.227Z] (74/82) Installing udev-init-scripts (35-r0) [2022-08-09T22:21:20.227Z] Executing udev-init-scripts-35-r0.post-install [2022-08-09T22:21:20.227Z] (75/82) Installing eudev-libs (3.2.11-r0) [2022-08-09T22:21:20.227Z] (76/82) Installing xz-libs (5.2.5-r1) [2022-08-09T22:21:20.227Z] (77/82) Installing zstd-libs (1.5.2-r1) [2022-08-09T22:21:20.227Z] (78/82) Installing kmod-libs (29-r2) [2022-08-09T22:21:20.227Z] (79/82) Installing eudev (3.2.11-r0) [2022-08-09T22:21:20.500Z] (80/82) Installing libsodium (1.0.18-r0) [2022-08-09T22:21:20.500Z] (81/82) Installing libzmq (4.3.4-r0) [2022-08-09T22:21:20.500Z] (82/82) Installing zeromq (4.3.4-r0) [2022-08-09T22:21:20.500Z] Executing busybox-1.35.0-r17.trigger [2022-08-09T22:21:20.500Z] Executing eudev-3.2.11-r0.trigger [2022-08-09T22:21:20.500Z] OK: 78 MiB in 96 packages [2022-08-09T22:21:23.890Z] Removing intermediate container 85246d1e9e11 [2022-08-09T22:21:23.890Z] ---> 0ad18a1bc2f0 [2022-08-09T22:21:23.890Z] Step 18/35 : WORKDIR / [2022-08-09T22:21:23.890Z] ---> Running in e378257814af [2022-08-09T22:21:24.179Z] Removing intermediate container e378257814af [2022-08-09T22:21:24.179Z] ---> 9093f05fbbcf [2022-08-09T22:21:24.179Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-08-09T22:21:25.614Z] ---> 705928903219 [2022-08-09T22:21:25.614Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-08-09T22:21:26.211Z] ---> 9f9ad21cce0a [2022-08-09T22:21:26.211Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-08-09T22:21:27.191Z] ---> 0516e384d566 [2022-08-09T22:21:27.191Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-08-09T22:21:27.468Z] ---> 4cb164bbe9ac [2022-08-09T22:21:27.468Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-08-09T22:21:28.460Z] ---> da00edf50adf [2022-08-09T22:21:28.460Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-08-09T22:21:29.069Z] ---> 73680dd3d9dc [2022-08-09T22:21:29.069Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-08-09T22:21:30.501Z] ---> 232279220261 [2022-08-09T22:21:30.501Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-08-09T22:21:30.501Z] ---> Running in 3124a7af7840 [2022-08-09T22:21:32.482Z] Removing intermediate container 3124a7af7840 [2022-08-09T22:21:32.482Z] ---> 4e978127331d [2022-08-09T22:21:32.482Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-08-09T22:21:32.482Z] ---> Running in c9a0bc074619 [2022-08-09T22:21:33.925Z] Removing intermediate container c9a0bc074619 [2022-08-09T22:21:33.925Z] ---> 125d4cc3af21 [2022-08-09T22:21:33.925Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-08-09T22:21:34.198Z] ---> Running in 2c43a39c4a7f [2022-08-09T22:21:36.173Z] Removing intermediate container 2c43a39c4a7f [2022-08-09T22:21:36.173Z] ---> d6e4550be33d [2022-08-09T22:21:36.173Z] Step 29/35 : EXPOSE 59983 [2022-08-09T22:21:36.173Z] ---> Running in e30a5f2e540b [2022-08-09T22:21:36.447Z] Removing intermediate container e30a5f2e540b [2022-08-09T22:21:36.447Z] ---> 74e6e7aa74e9 [2022-08-09T22:21:36.447Z] Step 30/35 : EXPOSE 8554 [2022-08-09T22:21:36.447Z] ---> Running in b36c2eb5f713 [2022-08-09T22:21:37.047Z] Removing intermediate container b36c2eb5f713 [2022-08-09T22:21:37.047Z] ---> df32726c35de [2022-08-09T22:21:37.047Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-08-09T22:21:37.047Z] ---> Running in 8323f58ab0ea [2022-08-09T22:21:37.322Z] Removing intermediate container 8323f58ab0ea [2022-08-09T22:21:37.322Z] ---> 50ba16f1a5df [2022-08-09T22:21:37.322Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-08-09T22:21:37.596Z] ---> Running in ef254819bfc5 [2022-08-09T22:21:37.903Z] Removing intermediate container ef254819bfc5 [2022-08-09T22:21:37.903Z] ---> b039f7620acf [2022-08-09T22:21:37.903Z] Step 33/35 : LABEL arch=arm64 [2022-08-09T22:21:37.903Z] ---> Running in 13b2d1574b3f [2022-08-09T22:21:38.226Z] Removing intermediate container 13b2d1574b3f [2022-08-09T22:21:38.226Z] ---> ecfc74c4ddea [2022-08-09T22:21:38.226Z] Step 34/35 : LABEL git_sha=0a9f00bd9fde175d00e24b55ed571ef77bca9b17 [2022-08-09T22:21:38.512Z] ---> Running in 241bec585e7d [2022-08-09T22:21:38.807Z] Removing intermediate container 241bec585e7d [2022-08-09T22:21:38.807Z] ---> 7909c275a411 [2022-08-09T22:21:38.807Z] Step 35/35 : LABEL version=0.0.0 [2022-08-09T22:21:39.092Z] ---> Running in 76b4a3afbaac [2022-08-09T22:21:39.375Z] Removing intermediate container 76b4a3afbaac [2022-08-09T22:21:39.375Z] ---> c572be761db8 [2022-08-09T22:21:39.375Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-09T22:21:39.375Z] Successfully built c572be761db8 [2022-08-09T22:21:39.375Z] Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:21:40.226Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-09T22:21:40.226Z] [2022-08-09T22:21:40.226Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:21:40.928Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-09T22:21:41.203Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-09T22:21:41.203Z] 8998bd30e6a1: Pulling fs layer [2022-08-09T22:21:41.203Z] 04944245beec: Pulling fs layer [2022-08-09T22:21:41.203Z] 699f458cf7ca: Pulling fs layer [2022-08-09T22:21:41.203Z] 765212b225bb: Pulling fs layer [2022-08-09T22:21:41.203Z] f23df028b6ca: Pulling fs layer [2022-08-09T22:21:41.203Z] d65c8cfc05b1: Pulling fs layer [2022-08-09T22:21:41.203Z] 2437ff75d9bd: Pulling fs layer [2022-08-09T22:21:41.203Z] 765212b225bb: Waiting [2022-08-09T22:21:41.203Z] f23df028b6ca: Waiting [2022-08-09T22:21:41.203Z] 2437ff75d9bd: Waiting [2022-08-09T22:21:41.203Z] d65c8cfc05b1: Waiting [2022-08-09T22:21:41.203Z] 04944245beec: Verifying Checksum [2022-08-09T22:21:41.203Z] 04944245beec: Download complete [2022-08-09T22:21:41.203Z] 765212b225bb: Verifying Checksum [2022-08-09T22:21:41.203Z] 765212b225bb: Download complete [2022-08-09T22:21:41.481Z] f23df028b6ca: Verifying Checksum [2022-08-09T22:21:41.481Z] f23df028b6ca: Download complete [2022-08-09T22:21:41.481Z] d65c8cfc05b1: Verifying Checksum [2022-08-09T22:21:41.481Z] d65c8cfc05b1: Download complete [2022-08-09T22:21:41.481Z] 699f458cf7ca: Verifying Checksum [2022-08-09T22:21:41.481Z] 699f458cf7ca: Download complete [2022-08-09T22:21:41.760Z] 8998bd30e6a1: Download complete [2022-08-09T22:21:44.388Z] 2437ff75d9bd: Verifying Checksum [2022-08-09T22:21:44.388Z] 2437ff75d9bd: Download complete [2022-08-09T22:21:46.367Z] 8998bd30e6a1: Pull complete [2022-08-09T22:21:46.639Z] 04944245beec: Pull complete [2022-08-09T22:21:48.072Z] 699f458cf7ca: Pull complete [2022-08-09T22:21:48.345Z] 765212b225bb: Pull complete [2022-08-09T22:21:49.325Z] f23df028b6ca: Pull complete [2022-08-09T22:21:49.612Z] d65c8cfc05b1: Pull complete [2022-08-09T22:22:04.716Z] 2437ff75d9bd: Pull complete [2022-08-09T22:22:04.716Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-09T22:22:04.716Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-09T22:22:04.716Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T22:22:05.114Z] prd-ubuntu20.04-docker-arm64-4c-16g-22341 does not seem to be running inside a container [2022-08-09T22:22:05.205Z] $ 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-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-09T22:22:08.157Z] $ docker top d4a0b2b5307496ebc76493b6032b1c4cd83d82761cb55f2dbd7d249fc94bb568 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T22:22:09.167Z] ---> job-cost.sh [2022-08-09T22:22:09.167Z] lf-activate-venv: SKIPPING [2022-08-09T22:22:09.167Z] INFO: No Stack... [2022-08-09T22:22:09.761Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-09T22:22:10.743Z] INFO: Archiving Costs [Pipeline] sh [2022-08-09T22:22:11.432Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2022-08-09T22:22:11.433Z] + cut -d, -f6 [Pipeline] lock [2022-08-09T22:22:11.521Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-76-1-stack-cost] [2022-08-09T22:22:11.525Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-76-1-stack-cost] did not exist. Created. [2022-08-09T22:22:11.525Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-76-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-09T22:22:12.280Z] /w/workspace/device-usb-camera/1@tmp/durable-9fc109c1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-09T22:22:12.987Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-09T22:22:13.026Z] Warning: overwriting stash ‘stack-cost’ [2022-08-09T22:22:13.075Z] Stashed 1 file(s) [Pipeline] } [2022-08-09T22:22:13.091Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-76-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-09T22:22:13.185Z] $ docker stop --time=1 d4a0b2b5307496ebc76493b6032b1c4cd83d82761cb55f2dbd7d249fc94bb568 [2022-08-09T22:22:14.816Z] $ docker rm -f d4a0b2b5307496ebc76493b6032b1c4cd83d82761cb55f2dbd7d249fc94bb568 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-08-09T22:22:15.843Z] provisioning config files... [2022-08-09T22:22:15.852Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-76@tmp/config5668758441404423753tmp [Pipeline] { [Pipeline] sh [2022-08-09T22:22:16.181Z] + set +x [2022-08-09T22:22:16.181Z] + curl -s https://codecov.io/bash [2022-08-09T22:22:16.181Z] + bash -s -- [2022-08-09T22:22:16.181Z] [2022-08-09T22:22:16.181Z] _____ _ [2022-08-09T22:22:16.181Z] / ____| | | [2022-08-09T22:22:16.181Z] | | ___ __| | ___ ___ _____ __ [2022-08-09T22:22:16.181Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-09T22:22:16.181Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-09T22:22:16.181Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-09T22:22:16.181Z] Bash-1.0.6 [2022-08-09T22:22:16.181Z] [2022-08-09T22:22:16.181Z] [2022-08-09T22:22:16.181Z] ==> git version 2.25.1 found [2022-08-09T22:22:16.181Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-08-09T22:22:16.181Z] Release-Date: 2020-01-08 [2022-08-09T22:22:16.181Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-09T22:22:16.181Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-09T22:22:16.181Z] ==> Jenkins CI detected. [2022-08-09T22:22:16.181Z] current dir:  /w/workspace/xfoundry_device-usb-camera_PR-76 [2022-08-09T22:22:16.181Z] project root: . [2022-08-09T22:22:16.181Z] --> token set from env [2022-08-09T22:22:16.181Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-09T22:22:16.181Z] ==> Running gcov in . (disable via -X gcov) [2022-08-09T22:22:16.181Z] ==> Python coveragepy not found [2022-08-09T22:22:16.181Z] ==> Searching for coverage reports in: [2022-08-09T22:22:16.181Z] + . [2022-08-09T22:22:16.181Z] -> Found 1 reports [2022-08-09T22:22:16.181Z] ==> Detecting git/mercurial file structure [2022-08-09T22:22:16.181Z] ==> Reading reports [2022-08-09T22:22:16.181Z] + ./coverage.out bytes=29387 [2022-08-09T22:22:16.181Z] ==> Appending adjustments [2022-08-09T22:22:16.181Z] https://docs.codecov.io/docs/fixing-reports [2022-08-09T22:22:16.441Z] + Found adjustments [2022-08-09T22:22:16.441Z] ==> Gzipping contents [2022-08-09T22:22:16.441Z] 8.0K /tmp/codecov.QGWKwn.gz [2022-08-09T22:22:16.441Z] ==> Uploading reports [2022-08-09T22:22:16.441Z] url: https://codecov.io [2022-08-09T22:22:16.441Z] query: branch=PR-76&commit=0a9f00bd9fde175d00e24b55ed571ef77bca9b17&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-76%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=76&job=&cmd_args= [2022-08-09T22:22:16.441Z] -> Pinging Codecov [2022-08-09T22:22:16.441Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-76&commit=0a9f00bd9fde175d00e24b55ed571ef77bca9b17&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-76%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=76&job=&cmd_args= [2022-08-09T22:22:16.703Z] -> Uploading to [2022-08-09T22:22:16.703Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-09/73D8F5FF140700D3E01443B452E23636/0a9f00bd9fde175d00e24b55ed571ef77bca9b17/ca21a1c6-5738-4b8e-9a74-e990a5669eba.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220809T222216Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a64d92250c2c5eb2e414e52bfc62f9fb538e57b68cb868c477fe8e3666c98a73 [2022-08-09T22:22:16.703Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-09T22:22:16.703Z] Dload Upload Total Spent Left Speed [2022-08-09T22:22:16.963Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4140 0 0 100 4140 0 20495 --:--:-- --:--:-- --:--:-- 20394 100 4140 0 0 100 4140 0 17542 --:--:-- --:--:-- --:--:-- 17468 [2022-08-09T22:22:16.963Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/0a9f00bd9fde175d00e24b55ed571ef77bca9b17 [Pipeline] } [2022-08-09T22:22:16.990Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-08-09T22:22:18.649Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-76/archives ] [2022-08-09T22:22:18.649Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-76/archives [2022-08-09T22:22:18.649Z] total 16 [2022-08-09T22:22:18.649Z] drwxr-xr-x 3 root root 4096 Aug 9 22:16 . [2022-08-09T22:22:18.649Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 22:16 .. [2022-08-09T22:22:18.649Z] drwxr-xr-x 2 root root 4096 Aug 9 22:16 cost [2022-08-09T22:22:18.649Z] -rw-r--r-- 1 root root 88 Aug 9 22:16 cost.csv [2022-08-09T22:22:18.649Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-76/archives [2022-08-09T22:22:18.649Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-76/archives [2022-08-09T22:22:18.649Z] total 16 [2022-08-09T22:22:18.649Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 22:16 . [2022-08-09T22:22:18.649Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 22:16 .. [2022-08-09T22:22:18.649Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 22:16 cost [2022-08-09T22:22:18.649Z] -rw-r--r-- 1 jenkins jenkins 88 Aug 9 22:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-09T22:22:18.983Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T22:22:19.879Z] ---> package-listing.sh [2022-08-09T22:22:19.879Z] ++ facter osfamily [2022-08-09T22:22:19.879Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-09T22:22:20.141Z] + OS_FAMILY=debian [2022-08-09T22:22:20.141Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-76 [2022-08-09T22:22:20.141Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-09T22:22:20.141Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-09T22:22:20.141Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-09T22:22:20.141Z] + PACKAGES=/tmp/packages_start.txt [2022-08-09T22:22:20.141Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-76 ']' [2022-08-09T22:22:20.141Z] + PACKAGES=/tmp/packages_end.txt [2022-08-09T22:22:20.141Z] + case "${OS_FAMILY}" in [2022-08-09T22:22:20.141Z] + dpkg -l [2022-08-09T22:22:20.141Z] + grep '^ii' [2022-08-09T22:22:20.141Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-09T22:22:20.141Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-09T22:22:20.141Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-09T22:22:20.141Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-76 ']' [2022-08-09T22:22:20.141Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-76/archives/ [2022-08-09T22:22:20.141Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-76/archives/ [Pipeline] echo [2022-08-09T22:22:20.177Z] 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/xfoundry_device-usb-camera_PR-76/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-09T22:22:20.473Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:22:21.102Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T22:22:21.102Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T22:22:21.257Z] prd-ubuntu20.04-docker-8c-8g-22342 does not seem to be running inside a container [2022-08-09T22:22:21.302Z] $ 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/xfoundry_device-usb-camera_PR-76/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-76 -v /w/workspace/xfoundry_device-usb-camera_PR-76:/w/workspace/xfoundry_device-usb-camera_PR-76:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-76@tmp:/w/workspace/xfoundry_device-usb-camera_PR-76@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-09T22:22:21.523Z] $ docker top b76434afaf879d6a7a186e20f43bb1b4fa090dc9151f8fc15e898007262ecc13 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T22:22:21.916Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-09T22:22:22.225Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-09T22:22:22.543Z] + ls /var/log/sa-host [2022-08-09T22:22:22.543Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-09T22:22:22.680Z] provisioning config files... [2022-08-09T22:22:22.690Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-76@tmp/config7631682243133366069tmp [Pipeline] { [Pipeline] echo [2022-08-09T22:22:22.737Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T22:22:23.051Z] ---> create-netrc.sh [Pipeline] } [2022-08-09T22:22:23.077Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-09T22:22:23.478Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-09T22:22:23.514Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T22:22:23.833Z] ---> sudo-logs.sh [2022-08-09T22:22:23.833Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-09T22:22:23.922Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T22:22:24.233Z] ---> job-cost.sh [2022-08-09T22:22:24.233Z] lf-activate-venv: SKIPPING [2022-08-09T22:22:24.233Z] DEBUG: total: 0.2199999988079071 [2022-08-09T22:22:24.233Z] INFO: Retrieving Stack Cost... [2022-08-09T22:22:24.494Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-09T22:22:25.070Z] INFO: Archiving Costs [Pipeline] echo [2022-08-09T22:22:25.099Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T22:22:25.417Z] ---> logs-deploy.sh [2022-08-09T22:22:25.417Z] lf-activate-venv: SKIPPING [2022-08-09T22:22:25.417Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-76/1 [2022-08-09T22:22:25.417Z] INFO: archiving workspace using pattern(s): [2022-08-09T22:22:26.358Z] Archives upload complete. [2022-08-09T22:22:26.619Z] INFO: archiving logs to Nexus [2022-08-09T22:22:27.192Z] ---> uname -a: [2022-08-09T22:22:27.192Z] Linux prd-ubuntu20-04-docker-8c-8g-22342 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-08-09T22:22:27.192Z] [2022-08-09T22:22:27.192Z] [2022-08-09T22:22:27.192Z] ---> lscpu: [2022-08-09T22:22:27.192Z] Architecture: x86_64 [2022-08-09T22:22:27.192Z] CPU op-mode(s): 32-bit, 64-bit [2022-08-09T22:22:27.192Z] Byte Order: Little Endian [2022-08-09T22:22:27.192Z] Address sizes: 40 bits physical, 48 bits virtual [2022-08-09T22:22:27.192Z] CPU(s): 8 [2022-08-09T22:22:27.192Z] On-line CPU(s) list: 0-7 [2022-08-09T22:22:27.192Z] Thread(s) per core: 1 [2022-08-09T22:22:27.192Z] Core(s) per socket: 1 [2022-08-09T22:22:27.192Z] Socket(s): 8 [2022-08-09T22:22:27.192Z] NUMA node(s): 1 [2022-08-09T22:22:27.192Z] Vendor ID: AuthenticAMD [2022-08-09T22:22:27.192Z] CPU family: 23 [2022-08-09T22:22:27.192Z] Model: 49 [2022-08-09T22:22:27.192Z] Model name: AMD EPYC-Rome Processor [2022-08-09T22:22:27.192Z] Stepping: 0 [2022-08-09T22:22:27.192Z] CPU MHz: 2799.998 [2022-08-09T22:22:27.192Z] BogoMIPS: 5599.99 [2022-08-09T22:22:27.192Z] Virtualization: AMD-V [2022-08-09T22:22:27.192Z] Hypervisor vendor: KVM [2022-08-09T22:22:27.192Z] Virtualization type: full [2022-08-09T22:22:27.192Z] L1d cache: 256 KiB [2022-08-09T22:22:27.192Z] L1i cache: 256 KiB [2022-08-09T22:22:27.192Z] L2 cache: 4 MiB [2022-08-09T22:22:27.192Z] L3 cache: 128 MiB [2022-08-09T22:22:27.192Z] NUMA node0 CPU(s): 0-7 [2022-08-09T22:22:27.192Z] Vulnerability Itlb multihit: Not affected [2022-08-09T22:22:27.192Z] Vulnerability L1tf: Not affected [2022-08-09T22:22:27.192Z] Vulnerability Mds: Not affected [2022-08-09T22:22:27.192Z] Vulnerability Meltdown: Not affected [2022-08-09T22:22:27.192Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-08-09T22:22:27.192Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-08-09T22:22:27.192Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-08-09T22:22:27.192Z] Vulnerability Srbds: Not affected [2022-08-09T22:22:27.192Z] Vulnerability Tsx async abort: Not affected [2022-08-09T22:22:27.193Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-08-09T22:22:27.193Z] [2022-08-09T22:22:27.193Z] [2022-08-09T22:22:27.193Z] ---> nproc: [2022-08-09T22:22:27.193Z] 8 [2022-08-09T22:22:27.193Z] [2022-08-09T22:22:27.193Z] [2022-08-09T22:22:27.193Z] ---> df -h: [2022-08-09T22:22:27.193Z] Filesystem Size Used Avail Use% Mounted on [2022-08-09T22:22:27.193Z] overlay 155G 12G 144G 8% / [2022-08-09T22:22:27.193Z] tmpfs 64M 0 64M 0% /dev [2022-08-09T22:22:27.193Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-08-09T22:22:27.193Z] shm 64M 0 64M 0% /dev/shm [2022-08-09T22:22:27.193Z] /dev/vda1 155G 12G 144G 8% /facter-os [2022-08-09T22:22:27.193Z] [2022-08-09T22:22:27.193Z]