Menu

#176 5.18.9 - testsuite error on mips (html.test)

autogen
closed
None
1
2020-09-14
2016-05-24
No

5.18.9 plus cb517f1d19705e05f93be0fea4083d9862730e44 throws a testsuite error
on mips and armhf. See https://buildd.debian.org/status/package.php?p=autogen&suite=experimental for the full build log.

The failing parts are these:
[...]
PASS: heredef.test
FAIL: html.test
PASS: in.test
[...]
FAIL: html
==========

html-> setx=set -x
html-> msg=:
html-> VERBOSE=true
html-> test -d html-testd
html-> mkdir html-testd
html-> init_tests
html-> exec
html-> BASH_XTRACEFD=8
html-> TMPDIR=/«PKGBUILDDIR»/agen5/test/html-testd/html-tmpd
html-> mkdir -p /«PKGBUILDDIR»/agen5/test/html-testd/html-tmpd
html-> echo -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-format-contains-nul -DHAVE_CONFIG_H
html-> /bin/sed s/-Werror[^ ]//g;s/-Wextra//g
html-> CFLAGS=-g -O2 -fPIE -fstack-protector-strong -Wformat -Wall -Wno-format-contains-nul -DHAVE_CONFIG_H
html-> lo_dir=/«PKGBUILDDIR»/autoopts
html-> find /«PKGBUILDDIR»/autoopts -type f -name
libopts.o
html-> head -n1
html-> lo_lib=/«PKGBUILDDIR»/autoopts/libopts_la-libopts.o
html-> test -f /«PKGBUILDDIR»/autoopts/libopts_la-libopts.o
html-> lo_dir=/«PKGBUILDDIR»/autoopts
html-> test X = X
html-> LD_LIBRARY_PATH=/«PKGBUILDDIR»/autoopts:
html-> GUILE_WARN_DEPRECATED=no
html-> test -f /usr/lib/libgen.so
html-> test -f /lib
/libgen.so
html-> LIB=/«PKGBUILDDIR»/autoopts/libopts_la-libopts.o
html-> AG_L=run_ag ao
html-> agl_opts=-L/«PKGBUILDDIR»/autoopts/tpl
html-> test L/«PKGBUILDDIR» = L/«PKGBUILDDIR»
html-> export TMPDIR PATH LD_LIBRARY_PATH GUILE_WARN_DEPRECATED LIB AG_L agl_opts CC LIBGUILE AG_VERSION
html-> THUMPER_PID=3536
html-> cfg_inc
html-> >html-> test_src=/«PKGBUILDDIR»/agen5/test/html.test
html-> thumper
cd html-testd
html-> exec
html-> /bin/sed s/^/-I/
html-> sort -u
html-> cd /«PKGBUILDDIR»/.
html-> pwd
html-> cd -
html-> cd /«PKGBUILDDIR»/autoopts
html-> pwd
html-> cd -
html-> cd /«PKGBUILDDIR»/agen5
html-> pwd
html-> cd -
html-> cd /«PKGBUILDDIR»/.
html-> pwd
html-> cd -
html-> cd /«PKGBUILDDIR»/autoopts
html-> pwd
html-> cd -
html-> cd /«PKGBUILDDIR»/agen5
html-> pwd
html-> cd -
html-> dirs=-I/«PKGBUILDDIR»
-I/«PKGBUILDDIR»/agen5
-I/«PKGBUILDDIR»/autoopts
html-> echo -I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/agen5 -I/«PKGBUILDDIR»/autoopts -Wdate-time -D_FORTIFY_SOURCE=2
html-> INC=-I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/agen5 -I/«PKGBUILDDIR»/autoopts -Wdate-time -D_FORTIFY_SOURCE=2
html-> : === Running html.test for html using /bin/bash ===
html-> chmod +w html-tmpd
html-> true
html-> SHELLX=/bin/bash -x
html-> trap failure 'test html killed on timeout' 15
html-> echo creating cgi.tpl
creating cgi.tpl
html-> cat
html-> echo creating html.tpl
creating html.tpl
html-> cat
html-> pwd
html-> echo creating html.out in /«PKGBUILDDIR»/agen5/test/html-testd
creating html.out in /«PKGBUILDDIR»/agen5/test/html-testd
html-> cat
html-> REQUEST_METHOD=GET
html-> QUERY_STRING=mumble=fumble+bumble&foo=bar&template=html
html-> expr mumble=fumble+bumble&foo=bar&template=html : .*
html-> CONTENT_LENGTH=42
html-> export CONTENT_LENGTH REQUEST_METHOD QUERY_STRING
html-> run_ag x1
html-> local opts= tfile=html-aglog-x1-3501.log
html-> true
html-> >html-> opts=--trace=every --trace-out=>>html-aglog-x1-3501.log
/bin/grep -E -v ^in state
html-> AUTOGEN_TRACE=every
html-> pwd
html-> AUTOGEN_TRACE_OUT=>>/«PKGBUILDDIR»/agen5/test/html-testd/html-aglog-x1-3501.log
html-> export AUTOGEN_TRACE_OUT AUTOGEN_TRACE
html-> shift
html-> opts=--trace=every --trace-out=>>html-aglog-x1-3501.log -L/«PKGBUILDDIR»/autoopts/tpl
html-> MALLOC_CHECK_=3 /«PKGBUILDDIR»/agen5/autogen --trace=every --trace-out=>>html-aglog-x1-3501.log -L/«PKGBUILDDIR»/autoopts/tpl
html-> cmp -s html.samp html.test
html-> diff html.samp html.test
html-> failure 1c1,2
< content-type: text/html


FSM Error: in state 4 (need_name), event 4 (other_name) is invalid
Content-type: text/plain
3,4c4,16
< <head>Mumble: fumble bumble</head>
< <body>Foolish: bar</body>


AutoGen form processing error:
invalid transition: in @@ CGI Definitions @@ on line 5

Likely causes: a mismatched quote, a value that needs quoting,
or a missing semi-colon
Failing Guile command: = = = = =

(debug-enable 'backtrace)

=================================
html-> kill -9 3536
html-> trap 15
html-> set -x
html-> cd /«PKGBUILDDIR»/agen5/test/html-testd/..
html-> test -d FAILURES
html-> mkdir FAILURES
html-> mv html-testd FAILURES/html-testd
html-> test -f html.log
html-> mv html.log FAILURES/html-testd/amtest-html.log
html-> ln -s FAILURES/html-testd/amtest-html.log html.log
html-> echo FAILURE: 1c1,2
< content-type: text/html


FSM Error: in state 4 (need_name), event 4 (other_name) is invalid
Content-type: text/plain
3,4c4,16
< <head>Mumble: fumble bumble</head>
< <body>Foolish: bar</body>


AutoGen form processing error:
invalid transition: in @@ CGI Definitions @@ on line 5

Likely causes: a mismatched quote, a value that needs quoting,
or a missing semi-colon
Failing Guile command: = = = = =

(debug-enable 'backtrace)

=================================
FAILURE: 1c1,2
< content-type: text/html


FSM Error: in state 4 (need_name), event 4 (other_name) is invalid
Content-type: text/plain
3,4c4,16
< <head>Mumble: fumble bumble</head>
< <body>Foolish: bar</body>


AutoGen form processing error:
invalid transition: in @@ CGI Definitions @@ on line 5

Likely causes: a mismatched quote, a value that needs quoting,
or a missing semi-colon
Failing Guile command: = = = = =

(debug-enable 'backtrace)

=================================
html-> exit 1
FAIL html.test (exit status: 1)

5.18.7 built succesfully.

cu Andreas

1 Attachments

Discussion

  • Bruce Korb

    Bruce Korb - 2016-05-24

    diff --git a/agen5/cgi-fsm.c b/agen5/cgi-fsm.c
    index 00bf437..c039595 100644
    --- a/agen5/cgi-fsm.c
    +++ b/agen5/cgi-fsm.c
    @@ -274,7 +274,7 @@ cgi_run_fsm(
    / START == SEPARATE == DO NOT CHANGE THIS COMMENT /
    {
    static char const txt[] = "';\n";
    - memcpy(pzOut, txt, sizeof(txt) - 1);
    + memcpy(pzOut, txt, sizeof(txt));
    outlen -= sizeof(txt) - 1;
    pzOut += sizeof(txt) - 1;
    }

     
  • Andreas Metzler

    Andreas Metzler - 2016-05-25

    With 5.18.10 the html test succeeds. However error.test fails on (probably) all archs, I tested on mips and amd64:

    FAIL: error
    ===========
    
    >error-> setx=set -x
    >error-> msg=:
    >error-> VERBOSE=true
    >error-> test -d error-testd
    >error-> mkdir error-testd
    >error-> init_tests
    >error-> exec
    >error-> BASH_XTRACEFD=8
    >error-> TMPDIR=/tmp/AUTOGEN/autogen-5.18.10/agen5/test/error-testd/error-tmpd
    >error-> mkdir -p /tmp/AUTOGEN/autogen-5.18.10/agen5/test/error-testd/error-tmpd
    >error-> echo -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-format-contains-nul -DHAVE_CONFIG_H
    >error-> /bin/sed s/-Werror[^   ]*//g;s/-Wextra//g
    >error-> CFLAGS=-g -O2 -fPIE -fstack-protector-strong -Wformat  -Wall -Wno-format-contains-nul -DHAVE_CONFIG_H
    >error-> lo_dir=/tmp/AUTOGEN/autogen-5.18.10/autoopts
    >error-> find /tmp/AUTOGEN/autogen-5.18.10/autoopts -type f -name *libopts.o
    >error-> head -n1
    >error-> lo_lib=/tmp/AUTOGEN/autogen-5.18.10/autoopts/.libs/libopts_la-libopts.o
    >error-> test -f /tmp/AUTOGEN/autogen-5.18.10/autoopts/.libs/libopts_la-libopts.o
    >error-> lo_dir=/tmp/AUTOGEN/autogen-5.18.10/autoopts/.libs
    >error-> test X = X
    >error-> LD_LIBRARY_PATH=/tmp/AUTOGEN/autogen-5.18.10/autoopts/.libs:
    >error-> GUILE_WARN_DEPRECATED=no
    >error-> test -f /usr/lib*/libgen.so
    >error-> test -f /lib*/libgen.so
    >error-> LIB=/tmp/AUTOGEN/autogen-5.18.10/autoopts/.libs/libopts_la-libopts.o 
    >error-> AG_L=run_ag ao
    >error-> agl_opts=-L/tmp/AUTOGEN/autogen-5.18.10/autoopts/tpl
    >error-> test L/tmp/AUTOGEN/autogen-5.18.10 = L/tmp/AUTOGEN/autogen-5.18.10
    >error-> export TMPDIR PATH LD_LIBRARY_PATH GUILE_WARN_DEPRECATED LIB AG_L agl_opts CC LIBGUILE AG_VERSION
    >error-> THUMPER_PID=10806
    >error-> cfg_inc
    >error-> test_src=/tmp/AUTOGEN/autogen-5.18.10/agen5/test/error.test
    >error-> cd error-testd
    >error-> thumper
    >error-> exec
    >error-> cd /tmp/AUTOGEN/autogen-5.18.10/.
    >error-> pwd
    >error-> >error-> cd -
    sort -u
    >error-> cd /tmp/AUTOGEN/autogen-5.18.10/autoopts
    >error-> pwd
    >error-> cd -
    >error-> >error-> cd /tmp/AUTOGEN/autogen-5.18.10/agen5
    /bin/sed>error->  s/^/-I/pwd
    
    >error-> cd -
    >error-> cd /tmp/AUTOGEN/autogen-5.18.10/.
    >error-> pwd
    >error-> cd -
    >error-> cd /tmp/AUTOGEN/autogen-5.18.10/autoopts
    >error-> pwd
    >error-> cd -
    >error-> cd /tmp/AUTOGEN/autogen-5.18.10/agen5
    >error-> pwd
    >error-> cd -
    >error-> dirs=-I/tmp/AUTOGEN/autogen-5.18.10
    -I/tmp/AUTOGEN/autogen-5.18.10/agen5
    -I/tmp/AUTOGEN/autogen-5.18.10/autoopts
    >error-> echo -I/tmp/AUTOGEN/autogen-5.18.10 -I/tmp/AUTOGEN/autogen-5.18.10/agen5 -I/tmp/AUTOGEN/autogen-5.18.10/autoopts -Wdate-time -D_FORTIFY_SOURCE=2
    >error-> INC=-I/tmp/AUTOGEN/autogen-5.18.10 -I/tmp/AUTOGEN/autogen-5.18.10/agen5 -I/tmp/AUTOGEN/autogen-5.18.10/autoopts -Wdate-time -D_FORTIFY_SOURCE=2
    >error-> : === Running error.test for error using /bin/bash ===
    >error-> chmod +w error-tmpd
    >error-> true
    >error-> SHELLX=/bin/bash -x
    >error-> trap failure 'test error killed on timeout' 15
    >error-> verb_ok=true
    >error-> echo creating error.tpl
    creating error.tpl
    >error-> /bin/sed s/[ 0-9]*=//
    >error-> echo creating error.def
    creating error.def
    >error-> cat
    >error-> echo creating error.base1
    creating error.base1
    >error-> cat
    >error-> ag_err 1 error.def
    >error-> true
    >error-> true
    >error-> AUTOGEN_TRACE=everything
    >error-> AUTOGEN_TRACE_OUT=>>error-task-aglog.txt
    >error-> export AUTOGEN_TRACE AUTOGEN_TRACE_OUT
    >error-> seq=1
    >error-> shift
    >error-> /tmp/AUTOGEN/autogen-5.18.10/agen5/autogen -L/tmp/AUTOGEN/autogen-5.18.10/autoopts/tpl error.def
    >error-> test -f error-task1-OK
    >error-> /bin/sed /Giving up in/d
            /erasing the .* environment variable/d
            /Failing Guile command:/,$d error.err1
    >error-> cmp -s error.err error.base1
    >error-> diff -c error.base1 error.err
    >error-> failure expected->actual
    *** error.base1 Wed May 25 17:17:11 2016
    --- error.err   Wed May 25 17:17:11 2016
    ***************
    *** 1,2 ****
    --- 1,3 ----
      #error directive -- in error.def on line 3
        The definitions file has a '#error' directive
    + Aborted (core dumped)
    >error-> kill -9 10806
    >error-> trap  15
    >error-> set -x
    >error-> cd /tmp/AUTOGEN/autogen-5.18.10/agen5/test/error-testd/..
    >error-> test -d FAILURES
    >error-> mkdir FAILURES
    >error-> mv error-testd FAILURES/error-testd
    >error-> test -f error.log
    >error-> mv error.log FAILURES/error-testd/amtest-error.log
    >error-> ln -s FAILURES/error-testd/amtest-error.log error.log
    >error-> echo FAILURE: expected->actual
    *** error.base1 Wed May 25 17:17:11 2016
    --- error.err   Wed May 25 17:17:11 2016
    ***************
    *** 1,2 ****
    --- 1,3 ----
      #error directive -- in error.def on line 3
        The definitions file has a '#error' directive
    + Aborted (core dumped)
    FAILURE: expected->actual
    *** error.base1 Wed May 25 17:17:11 2016
    --- error.err   Wed May 25 17:17:11 2016
    ***************
    *** 1,2 ****
    --- 1,3 ----
      #error directive -- in error.def on line 3
        The definitions file has a '#error' directive
    + Aborted (core dumped)
    >error-> exit 1
    FAIL error.test (exit status: 1)
    
     
  • Bruce Korb

    Bruce Korb - 2016-05-25

    Hmmm. It would be really interesting to understand why my "make distcheck" is successful. I'll strip away the spurious "core dumped" line from the output.

     
  • Bruce Korb

    Bruce Korb - 2016-05-25

    $ make check
    make check-TESTS
    make[1]: Entering directory '/u/bkorb/ag/ag/agen5/test'
    make[2]: Entering directory '/u/bkorb/ag/ag/agen5/test'
    PASS: define.test
    PASS: directives.test
    PASS: error.test
    [...]

    I'll leave state as "pending" pending Andreas' confirmation of the fix.

     
  • Andreas Metzler

    Andreas Metzler - 2016-05-26

    On 2016-05-25 Bruce Korb bruce.korb@gmail.com wrote:

    Would you be willing to test this patch?
    [...]

    Sure, there you go:

    FAIL: error

    error-> setx=set -x
    error-> msg=:
    error-> VERBOSE=true
    error-> test -d error-testd
    error-> mkdir error-testd
    error-> init_tests
    error-> exec
    error-> BASH_XTRACEFD=8
    error-> TMPDIR=/tmp/AUTOGEN/autogen-5.18.10/agen5/test/error-testd/error-tmpd
    error-> mkdir -p /tmp/AUTOGEN/autogen-5.18.10/agen5/test/error-testd/error-tmpd
    error-> echo -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-format-contains-nul -DHAVE_CONFIG_H
    error-> /bin/sed s/-Werror[^ ]//g;s/-Wextra//g
    error-> CFLAGS=-g -O2 -fPIE -fstack-protector-strong -Wformat -Wall -Wno-format-contains-nul -DHAVE_CONFIG_H
    error-> lo_dir=/tmp/AUTOGEN/autogen-5.18.10/autoopts
    error-> find /tmp/AUTOGEN/autogen-5.18.10/autoopts -type f -name
    libopts.o
    error-> head -n1
    error-> lo_lib=/tmp/AUTOGEN/autogen-5.18.10/autoopts/.libs/libopts_la-libopts.o
    error-> test -f /tmp/AUTOGEN/autogen-5.18.10/autoopts/.libs/libopts_la-libopts.o
    error-> lo_dir=/tmp/AUTOGEN/autogen-5.18.10/autoopts/.libs
    error-> test X = X
    error-> LD_LIBRARY_PATH=/tmp/AUTOGEN/autogen-5.18.10/autoopts/.libs:
    error-> GUILE_WARN_DEPRECATED=no
    error-> test -f /usr/lib/libgen.so
    error-> test -f /lib
    /libgen.so
    error-> LIB=/tmp/AUTOGEN/autogen-5.18.10/autoopts/.libs/libopts_la-libopts.o
    error-> AG_L=run_ag ao
    error-> agl_opts=-L/tmp/AUTOGEN/autogen-5.18.10/autoopts/tpl
    error-> test L/tmp/AUTOGEN/autogen-5.18.10 = L/tmp/AUTOGEN/autogen-5.18.10
    error-> export TMPDIR PATH LD_LIBRARY_PATH GUILE_WARN_DEPRECATED LIB AG_L agl_opts CC LIBGUILE AG_VERSION
    error-> THUMPER_PID=30765
    error-> cfg_inc
    error-> test_src=/tmp/AUTOGEN/autogen-5.18.10/agen5/test/error.test
    error-> cd error-testd
    error-> thumper
    error-> exec
    error-> cd /tmp/AUTOGEN/autogen-5.18.10/.
    error-> pwd
    error-> >error-> cd ->error->
    sort -u
    error-> /bin/sedcd s/^/-I/ /tmp/AUTOGEN/autogen-5.18.10/autoopts

    error-> pwd
    error-> cd -
    error-> cd /tmp/AUTOGEN/autogen-5.18.10/agen5
    error-> pwd
    error-> cd -
    error-> cd /tmp/AUTOGEN/autogen-5.18.10/.
    error-> pwd
    error-> cd -
    error-> cd /tmp/AUTOGEN/autogen-5.18.10/autoopts
    error-> pwd
    error-> cd -
    error-> cd /tmp/AUTOGEN/autogen-5.18.10/agen5
    error-> pwd
    error-> cd -
    error-> dirs=-I/tmp/AUTOGEN/autogen-5.18.10
    -I/tmp/AUTOGEN/autogen-5.18.10/agen5
    -I/tmp/AUTOGEN/autogen-5.18.10/autoopts
    error-> echo -I/tmp/AUTOGEN/autogen-5.18.10 -I/tmp/AUTOGEN/autogen-5.18.10/agen5 -I/tmp/AUTOGEN/autogen-5.18.10/autoopts -Wdate-time -D_FORTIFY_SOURCE=2
    error-> INC=-I/tmp/AUTOGEN/autogen-5.18.10 -I/tmp/AUTOGEN/autogen-5.18.10/agen5 -I/tmp/AUTOGEN/autogen-5.18.10/autoopts -Wdate-time -D_FORTIFY_SOURCE=2
    error-> : === Running error.test for error using /bin/bash ===
    error-> chmod +w error-tmpd
    error-> true
    error-> SHELLX=/bin/bash -x
    error-> trap failure 'test error killed on timeout' 15
    error-> verb_ok=true
    error-> echo creating error.tpl
    creating error.tpl
    error-> /bin/sed s/[ 0-9]=//
    error-> echo creating error.def
    creating error.def
    error-> cat
    error-> echo creating error.base1
    creating error.base1
    error-> cat
    error-> ag_err 1 error.def
    error-> true
    error-> true
    error-> AUTOGEN_TRACE=everything
    error-> AUTOGEN_TRACE_OUT=>>error-task-aglog.txt
    error-> export AUTOGEN_TRACE AUTOGEN_TRACE_OUT
    error-> seq=1
    error-> shift
    error-> /tmp/AUTOGEN/autogen-5.18.10/agen5/autogen -L/tmp/AUTOGEN/autogen-5.18.10/autoopts/tpl error.def
    error-> test -f error-task1-OK
    error-> /bin/sed /Giving up in/d
    /erasing the .
    environment variable/d
    /Failing Guile command:/,$d
    /^Aborted.core dumped/d error.err1
    error-> cmp -s error.err error.base1
    error-> echo creating error.base2
    creating error.base2
    error-> cat
    error-> agopts=--no-def --base=error
    error-> verb_ok=false
    error-> ag_err 2 -Terror.tpl --no-def --base=error2
    error-> true
    error-> false
    error-> unset AUTOGEN_TRACE AUTOGEN_TRACE_OUT
    error-> seq=2
    error-> shift
    error-> /tmp/AUTOGEN/autogen-5.18.10/agen5/autogen -L/tmp/AUTOGEN/autogen-5.18.10/autoopts/tpl -Terror.tpl --no-def --base=error2
    error-> test -f error-task2-OK
    error-> verb_ok=true
    error-> omit_pat=Giving up in | is deprecated.|erasing the .
    environment variable
    error-> /bin/grep -E -v Giving up in | is deprecated.|erasing the . environment variable error.err2
    error-> /bin/sed -n /Failing Guile command:/q;p
    error-> cmp -s error.base2 error.res2
    error-> /bin/sed s,^#error.
    ,this is broken;, error.def
    error-> echo creating error.base4
    creating error.base4
    error-> cat
    error-> ag_err 4 error2.def
    error-> true
    error-> true
    error-> AUTOGEN_TRACE=everything
    error-> AUTOGEN_TRACE_OUT=>>error-task2-aglog.txt
    error-> export AUTOGEN_TRACE AUTOGEN_TRACE_OUT
    error-> seq=4
    error-> shift
    error-> /tmp/AUTOGEN/autogen-5.18.10/agen5/autogen -L/tmp/AUTOGEN/autogen-5.18.10/autoopts/tpl error2.def
    error-> test -f error-task4-OK
    error-> /bin/grep -E -v Giving up in | is deprecated.|erasing the . environment variable error.err4
    error-> /bin/sed -n /Failing Guile command:/q;p
    error-> cmp -s error.res4 error.base4
    error-> diff -c error.base4 error.res4
    error-> failure expected->actual
    error.base4 Thu May 26 05:23:02 2016
    --- error.res4 Thu May 26 05:23:02 2016
    ***
    8,10
    ***
    --- 8,11 ----

    Likely causes: a mismatched quote, a value that needs quoting,
    or a missing semi-colon
    + Aborted (core dumped)

    error-> kill -9 30765
    error-> trap 15
    error-> set -x
    error-> cd /tmp/AUTOGEN/autogen-5.18.10/agen5/test/error-testd/..
    error-> test -d FAILURES
    error-> mkdir FAILURES
    error-> mv error-testd FAILURES/error-testd
    error-> test -f error.log
    error-> mv error.log FAILURES/error-testd/amtest-error.log
    error-> ln -s FAILURES/error-testd/amtest-error.log error.log
    error-> echo FAILURE: expected->actual
    error.base4 Thu May 26 05:23:02 2016
    --- error.res4 Thu May 26 05:23:02 2016
    ***
    8,10 ****
    --- 8,11 ----

    Likely causes: a mismatched quote, a value that needs quoting,
    or a missing semi-colon
    + Aborted (core dumped)
    FAILURE: expected->actual
    error.base4 Thu May 26 05:23:02 2016
    --- error.res4 Thu May 26 05:23:02 2016
    ***
    8,10 ****
    --- 8,11 ----

    Likely causes: a mismatched quote, a value that needs quoting,
    or a missing semi-colon
    + Aborted (core dumped)

    error-> exit 1
    FAIL error.test (exit status: 1)

    ============================================================================
    Testsuite summary for GNU AutoGen 5.18.10
    ============================================================================

    TOTAL: 43

    PASS: 42

    SKIP: 0

    XFAIL: 0

    FAIL: 1

    XPASS: 0

    ERROR: 0

    ============================================================================
    See agen5/test/test-suite.log
    Please report to autogen-users@lists.sourceforge.net
    ============================================================================
    Makefile:593: recipe for target 'test-suite.log' failed

    cu Andreas

     
  • Andreas Metzler

    Andreas Metzler - 2016-05-26

    On 2016-05-26 Bruce Korb bruce.korb@gmail.com wrote:

    On Wed, May 25, 2016 at 10:29 PM, Andreas Metzler sourceforge@bebt.de wrote:
    [...]
    This time for sure: I've collected the code for stripping out Guile
    error messages into one function that I use for all the error testing
    (but one). "For sure". :( It does work for me, but Guile
    environments seem to vary all over heck and gone, so if you try this,
    then we will have learned that it works in two of the near-infinite
    number of configurations. sigh. Instead of a patch, here is a
    replacement for agen5/test/error.test.

    Hello,

    I am very sorry to not be able to come back with "thanks, this worked".
    :-(

    FAIL: error

    error-> setx=set -x
    error-> msg=:
    error-> VERBOSE=true
    error-> test -d error-testd
    error-> mkdir error-testd
    error-> init_tests
    error-> exec
    error-> BASH_XTRACEFD=8
    error-> TMPDIR=/tmp/AUTOGEN/autogen-5.18.10/agen5/test/error-testd/error-tmpd
    error-> mkdir -p /tmp/AUTOGEN/autogen-5.18.10/agen5/test/error-testd/error-tmpd
    error-> >error-> echo -g -O2 -fPIE/bin/sed -fstack-protector-strong s/-Werror[^ ]//g;s/-Wextra//g -Wformat
    -Werror=format-security -Wall -Wno-format-contains-nul -DHAVE_CONFIG_H
    error-> CFLAGS=-g -O2 -fPIE -fstack-protector-strong -Wformat -Wall -Wno-format-contains-nul -DHAVE_CONFIG_H
    error-> lo_dir=/tmp/AUTOGEN/autogen-5.18.10/autoopts
    error-> find /tmp/AUTOGEN/autogen-5.18.10/autoopts -type f -name
    libopts.o
    error-> head -n1
    error-> lo_lib=/tmp/AUTOGEN/autogen-5.18.10/autoopts/.libs/libopts_la-libopts.o
    error-> test -f /tmp/AUTOGEN/autogen-5.18.10/autoopts/.libs/libopts_la-libopts.o
    error-> lo_dir=/tmp/AUTOGEN/autogen-5.18.10/autoopts/.libs
    error-> test X = X
    error-> LD_LIBRARY_PATH=/tmp/AUTOGEN/autogen-5.18.10/autoopts/.libs:
    error-> GUILE_WARN_DEPRECATED=no
    error-> test -f /usr/lib/libgen.so
    error-> test -f /lib
    /libgen.so
    error-> LIB=/tmp/AUTOGEN/autogen-5.18.10/autoopts/.libs/libopts_la-libopts.o
    error-> AG_L=run_ag ao
    error-> agl_opts=-L/tmp/AUTOGEN/autogen-5.18.10/autoopts/tpl
    error-> test L/tmp/AUTOGEN/autogen-5.18.10 = L/tmp/AUTOGEN/autogen-5.18.10
    error-> export TMPDIR PATH LD_LIBRARY_PATH GUILE_WARN_DEPRECATED LIB AG_L agl_opts CC LIBGUILE AG_VERSION
    error-> THUMPER_PID=21762
    error-> cfg_inc
    error-> test_src=/tmp/AUTOGEN/autogen-5.18.10/agen5/test/error.test
    error-> cd error-testd
    error-> thumper
    error-> exec
    error-> cd /tmp/AUTOGEN/autogen-5.18.10/.
    error-> pwd
    error-> cd -
    error-> cd /tmp/AUTOGEN/autogen-5.18.10/autoopts
    error-> >error-> pwd
    error-> cd -sort
    -u
    error-> cd /tmp/AUTOGEN/autogen-5.18.10/agen5
    error-> >error-> pwd
    error-> cd/bin/sed - s/^/-I/

    error-> cd /tmp/AUTOGEN/autogen-5.18.10/.
    error-> pwd
    error-> cd -
    error-> cd /tmp/AUTOGEN/autogen-5.18.10/autoopts
    error-> pwd
    error-> cd -
    error-> cd /tmp/AUTOGEN/autogen-5.18.10/agen5
    error-> pwd
    error-> cd -
    error-> dirs=-I/tmp/AUTOGEN/autogen-5.18.10
    -I/tmp/AUTOGEN/autogen-5.18.10/agen5
    -I/tmp/AUTOGEN/autogen-5.18.10/autoopts
    error-> echo -I/tmp/AUTOGEN/autogen-5.18.10 -I/tmp/AUTOGEN/autogen-5.18.10/agen5 -I/tmp/AUTOGEN/autogen-5.18.10/autoopts -Wdate-time -D_FORTIFY_SOURCE=2
    error-> INC=-I/tmp/AUTOGEN/autogen-5.18.10 -I/tmp/AUTOGEN/autogen-5.18.10/agen5 -I/tmp/AUTOGEN/autogen-5.18.10/autoopts -Wdate-time -D_FORTIFY_SOURCE=2
    error-> : === Running error.test for error using /bin/bash ===
    error-> chmod +w error-tmpd
    error-> true
    error-> SHELLX=/bin/bash -x
    error-> trap failure 'test error killed on timeout' 15
    error-> verb_ok=true
    error-> echo creating error.tpl
    creating error.tpl
    error-> /bin/sed s/[ 0-9]=//
    error-> echo creating error.def
    creating error.def
    error-> cat
    error-> echo creating error.base1
    creating error.base1
    error-> cat
    error-> ag_err 1 error.def
    error-> true
    error-> true
    error-> AUTOGEN_TRACE=everything
    error-> AUTOGEN_TRACE_OUT=>>error-task-aglog.txt
    error-> export AUTOGEN_TRACE AUTOGEN_TRACE_OUT
    error-> seq=1
    error-> shift
    error-> /tmp/AUTOGEN/autogen-5.18.10/agen5/autogen -L/tmp/AUTOGEN/autogen-5.18.10/autoopts/tpl error.def
    error-> test -f error-task1-OK
    error-> strip_variable_msgs error.err1
    error-> declare sedcmd=/Giving up in/d
    /is deprecated./d
    /erasing the .
    environment variable/d
    /Failing Guile command:/q
    /^Aborte.core dumped/q
    p
    ./error.test: 44: ./error.test: declare: not found
    error-> /bin/sed -n error.err1
    error-> cmp -s error.err error.base1
    error-> diff -c error.base1 error.err
    error-> failure expected->actual
    error.base1 Thu May 26 17:45:20 2016
    --- error.err Thu May 26 17:45:20 2016
    ***
    1,2 *
    - #error directive -- in error.def on line 3
    - The definitions file has a '#error' directive
    --- 0 ----
    error-> kill -9 21762
    error-> trap 15
    error-> set -x
    error-> cd /tmp/AUTOGEN/autogen-5.18.10/agen5/test/error-testd/..
    error-> test -d FAILURES
    error-> mkdir FAILURES
    error-> mv error-testd FAILURES/error-testd
    error-> test -f error.log
    error-> mv error.log FAILURES/error-testd/amtest-error.log
    error-> ln -s FAILURES/error-testd/amtest-error.log error.log
    error-> echo FAILURE: expected->actual
    error.base1 Thu May 26 17:45:20 2016
    --- error.err Thu May 26 17:45:20 2016
    **

    1,2
    - #error directive -- in error.def on line 3
    - The definitions file has a '#error' directive
    --- 0 ----
    FAILURE: expected->actual
    error.base1 Thu May 26 17:45:20 2016
    --- error.err Thu May 26 17:45:20 2016
    ***
    1,2
    ***
    - #error directive -- in error.def on line 3
    - The definitions file has a '#error' directive
    --- 0 ----
    error-> exit 1
    FAIL error.test (exit status: 1)

     
  • Andreas Metzler

    Andreas Metzler - 2016-05-27

    On 2016-05-26 Bruce Korb bruce.korb@gmail.com wrote:

    That's what I get for not being strictly ancient in my shell
    scripting. The keyword, "declare" is too recent (only a decade or
    two).
    Thank you again. Again, now, without the fancy-dancy word.

    Thank you, that one worked.

    cu Andreas

    What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.'I sew his ears on from time to time, sure'

     
  • Bruce Korb

    Bruce Korb - 2020-09-14
    • status: pending --> closed
     
  • Bruce Korb

    Bruce Korb - 2020-09-14

    fixed

     

Log in to post a comment.