I am seeing problems in git fetcher using a github repo using lfs + ssh in 
dunfell.

I find if I set "lfs=0" it still attempts to download the lfs objects and 
fails.  Same behavior if "lfs=1".

SRC_URI = 
"git://[email protected]:/account/cool-thing.git;protocol=ssh;lfs=1;branch=cool_branch"

A suggested workaround by technoweenie here: 
https://github.com/git-lfs/git-lfs/issues/1044

Only git clone via ssh works (pulls lfs objects) fine outside of the yocto tree.

Any ideas?

Thanks,
Joel

git-lfs/ 2. 9. 2 (GitHub; linux amd64; go 1. 13. 5 )
git version 2. 25. 1

$ git-lfs filter-process
Error downloading object: cool-thing/app/lib/agl/aarch64/libfmt.a ( 328664b ): 
Smudge error: Error downloading cool-thing/app/lib/agl/aarch64/libfmt.a ( 
328664b0bd0cad33f28722b9a6ccd5ac9adea4485885bacd35082775e41601d8 ): batch 
request: missing protocol: "<unknown>"

missing protocol: "<unknown>"
batch request
github.com/git-lfs/git-lfs/errors.newWrappedError
github.com/git-lfs/git-lfs/errors/types.go: 198
github.com/git-lfs/git-lfs/errors.Wrap
github.com/git-lfs/git-lfs/errors/errors.go: 74
github.com/git-lfs/git-lfs/tq.(*tqClient).Batch
github.com/git-lfs/git-lfs/tq/api.go: 68
github.com/git-lfs/git-lfs/tq.Batch
github.com/git-lfs/git-lfs/tq/api.go: 40
github.com/git-lfs/git-lfs/tq.(*TransferQueue).enqueueAndCollectRetriesFor
github.com/git-lfs/git-lfs/tq/transfer_queue.go: 520
github.com/git-lfs/git-lfs/tq.(*TransferQueue). collectBatches.func1
github.com/git-lfs/git-lfs/tq/transfer_queue.go: 432
runtime.goexit
/usr/lib/go- 1. 13 /src/runtime/asm_amd64.s: 1357
Error downloading cool-thing/app/lib/agl/aarch64/libfmt.a ( 
328664b0bd0cad33f28722b9a6ccd5ac9adea4485885bacd35082775e41601d8 )
github.com/git-lfs/git-lfs/errors.newWrappedError
github.com/git-lfs/git-lfs/errors/types.go: 198
github.com/git-lfs/git-lfs/errors.Wrapf
github.com/git-lfs/git-lfs/errors/errors.go: 85
github.com/git-lfs/git-lfs/lfs.(*GitFilter).downloadFile
github.com/git-lfs/git-lfs/lfs/gitfilter_smudge.go: 115
github.com/git-lfs/git-lfs/lfs.(*GitFilter).Smudge
github.com/git-lfs/git-lfs/lfs/gitfilter_smudge.go: 76
github.com/git-lfs/git-lfs/commands.smudge
github.com/git-lfs/git-lfs/commands/command_smudge.go: 127
github.com/git-lfs/git-lfs/commands.filterCommand
github.com/git-lfs/git-lfs/commands/command_filter_process.go: 118
github.com/spf13/cobra.(*Command).execute
github.com/spf13/cobra/command.go: 766
github.com/spf13/cobra.(*Command).ExecuteC
github.com/spf13/cobra/command.go: 850
github.com/spf13/cobra.(*Command).Execute
github.com/spf13/cobra/command.go: 800
github.com/git-lfs/git-lfs/commands.Run
github.com/git-lfs/git-lfs/commands/run.go: 97
main.main
github.com/git-lfs/git-lfs/git- lfs.go : 33
runtime.main
/usr/lib/go- 1. 13 /src/runtime/proc.go: 203
runtime.goexit
/usr/lib/go- 1. 13 /src/runtime/asm_amd64.s: 1357
Smudge error
github.com/git-lfs/git-lfs/errors.newWrappedError
github.com/git-lfs/git-lfs/errors/types.go: 198
github.com/git-lfs/git-lfs/errors.NewSmudgeError
github.com/git-lfs/git-lfs/errors/types.go: 284
github.com/git-lfs/git-lfs/lfs.(*GitFilter).Smudge
github.com/git-lfs/git-lfs/lfs/gitfilter_smudge.go: 85
github.com/git-lfs/git-lfs/commands.smudge
github.com/git-lfs/git-lfs/commands/command_smudge.go: 127
github.com/git-lfs/git-lfs/commands.filterCommand
github.com/git-lfs/git-lfs/commands/command_filter_process.go: 118
github.com/spf13/cobra.(*Command).execute
github.com/spf13/cobra/command.go: 766
github.com/spf13/cobra.(*Command).ExecuteC
github.com/spf13/cobra/command.go: 850
github.com/spf13/cobra.(*Command).Execute
github.com/spf13/cobra/command.go: 800
github.com/git-lfs/git-lfs/commands.Run
github.com/git-lfs/git-lfs/commands/run.go: 97
main.main
github.com/git-lfs/git-lfs/git- lfs.go : 33
runtime.main
/usr/lib/go- 1. 13 /src/runtime/proc.go: 203
runtime.goexit
/usr/lib/go- 1. 13 /src/runtime/asm_amd64.s: 1357

Current time in UTC:
2020-12-12 15:41:16

ENV:
LocalWorkingDir=/b/lv- 0. 1 
/apps/apps_proc/poky/build/tmp-glibc/work/aarch64-oe-linux/cool-thing/git+AUTOINC+
 3158acc56b -r0/git
LocalGitDir=/b/lv- 0. 1 
/apps/apps_proc/poky/build/tmp-glibc/work/aarch64-oe-linux/cool-thing/git+AUTOINC+
 3158acc56b -r0/git/.git
LocalGitStorageDir=/b/lv- 0. 1 
/apps/apps_proc/poky/build/tmp-glibc/work/aarch64-oe-linux/cool-thing/git+AUTOINC+
 3158acc56b -r0/git/.git
LocalMediaDir=/b/lv- 0. 1 
/apps/apps_proc/poky/build/tmp-glibc/work/aarch64-oe-linux/cool-thing/git+AUTOINC+
 3158acc56b -r0/git/.git/lfs/objects
LocalReferenceDirs=
TempDir=/b/lv- 0. 1 
/apps/apps_proc/poky/build/tmp-glibc/work/aarch64-oe-linux/cool-thing/git+AUTOINC+
 3158acc56b -r0/git/.git/lfs/tmp
ConcurrentTransfers= 3
TusTransfers= false
BasicTransfersOnly= false
SkipDownloadErrors= false
FetchRecentAlways= false
FetchRecentRefsDays= 7
FetchRecentCommitsDays= 0
FetchRecentRefsIncludeRemotes= true
PruneOffsetDays= 3
PruneVerifyRemoteAlways= false
PruneRemoteName=origin
LfsStorageDir=/b/lv- 0. 1 
/apps/apps_proc/poky/build/tmp-glibc/work/aarch64-oe-linux/cool-thing/git+AUTOINC+
 3158acc56b -r0/git/.git/lfs
AccessDownload=none
AccessUpload=none
DownloadTransfers=basic,lfs-standalon e-f ile
UploadTransfers=basic,lfs-standalon e-f ile
GIT_CONFIG_PARAMETERS= 'core.fsyncobjectfiles=0'
GIT_EXEC_PATH=/usr/lib/git-core
GIT_PREFIX=
GIT_CEILING_DIRECTORIES=/b/lv- 0. 1 
/apps/apps_proc/poky/build/tmp-glibc/work/aarch64-oe-linux/cool-thing/git+AUTOINC+
 3158acc56b -r0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#51732): https://lists.yoctoproject.org/g/yocto/message/51732
Mute This Topic: https://lists.yoctoproject.org/mt/78909955/21656
Mute #dunfell:https://lists.yoctoproject.org/g/yocto/mutehashtag/dunfell
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to