{"thread":{"id":"38458","subject":"bug report","startedAt":"2015-01-27T14:43:31Z","lastAt":"2015-01-27T14:50:23Z","messageCount":2,"participants":["Albert Akhriev","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"255324","messageId":"OF166CC5C9.21C21E8C-ON80257DDA.005038FD-80257DDA.0050E350@ie.ibm.com","threadId":"38458","inReplyTo":null,"subject":"bug report","fromName":"Albert Akhriev","fromEmail":"albert_akhriev@ie.ibm.com","sentAt":"2015-01-27T14:43:31Z","receivedAt":"2015-01-27T14:43:31Z","isPatch":false,"sender":{"key":"albert_akhriev@ie.ibm.com","avatar":null},"body":"\nHi All,\n\nMy system:                      RedHat 6.5/64-bit (gcc 4.4.7)\nMy configuration options:  ./configure --prefix=/home/albert/soft\n\nCompilation of git 2.2.2 itself was fine, but some tests failed.\nI presume, there might be some network communication restrictions here in\nthe lab\n(gitweb had failed as can be seen in the listing below):\n\n1..14\n*** t9400-git-cvsserver-server.sh ***\n1..0 # SKIP skipping git-cvsserver tests, Perl SQLite interface unavailable\n*** t9401-git-cvsserver-crlf.sh ***\n1..0 # SKIP skipping git-cvsserver tests, Perl SQLite interface unavailable\n*** t9402-git-cvsserver-refs.sh ***\n1..0 # SKIP skipping git-cvsserver tests, Perl SQLite interface unavailable\n*** t9500-gitweb-standalone-no-errors.sh ***\nnot ok 1 - no commits: projects_list (implicit)\n#\tgitweb_run\nnot ok 2 - no commits: projects_index\n#\tgitweb_run \"a=project_index\"\nnot ok 3 - no commits: .git summary (implicit)\n#\tgitweb_run \"p=.git\"\nnot ok 4 - no commits: .git commit (implicit HEAD)\n#\tgitweb_run \"p=.git;a=commit\"\nnot ok 5 - no commits: .git commitdiff (implicit HEAD)\n#\tgitweb_run \"p=.git;a=commitdiff\"\nnot ok 6 - no commits: .git tree (implicit HEAD)\n#\tgitweb_run \"p=.git;a=tree\"\nnot ok 7 - no commits: .git heads\n#\tgitweb_run \"p=.git;a=heads\"\nnot ok 8 - no commits: .git tags\n#\tgitweb_run \"p=.git;a=tags\"\nok 9 - Make initial commit\nnot ok 10 - projects_list (implicit)\n#\tgitweb_run\nnot ok 11 - projects_index\n#\tgitweb_run \"a=project_index\"\nnot ok 12 - .git summary (implicit)\n#\tgitweb_run \"p=.git\"\nnot ok 13 - .git commit (implicit HEAD)\n#\tgitweb_run \"p=.git;a=commit\"\nnot ok 14 - .git commitdiff (implicit HEAD, root commit)\n#\tgitweb_run \"p=.git;a=commitdiff\"\nnot ok 15 - .git commitdiff_plain (implicit HEAD, root commit)\n#\tgitweb_run \"p=.git;a=commitdiff_plain\"\nnot ok 16 - .git commit (HEAD)\n#\tgitweb_run \"p=.git;a=commit;h=HEAD\"\nnot ok 17 - .git tree (implicit HEAD)\n#\tgitweb_run \"p=.git;a=tree\"\nnot ok 18 - .git blob (file)\n#\tgitweb_run \"p=.git;a=blob;f=file\"\nnot ok 19 - .git blob_plain (file)\n#\tgitweb_run \"p=.git;a=blob_plain;f=file\"\nnot ok 20 - .git commit (non-existent)\n#\tgitweb_run \"p=.git;a=commit;h=non-existent\"\nnot ok 21 - .git commitdiff (non-existent)\n#\tgitweb_run \"p=.git;a=commitdiff;h=non-existent\"\nnot ok 22 - .git commitdiff (non-existent vs HEAD)\n#\tgitweb_run \"p=.git;a=commitdiff;hp=non-existent;h=HEAD\"\nnot ok 23 - .git tree (0000000000000000000000000000000000000000)\n#\tgitweb_run \"p=.git;a=tree;h=0000000000000000000000000000000000000000\"\nnot ok 24 - .git tag (0000000000000000000000000000000000000000)\n#\tgitweb_run \"p=.git;a=tag;h=0000000000000000000000000000000000000000\"\nnot ok 25 - .git blob (non-existent)\n#\tgitweb_run \"p=.git;a=blob;f=non-existent\"\nnot ok 26 - .git blob_plain (non-existent)\n#\tgitweb_run \"p=.git;a=blob_plain;f=non-existent\"\nnot ok 27 - commitdiff(0): root\n#\tgitweb_run \"p=.git;a=commitdiff\"\nnot ok 28 - commitdiff(0): file added\n#\techo \"New file\" > new_file &&\n#\t\t git add new_file &&\n#\t\t git commit -a -m \"File added.\" &&\n#\t\t gitweb_run \"p=.git;a=commitdiff\"\nnot ok 29 - commitdiff(0): mode change\n#\ttest_chmod +x new_file &&\n#\t\t git commit -a -m \"Mode changed.\" &&\n#\t\t gitweb_run \"p=.git;a=commitdiff\"\nnot ok 30 - commitdiff(0): file renamed\n#\tgit mv new_file renamed_file &&\n#\t\t git commit -a -m \"File renamed.\" &&\n#\t\t gitweb_run \"p=.git;a=commitdiff\"\nnot ok 31 - commitdiff(0): file to symlink\n#\trm renamed_file &&\n#\t\t test_ln_s_add file renamed_file &&\n#\t\t git commit -a -m \"File to symlink.\" &&\n#\t\t gitweb_run \"p=.git;a=commitdiff\"\nnot ok 32 - commitdiff(0): file deleted\n#\tgit rm renamed_file &&\n#\t\t rm -f renamed_file &&\n#\t\t git commit -a -m \"File removed.\" &&\n#\t\t gitweb_run \"p=.git;a=commitdiff\"\nnot ok 33 - commitdiff(0): file copied / new file\n#\tcp file file2 &&\n#\t\t git add file2 &&\n#\t\t git commit -a -m \"File copied.\" &&\n#\t\t gitweb_run \"p=.git;a=commitdiff\"\nnot ok 34 - commitdiff(0): mode change and modified\n#\techo \"New line\" >> file2 &&\n#\t\t test_chmod +x file2 &&\n#\t\t git commit -a -m \"Mode change and modification.\" &&\n#\t\t gitweb_run \"p=.git;a=commitdiff\"\nnot ok 35 - commitdiff(0): renamed and modified\n#\tcat >file2<<EOF &&\n#\tDominus regit me,\n#\tet nihil mihi deerit.\n#\tIn loco pascuae ibi me collocavit,\n#\tsuper aquam refectionis educavit me;\n#\tanimam meam convertit,\n#\tdeduxit me super semitas jusitiae,\n#\tpropter nomen suum.\n#\tEOF\n#\t\t git commit -a -m \"File added.\" &&\n#\t\t git mv file2 file3 &&\n#\t\t echo \"Propter nomen suum.\" >> file3 &&\n#\t\t git commit -a -m \"File rename and modification.\" &&\n#\t\t gitweb_run \"p=.git;a=commitdiff\"\nnot ok 36 - commitdiff(0): renamed, mode change and modified\n#\tgit mv file3 file2 &&\n#\t\t echo \"Propter nomen suum.\" >> file2 &&\n#\t\t test_chmod +x file2 &&\n#\t\t git commit -a -m \"File rename, mode change and modification.\"\n&&\n#\t\t gitweb_run \"p=.git;a=commitdiff\"\nok 37 - setup typechange commits\nnot ok 38 - commitdiff(2): file renamed from foo to foo/baz\n#\tgitweb_run\n\"p=.git;a=commitdiff;hp=initial;h=foo-baz-renamed-from-foo\"\nnot ok 39 - commitdiff(2): file renamed from foo/baz to foo\n#\tgitweb_run\n\"p=.git;a=commitdiff;hp=foo-baz-renamed-from-foo;h=initial\"\nnot ok 40 - commitdiff(2): directory becomes file\n#\tgitweb_run \"p=.git;a=commitdiff;hp=foo-becomes-a-directory;h=initial\"\nnot ok 41 - commitdiff(2): file becomes directory\n#\tgitweb_run \"p=.git;a=commitdiff;hp=initial;h=foo-becomes-a-directory\"\nnot ok 42 - commitdiff(2): file becomes symlink\n#\tgitweb_run \"p=.git;a=commitdiff;hp=initial;h=foo-symlinked-to-bar\"\nnot ok 43 - commitdiff(2): symlink becomes file\n#\tgitweb_run\n\"p=.git;a=commitdiff;hp=foo-symlinked-to-bar;h=foo-back-to-file\"\nnot ok 44 - commitdiff(2): symlink becomes directory\n#\tgitweb_run\n\"p=.git;a=commitdiff;hp=foo-symlinked-to-bar;h=foo-becomes-a-directory\"\nnot ok 45 - commitdiff(2): directory becomes symlink\n#\tgitweb_run\n\"p=.git;a=commitdiff;hp=foo-becomes-a-directory;h=foo-symlinked-to-bar\"\nok 46 - setup incomplete lines\nnot ok 47 - commitdiff(1): addition of incomplete line\n#\n#\t\tgitweb_run \"p=.git;a=commitdiff;h=incomplete_lines_add\"\n#\nnot ok 48 - commitdiff(1): incomplete line as context line\n#\n#\t\tgitweb_run \"p=.git;a=commitdiff;h=incomplete_lines_ctx\"\n#\nnot ok 49 - commitdiff(1): change incomplete line\n#\n#\t\tgitweb_run \"p=.git;a=commitdiff;h=incomplete_lines_chg\"\n#\nnot ok 50 - commitdiff(1): removal of incomplete line\n#\n#\t\tgitweb_run \"p=.git;a=commitdiff;h=incomplete_lines_rem\"\n#\nok 51 - Create a merge\nnot ok 52 - commit(0): merge commit\n#\tgitweb_run \"p=.git;a=commit\"\nnot ok 53 - commitdiff(0): merge commit\n#\tgitweb_run \"p=.git;a=commitdiff\"\nok 54 - Prepare large commit\nnot ok 55 - commit(1): large commit\n#\tgitweb_run \"p=.git;a=commit;h=b\"\nnot ok 56 - commitdiff(1): large commit\n#\tgitweb_run \"p=.git;a=commitdiff;h=b\"\nnot ok 57 - side-by-side: addition of incomplete line\n#\n#\t\tgitweb_run\n\"p=.git;a=commitdiff;h=incomplete_lines_add;ds=sidebyside\"\n#\nnot ok 58 - side-by-side: incomplete line as context line\n#\n#\t\tgitweb_run\n\"p=.git;a=commitdiff;h=incomplete_lines_ctx;ds=sidebyside\"\n#\nnot ok 59 - side-by-side: changed incomplete line\n#\n#\t\tgitweb_run\n\"p=.git;a=commitdiff;h=incomplete_lines_chg;ds=sidebyside\"\n#\nnot ok 60 - side-by-side: removal of incomplete line\n#\n#\t\tgitweb_run\n\"p=.git;a=commitdiff;h=incomplete_lines_rem;ds=sidebyside\"\n#\nnot ok 61 - side-by-side: merge commit\n#\n#\t\tgitweb_run \"p=.git;a=commitdiff;h=merge_commit;ds=sidebyside\"\n#\nnot ok 62 - tags: list of different types of tags\n#\tgit checkout master &&\n#\t\t git tag -a -m \"Tag commit object\" tag-commit HEAD &&\n#\t\t git tag -a -m \"\" tag-commit-nomessage HEAD &&\n#\t\t git tag -a -m \"Tag tag object\" tag-tag tag-commit &&\n#\t\t git tag -a -m \"Tag tree object\" tag-tree HEAD^{tree} &&\n#\t\t git tag -a -m \"Tag blob object\" tag-blob HEAD:file &&\n#\t\t git tag lightweight/tag-commit HEAD &&\n#\t\t git tag lightweight/tag-tag tag-commit &&\n#\t\t git tag lightweight/tag-tree HEAD^{tree} &&\n#\t\t git tag lightweight/tag-blob HEAD:file &&\n#\t\t gitweb_run \"p=.git;a=tags\"\nnot ok 63 - tag: Tag to commit object\n#\tgitweb_run \"p=.git;a=tag;h=tag-commit\"\nnot ok 64 - tag: on lightweight tag (invalid)\n#\tgitweb_run \"p=.git;a=tag;h=lightweight/tag-commit\"\nnot ok 65 - logs: log (implicit HEAD)\n#\tgitweb_run \"p=.git;a=log\"\nnot ok 66 - logs: shortlog (implicit HEAD)\n#\tgitweb_run \"p=.git;a=shortlog\"\nnot ok 67 - logs: history (implicit HEAD, file)\n#\tgitweb_run \"p=.git;a=history;f=file\"\nnot ok 68 - logs: history (implicit HEAD, non-existent file)\n#\tgitweb_run \"p=.git;a=history;f=non-existent\"\nnot ok 69 - logs: history (implicit HEAD, deleted file)\n#\tgit checkout master &&\n#\t\t echo \"to be deleted\" > deleted_file &&\n#\t\t git add deleted_file &&\n#\t\t git commit -m \"Add file to be deleted\" &&\n#\t\t git rm deleted_file &&\n#\t\t git commit -m \"Delete file\" &&\n#\t\t gitweb_run \"p=.git;a=history;f=deleted_file\"\nnot ok 70 - path_info: project\n#\tgitweb_run \"\" \"/.git\"\nnot ok 71 - path_info: project/branch\n#\tgitweb_run \"\" \"/.git/b\"\nnot ok 72 - path_info: project/branch:file\n#\tgitweb_run \"\" \"/.git/master:file\"\nnot ok 73 - path_info: project/branch:dir/\n#\tgitweb_run \"\" \"/.git/master:foo/\"\nnot ok 74 - path_info: project/branch (non-existent)\n#\tgitweb_run \"\" \"/.git/non-existent\"\nnot ok 75 - path_info: project/branch:filename (non-existent branch)\n#\tgitweb_run \"\" \"/.git/non-existent:non-existent\"\nnot ok 76 - path_info: project/branch:file (non-existent)\n#\tgitweb_run \"\" \"/.git/master:non-existent\"\nnot ok 77 - path_info: project/branch:dir/ (non-existent)\n#\tgitweb_run \"\" \"/.git/master:non-existent/\"\nnot ok 78 - path_info: project/branch:/file\n#\tgitweb_run \"\" \"/.git/master:/file\"\nnot ok 79 - path_info: project/:/file (implicit HEAD)\n#\tgitweb_run \"\" \"/.git/:/file\"\nnot ok 80 - path_info: project/:/ (implicit HEAD, top tree)\n#\tgitweb_run \"\" \"/.git/:/\"\nnot ok 81 - feeds: OPML\n#\tgitweb_run \"a=opml\"\nnot ok 82 - feed: RSS\n#\tgitweb_run \"p=.git;a=rss\"\nnot ok 83 - feed: Atom\n#\tgitweb_run \"p=.git;a=atom\"\nnot ok 84 - encode(commit): utf8\n#\t. \"$TEST_DIRECTORY\"/t3901-utf8.txt &&\n#\t\t test_when_finished \"GIT_AUTHOR_NAME=\\\"A U Thor\\\"\" &&\n#\t\t test_when_finished \"GIT_COMMITTER_NAME=\\\"C O Mitter\\\"\" &&\n#\t\t echo \"UTF-8\" >> file &&\n#\t\t git add file &&\n#\t\t git commit -F \"$TEST_DIRECTORY\"/t3900/1-UTF-8.txt &&\n#\t\t gitweb_run \"p=.git;a=commit\"\nnot ok 85 - encode(commit): iso-8859-1\n#\t. \"$TEST_DIRECTORY\"/t3901-8859-1.txt &&\n#\t\t test_when_finished \"GIT_AUTHOR_NAME=\\\"A U Thor\\\"\" &&\n#\t\t test_when_finished \"GIT_COMMITTER_NAME=\\\"C O Mitter\\\"\" &&\n#\t\t echo \"ISO-8859-1\" >> file &&\n#\t\t git add file &&\n#\t\t test_config i18n.commitencoding ISO-8859-1 &&\n#\t\t git commit -F \"$TEST_DIRECTORY\"/t3900/ISO8859-1.txt &&\n#\t\t gitweb_run \"p=.git;a=commit\"\nnot ok 86 - encode(log): utf-8 and iso-8859-1\n#\tgitweb_run \"p=.git;a=log\"\nnot ok 87 - opt: log --no-merges\n#\tgitweb_run \"p=.git;a=log;opt=--no-merges\"\nnot ok 88 - opt: atom --no-merges\n#\tgitweb_run \"p=.git;a=log;opt=--no-merges\"\nnot ok 89 - opt: \"file\" history --no-merges\n#\tgitweb_run \"p=.git;a=history;f=file;opt=--no-merges\"\nnot ok 90 - opt: log --no-such-option (invalid option)\n#\tgitweb_run \"p=.git;a=log;opt=--no-such-option\"\nnot ok 91 - opt: tree --no-merges (invalid option for action)\n#\tgitweb_run \"p=.git;a=tree;opt=--no-merges\"\nnot ok 92 - URL: no project URLs, no base URL\n#\tgitweb_run \"p=.git;a=summary\"\nnot ok 93 - URL: project URLs via gitweb.url\n#\tgit config --add gitweb.url git://example.com/git/trash.git &&\n#\t        git config --add gitweb.url http://example.com/git/trash.git\n&&\n#\t        gitweb_run \"p=.git;a=summary\"\nnot ok 94 - URL: project URLs via cloneurl file\n#\tgitweb_run \"p=.git;a=summary\"\nnot ok 95 - config override: projects list (implicit)\n#\tgitweb_run\nnot ok 96 - config override: tree view, features not overridden in repo\nconfig\n#\tgitweb_run \"p=.git;a=tree\"\nnot ok 97 - config override: tree view, features disabled in repo config\n#\tgit config gitweb.blame no &&\n#\t\t git config gitweb.snapshot none &&\n#\t\t git config gitweb.avatar gravatar &&\n#\t\t gitweb_run \"p=.git;a=tree\"\nnot ok 98 - config override: tree view, features enabled in repo config (1)\n#\tgit config gitweb.blame yes &&\n#\t\t git config gitweb.snapshot \"zip,tgz, tbz2\" &&\n#\t\t gitweb_run \"p=.git;a=tree\"\nnot ok 99 - config override: tree view, features enabled in repo config (2)\n#\tgitweb_run \"p=.git;a=tree\"\nok 100 - search: preparation\nnot ok 101 - search: commit author\n#\tgitweb_run \"p=.git;a=search;h=HEAD;st=author;s=A+U+Thor\"\nnot ok 102 - search: commit message\n#\tgitweb_run \"p=.git;a=search;h=HEAD;st=commitr;s=MATCH\"\nnot ok 103 - search: grep\n#\tgitweb_run \"p=.git;a=search;h=HEAD;st=grep;s=MATCH\"\nnot ok 104 - search: pickaxe\n#\tgitweb_run \"p=.git;a=search;h=HEAD;st=pickaxe;s=MATCH\"\nnot ok 105 - search: projects\n#\tgitweb_run \"a=project_list;s=.git\"\nnot ok 106 - README.html with non-ASCII characters (utf-8)\n#\techo \"<b>UTF-8 example:</b><br />\" > .git/README.html &&\n#\t\t cat \"$TEST_DIRECTORY\"/t3900/1-UTF-8.txt >> .git/README.html &&\n#\t\t gitweb_run \"p=.git;a=summary\"\nSkipping syntax highlighting tests: 'highlight' not found\nok 107 # skip syntax highlighting (no highlight, unknown syntax) (missing\nHIGHLIGHT)\nok 108 # skip syntax highlighting (highlighted, shell script) (missing\nHIGHLIGHT)\nok 109 - forks: prepare\nnot ok 110 - forks: projects list\n#\tgitweb_run\nnot ok 111 - forks: forks action\n#\tgitweb_run \"p=foo.git;a=forks\"\nnot ok 112 - ctags: tag cloud in projects list\n#\tmkdir .git/ctags &&\n#\t\t echo \"2\" > .git/ctags/foo &&\n#\t\t echo \"1\" > .git/ctags/bar &&\n#\t\tgitweb_run\nnot ok 113 - ctags: search projects by existing tag\n#\tgitweb_run \"by_tag=foo\"\nnot ok 114 - ctags: search projects by non existent tag\n#\tgitweb_run \"by_tag=non-existent\"\nnot ok 115 - ctags: malformed tag weights\n#\tmkdir -p .git/ctags &&\n#\t\t echo \"not-a-number\" > .git/ctags/nan &&\n#\t\t echo \"not-a-number-2\" > .git/ctags/nan2 &&\n#\t\t echo \"0.1\" >.git/ctags/floating-point &&\n#\t\t gitweb_run\nnot ok 116 - categories: projects list, only default category\n#\techo \"\\$projects_list_group_categories = 1;\" >>gitweb_config.perl &&\n#\t\t gitweb_run\nnot ok 117 - unborn HEAD: \"summary\" page (with \"heads\" subview)\n#\tgit checkout orphan_branch || git checkout --orphan orphan_branch &&\n#\t\t test_when_finished \"git checkout master\" &&\n#\t\t gitweb_run \"p=.git;a=summary\"\n# failed 108 among 117 test(s)\n1..117\nmake[2]: *** [t9500-gitweb-standalone-no-errors.sh] Error 1\nmake[2]: Leaving directory\n`/home/albert/work/info/install_ver2/git-2.2.2/t'\nmake[1]: *** [test] Error 2\nmake[1]: Leaving directory\n`/home/albert/work/info/install_ver2/git-2.2.2/t'\nmake: *** [test] Error 2\n\nBest regards,\n\nAlbert Akhriev, PhD\nIBM Research - Ireland\nTech. Campus, Bldg 3,  | Mulhuddart, Dublin 15\nhttp://researcher.ibm.com/person/ie-albert_akhriev\nalbert_akhriev@ie.ibm.com | +353 1 826 91 86\n\nIBM Ireland Limited registered in Ireland under company number 16226.\nRegistered Office: IBM House, Shelbourne Rd., Ballsbridge, Dublin 4.\n"},{"id":"255325","messageId":"20150127145022.GB30027@peff.net","threadId":"38458","inReplyTo":"OF166CC5C9.21C21E8C-ON80257DDA.005038FD-80257DDA.0050E350@ie.ibm.com","subject":"Re: bug report","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2015-01-27T14:50:23Z","receivedAt":"2015-01-27T14:50:23Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Tue, Jan 27, 2015 at 02:43:31PM +0000, Albert Akhriev wrote:\n\n> My system:                      RedHat 6.5/64-bit (gcc 4.4.7)\n> My configuration options:  ./configure --prefix=/home/albert/soft\n> \n> Compilation of git 2.2.2 itself was fine, but some tests failed.\n> I presume, there might be some network communication restrictions here in\n> the lab\n> (gitweb had failed as can be seen in the listing below):\n\nThe gitweb tests should run locally and not need to touch the network.\nIt looks like gitweb cannot run at all. Are you sure you have a working\nperl (with CGI and other base modules)?\n\nTry running:\n\n  cd t\n  ./t9500-gitweb-standaloneno-errors.sh -v -i\n\nwhich should give more output. Also check the contents of gitweb.log in\n\"t/trash directory/t9500-...\".\n\n-Peff\n"}]}