linux-base, module-init-tools fail import: AttributeError: 'NoneType' object has no attribute 'group'

Bug #1638614 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
git-ubuntu
Fix Released
Medium
Unassigned

Bug Description

linux-base http://paste.ubuntu.com/23416630/
module-init-tools http://paste.ubuntu.com/23416631/

linux-base fails like:
Wed, 02 Nov 2016 14:54:11 +0000: usd-import --verbose --lp-owner=usd-import-team --directory=linux-base --no-push linux-base
11/02/2016 14:54:17 - INFO:Ubuntu Server Team importer v1.0-rc2
11/02/2016 14:54:17 - INFO:Cloning git://git.launchpad.net/~usd-import-team/ubuntu/+source/linux-base at /importer/work.d/linux-base
11/02/2016 14:54:18 - DEBUG:Executing: git fetch -q git://git.launchpad.net/~usd-import-team/ubuntu/+source/linux-base "+refs/heads/*:refs/heads/importer/*"
11/02/2016 14:54:18 - INFO:Command exited 128: git fetch -q git://git.launchpad.net/~usd-import-team/ubuntu/+source/linux-base "+refs/heads/*:refs/heads/importer/*"
11/02/2016 14:54:18 - DEBUG:stdout:
11/02/2016 14:54:18 - DEBUG:stderr: fatal: remote error: Repository '~usd-import-team/ubuntu/+source/linux-base' not found.
11/02/2016 14:54:18 - WARNING:No objects found in remote git://git.launchpad.net/~usd-import-team/ubuntu/+source/linux-base
11/02/2016 14:54:19 - DEBUG:Executing: sh -c "git show 6c2be4239fd92879e52fb4ab375ed847e00b6974:debian/changelog | dpkg-parsechangelog -l- -n1 -SVersion"
11/02/2016 14:54:20 - DEBUG:Executing: sh -c "git show 6c2be4239fd92879e52fb4ab375ed847e00b6974:debian/changelog | dpkg-parsechangelog -l- -n1 -o1 -SVersion"
11/02/2016 14:54:21 - DEBUG:Executing: sh -c "git show 78bc37fe3d6bffa8f2b3af0bbaead3d13d0d6f15:debian/changelog | dpkg-parsechangelog -l- -n1 -SVersion"
11/02/2016 14:54:22 - DEBUG:Executing: sh -c "git show 78bc37fe3d6bffa8f2b3af0bbaead3d13d0d6f15:debian/changelog | dpkg-parsechangelog -l- -n1 -o1 -SVersion"
11/02/2016 14:54:23 - DEBUG:Executing: sh -c "git show d4f10a12b3b51dafebd9028296ab85836693b302:debian/changelog | dpkg-parsechangelog -l- -n1 -SVersion"
11/02/2016 14:54:25 - DEBUG:Executing: sh -c "git show d4f10a12b3b51dafebd9028296ab85836693b302:debian/changelog | dpkg-parsechangelog -l- -n1 -o1 -SVersion"
11/02/2016 14:54:26 - DEBUG:Cache hit on (<usd.GitRepository.USDGitRepository object at 0x7f150d63d8d0>, 'd4f10a12b3b51dafebd9028296ab85836693b302', <ChangelogField.version: 1>, []) {} = 4.5..
11/02/2016 14:54:26 - DEBUG:Cache hit on (<usd.GitRepository.USDGitRepository object at 0x7f150d63d8d0>, 'd4f10a12b3b51dafebd9028296ab85836693b302', <ChangelogField.previous_version: 2>, []) {} = 4.4..
11/02/2016 14:54:26 - DEBUG:Cache hit on (<usd.GitRepository.USDGitRepository object at 0x7f150d63d8d0>, '78bc37fe3d6bffa8f2b3af0bbaead3d13d0d6f15', <ChangelogField.version: 1>, []) {} = 3.5..
11/02/2016 14:54:26 - DEBUG:Cache hit on (<usd.GitRepository.USDGitRepository object at 0x7f150d63d8d0>, '78bc37fe3d6bffa8f2b3af0bbaead3d13d0d6f15', <ChangelogField.previous_version: 2>, []) {} = 3.4..
11/02/2016 14:54:26 - INFO:Last imported debian/experimental version is 3~experimental
11/02/2016 14:54:26 - INFO:Last imported debian/jessie version is 3.5
11/02/2016 14:54:26 - INFO:Last imported debian/sid version is 4.5
11/02/2016 14:54:26 - INFO:Last imported debian/stretch version is 4.5
11/02/2016 14:54:26 - INFO:Last imported debian/wheezy version is 3.5
11/02/2016 14:54:26 - DEBUG:Executing: sh -c "git show 528231e7f26c0a8b4cac048c818c240b551865ec:debian/changelog | dpkg-parsechangelog -l- -n1 -SVersion"
11/02/2016 14:54:27 - DEBUG:Executing: sh -c "git show 528231e7f26c0a8b4cac048c818c240b551865ec:debian/changelog | dpkg-parsechangelog -l- -n1 -o1 -SVersion"
11/02/2016 14:54:28 - DEBUG:Executing: sh -c "git show 20af1f13f2e9233e28c903341923c5748f15a103:debian/changelog | dpkg-parsechangelog -l- -n1 -SVersion"
11/02/2016 14:54:30 - DEBUG:Executing: sh -c "git show 20af1f13f2e9233e28c903341923c5748f15a103:debian/changelog | dpkg-parsechangelog -l- -n1 -o1 -SVersion"
11/02/2016 14:54:31 - DEBUG:Executing: sh -c "git show a60199467218005578c4e81c55d82a248298869a:debian/changelog | dpkg-parsechangelog -l- -n1 -SVersion"
11/02/2016 14:54:33 - DEBUG:Executing: sh -c "git show a60199467218005578c4e81c55d82a248298869a:debian/changelog | dpkg-parsechangelog -l- -n1 -o1 -SVersion"
11/02/2016 14:54:34 - DEBUG:Executing: sh -c "git show 0801c7ea98dbd65dadc8def30dca54e7deabc91b:debian/changelog | dpkg-parsechangelog -l- -n1 -SVersion"
11/02/2016 14:54:35 - DEBUG:Executing: sh -c "git show 0801c7ea98dbd65dadc8def30dca54e7deabc91b:debian/changelog | dpkg-parsechangelog -l- -n1 -o1 -SVersion"
11/02/2016 14:54:37 - INFO:Last imported ubuntu/oneiric version is 3.3
11/02/2016 14:54:37 - INFO:Last imported ubuntu/precise version is 3.4
11/02/2016 14:54:37 - INFO:Last imported ubuntu/precise-proposed version is 3.4ubuntu2
11/02/2016 14:54:37 - INFO:Last imported ubuntu/quantal version is 3.5ubuntu2
11/02/2016 14:55:20 - DEBUG:Executing: git checkout --orphan master
11/02/2016 14:55:20 - DEBUG:Executing: git reset --hard
11/02/2016 14:55:20 - DEBUG:Executing: git clean -f -d
11/02/2016 14:55:20 - DEBUG:Executing: git dsc-commit --tree-only ./linux-base_3.5ubuntu3.dsc
11/02/2016 14:55:22 - INFO:Imported version 3.5ubuntu3 as tree ad7ff71e3697a8689bf340d9765ec3973ed6d394
11/02/2016 14:55:22 - DEBUG:Executing: sh -c "git show ad7ff71e3697a8689bf340d9765ec3973ed6d394:debian/changelog | dpkg-parsechangelog -l- -n1 -SVersion"
11/02/2016 14:55:23 - DEBUG:Executing: sh -c "git show ad7ff71e3697a8689bf340d9765ec3973ed6d394:debian/changelog | dpkg-parsechangelog -l- -n1 -o1 -SVersion"
11/02/2016 14:55:24 - INFO:Found changelog version 3.5ubuntu3, previous version 3.5ubuntu2 in newly imported tree
11/02/2016 14:55:24 - DEBUG:Cache hit on (<usd.GitRepository.USDGitRepository object at 0x7f150d63d8d0>, '0801c7ea98dbd65dadc8def30dca54e7deabc91b', <ChangelogField.version: 1>, []) {} = 3.5ubuntu2..
11/02/2016 14:55:24 - DEBUG:Cache hit on (<usd.GitRepository.USDGitRepository object at 0x7f150d63d8d0>, '0801c7ea98dbd65dadc8def30dca54e7deabc91b', <ChangelogField.previous_version: 2>, []) {} = 3.5ubuntu1..
11/02/2016 14:55:24 - INFO:Tip version is 3.5ubuntu2
11/02/2016 14:55:24 - INFO:Publishing parent (tag) is import/3.5ubuntu2
11/02/2016 14:55:24 - DEBUG:Executing: sh -c "git show ad7ff71e3697a8689bf340d9765ec3973ed6d394:debian/changelog | dpkg-parsechangelog -l- --format rfc822 -SVersion --all"
11/02/2016 14:55:25 - DEBUG:Executing: sh -c "git show f66b5d4bdf4767762b1ab2a5f9e8705e3a9d8c78:debian/changelog | dpkg-parsechangelog -l- -n1 -SVersion"
11/02/2016 14:55:26 - DEBUG:Executing: sh -c "git show f66b5d4bdf4767762b1ab2a5f9e8705e3a9d8c78:debian/changelog | dpkg-parsechangelog -l- -n1 -o1 -SVersion"
11/02/2016 14:55:27 - INFO:Changelog parent (tag) is import/3.5ubuntu2
11/02/2016 14:55:28 - DEBUG:Executing: git diff-tree -p 0801c7ea98dbd65dadc8def30dca54e7deabc91b ad7ff71e3697a8689bf340d9765ec3973ed6d394 -- debian/changelog
11/02/2016 14:55:28 - DEBUG:Executing: sh -c "git show ad7ff71e3697a8689bf340d9765ec3973ed6d394:debian/changelog | dpkg-parsechangelog -l- -SMaintainer"
11/02/2016 14:55:29 - DEBUG:Executing: sh -c "git show ad7ff71e3697a8689bf340d9765ec3973ed6d394:debian/changelog | dpkg-parsechangelog -l- -SDate"
Importing 3.5ubuntu3 to ubuntu/quantal
Traceback (most recent call last):
  File "/importer/usd-importer/usd-import", line 8, in <module>
    usd.importer.main()
  File "/importer/usd-importer/usd/importer.py", line 285, in main
    [x for x in patch_overrides if x['distribution'] == distname]
  File "/importer/usd-importer/usd/GitRepository.py", line 901, in import_spi
    patch_overrides
  File "/importer/usd-importer/usd/GitRepository.py", line 525, in commit_import
    commit_env.update(self.get_commit_environment(tree_hash, spi, patch_overrides))
  File "/importer/usd-importer/usd/GitRepository.py", line 407, in get_commit_environment
    patch_overrides
  File "/importer/usd-importer/usd/GitRepository.py", line 398, in get_commit_authorship
    return (m.group('name'), m.group('email'), date)
AttributeError: 'NoneType' object has no attribute 'group'
Leaving /importer/work.d/linux-base as directed
Wed, 02 Nov 2016 14:55:32 +0000: exited 1

module-init-tools fails like:
Wed, 02 Nov 2016 14:54:12 +0000: usd-import --verbose --lp-owner=usd-import-team --directory=module-init-tools --no-push module-init-tools
11/02/2016 14:54:20 - INFO:Ubuntu Server Team importer v1.0-rc2
11/02/2016 14:54:20 - INFO:Cloning git://git.launchpad.net/~usd-import-team/ubuntu/+source/module-init-tools at /importer/work.d/module-init-tools
11/02/2016 14:54:20 - DEBUG:Executing: git fetch -q git://git.launchpad.net/~usd-import-team/ubuntu/+source/module-init-tools "+refs/heads/*:refs/heads/importer/*"
11/02/2016 14:54:21 - INFO:Command exited 128: git fetch -q git://git.launchpad.net/~usd-import-team/ubuntu/+source/module-init-tools "+refs/heads/*:refs/heads/importer/*"
11/02/2016 14:54:21 - DEBUG:stdout:
11/02/2016 14:54:21 - DEBUG:stderr: fatal: remote error: Repository '~usd-import-team/ubuntu/+source/module-init-tools' not found.
11/02/2016 14:54:21 - WARNING:No objects found in remote git://git.launchpad.net/~usd-import-team/ubuntu/+source/module-init-tools
11/02/2016 14:54:22 - DEBUG:Executing: sh -c "git show 6a725528fa09b24245f639c80ff1a88c3e0b2487:debian/changelog | dpkg-parsechangelog -l- -n1 -SVersion"
11/02/2016 14:54:23 - DEBUG:Executing: sh -c "git show 6a725528fa09b24245f639c80ff1a88c3e0b2487:debian/changelog | dpkg-parsechangelog -l- -n1 -o1 -SVersion"
11/02/2016 14:54:24 - DEBUG:Executing: sh -c "git show afb3bc07bf48f63245122a03456373f650add122:debian/changelog | dpkg-parsechangelog -l- -n1 -SVersion"
11/02/2016 14:54:25 - DEBUG:Executing: sh -c "git show afb3bc07bf48f63245122a03456373f650add122:debian/changelog | dpkg-parsechangelog -l- -n1 -o1 -SVersion"
11/02/2016 14:54:27 - DEBUG:Executing: sh -c "git show 80709d57941110b6981b94ff7372462a70647ee9:debian/changelog | dpkg-parsechangelog -l- -n1 -SVersion"
11/02/2016 14:54:28 - DEBUG:Executing: sh -c "git show 80709d57941110b6981b94ff7372462a70647ee9:debian/changelog | dpkg-parsechangelog -l- -n1 -o1 -SVersion"
11/02/2016 14:54:29 - DEBUG:Cache hit on (<usd.GitRepository.USDGitRepository object at 0x7fbe3c5967f0>, 'afb3bc07bf48f63245122a03456373f650add122', <ChangelogField.version: 1>, []) {} = 3.16-1..
11/02/2016 14:54:29 - DEBUG:Cache hit on (<usd.GitRepository.USDGitRepository object at 0x7fbe3c5967f0>, 'afb3bc07bf48f63245122a03456373f650add122', <ChangelogField.previous_version: 2>, []) {} = 3.13-1..
11/02/2016 14:54:29 - INFO:Last imported debian/lenny version is 3.4-1
11/02/2016 14:54:29 - INFO:Last imported debian/sid version is 3.16-1
11/02/2016 14:54:29 - INFO:Last imported debian/squeeze version is 3.12-2
11/02/2016 14:54:29 - INFO:Last imported debian/wheezy version is 3.16-1
11/02/2016 14:54:29 - DEBUG:Executing: sh -c "git show 21a60ebc4dcb3a890db159ecd67551596c54a7cf:debian/changelog | dpkg-parsechangelog -l- -n1 -SVersion"
11/02/2016 14:54:31 - DEBUG:Executing: sh -c "git show 21a60ebc4dcb3a890db159ecd67551596c54a7cf:debian/changelog | dpkg-parsechangelog -l- -n1 -o1 -SVersion"
11/02/2016 14:54:32 - DEBUG:Executing: sh -c "git show 5ce27fd3f1ede6a7c1c0e6b51ec8a0d1fc3804eb:debian/changelog | dpkg-parsechangelog -l- -n1 -SVersion"
11/02/2016 14:54:34 - DEBUG:Executing: sh -c "git show 5ce27fd3f1ede6a7c1c0e6b51ec8a0d1fc3804eb:debian/changelog | dpkg-parsechangelog -l- -n1 -o1 -SVersion"
11/02/2016 14:54:35 - DEBUG:Executing: sh -c "git show 40a24daebaccb1fe6dac49e9f1b953a330d89581:debian/changelog | dpkg-parsechangelog -l- -n1 -SVersion"
11/02/2016 14:54:36 - DEBUG:Executing: sh -c "git show 40a24daebaccb1fe6dac49e9f1b953a330d89581:debian/changelog | dpkg-parsechangelog -l- -n1 -o1 -SVersion"
11/02/2016 14:54:37 - DEBUG:Executing: sh -c "git show 0e9f792d886a2f29b735ec0947ad33f7be24f06c:debian/changelog | dpkg-parsechangelog -l- -n1 -SVersion"
11/02/2016 14:54:38 - DEBUG:Executing: sh -c "git show 0e9f792d886a2f29b735ec0947ad33f7be24f06c:debian/changelog | dpkg-parsechangelog -l- -n1 -o1 -SVersion"
11/02/2016 14:54:39 - DEBUG:Executing: sh -c "git show 947d4e3e1c38d8aee9ead3882d53621b28361801:debian/changelog | dpkg-parsechangelog -l- -n1 -SVersion"
11/02/2016 14:54:40 - DEBUG:Executing: sh -c "git show 947d4e3e1c38d8aee9ead3882d53621b28361801:debian/changelog | dpkg-parsechangelog -l- -n1 -o1 -SVersion"
11/02/2016 14:54:41 - DEBUG:Executing: sh -c "git show d566198a0ae922e67372340074b2efb511b48d10:debian/changelog | dpkg-parsechangelog -l- -n1 -SVersion"
11/02/2016 14:54:42 - DEBUG:Executing: sh -c "git show d566198a0ae922e67372340074b2efb511b48d10:debian/changelog | dpkg-parsechangelog -l- -n1 -o1 -SVersion"
11/02/2016 14:54:43 - DEBUG:Executing: sh -c "git show ea32cd685fe1c4276c86222dfab44e4499a49b6f:debian/changelog | dpkg-parsechangelog -l- -n1 -SVersion"
11/02/2016 14:54:44 - DEBUG:Executing: sh -c "git show ea32cd685fe1c4276c86222dfab44e4499a49b6f:debian/changelog | dpkg-parsechangelog -l- -n1 -o1 -SVersion"
11/02/2016 14:54:45 - DEBUG:Executing: sh -c "git show 1bd1dd6deae1a3222eabf33d1a845084db3b03fb:debian/changelog | dpkg-parsechangelog -l- -n1 -SVersion"
11/02/2016 14:54:45 - DEBUG:Executing: sh -c "git show 1bd1dd6deae1a3222eabf33d1a845084db3b03fb:debian/changelog | dpkg-parsechangelog -l- -n1 -o1 -SVersion"
11/02/2016 14:54:46 - INFO:Last imported ubuntu/breezy version is 3.2-pre7-0ubuntu4
11/02/2016 14:54:46 - INFO:Last imported ubuntu/dapper version is 3.2.2-1ubuntu7
11/02/2016 14:54:46 - INFO:Last imported ubuntu/edgy version is 3.2.2-3ubuntu3
11/02/2016 14:54:46 - INFO:Last imported ubuntu/feisty version is 3.3-pre3-1ubuntu5
11/02/2016 14:54:46 - INFO:Last imported ubuntu/gutsy version is 3.3-pre4-2ubuntu4
11/02/2016 14:54:46 - INFO:Last imported ubuntu/hardy version is 3.3-pre11-4ubuntu1
11/02/2016 14:54:46 - INFO:Last imported ubuntu/hoary version is 3.1-rel-2ubuntu2
11/02/2016 14:54:46 - INFO:Last imported ubuntu/warty version is 3.1-pre2-2ubuntu3
11/02/2016 14:54:59 - DEBUG:Executing: git checkout --orphan master
11/02/2016 14:54:59 - DEBUG:Executing: git reset --hard
11/02/2016 14:54:59 - DEBUG:Executing: git clean -f -d
11/02/2016 14:54:59 - DEBUG:Executing: git dsc-commit --tree-only ./module-init-tools_3.16-1.dsc
11/02/2016 14:55:01 - INFO:Imported version 3.16-1 as tree cf0fd5b741489fad21eb1a9f68b9a79ee798fc19
11/02/2016 14:55:01 - DEBUG:Executing: sh -c "git show cf0fd5b741489fad21eb1a9f68b9a79ee798fc19:debian/changelog | dpkg-parsechangelog -l- -n1 -SVersion"
11/02/2016 14:55:01 - DEBUG:Executing: sh -c "git show cf0fd5b741489fad21eb1a9f68b9a79ee798fc19:debian/changelog | dpkg-parsechangelog -l- -n1 -o1 -SVersion"
11/02/2016 14:55:02 - INFO:Found changelog version 3.16-1, previous version 3.13-1 in newly imported tree
11/02/2016 14:55:02 - WARNING:debian/sid is identical to 3.16-1
11/02/2016 14:55:08 - DEBUG:Executing: git checkout --orphan master
11/02/2016 14:55:08 - DEBUG:Executing: git reset --hard
11/02/2016 14:55:08 - DEBUG:Executing: git clean -f -d
11/02/2016 14:55:08 - DEBUG:Executing: git dsc-commit --tree-only ./module-init-tools_3.16-1.dsc
11/02/2016 14:55:11 - INFO:Imported version 3.16-1 as tree cf0fd5b741489fad21eb1a9f68b9a79ee798fc19
11/02/2016 14:55:11 - DEBUG:Cache hit on (<usd.GitRepository.USDGitRepository object at 0x7fbe3c5967f0>, 'cf0fd5b741489fad21eb1a9f68b9a79ee798fc19', <ChangelogField.version: 1>, []) {} = 3.16-1..
11/02/2016 14:55:11 - DEBUG:Cache hit on (<usd.GitRepository.USDGitRepository object at 0x7fbe3c5967f0>, 'cf0fd5b741489fad21eb1a9f68b9a79ee798fc19', <ChangelogField.previous_version: 2>, []) {} = 3.13-1..
11/02/2016 14:55:11 - INFO:Found changelog version 3.16-1, previous version 3.13-1 in newly imported tree
11/02/2016 14:55:11 - WARNING:debian/wheezy is identical to 3.16-1
11/02/2016 14:57:04 - DEBUG:Executing: git checkout --orphan master
11/02/2016 14:57:04 - DEBUG:Executing: git reset --hard
11/02/2016 14:57:04 - DEBUG:Executing: git clean -f -d
11/02/2016 14:57:04 - DEBUG:Executing: git dsc-commit --tree-only ./module-init-tools_3.3-pre11-4ubuntu2.dsc
11/02/2016 14:57:07 - INFO:Imported version 3.3-pre11-4ubuntu2 as tree c226509eaa3ae90742999a024290b745720040da
11/02/2016 14:57:07 - DEBUG:Executing: sh -c "git show c226509eaa3ae90742999a024290b745720040da:debian/changelog | dpkg-parsechangelog -l- -n1 -SVersion"
11/02/2016 14:57:08 - DEBUG:Executing: sh -c "git show c226509eaa3ae90742999a024290b745720040da:debian/changelog | dpkg-parsechangelog -l- -n1 -o1 -SVersion"
11/02/2016 14:57:10 - INFO:Found changelog version 3.3-pre11-4ubuntu2, previous version 3.3-pre11-4ubuntu1 in newly imported tree
11/02/2016 14:57:10 - DEBUG:Cache hit on (<usd.GitRepository.USDGitRepository object at 0x7fbe3c5967f0>, 'd566198a0ae922e67372340074b2efb511b48d10', <ChangelogField.version: 1>, []) {} = 3.3-pre11-4ubuntu1..
11/02/2016 14:57:10 - DEBUG:Cache hit on (<usd.GitRepository.USDGitRepository object at 0x7fbe3c5967f0>, 'd566198a0ae922e67372340074b2efb511b48d10', <ChangelogField.previous_version: 2>, []) {} = 3.3-pre11-4..
11/02/2016 14:57:10 - INFO:Tip version is 3.3-pre11-4ubuntu1
11/02/2016 14:57:10 - INFO:Publishing parent (tag) is import/3.3-pre11-4ubuntu1
11/02/2016 14:57:10 - DEBUG:Executing: sh -c "git show c226509eaa3ae90742999a024290b745720040da:debian/changelog | dpkg-parsechangelog -l- --format rfc822 -SVersion --all"
11/02/2016 14:57:12 - DEBUG:Executing: sh -c "git show 5aa9d10ab01c6ebe49730b538036d85d8f2cb783:debian/changelog | dpkg-parsechangelog -l- -n1 -SVersion"
11/02/2016 14:57:13 - DEBUG:Executing: sh -c "git show 5aa9d10ab01c6ebe49730b538036d85d8f2cb783:debian/changelog | dpkg-parsechangelog -l- -n1 -o1 -SVersion"
11/02/2016 14:57:15 - INFO:Changelog parent (tag) is import/3.3-pre11-4ubuntu1
11/02/2016 14:57:16 - DEBUG:Executing: git diff-tree -p d566198a0ae922e67372340074b2efb511b48d10 c226509eaa3ae90742999a024290b745720040da -- debian/changelog
11/02/2016 14:57:16 - DEBUG:Executing: sh -c "git show c226509eaa3ae90742999a024290b745720040da:debian/changelog | dpkg-parsechangelog -l- -SMaintainer"
11/02/2016 14:57:17 - DEBUG:Executing: sh -c "git show c226509eaa3ae90742999a024290b745720040da:debian/changelog | dpkg-parsechangelog -l- -SDate"
Importing 3.16-1 to debian/sid
Importing 3.16-1 to debian/wheezy
Importing 3.3-pre11-4ubuntu2 to ubuntu/hardy
Traceback (most recent call last):
  File "/importer/usd-importer/usd-import", line 8, in <module>
    usd.importer.main()
  File "/importer/usd-importer/usd/importer.py", line 285, in main
    [x for x in patch_overrides if x['distribution'] == distname]
  File "/importer/usd-importer/usd/GitRepository.py", line 901, in import_spi
    patch_overrides
  File "/importer/usd-importer/usd/GitRepository.py", line 525, in commit_import
    commit_env.update(self.get_commit_environment(tree_hash, spi, patch_overrides))
  File "/importer/usd-importer/usd/GitRepository.py", line 407, in get_commit_environment
    patch_overrides
  File "/importer/usd-importer/usd/GitRepository.py", line 398, in get_commit_authorship
    return (m.group('name'), m.group('email'), date)
AttributeError: 'NoneType' object has no attribute 'group'
Leaving /importer/work.d/module-init-tools as directed
Wed, 02 Nov 2016 14:57:22 +0000: exited 1

Revision history for this message
Nish Aravamudan (nacc) wrote :

This is probably also a failure to get the authorship (parse error).

Nish Aravamudan (nacc)
Changed in usd-importer:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Nish Aravamudan (nacc)
Revision history for this message
Nish Aravamudan (nacc) wrote :

These are failing because the changelog entry in question has a maintainer line like:

 -- <email address hidden> Thu, 31 May 2012 17:39:54 +0200

 -- <email address hidden> Fri, 01 Feb 2008 14:54:43 +0000

My regex for this should be working and in manual testing it is, so I need to dig further. We need the separated GIT_AUTHOR_NAME (which will be '' in this case) and GIT_AUTHOR_EMAIL for commiting purposes.

Nish Aravamudan (nacc)
Changed in usd-importer:
status: In Progress → Fix Released
assignee: Nish Aravamudan (nacc) → nobody
Robie Basak (racb)
tags: added: import-edge-case
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.