Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911320 - app-emulation/ruffle-0_p20230724 fails test - test .../displacement_map_through_applyFilter FAILED
Summary: app-emulation/ruffle-0_p20230724 fails test - test .../displacement_map_throu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords: TESTFAILURE
: 911308 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-07-27 16:46 UTC by Toralf Förster
Modified: 2023-07-28 14:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.73 KB, text/plain)
2023-07-27 16:46 UTC, Toralf Förster
Details
app-emulation:ruffle-0_p20230724:20230727-023534.log.xz (app-emulation:ruffle-0_p20230724:20230727-023534.log.xz,62.01 KB, application/x-xz)
2023-07-27 16:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,167.38 KB, text/plain)
2023-07-27 16:46 UTC, Toralf Förster
Details
environment (environment,208.56 KB, text/plain)
2023-07-27 16:46 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,784 bytes, application/x-xz)
2023-07-27 16:46 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,12.96 KB, application/x-xz)
2023-07-27 16:46 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,6.79 KB, application/x-xz)
2023-07-27 16:46 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,91.95 KB, application/x-xz)
2023-07-27 16:46 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-07-27 16:46:09 UTC

', /var/tmp/portage/app-emulation/ruffle-0_p20230724/work/cargo_home/gentoo/wgpu-0.16.2/src/backend/direct.rs:3019:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
test visual/filters/color_matrix                                   ... ok
test visual/filters/blur_size_grows                                ... ok
test visual/filters/displacement_map_through_applyFilter           ... FAILED
test visual/filters/blur_scales_with_screen                        ... ok
[ERROR wgpu::backend::direct] Shader translation error for stage ShaderStages(VERTEX): 0:34(30): error: syntax error, unexpected PACKED_TOK, expecting ')'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_test-20230723-154051

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.71.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
2)	Eclipse Temurin JRE 11.0.19_p7 [openjdk-jre-bin-11]
3)	Eclipse Temurin JRE 17.0.7_p7 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-jre-bin-11 
  [3]   openjdk-jre-bin-17 

php cli (if any):
go version go1.20.6 linux/amd64

  HEAD of ::gentoo
commit 7e81c93bf4b06290f6a0fb0c8de19abaa2942aa6
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jul 26 23:21:33 2023 +0000

    2023-07-26 23:21:32 UTC

emerge -qpvO app-emulation/ruffle
[ebuild  N    ] app-emulation/ruffle-0_p20230724  USE="test -debug"
Comment 1 Toralf Förster gentoo-dev 2023-07-27 16:46:10 UTC
Created attachment 866402 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-07-27 16:46:11 UTC
Created attachment 866403 [details]
app-emulation:ruffle-0_p20230724:20230727-023534.log.xz
Comment 3 Toralf Förster gentoo-dev 2023-07-27 16:46:13 UTC
Created attachment 866404 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-07-27 16:46:14 UTC
Created attachment 866405 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-07-27 16:46:15 UTC
Created attachment 866406 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-07-27 16:46:16 UTC
Created attachment 866407 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-07-27 16:46:17 UTC
Created attachment 866408 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-07-27 16:46:18 UTC
Created attachment 866409 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2023-07-27 16:46:19 UTC
The file size of ./files/tests.tar.xz is too big (57M) for an upload. For few weeks the link http://tinderbox.zwiebeltoralf.de:31560/17.1_desktop_gnome_test-20230723-154051/var/tmp/tb/issues/20230727-024439-app-emulation_ruffle-0_p20230724/files/tests.tar.xz is valid.
Comment 10 Ionen Wolkens gentoo-dev 2023-07-27 20:00:41 UTC
*** Bug 911308 has been marked as a duplicate of this bug. ***
Comment 11 Ionen Wolkens gentoo-dev 2023-07-27 20:10:16 UTC
Hm, tests still passes for me, but it seems it's auto-skipping the failing tests on my end, e.g.:
test visual/filters/displacement_map_through_applyFilter           ... ignored

Suspect that skipping is right given software rendering is being used here, so will need to figure out why it's suddenly starting to run that.

Haven't looked closer yet.
Comment 12 Ionen Wolkens gentoo-dev 2023-07-27 23:19:00 UTC
I got curious why the log has XDG_RUNTIME_DIR errors that I do not see in my own test log. Turns out it's coming from libwayland-client.so which I did not have around in my test chroot (minimal with Xvfb only).

Unsurprisingly wayland tests are failing with Xvfb (setting XDG_RUNTIME_DIR changes nothing).
Comment 13 Ionen Wolkens gentoo-dev 2023-07-28 00:56:25 UTC
(In reply to Ionen Wolkens from comment #12)
> I got curious why the log has XDG_RUNTIME_DIR errors that I do not see in my
> own test log. Turns out it's coming from libwayland-client.so which I did
> not have around in my test chroot (minimal with Xvfb only).
Ok, was not what I thought it was, XDG stuff did come from wayland but that was a non-issue.

I keep a very minimal mesa given everything is done through nvidia-drivers on my system, and turns out need USE=gles2 on mesa to reproduce. Which I happened to enable while checking for wayland stuff.

My impression is still that this is software rendering limitations, and likely not worth worrying about. Going to unconditionally skip for now, and add xdg_env_reset for the XDG_ noise wrt wayland.
Comment 14 Larry the Git Cow gentoo-dev 2023-07-28 01:09:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68f29b36abe7cdd02ce86955b8e6e00c23a36485

commit 68f29b36abe7cdd02ce86955b8e6e00c23a36485
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-07-28 01:05:29 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-07-28 01:08:54 +0000

    app-emulation/ruffle: skip displacement_map tests + use xdg reset
    
    Note that this skips all 4 failing tests, it's matching on substring.
    
    Closes: https://bugs.gentoo.org/911320
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 app-emulation/ruffle/ruffle-0_p20230724.ebuild | 11 ++++++++++-
 app-emulation/ruffle/ruffle-9999.ebuild        | 11 ++++++++++-
 2 files changed, 20 insertions(+), 2 deletions(-)
Comment 15 Larry the Git Cow gentoo-dev 2023-07-28 14:47:45 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f81003f4fb36e13db393c29cead0a67d2f3cbc02

commit f81003f4fb36e13db393c29cead0a67d2f3cbc02
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-07-28 10:33:34 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-07-28 14:47:24 +0000

    app-emulation/ruffle: always skip renderer tests
    
    Too volatile, hopefully should be the last see of these.
    
    Also drop virtualx at same time, not that it was needed (anymore)
    even for renderer tests given upstream fixed usage with headless.
    
    Bug: https://bugs.gentoo.org/911320
    Close: https://bugs.gentoo.org/911367
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../ruffle-0_p20230724-skip-render-tests.patch     | 16 ++++++++++++++
 app-emulation/ruffle/ruffle-0_p20230724.ebuild     | 25 ++++++----------------
 app-emulation/ruffle/ruffle-9999.ebuild            | 25 ++++++----------------
 3 files changed, 30 insertions(+), 36 deletions(-)