FTBFS on Ubuntu Vivid due to hang in test-json-instruction

Bug #1429291 reported by Stephen M. Webb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libdbusmenu (Ubuntu)
Triaged
Critical
Unassigned

Bug Description

Builds hang after test-json completion.

From a sample log:

make[4]: Entering directory '/tmp/buildd/libdbusmenu-12.10.3+14.10.20140610/builddir/gtk2/tests'
make[5]: Entering directory '/tmp/buildd/libdbusmenu-12.10.3+14.10.20140610/builddir/gtk2/tests'
PASS: test-glib-objects-test
PASS: test-glib-events
PASS: test-glib-events-nogroup
PASS: test-glib-layout
PASS: test-glib-properties
PASS: test-glib-proxy
PASS: test-glib-simple-items
PASS: test-glib-submenu
PASS: test-json

Tags: ftbfs

Related branches

Revision history for this message
Stephen M. Webb (bregma) wrote :
tags: added: ftbfs s390x
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Disabled the test for now, to continue with s390x bootstrap.

libdbusmenu (12.10.3+15.04.20150410.2-0ubuntu2) xenial; urgency=high

  * Disable test-json-instruction, hangs on buildds, see launchpad bug
    1429291.

 -- Dimitri John Ledkov <email address hidden> Mon, 07 Dec 2015 10:13:22 +0000

tags: removed: s390x
Revision history for this message
Kakarot (ahsanghaffar101) wrote :

Here are a few steps to troubleshoot and potentially resolve this issue:

1. Check for Known Issues:
Verify if there are any known issues or bug reports related to test-json or test-json-instruction for libdbusmenu on Ubuntu Vivid. Sometimes, specific tests may have known problems that are documented.

2. Run the Test Manually:
Try running the test-json-instruction manually to see if it provides any more detailed output or logs that could indicate why it is hanging. You can navigate to the test directory and run the test directly:

cd /tmp/buildd/libdbusmenu-12.10.3+14.10.20140610/builddir/gtk2/tests
./test-json-instruction

Observe any errors or hanging behavior.

3.Increase Verbosity:
Increase the verbosity of the test execution to gather more detailed logs. This can often be done by setting environment variables or modifying the test invocation. For example, setting G_DEBUG or DBUS_VERBOSE might provide more insights:

export G_DEBUG=all
export DBUS_VERBOSE=1
./test-json-instruction

4.Timeout Handling:
Implement a timeout mechanism to prevent the test from hanging indefinitely. You can use tools like timeout in Linux to limit the execution time of the test:

timeout 300s ./test-json-instruction

This will terminate the test if it runs for more than 5 minutes.

5.Debugging Tools:
Use debugging tools like gdb to attach to the test process and see where it is hanging:

gdb --args ./test-json-instruction

Once inside gdb, you can run the test and interrupt it when it hangs to inspect the call stack:

run
^C
backtrace

6. Update Dependencies:

Ensure that all dependencies for libdbusmenu are up to date. Sometimes issues arise from outdated libraries or tools. You can update your system packages using:

sudo apt-get update
sudo apt-get upgrade

7. Isolate the Test:
Isolate the test-json-instruction from the rest of the build process to see if it hangs independently. This can help determine if the issue is with the test itself or how it interacts with the build environment.

8. Consult Documentation and Community:
Look into the libdbusmenu documentation or reach out to the community for advice. The developers or other users may have encountered and resolved similar issues.

By following these steps, you should be able to gather more information about why the test-json-instruction is hanging and find a suitable resolution. If the issue persists, consider filing a bug report with detailed logs and findings.

If none of these steps resolve the issue, you might need to gather more information about your https://ssoidloginrajasthan.in/

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.