octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: octave image test failures with octave 4.0.1


From: Orion Poplawski
Subject: Re: octave image test failures with octave 4.0.1
Date: Thu, 24 Mar 2016 17:25:32 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0

On 03/23/2016 08:38 PM, Carnë Draug wrote:
> On 23 March 2016 at 15:29, Orion Poplawski <address@hidden> wrote:
>> I've updated octave to 4.0.1 in Fedora Rawhide.  Now octave-image builds are
>> failing running the tests.  See
>> https://kojipkgs.fedoraproject.org/work/tasks/2849/13432849/build.log
>> for full logs.
>>
>>   graythresh.m ...........................................warning: Octave
>> language extension used: ! used as operator near line 93 offile
>> /usr/share/octave/4.0.1/m/plot/draw/hist.m
>> warning: Octave language extension used: ++ used as operator near line 107
>> offile /usr/share/octave/4.0.1/m/plot/draw/hist.m
>> warning: Octave language extension used: != x)) used as operator near line
>> 120 offile /usr/share/octave/4.0.1/m/plot/draw/hist.m
>> warning: Octave language extension used: ! used as operator near line 142
>> offile /usr/share/octave/4.0.1/m/plot/draw/hist.m
>> warning: Octave language extension used: ! used as operator near line 157
>> offile /usr/share/octave/4.0.1/m/plot/draw/hist.m
>> warning: Octave language extension used: ++ used as operator near line 159
>> offile /usr/share/octave/4.0.1/m/plot/draw/hist.m
>> warning: Octave language extension used: ! used as operator near line 160
>> offile /usr/share/octave/4.0.1/m/plot/draw/hist.m
>> warning: comparing complex numbers is not supported in Matlab
>> warning: comparing complex numbers is not supported in Matlab
>> panic: impossible state reached in file 'corefcn/error.cc' at line 1470
>> panic: Aborted -- stopping myself...
>> attempting to save variables to 'octave-workspace'...
>> save to 'octave-workspace' complete
>> /var/tmp/rpm-tmp.TahDd0: line 32:   724 Aborted                 (core
>> dumped) octave -H -q --no-window-system --no-site-file --eval
>> "warning('off','all');pkg('prefix','/builddir/build/BUILDROOT/octave-image-2.4.1-1.fc25.i386/usr/share/octave/packages','/builddir/build/BUILDROOT/octave-image-2.4.1-1.fc25.i386/usr/lib/octave/packages');pkg('global_list',fullfile('/builddir/build/BUILDROOT/octave-image-2.4.1-1.fc25.i386/usr/share/octave','octave_packages'));pkg('local_list',fullfile('/builddir/build/BUILDROOT/octave-image-2.4.1-1.fc25.i386/usr/share/octave','octave_packages'));pkg('install','-nodeps','-verbose','/var/tmp/octave-image-2.4.1-1.fc25.i386/image-2.4.1.tar.gz');pkg('load','image');runtests('/builddir/build/BUILDROOT/octave-image-2.4.1-1.fc25.i386/usr/share/octave/packages/image-2.4.1');unlink(pkg('local_list'));unlink(pkg('global_list'));"
>>
>> Is anyone else seeing this?
>>
>> There were a couple of other updates in addition to octave, so it may be
>> something else triggering it.
>>
> 
> I don't see this.  Is the image package the only package where this happens?

Seems to only be in the image package - but it's the image test that is
failing, so...

> All the warnings I see is about Matlab compatibility (use of Octave unique
> operators).
> 
> I see that it's disabling all warnings (obviously not working) before running
> the tests.  Why is that?

Something of an artifact of the Fedora octave package install macro.  At one
point perhaps it turned off some cruft from pkg.  Doesn't appear to do so now
so I guess I'll drop it.

> On a side note, you can use double quotes so instead of:
> 
>     --eval 'warning('\''off'\'','\''all'\'');pkg('\''prefix'\'', ...
> 
> you could write:
> 
>     --eval 'warning("off","all");pkg("prefix", ...

Hm, that does make the set -x quoting a little nicer.  Thanks.


Okay, with warnings no longer disabled, it appears to run okay.  Put that in
your pipe and smoke it.

+ octave -H -q --no-window-system --no-site-file --eval
'pkg("prefix","/scratch/orion/redhat/BUILDROOT/octave-image-2.4.1-1.fc25.x86_64/usr/share/octave/packages","/scratch/orion/redhat/BUILDROOT/octave-image-2.4.1-1.fc25.x86_64/usr/lib64/octave/packages");pkg("global_list",fullfile("/scratch/orion/redhat/BUILDROOT/octave-image-2.4.1-1.fc25.x86_64/usr/share/octave","octave_packages"));pkg("local_list",fullfile("/scratch/orion/redhat/BUILDROOT/octave-image-2.4.1-1.fc25.x86_64/usr/share/octave","octave_packages"));pkg("install","-nodeps","-verbose","/tmp/rpm/octave-image-2.4.1-1.fc25.x86_64/image-2.4.1.tar.gz");pkg("load","image");runtests("/scratch/orion/redhat/BUILDROOT/octave-image-2.4.1-1.fc25.x86_64/usr/share/octave/packages/image-2.4.1");unlink(pkg("local_list"));unlink(pkg("global_list"));'
mkdir (/tmp/oct-Slo7g2)
untar (/tmp/rpm/octave-image-2.4.1-1.fc25.x86_64/image-2.4.1.tar.gz,
/tmp/oct-Slo7g2)
warning: doc_cache_create: unusable help text found in file 'on_uninstall'
For information about changes from previous versions of the image package, run
'news image'.
Processing files in
/var/tmp/orion/redhat/BUILDROOT/octave-image-2.4.1-1.fc25.x86_64/usr/share/octave/packages/image-2.4.1:

  applylut.m ............................................. PASS    3/3
  bestblk.m .............................................. PASS   12/12
  blockproc.m ............................................ PASS   12/12
  bwareafilt.m ........................................... PASS    8/8
  bweuler.m .............................................. PASS    2/2
  bwhitmiss.m ............................................ PASS    1/1
  bwmorph.m .............................................. PASS   11/13   FAIL 2
  bwperim.m .............................................. PASS   11/11
  col2im.m ............................................... PASS   15/15
  colfilt.m .............................................. PASS    1/1
  cp2tform.m ............................................. PASS    7/7
  edgetaper.m ............................................ PASS    2/2
  fftconv2.m ............................................. PASS    2/2
  fftconvn.m ............................................. PASS   11/11
  findbounds.m ........................................... PASS    1/1
  fspecial.m ............................................. PASS    2/2
  getrangefromclass.m .................................... PASS    7/7
  grayslice.m ............................................ PASS    8/8
  graythresh.m ........................................... PASS    9/9
  histeq.m ............................................... PASS    7/22   FAIL 
15
  im2bw.m ................................................warning: im2bw: IMG
is already binary so nothing is done
warning: im2bw: IMG is already binary so nothing is done
warning: im2bw: IMG is already binary so nothing is done
 PASS    5/5
  im2col.m ............................................... PASS   28/28
  im2double.m ............................................ PASS   12/12
  im2int16.m ............................................. PASS    9/9
  im2single.m ............................................ PASS   12/12
  im2uint16.m ............................................ PASS   16/16
  im2uint8.m ............................................. PASS   17/17
  imabsdiff.m ............................................ PASS    6/6
  imadd.m ................................................ PASS    6/6
  imadjust.m ............................................. PASS   26/26
  imattributes.m .........................................warning: your
version of GraphicsMagick limits images to 16 bits per pixel
 PASS    4/5    FAIL 1
  imbothat.m ............................................. PASS    8/8
  imcast.m ............................................... PASS    9/9
  imclearborder.m ........................................ PASS    2/2
  imclose.m .............................................. PASS    5/5
  imcomplement.m ......................................... PASS   14/14
  imcrop.m ............................................... PASS    6/6
  imdivide.m ............................................. PASS    6/6
  imgradient.m ........................................... PASS    1/1
  imgradientxy.m ......................................... PASS    1/1
  imhist.m ............................................... PASS    5/5
  imlincomb.m ............................................ PASS    2/2
  immse.m ................................................ PASS    6/6
  immultiply.m ........................................... PASS    5/5
  imnoise.m .............................................. PASS    7/7
  imopen.m ............................................... PASS    5/5
  impixel.m .............................................. PASS    9/9
  imregionalmax.m ........................................ PASS    1/1
  imregionalmin.m ........................................ PASS    2/2
  imresize.m ............................................. PASS    1/5    FAIL 4
  imrotate.m ............................................. PASS    1/1
  imsmooth.m ............................................. PASS    1/1
  imsubtract.m ...........................................warning: input
images are unsigned integers but requested output is signed integer. This may
lead to unexpected results.
 PASS    8/8
  imtophat.m ............................................. PASS    8/8
  imtransform.m .......................................... PASS    4/4
  intlut.m ............................................... PASS   11/11
  iptcheckmap.m .......................................... PASS    2/2
  iptnum2ordinal.m ....................................... PASS    7/7
  isbw.m ................................................. PASS    1/1
  isgray.m ............................................... PASS    7/7
  isind.m ................................................ PASS   10/10
  isrgb.m ................................................ PASS    9/9
  label2rgb.m ............................................ PASS    9/9
  makelut.m .............................................. PASS    5/5
  mat2gray.m ............................................. PASS    6/6
  medfilt2.m ............................................. PASS    7/7
  nlfilter.m ............................................. PASS    9/9
  normxcorr2.m ........................................... PASS    8/8
  ordfiltn.m ............................................. PASS    8/8
  otf2psf.m .............................................. PASS   17/17
  padarray.m ............................................. PASS   26/26
  poly2mask.m ............................................ PASS    7/7
  psf2otf.m .............................................. PASS   14/14
  qtdecomp.m ............................................. PASS   11/11
  qtgetblk.m ............................................. PASS    3/3
  qtsetblk.m ............................................. PASS    3/3
  radon.m ................................................ PASS    1/1
  rangefilt.m ............................................ PASS    1/1
  regionprops.m .......................................... PASS   13/13
  rgb2gray.m ............................................. PASS    1/1
  rgb2ycbcr.m ............................................ PASS    2/2
  roicolor.m ............................................. PASS    3/3
  stdfilt.m .............................................. PASS    1/1
  stretchlim.m ........................................... PASS   17/17
  ycbcr2rgb.m ............................................ PASS    1/1

The following files in
/var/tmp/orion/redhat/BUILDROOT/octave-image-2.4.1-1.fc25.x86_64/usr/share/octave/packages/image-2.4.1
have no tests:

analyze75info.m      fchcode.m            mean2.m
analyze75read.m      hough_circle.m       mmgradm.m
analyze75write.m     houghtf.m            montage.m
bwarea.m             imdither.m           ordfilt2.m
bwboundaries.m       imfilter.m           phantom.m
bwpropfilt.m         immaximas.m          psnr.m
bwselect.m           imperspectivewarp.m  rho_filter.m
checkerboard.m       imremap.m            std2.m
colorgradient.m      imshear.m            subimage.m
corr2.m              imtranslate.m        tformfwd.m
edge.m               iradon.m             tforminv.m
entropy.m            labelmatrix.m        tiff_tag_read.m
entropyfilt.m        maketform.m          wavelength2rgb.m
+ exit 0


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       address@hidden
Boulder, CO 80301                   http://www.nwra.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]