[Bug 1207167] New: librsvg PDF related testsuite tests are failing
https://bugzilla.suse.com/show_bug.cgi?id=1207167 Bug ID: 1207167 Summary: librsvg PDF related testsuite tests are failing Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME Assignee: gnome-bugs@suse.de Reporter: dmueller@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Errors are like: [ 379s] ---- cmdline::rsvg_convert::pdf_has_link_inside_text stdout ---- [ 379s] thread 'cmdline::rsvg_convert::pdf_has_link_inside_text' panicked at 'Unexpected stdout, failed (is a PDF with a link to https://example.com && is a PDF with a link to https://another.example.com) [ 379s] ��������� is a PDF with a link to https://example.com [ 379s] ��������� actual link contents: FIXME: who knows, but it's not what we expected [ 379s] command=`"/home/abuild/rpmbuild/BUILD/librsvg-2.55.1/target/release/rsvg-convert" "--format=pdf" "tests/fixtures/cmdline/text-a-link.svg"` [ 379s] code=0 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1207167 https://bugzilla.suse.com/show_bug.cgi?id=1207167#c2 Alynx Zhou <alynx.zhou@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alynx.zhou@suse.com --- Comment #2 from Alynx Zhou <alynx.zhou@suse.com> --- The SR is accepted, should we close this? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1207167 https://bugzilla.suse.com/show_bug.cgi?id=1207167#c3 --- Comment #3 from Dirk Mueller <dmueller@suse.com> --- (In reply to Alynx Zhou from comment #2)
The SR is accepted, should we close this?
no, the SR was disabling these tests. This bug report is about fixing the (currently disabled) tests so that they can be reenabled. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1207167 https://bugzilla.suse.com/show_bug.cgi?id=1207167#c4 --- Comment #4 from Alynx Zhou <alynx.zhou@suse.com> --- That's wired, I could run with the same sources on my system and the test is OK. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1207167 https://bugzilla.suse.com/show_bug.cgi?id=1207167#c5 --- Comment #5 from Alynx Zhou <alynx.zhou@suse.com> --- (In reply to Alynx Zhou from comment #4)
That's wired, I could run with the same sources on my system and the test is OK.
My system has cairo 1.17.8, and I think pdf check is related to cairo... -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1207167 https://bugzilla.suse.com/show_bug.cgi?id=1207167#c6 --- Comment #6 from Dirk Mueller <dmueller@suse.com> ---
That's wired, I could run with the same sources on my system and the test is OK.
Thats awesome to hear. Now we just need to get what is different with "your system" than with a regular openSUSE Tumbleweed build environment and we have a first clue on where the problem might come from.
My system has cairo 1.17.8, and I think pdf check is related to cairo...
Typo? did you mean 1.17.6? I don't think a 1.17.8 exists. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1207167 https://bugzilla.suse.com/show_bug.cgi?id=1207167#c7 --- Comment #7 from Alynx Zhou <alynx.zhou@suse.com> --- (In reply to Dirk Mueller from comment #6)
That's wired, I could run with the same sources on my system and the test is OK.
Thats awesome to hear. Now we just need to get what is different with "your system" than with a regular openSUSE Tumbleweed build environment and we have a first clue on where the problem might come from.
My system has cairo 1.17.8, and I think pdf check is related to cairo...
Typo? did you mean 1.17.6? I don't think a 1.17.8 exists.
Well, they just released 1.17.8 this month: <https://www.cairographics.org/news/cairo-1.17.8/>. I am not using tumbleweed but using Arch and got this version, I tried to backport some PDF related patch but it does not work. I am wondering if there are other libraries affect PDF, librsvg uses lopdf to load pdf, but I am using the same lopdf vendor on both OBS and my local machine so I don't think it's the reason. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1207167 https://bugzilla.suse.com/show_bug.cgi?id=1207167#c8 --- Comment #8 from Alynx Zhou <alynx.zhou@suse.com> --- I'm going to install a tumbleweed VM and try to run `rsvg-convert --format=pdf pathtothesvg.svg` to see whether the generated PDF is valid manually. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1207167 https://bugzilla.suse.com/show_bug.cgi?id=1207167#c9 --- Comment #9 from Alynx Zhou <alynx.zhou@suse.com> --- (In reply to Alynx Zhou from comment #8)
I'm going to install a tumbleweed VM and try to run `rsvg-convert --format=pdf pathtothesvg.svg` to see whether the generated PDF is valid manually.
rsvg-convert works fine on tumbleweed, what makes the test failed? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1207167 https://bugzilla.suse.com/show_bug.cgi?id=1207167#c10 --- Comment #10 from Dirk Mueller <dmueller@suse.com> --- it fails inside the build environment, where the tests are run. so it either implicitly requires network access or some other component that is installed in your tumbleweed system but is not buildrequire'd to be in the build system. That's all. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1207167 https://bugzilla.suse.com/show_bug.cgi?id=1207167#c11 --- Comment #11 from Alynx Zhou <alynx.zhou@suse.com> --- (In reply to Dirk Mueller from comment #10)
it fails inside the build environment, where the tests are run. so it either implicitly requires network access or some other component that is installed in your tumbleweed system but is not buildrequire'd to be in the build system. That's all.
Yes, I'd like to try to run the test on tumbleweed first to see whether it passes. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1207167 https://bugzilla.suse.com/show_bug.cgi?id=1207167#c12 --- Comment #12 from Alynx Zhou <alynx.zhou@suse.com> --- Tests pass on my tumbleweed, could we get the pdf generated in OBS? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1207167 https://bugzilla.suse.com/show_bug.cgi?id=1207167#c13 --- Comment #13 from Dirk Mueller <dmueller@suse.com> --- the same error still happens today: 256s] failures: [ 256s] [ 256s] ---- cmdline::rsvg_convert::pdf_has_link_inside_text stdout ---- [ 256s] thread 'cmdline::rsvg_convert::pdf_has_link_inside_text' panicked at 'Unexpected stdout, failed (is a PDF with a link to https://example.com && is a PDF with a link to https://another.example.com) [ 256s] ��������� is a PDF with a link to https://example.com [ 256s] ��������� actual link contents: FIXME: who knows, but it's not what we expected [ 256s] [ 256s] command=`"/home/abuild/rpmbuild/BUILD/librsvg-2.55.1/target/debug/rsvg-convert" "--format=pdf" "tests/fixtures/cmdline/text-a-link.svg"` [ 256s] code=0 [ 256s] stdout=``` [ 256s] %PDF-1.7 [ 256s] %\xB5\xED\xAE\xFB [ 256s] 6 0 obj [ 256s] << /Length 7 0 R [ 256s] /Filter /FlateDecode [ 256s] >> [ 256s] stream [ 256s] x\x9C\x95�� [ 256s] \xC20\x10\x06\xF0=Oq/`zwm\x9A\x14\xC4\xC1VD\xB1\x83:\x8A\x83\xA8\x88\x8ABu\xF0\xF5M\xFD\xB3(\x88\u{1f}%\x97\xD0\xFB\xB8\xF0\x9B\"\xC4\xF1\xEBH,)3\xADO\xA61\xC9d\x7f>R\xB7KI]\x8E\xAA\xD8\xE9\xF5\xA8_\x95fP\x97\x9F=y\xF7\xF81g6\xA4d��\xBB\u{1a}\xB6\xDE\xD1-\xFE\u{1e}\xC7u0\x8B%\xB1e\xDA\x18\xA5\x9A\u{1a}\x92G\xFAY\xE3\x95>\xB7\xA2\x8EBj\xF3\xB89��\xDBr\xD9��\xA6\xE6+\xFF [ 256s] \xFE\x9D/\x04\x9B_\x04l\xBE0\x08\x10\x01\x05\xA2 A\x145\xA4\xA8!C\r\x0e58��\xA3\x06\x8F\u{1a}\x02j\x08\xA8\xA1\0\r��A\x054\xA8\x80\x06U��\xA2\x86\x0c5d\xA8\xC1\xA1\x86\u{1c}5x\xD4\xE0QC@\r\xC5oC\xFB\x02L\xCD\u{1d}\xC0\xB3>) [ 256s] endstream [ 256s] endobj [ 256s] 7 0 obj [ 256s] 222 [ 256s] endobj [ 256s] 5 0 obj [ 256s] << [ 256s] /ExtGState << [ 256s] /a0 << /CA 1 /ca 1 >> [ 256s] >> [ 256s] >> [ 256s] endobj [ 256s] 8 0 obj [ 256s] << /Type /ObjStm [ 256s] /Length 11 0 R [ 256s] /N 3 [ 256s] /First 17 [ 256s] /Filter /FlateDecode [ 256s] >> [ 256s] stream [ 256s] x\x9Ce\x91Qk\xC20\x14\x85\xDF\xFB+\xEE\xCB`{1I\x9D+\u{1d}E\xB0\x0eD\xD8@Ze\x0f\xE2C\x96]f\xD9LJ\x92\x0e\xFD\xF7\xBB\x89\xAD\x14F)\xB9\xF7\xEB\xC9\xCD9i\x0e<\x11\u{1c}D.\x92\x14R!\x92\xA2\0\xB6\xBD\xB4\x08l\xA1\xB5\xF1\t\0\xB0\xBA\xFB\xF0\x11\xBD6\xFA\xFBJ\xBC\xED\x94\xDFH\x8B\xDA��\x80*T\u{1e}\xF6\x90\xCD \xE5\x19L9\xA7q\x19\u{1c}\xE2\xB7\x05\x14E(B\xDD\x0fW\xBE1z`5\xB0]\xB5\u{1e}:*\xE1\xFE\xE8}\xEB\x9E\x19\x93d\xE2\x88v\x82gyj\x7fp\xA2\xCC\xE9!\x08\xE7\xF38\xB9\xAC!8~\x07N\x84�����\x8A\xD6��\u{1e}F\x916\xF2\x0b\xE1\x0eD\xDC��\x17\xBD\u{1a}\xD8\u{1b}~6\xB24gJ\xC1\xE9\t\x11\xC2{\x8D\xB04��\xDC\xC1\xD3M\xBF\xB2\xA6k\xFF%\x8Bt\x14lk\xA5vm8K]\x06\xBC\x06\xBA?\u{1c}\xBA%\xA9^\xF0\xB7QX\xAD\xCAQ\xB6 [ 256s] \x9D\xE9\xACB\x07\xB3\u{6d9}\xE3\x8Bw}\x90\xF8\xA3\u{1c}\xB9\u{383}\x8C\xFC\xD2\xFE?\xED\xF5t\u{1f} [ 256s] endstream [ 256s] endobj [ 256s] 11 0 obj [ 256s] 280 [ 256s] endobj [ 256s] 12 0 obj [ 256s] << /Type /ObjStm [ 256s] /Length 17 0 R [ 256s] /N 7 [ 256s] /First 42 [ 256s] /Filter /FlateDecode [ 256s] >> [ 256s] stream [ 256s] x\x9C\xADQ\xB1n\xC20\x14\xDC\xFD\x15\xB75\xA8R���TT(Ci\x97\xB6j\xA3\xC0\x86\x18\xDC`\x85\xB4\x10#\xC7\x19\xFA\xF756\x14\x90:\u{5b2}\xEC\xE7\xE7\xF7\xCEwg\x82`\x94b,X\x8A\t\xB1\x0c\x94\x13\xA3\x0cI\x9E1\u{1a}#MsF92\xB7M\xA7\xE0\x8B\xEF\xBD\x02/e\xA3z\x06\x80\xBF\xB4\xEB\u{1e}K$\x10\xA8\xB0\xF2\xA9\x99\u{1e}:\x0bbE\xE1;��\x9D\xAB8\xDC\x08d\x87\xB2CH q\x8CW\xA7\xC2\0=\xB7f\xA8\xED\xD3V\xED<\xD8\u{1c}\xFC\xB5\xED\xBE|\\\x82~\x01x��G\x03\x0b\xA7\xE1?P\x968C\xBC?<Wn\xFD\xF8\xC4��+ [ 256s] \xC7\xFAO\xB2\x0b\xA3T\xA5\xB5\r\x88����\xE0\\\xBD\x84\xF6\xA7`\xC1\x19\xA74z=\xD4\xCA \xAAek4(\xA6\xBB8G\xB4\xB1v\xDF\xDFs\u{eccd}\x91\xFBM[\xF7\xB16\xCDh\x14L6J\xDAVw\x8F\xD2*D\x89HR\x91\x8AD\xF8q+��\x9B\xA3k\xAE3i\xE5V7G\x92\xEE\xFF\x9C\x9C\x13\xBDk\u{1d}\'\x83\\\xFB\x0f\x8C��\xD8 [ 256s] endstream [ 256s] endobj [ 256s] 17 0 obj [ 256s] 284 [ 256s] endobj [ 256s] 18 0 obj [ 256s] << /Type /XRef [ 256s] /Length 72 [ 256s] /Filter /FlateDecode [ 256s] /Size 19 [ 256s] /W [1 2 2] [ 256s] /Root 16 0 R [ 256s] /Info 15 0 R [ 256s] >> [ 256s] stream [ 256s] x\x9C%\xCA\xC1\r\x800\x0cC\xD1\xEF$ \x0e\x95X\x82)`\t\xC6c\xA8n\xC1 %)\x97\'\xC7\x0e0\x86\xD1\xC0��J\x13\x97n\x10{\xA2\xB3x\xFE\x97\x89\xE4Gv~\xD5\xD9P\x11\xC5R\xAC\x8A\x9Ek\xBC\xF0\x011\x13\x05\xEF [ 256s] endstream [ 256s] endobj [ 256s] startxref [ 256s] 1251 [ 256s] %%EOF [ 256s] ``` [ 256s] [ 256s] stderr="" [ 256s] ', /home/abuild/rpmbuild/BUILD/rustc-1.67.1-src/library/core/src/ops/function.rs:507:5 [ 256s] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace [ 256s] [ 256s] ---- cmdline::rsvg_convert::pdf_has_text stdout ---- [ 256s] thread 'cmdline::rsvg_convert::pdf_has_text' panicked at 'Unexpected stdout, failed (is a PDF with "Hello world!" in its text content && is a PDF with "Hello again!" in its text content) [ 256s] ��������� is a PDF with "Hello world!" in its text content [ 256s] ��������� actual text contents: [ 256s] [ 256s] command=`"/home/abuild/rpmbuild/BUILD/librsvg-2.55.1/target/debug/rsvg-convert" "--format=pdf" "tests/fixtures/text/hello-world.svg"` [ 256s] code=0 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com