XFAIL from make check

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

XFAIL from make check

dariodematties
This post was updated on .
Hello,
I am trying to install octave 4.2.0 from source on Ubuntu 14.04.
After solving dependences and some additional problems I reached the following status from make:

Octave successfully built.  Now choose from the following:

   ./run-octave    - to run in place to test before installing
   make check      - to run the tests
   make install    - to install (PREFIX=/usr/local)

   HG ID for this build is "1c67938a15f1"

make[2]: Leaving directory `/home/dario/Downloads/octave-4.2.0'
make[1]: Leaving directory `/home/dario/Downloads/octave-4.2.0'


So, I decided to run make check and the output was:

Integrated test scripts:

  liboctave/array/Array.cc-tst ................................ PASS     21/21  
  liboctave/array/CMatrix.cc-tst .............................. PASS     11/11  
  liboctave/array/CSparse.cc-tst .............................. PASS     10/10  
  liboctave/array/Sparse.cc-tst ............................... PASS    104/104
  liboctave/array/dMatrix.cc-tst .............................. PASS     10/10  
  liboctave/array/dSparse.cc-tst .............................. PASS     12/12  
  liboctave/array/fCMatrix.cc-tst ............................. PASS     11/11  
  liboctave/array/fMatrix.cc-tst .............................. PASS      8/8  
  liboctave/array/idx-vector.cc-tst ........................... PASS      2/2  
  liboctave/util/oct-inttypes.cc-tst .......................... PASS     28/28  
  libinterp/corefcn/Cell.cc-tst ............................... PASS      4/4  
  libinterp/corefcn/__contourc__.cc-tst ....................... PASS      1/1  
  libinterp/corefcn/__dispatch__.cc-tst ....................... PASS      1/1  
  libinterp/corefcn/__dsearchn__.cc-tst ....................... PASS      1/1  
  libinterp/corefcn/__ichol__.cc-tst .......................... PASS      1/1  
  libinterp/corefcn/__ilu__.cc-tst ............................ PASS      1/1  
  libinterp/corefcn/__lin_interpn__.cc-tst .................... PASS      1/1  
  libinterp/corefcn/__magick_read__.cc-tst .................... PASS      4/4  
  libinterp/corefcn/__pchip_deriv__.cc-tst .................... PASS      1/1  
  libinterp/corefcn/__qp__.cc-tst ............................. PASS      1/1  
  libinterp/corefcn/besselj.cc-tst ............................ PASS    191/191
  libinterp/corefcn/betainc.cc-tst ............................ PASS     23/23  
  libinterp/corefcn/bitfcns.cc-tst ............................ PASS     57/57  
  libinterp/corefcn/bsxfun.cc-tst ............................. PASS     76/76  
  libinterp/corefcn/cellfun.cc-tst ............................ PASS    129/129
  libinterp/corefcn/conv2.cc-tst .............................. PASS     48/51  
                                                                  XFAIL   3
  libinterp/corefcn/dassl.cc-tst .............................. PASS      4/4  
  libinterp/corefcn/data.cc-tst ............................... PASS   1036/1036
  libinterp/corefcn/debug.cc-tst .............................. PASS      2/2  
  libinterp/corefcn/defaults.cc-tst ........................... PASS     10/10  
  libinterp/corefcn/det.cc-tst ................................ PASS      5/5  
  libinterp/corefcn/dirfns.cc-tst ............................. PASS      1/1  
  libinterp/corefcn/dlmread.cc-tst ............................ PASS     20/20  
  libinterp/corefcn/dot.cc-tst ................................ PASS     22/22  
  libinterp/corefcn/eig.cc-tst ................................ PASS     75/75  
  libinterp/corefcn/ellipj.cc-tst ............................. PASS     18/18  
  libinterp/corefcn/error.cc-tst .............................. PASS      2/2  
  libinterp/corefcn/errwarn.cc-tst ............................ PASS      1/1  
  libinterp/corefcn/fft.cc-tst ................................ PASS     19/19  
  libinterp/corefcn/fft2.cc-tst ............................... PASS      4/4  
  libinterp/corefcn/file-io.cc-tst ............................ PASS     81/81  
  libinterp/corefcn/filter.cc-tst ............................. PASS     14/14  
  libinterp/corefcn/find.cc-tst ............................... PASS     16/16  
  libinterp/corefcn/gammainc.cc-tst ........................... PASS      4/4  
  libinterp/corefcn/gcd.cc-tst ................................ PASS      9/9  
  libinterp/corefcn/getrusage.cc-tst .......................... PASS      1/1  
  libinterp/corefcn/givens.cc-tst ............................. PASS      6/6  
  libinterp/corefcn/graphics.cc-tst ........................... PASS     39/39  
  libinterp/corefcn/hash.cc-tst ............................... PASS     53/53  
  libinterp/corefcn/help.cc-tst ............................... PASS      1/1  
  libinterp/corefcn/hess.cc-tst ............................... PASS      5/5  
  libinterp/corefcn/hex2num.cc-tst ............................ PASS      7/7  
  libinterp/corefcn/input.cc-tst .............................. PASS     20/20  
  libinterp/corefcn/inv.cc-tst ................................ PASS      7/7  
  libinterp/corefcn/kron.cc-tst ............................... PASS     14/14  
  libinterp/corefcn/lookup.cc-tst ............................. PASS     20/20  
  libinterp/corefcn/lsode.cc-tst .............................. PASS      5/5  
  libinterp/corefcn/lu.cc-tst ................................. PASS     22/22  
  libinterp/corefcn/mappers.cc-tst ............................ PASS    401/401
  libinterp/corefcn/matrix_type.cc-tst ........................ PASS     51/51  
  libinterp/corefcn/max.cc-tst ................................ PASS    110/114
                                                                  XFAIL   4
  libinterp/corefcn/mgorth.cc-tst ............................. PASS      2/2  
  libinterp/corefcn/nproc.cc-tst .............................. PASS      5/5  
  libinterp/corefcn/oct-map.cc-tst ............................ PASS      8/8  
  libinterp/corefcn/ordschur.cc-tst ........................... PASS      4/4  
  libinterp/corefcn/pinv.cc-tst ............................... PASS      9/9  
  libinterp/corefcn/pr-output.cc-tst .......................... PASS      9/9  
  libinterp/corefcn/psi.cc-tst ................................ PASS     30/30  
  libinterp/corefcn/quad.cc-tst ............................... PASS      8/8  
  libinterp/corefcn/quadcc.cc-tst ............................. PASS     19/19  
  libinterp/corefcn/qz.cc-tst ................................. PASS      4/4  
  libinterp/corefcn/rand.cc-tst ............................... PASS     63/63  
  libinterp/corefcn/rcond.cc-tst .............................. PASS      8/8  
  libinterp/corefcn/regexp.cc-tst ............................. PASS    107/107
  libinterp/corefcn/schur.cc-tst .............................. PASS     11/11  
  libinterp/corefcn/sighandlers.cc-tst ........................ PASS      9/9  
  libinterp/corefcn/sparse-xpow.cc-tst ........................ PASS      1/2  
                                                                  XFAIL   1
  libinterp/corefcn/spparms.cc-tst ............................ PASS      9/9  
  libinterp/corefcn/sqrtm.cc-tst .............................. PASS      3/3  
  libinterp/corefcn/str2double.cc-tst ......................... PASS     31/31  
  libinterp/corefcn/strfind.cc-tst ............................ PASS     19/19  
  libinterp/corefcn/strfns.cc-tst ............................. PASS     86/86  
  libinterp/corefcn/sub2ind.cc-tst ............................ PASS     31/31  
  libinterp/corefcn/svd.cc-tst ................................ PASS     19/19  
  libinterp/corefcn/sylvester.cc-tst .......................... PASS      9/9  
  libinterp/corefcn/symtab.cc-tst ............................. PASS      7/7  
  libinterp/corefcn/syscalls.cc-tst ........................... PASS      6/6  
  libinterp/corefcn/sysdep.cc-tst ............................. PASS      8/8  
  libinterp/corefcn/time.cc-tst ............................... PASS     27/27  
  libinterp/corefcn/toplev.cc-tst ............................. PASS      7/7  
  libinterp/corefcn/tril.cc-tst ............................... PASS      2/2  
  libinterp/corefcn/tsearch.cc-tst ............................ PASS      6/6  
  libinterp/corefcn/typecast.cc-tst ........................... PASS     59/59  
  libinterp/corefcn/utils.cc-tst .............................. PASS     90/90  
  libinterp/corefcn/variables.cc-tst .......................... PASS     33/33  
  libinterp/dldfcn/__delaunayn__.cc-tst ....................... PASS      1/1  
  libinterp/dldfcn/__eigs__.cc-tst ............................ PASS      1/1  
  libinterp/dldfcn/__fltk_uigetfile__.cc-tst .................. PASS      1/1  
  libinterp/dldfcn/__glpk__.cc-tst ............................ PASS      1/1  
  libinterp/dldfcn/__init_fltk__.cc-tst ....................... PASS      1/1  
  libinterp/dldfcn/__init_gnuplot__.cc-tst .................... PASS      1/1  
  libinterp/dldfcn/__osmesa_print__.cc-tst ....................panic: Segmentation fault -- stopping myself...
octave exited with signal 11
make[3]: Leaving directory `/home/dario/Downloads/octave-4.2.0'
make[2]: Leaving directory `/home/dario/Downloads/octave-4.2.0'
make[1]: Leaving directory `/home/dario/Downloads/octave-4.2.0'


My questions are:
Is it normal to have those XFAIL instances in the test?
Should it have been a perfect check? In such case: How do I proceed in order fix the XFAILs?
What about the panic: Segmentation fault?

Thanks in advance
Reply | Threaded
Open this post in threaded view
|

Re: XFAIL frommake check

Andreas Weber-6
Am 24.01.2017 um 04:00 schrieb dariodematties:
> My questions are:
> Is it normal to have those XFAIL instances in the test?

The XFAIL are eXpected FAILs, so yes, it's okay.

> What about the panic: Segmentation fault?

OSMesa needs a MESA based graphic driver for your GPU. It looks like
you're using a proprietary NVIDIA driver? In this case you can run
configure with --without-osmesa

HTH, Andy

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: XFAIL frommake check

dariodematties
Thank you Andreas,

I run the following commands in order to get my video driver information:

dario@dario-Lenovo-G460:~$ sudo lshw -c video
  *-display              
       description: VGA compatible controller
       product: Core Processor Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 02
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:28 memory:d0000000-d03fffff memory:c0000000-cfffffff ioport:5050(size=8)


Then a used:

dario@dario-Lenovo-G460:~$ modinfo i915
filename:       /lib/modules/4.4.0-59-generic/kernel/drivers/gpu/drm/i915/i915.ko
license:        GPL and additional rights
description:    Intel Graphics
author:         Intel Corporation
author:         Tungsten Graphics, Inc.
firmware:       i915/bxt_dmc_ver1.bin
firmware:       i915/skl_dmc_ver1.bin
firmware:       i915/skl_guc_ver4.bin
srcversion:     848EC0D5D7BE96B7090D803
---striped information for saving space---
intree:         Y
vermagic:       4.4.0-59-generic SMP mod_unload modversions
parm:           modeset:Use kernel modesetting [KMS] (0=disable, 1=on, -1=force vga console preference [default]) (int)
parm:           panel_ignore_lid:Override lid status (0=autodetect, 1=autodetect disabled [default], -1=force lid closed, -2=force lid open) (int)
parm:           semaphores:Use semaphores for inter-ring sync (default: -1 (use per-chip defaults)) (int)
parm:           enable_rc6:Enable power-saving render C-state 6. Different stages can be selected via bitmask values (0 = disable; 1 = enable rc6; 2 = enable deep rc6; 4 = enable deepest rc6). For example, 3 would enable rc6 and deep rc6, and 7 would enable everything. default: -1 (use per-chip default) (int)
parm:           enable_fbc:Enable frame buffer compression for power savings (default: -1 (use per-chip default)) (int)
parm:           lvds_channel_mode:Specify LVDS channel mode (0=probe BIOS [default], 1=single-channel, 2=dual-channel) (int)
parm:           lvds_use_ssc:Use Spread Spectrum Clock with panels [LVDS/eDP] (default: auto from VBT) (int)
parm:           vbt_sdvo_panel_type:Override/Ignore selection of SDVO panel mode in the VBT (-2=ignore, -1=auto [default], index in VBT BIOS table) (int)
parm:           reset:Attempt GPU resets (default: true) (bool)
parm:           enable_hangcheck:Periodically check GPU activity for detecting hangs. WARNING: Disabling this can cause system wide hangs. (default: true) (bool)
parm:           enable_ppgtt:Override PPGTT usage. (-1=auto [default], 0=disabled, 1=aliasing, 2=full) (int)
parm:           enable_execlists:Override execlists usage. (-1=auto [default], 0=disabled, 1=enabled) (int)
parm:           enable_psr:Enable PSR (default: false) (int)
parm:           preliminary_hw_support:Enable preliminary hardware support. (int)
parm:           disable_power_well:Disable display power wells when possible (-1=auto [default], 0=power wells always on, 1=power wells disabled when possible) (int)
parm:           enable_ips:Enable IPS (default: true) (int)
parm:           fastboot:Try to skip unnecessary mode sets at boot time (default: false) (bool)
parm:           prefault_disable:Disable page prefaulting for pread/pwrite/reloc (default:false). For developers only. (bool)
parm:           load_detect_test:Force-enable the VGA load detect code for testing (default:false). For developers only. (bool)
parm:           invert_brightness:Invert backlight brightness (-1 force normal, 0 machine defaults, 1 force inversion), please report PCI device ID, subsystem vendor and subsystem device ID to dri-devel@lists.freedesktop.org, if your machine needs it. It will then be included in an upcoming module version. (int)
parm:           disable_display:Disable display (default: false) (bool)
parm:           disable_vtd_wa:Disable all VT-d workarounds (default: false) (bool)
parm:           enable_cmd_parser:Enable command parsing (1=enabled [default], 0=disabled) (int)
parm:           use_mmio_flip:use MMIO flips (-1=never, 0=driver discretion [default], 1=always) (int)
parm:           mmio_debug:Enable the MMIO debug code for the first N failures (default: off). This may negatively affect performance. (int)
parm:           verbose_state_checks:Enable verbose logs (ie. WARN_ON()) in case of unexpected hw state conditions. (bool)
parm:           nuclear_pageflip:Force atomic modeset functionality; asynchronous mode is not yet supported. (default: false). (bool)
parm:           edp_vswing:Ignore/Override vswing pre-emph table selection from VBT (0=use value from vbt [default], 1=low power swing(200mV),2=default swing(400mV)) (int)
parm:           enable_guc_submission:Enable GuC submission (default:false) (bool)
parm:           guc_log_level:GuC firmware logging level (-1:disabled (default), 0-3:enabled) (int)


To tell you the truth, I don't know how to interpret that information.
Yet, it seems there is no NVIDIA tag there.
What is the best way to proceed?

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: XFAIL frommake check

Andreas Weber-6
Hi dariodematties,
Am 24.01.2017 um 14:33 schrieb dariodematties:
> To tell you the truth, I don't know how to interpret that information.
> Yet, it seems there is no NVIDIA tag there.
> What is the best way to proceed?

I also use the i915 driver without problems. Perhaps you've hit this bug?

https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1551028

But nevertheless: Do you need offscreen printing wit OpenGL toolkits
(fltk and qt)? If no just disable it when running configure or you may
try to build osmesa from source.

HTH, Andy

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: XFAIL frommake check

dariodematties
This post was updated on .
Thanks Andreas,

I run ./configure --without-osmesa and then make.

Octave successfully built.  Now choose from the following:

   ./run-octave    - to run in place to test before installing
   make check      - to run the tests
   make install    - to install (PREFIX=/usr/local)

   HG ID for this build is "1c67938a15f1"

make[2]: Leaving directory `/home/dario/Downloads/octave-4.2.0'
make[1]: Leaving directory `/home/dario/Downloads/octave-4.2.0'


Everything seems to be ok so far.
Yet, when I run make check, I keep getting:
libinterp/dldfcn/__osmesa_print__.cc-tst ....................panic: Segmentation fault -- stopping myself...
octave exited with signal 11


Should I try with make distclean?

In fact, I used make distclean and ./configure --without-osmesa, make
and then make check again. I got the same error.

Help will be highly appreciated,

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: XFAIL frommake check

Andreas Weber-6
Am 24.01.2017 um 22:06 schrieb dariodematties:
> I run *./configure --without-osmesa* and then *make*.
> ...
> *libinterp/dldfcn/__osmesa_print__.cc-tst ....................panic:
>

have you run "make clean" before? Btw, I always suggest to build out of
the source directory. Let's assume your source is in ~/octave-src
then I would:

cd
mkdir octave-build
cd octave-build
../octave-src/configure --without-osmesa
make -j 4

(or whatever nproc returns)

-- Andy

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: XFAIL frommake check

dariodematties
Thanks Andreas,
I did what you suggested.
I am in ~/Downloads.
Inside of ~/Downloads is octave-4.2.0 (sources).
Then mkdir octave-build.
then cd octave-build and then
../octave-4.2.0/configure --without-osmesa
I've just realized about the following message from ../octave-4.2.0/configure --without-osmesa:
configure: WARNING: unrecognized options: --without-osmesa
How to proceed now?

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: XFAIL frommake check

Andreas Weber-6
Am 25.01.2017 um 20:04 schrieb dariodematties:
> then *cd octave-build* and then
> *../octave-4.2.0/configure --without-osmesa*
> I've just realized about the following message from
> *../octave-4.2.0/configure --without-osmesa*:
> *configure: WARNING: unrecognized options: --without-osmesa*
> How to proceed now?

I'm a little bit puzzled because the many * in your output.
Of course the call to configure has to be:

../octave-4.2.0/configure --without-osmesa

without * at the end

what does "../octave-4.2.0/configure --help | grep osmesa"
without quotes return when executed?
-- Andy

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: XFAIL frommake check

dariodematties
This post was updated on .
Ok Andreas, I applied
../octave-4.2.0/configure --without-OSMesa (not osmesa)
It worked fine!

Thanks a lot
Reply | Threaded
Open this post in threaded view
|

Re: XFAIL frommake check

Andreas Weber-6
Am 25.01.2017 um 20:31 schrieb dariodematties:
> The command
> ../octave-4.2.0/configure --help | grep osmesa
>  returns nothing

This is strange. The corresponding entry in configure.ac is here
http://hg.savannah.gnu.org/hgweb/octave/file/bc601e5137c5/configure.ac#l1808

How have you got your sourcecode? Cloning the hg repo or downloading the
tarball from https://ftp.gnu.org/gnu/octave/ or from ubuntu?
-- Andy

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: XFAIL frommake check

Petri Piila
Try ../octave-4.2.0/configure --help | grep OSMesa with capitals OSM.




> On 26 Jan 2017, at 7.02, Andreas Weber <[hidden email]> wrote:
>
> Am 25.01.2017 um 20:31 schrieb dariodematties:
>> The command
>> ../octave-4.2.0/configure --help | grep osmesa
>> returns nothing
>
> This is strange. The corresponding entry in configure.ac is here
> http://hg.savannah.gnu.org/hgweb/octave/file/bc601e5137c5/configure.ac#l1808
>
> How have you got your sourcecode? Cloning the hg repo or downloading the
> tarball from https://ftp.gnu.org/gnu/octave/ or from ubuntu?
> -- Andy
>
> _______________________________________________
> Help-octave mailing list
> [hidden email]
> https://lists.gnu.org/mailman/listinfo/help-octave


_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: XFAIL frommake check

dariodematties
Thanks Petri and Andreas, I already have tried with OSMesa and it worked well.
I posted it editing my last message in the forum.
I should have replied instead of editing.
Excuse me.
Thanks a lot!

Dario