Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧑‍🌾 Gz gui main tests failing due to no screens available and subprocess aborted #557

Open
Crola1702 opened this issue Jul 27, 2023 · 0 comments
Labels
bug Something isn't working 🎵 harmonic Gazebo Harmonic

Comments

@Crola1702
Copy link

Environment

  • OS Version: MacOS CI version
  • Source gz-gui main build

Description

  • Expected behavior: All test should pass
  • Actual behavior: There are 8 tests failing because of Subprocess Aborted

Steps to reproduce

  1. Run a build in gz-gui_ci-main
  2. See tests fail

Output

Reference build: https://build.osrfoundation.org/job/ignition_gui-ci-main-homebrew-amd64/81/

Test regressions:

Log output:

There are a lot of warnings at the build stage. Here is the first one:

/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h:200:77: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
CFDataRef SecCertificateCopySerialNumberData(SecCertificateRef certificate, CFErrorRef *error)
                                                                            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h:200:77: note: insert '_Nullable' if the pointer may be null
CFDataRef SecCertificateCopySerialNumberData(SecCertificateRef certificate, CFErrorRef *error)
                                                                            ^
                                                                                       _Nullable
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h:200:77: note: insert '_Nonnull' if the pointer should never be null
CFDataRef SecCertificateCopySerialNumberData(SecCertificateRef certificate, CFErrorRef *error)
                                                                            ^
                                                                                       _Nonnull
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h:200:88: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
CFDataRef SecCertificateCopySerialNumberData(SecCertificateRef certificate, CFErrorRef *error)
                                                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h:200:88: note: insert '_Nullable' if the pointer may be null
CFDataRef SecCertificateCopySerialNumberData(SecCertificateRef certificate, CFErrorRef *error)
                                                                                       ^
                                                                                         _Nullable 
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h:200:88: note: insert '_Nonnull' if the pointer should never be null
CFDataRef SecCertificateCopySerialNumberData(SecCertificateRef certificate, CFErrorRef *error)
                                                                                       ^
                                                                                         _Nonnull 
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h:224:73: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
CFDataRef SecCertificateCopySerialNumber(SecCertificateRef certificate, CFErrorRef *error)
                                                                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h:224:73: note: insert '_Nullable' if the pointer may be null
CFDataRef SecCertificateCopySerialNumber(SecCertificateRef certificate, CFErrorRef *error)
                                                                        ^
                                                                                   _Nullable
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h:224:73: note: insert '_Nonnull' if the pointer should never be null
CFDataRef SecCertificateCopySerialNumber(SecCertificateRef certificate, CFErrorRef *error)
                                                                        ^
                                                                                   _Nonnull
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h:224:84: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
CFDataRef SecCertificateCopySerialNumber(SecCertificateRef certificate, CFErrorRef *error)
                                                                                   ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h:224:84: note: insert '_Nullable' if the pointer may be null
CFDataRef SecCertificateCopySerialNumber(SecCertificateRef certificate, CFErrorRef *error)
                                                                                   ^
                                                                                     _Nullable 
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h:224:84: note: insert '_Nonnull' if the pointer should never be null
CFDataRef SecCertificateCopySerialNumber(SecCertificateRef certificate, CFErrorRef *error)

In the failing tests you can see Cannot create window: no screens available in each failing test:

test 21
      Start 21: UNIT_ImageDisplay_TEST
...
21: PasteBoard: Error creating pasteboard: com.apple.pasteboard.clipboard [-4960]
21: PasteBoard: Error creating pasteboard: com.apple.pasteboard.find [-4960]
21: no screens available, assuming 24-bit color
21: [GUI] [Wrn] [Application.cc:932] [QT] Populating font family aliases took 210 ms. Replace uses of missing font family "Roboto" with one that exists to avoid this cost. 
21: [GUI] [Err] [Application.cc:936] [QT] Cannot create window: no screens available
...
21/56 Test #21: UNIT_ImageDisplay_TEST ......................Subprocess aborted***Exception:   1.10 sec
@Crola1702 Crola1702 added bug Something isn't working 🎵 harmonic Gazebo Harmonic labels Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🎵 harmonic Gazebo Harmonic
Projects
Status: To do
Development

No branches or pull requests

1 participant