OpenSCAD test run report

Sysid: linux_x86_64_llvmpipe-_llvm-6.0,-256_bgus

Result summary: 1359 / 1361 tests passed (100%)

System info

OpenSCAD Version: 2020.11.17
System information: Linux 4.15.0-1077-gcp #87~16.04.1-Ubuntu SMP Sat Jun 6 01:51:20 UTC 2020 x86_64 Ubuntu 16.04.6 LTS 2 CPUs 7.79 GB RAM
User Agent: OpenSCAD/2020.11.17 (Linux x86_64; Ubuntu 16.04.6 LTS)
Compiler: GCC "5.4.0 20160609" 64bit
MinGW build: No
Debug build: Yes
Boost version: 1_58
Eigen version: 3.2.92
CGAL version, kernels: 4.11, Cartesian, Extended_cartesian, Epeck
OpenCSG version: unknown, <1.3.2
Qt version: 5.5.1
QScintilla version: 2.9.1
InputDrivers: 
GLib version: 2.48.2
lodepng version: 20180910
libzip version: 1.0.1
fontconfig version: 2.11.94
freetype version: 2.6.1
harfbuzz version: 1.0.1
cairo version: 1.14.6
lib3mf version: 1.8.1
Features: input-driver-dbus, function-literals, lazy-union, mouse-selection
Application Path: /home/travis/build/openscad/openscad/tests/..
Documents Path: /home/travis/.local/share
User Documents Path: /home/travis
Resource Path: /home/travis/build/openscad/openscad
User Library Path: /home/travis/.local/share/OpenSCAD/libraries
User Config Path: 
Backup Path: /home/travis/.local/share/OpenSCAD/backups
OPENSCADPATH: /home/travis/build/openscad/openscad/tests/../libraries
OpenSCAD library path:
  /home/travis/build/openscad/openscad/tests/../libraries
  /home/travis/.local/share/OpenSCAD/libraries
  /home/travis/build/openscad/openscad/libraries

OPENSCAD_FONT_PATH: 
OpenSCAD font path:
  /usr/share/fonts
  /usr/local/share/fonts
  /home/travis/.local/share/fonts
  /home/travis/.fonts
  /usr/X11/lib/X11/fonts
  /System/Library/Fonts
  /Library/Fonts
  /home/travis/Library/Fonts
  /usr/share/fonts/cmap
  /usr/share/fonts/truetype
  /usr/share/fonts/type1
  /usr/share/fonts/cmap/adobe-cns1
  /usr/share/fonts/cmap/adobe-gb1
  /usr/share/fonts/cmap/adobe-japan1
  /usr/share/fonts/cmap/adobe-japan2
  /usr/share/fonts/cmap/adobe-korea1
  /usr/share/fonts/truetype/dejavu
  /usr/share/fonts/truetype/liberation
  /usr/share/fonts/type1/gsfonts


GLEW version: 1.13.0
OpenGL Version: 3.0 Mesa 18.0.5
GL Renderer: llvmpipe (LLVM 6.0, 256 bits)
GL Vendor: VMware, Inc.
RGBA(8888), depth(24), stencil(8)
GL_ARB_framebuffer_object: yes
GL_EXT_framebuffer_object: yes
GL_EXT_packed_depth_stencil: yes
GL context creator: GLX
PNG generator: lodepng
GLX version: 1.4
OS info: Linux 4.15.0-1077-gcp #87~16.04.1-Ubuntu SMP Sat Jun 6 01:51:20 UTC 2020
Machine: x86_64
Git branch: (HEAD detached at FETCH_HEAD) from origin https://github.com/openscad/openscad.git
Git upstream:

Image comparer: ImageMagick

Tests start time: Nov 17 01:09 UTC

Tests end time: Nov 17 01:16 UTC

Image tests

cgalpngstdiotest_circle-tests
Expected image Actual image
465/1361 Testing: cgalpngstdiotest_circle-tests
465/1361 Test: cgalpngstdiotest_circle-tests
Command: "/opt/pyenv/shims/python3" "/home/travis/build/openscad/openscad/tests/test_cmdline_tool.py" "--comparator=" "-c" "/usr/bin/convert" "-s" "png" "-e" "cgalpngtest" "--stdin" "--stdout" "-t" "cgalpngstdiotest" "-f" "circle-tests" "/home/travis/build/openscad/openscad/tests/../openscad" "/home/travis/build/openscad/openscad/tests/../testdata/scad/2D/features/circle-tests.scad" "--camera=0,0,100,0,0,0" "--viewall" "--autocenter" "--projection=ortho" "--export-format" "png" "--render" "-o"
Directory: /home/travis/build/openscad/openscad/tests
"cgalpngstdiotest_circle-tests" start time: Nov 17 01:11 UTC
Output:
----------------------------------------------------------
circle-tests
run_test() cmdline: /home/travis/build/openscad/openscad/tests/../openscad - --camera=0,0,100,0,0,0 --viewall --autocenter --projection=ortho --export-format png --render -o -
using font directory: /home/travis/build/openscad/openscad/testdata/ttf
stderr output: WARNING: Ignoring radius variable 'r' as diameter 'd' is defined too. in file , line 14
Geometries in cache: 24
Geometry cache size in bytes: 6608
CGAL Polyhedrons in cache: 0
CGAL cache size in bytes: 0
Total rendering time: 0:00:00.000
   Top level object is a 2D object:
   Contours:       12

Image comparison cmdline: /usr/bin/convert /home/travis/build/openscad/openscad/tests/regression/cgalpngtest/circle-tests-expected.png /home/travis/build/openscad/openscad/tests/output/cgalpngstdiotest/circle-tests-actual.png -alpha On -compose difference -composite -threshold 10% -morphology Erode Square:1 -format %[fx:w*h*mean] info:
 actual image: /home/travis/build/openscad/openscad/tests/output/cgalpngstdiotest/circle-tests-actual.png

 expected image: /home/travis/build/openscad/openscad/tests/regression/cgalpngtest/circle-tests-expected.png

Image comparison return: 1 output: convert: improper image header `/home/travis/build/openscad/openscad/tests/output/cgalpngstdiotest/circle-tests-actual.png' @ error/png.c/ReadPNGImage/3940.
convert: ImageSequenceRequired `-composite' @ error/mogrify.c/MogrifyImageList/7863.
convert: no images defined `info:' @ error/convert.c/ConvertImageCommand/3210.


Test time =   0.95 sec
----------------------------------------------------------
Test Failed.
"cgalpngstdiotest_circle-tests" end time: Nov 17 01:11 UTC
"cgalpngstdiotest_circle-tests" time elapsed: 00:00:00

    

Text tests

astdumpstdiotest_allexpressions
24/1361 Testing: astdumpstdiotest_allexpressions
24/1361 Test: astdumpstdiotest_allexpressions
Command: "/opt/pyenv/shims/python3" "/home/travis/build/openscad/openscad/tests/test_cmdline_tool.py" "--comparator=" "-c" "/usr/bin/convert" "-s" "ast" "-e" "astdumptest" "--stdin" "--stdout" "-t" "astdumpstdiotest" "-f" "allexpressions" "/home/travis/build/openscad/openscad/tests/../openscad" "/home/travis/build/openscad/openscad/tests/../testdata/scad/misc/allexpressions.scad" "--enable=function-literals" "--export-format" "ast" "-o"
Directory: /home/travis/build/openscad/openscad/tests
"astdumpstdiotest_allexpressions" start time: Nov 17 01:09 UTC
Output:
----------------------------------------------------------
allexpressions
run_test() cmdline: /home/travis/build/openscad/openscad/tests/../openscad - --enable=function-literals --export-format ast -o -
using font directory: /home/travis/build/openscad/openscad/testdata/ttf
stderr output: WARNING: undefined operation (bool * bool) in file <stdin>, line 14
WARNING: undefined operation (bool / bool) in file <stdin>, line 15
WARNING: undefined operation (bool % bool) in file <stdin>, line 16
WARNING: undefined operation (undefined < bool) in file <stdin>, line 17
WARNING: undefined operation (undefined <= bool) in file <stdin>, line 18
WARNING: undefined operation (undefined >= bool) in file <stdin>, line 21
WARNING: undefined operation (undefined > bool) in file <stdin>, line 22
ECHO: x = 2, y = 5

text comparison: 
 expected textfile:  /home/travis/build/openscad/openscad/tests/regression/astdumptest/allexpressions-expected.ast
 actual textfile:  /home/travis/build/openscad/openscad/tests/output/astdumpstdiotest/allexpressions-actual.ast
--- 

+++ 

@@ -1,47 +1 @@

-//Parameter("")
-a = true;
-//Parameter("")
-b = false;
-//Parameter("")
-c = undef;
-d = a;
-e = $fn;
-//Parameter("")
-f1 = [1];
-//Parameter("")
-f2 = [1, 2, 3];
-g = ((f2.x + f2.y) + f2.z);
-//Parameter("")
-h1 = [2 : 5];
-//Parameter("")
-h2 = [1 : 2 : 10];
-i = ((h2.begin - h2.step) - h2.end);
-//Parameter("")
-j = "test";
-//Parameter("")
-k = 0.0123;
-l = (a * b);
-m = (a / b);
-n = (a % b);
-o = (c < d);
-p = (c <= d);
-q = (c == d);
-r = (c != d);
-s = (c >= d);
-t = (c > d);
-u = (e && g);
-v = (e || g);
-w = i;
-x = -i;
-y = !i;
-z = j;
-aa = (k ? l : m);
-bb = n[o];
-cc = let(a = 1) a;
-dd = [for(a = [0, 1]) (let(b = a) (if(true) (b)))];
-ee = ["abc", for(a = [0, 1]) (let(b = a) (if(true) (b))), true, for(c = [1 : 3]) (c), 3];
-ff = [for(a = [0, 1]) (if((a == 0)) ("A") else ("B"))];
-gg = [each (["a", 0, false])];
-hh = [for(a = [0 : 3]) (if((a < 2)) (if((a < 1)) (["+", a])) else (["-", a]))];
-ii = [for(a = 0, b = 1;(a < 5);a = (a + 1), b = (b + 2)) [a, (b * b)]];
-jj = ((function(x) function(y) echo(x = x, y = y) (x + y))(2))(5);
+
<end of output>
Test time =   0.43 sec
----------------------------------------------------------
Test Failed.
"astdumpstdiotest_allexpressions" end time: Nov 17 01:09 UTC
"astdumpstdiotest_allexpressions" time elapsed: 00:00:00

    

build.make and flags.make

CMakeFiles/issue2342.dir/build.make

        # CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.12

# Delete rule output on recipe failure.
.DELETE_ON_ERROR:


#=============================================================================
# Special targets provided by cmake.

# Disable implicit rules so canonical targets will work.
.SUFFIXES:


# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =

.SUFFIXES: .hpux_make_needs_suffix_list


# Suppress display of executed commands.
$(VERBOSE).SILENT:


# A target that is always out of date.
cmake_force:

.PHONY : cmake_force

#=============================================================================
# Set environment variables for the build.

# The shell in which to execute make rules.
SHELL = /bin/sh

# The CMake executable.
CMAKE_COMMAND = /usr/local/cmake-3.12.4/bin/cmake

# The command to remove a file.
RM = /usr/local/cmake-3.12.4/bin/cmake -E remove -f

# Escaping for special characters.
EQUALS = =

# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/travis/build/openscad/openscad/tests

# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/travis/build/openscad/openscad/tests

# Utility rule file for issue2342.

# Include the progress variables for this target.
include CMakeFiles/issue2342.dir/progress.make

CMakeFiles/issue2342:
	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/home/travis/build/openscad/openscad/tests/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Generating issue2342.scad"
	cd /home/travis/build/openscad/openscad/testdata/python && /opt/pyenv/shims/python3 /home/travis/build/openscad/openscad/tests/../testdata/python/gen_issue2342.py >/home/travis/build/openscad/openscad/tests/../testdata/scad/issues/issue2342.scad

issue2342: CMakeFiles/issue2342
issue2342: CMakeFiles/issue2342.dir/build.make

.PHONY : issue2342

# Rule to build all files generated by this target.
CMakeFiles/issue2342.dir/build: issue2342

.PHONY : CMakeFiles/issue2342.dir/build

CMakeFiles/issue2342.dir/clean:
	$(CMAKE_COMMAND) -P CMakeFiles/issue2342.dir/cmake_clean.cmake
.PHONY : CMakeFiles/issue2342.dir/clean

CMakeFiles/issue2342.dir/depend:
	cd /home/travis/build/openscad/openscad/tests && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/travis/build/openscad/openscad/tests /home/travis/build/openscad/openscad/tests /home/travis/build/openscad/openscad/tests /home/travis/build/openscad/openscad/tests /home/travis/build/openscad/openscad/tests/CMakeFiles/issue2342.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : CMakeFiles/issue2342.dir/depend


    

CMakeFiles/svg_viewbox_tests.dir/build.make

        # CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.12

# Delete rule output on recipe failure.
.DELETE_ON_ERROR:


#=============================================================================
# Special targets provided by cmake.

# Disable implicit rules so canonical targets will work.
.SUFFIXES:


# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =

.SUFFIXES: .hpux_make_needs_suffix_list


# Suppress display of executed commands.
$(VERBOSE).SILENT:


# A target that is always out of date.
cmake_force:

.PHONY : cmake_force

#=============================================================================
# Set environment variables for the build.

# The shell in which to execute make rules.
SHELL = /bin/sh

# The CMake executable.
CMAKE_COMMAND = /usr/local/cmake-3.12.4/bin/cmake

# The command to remove a file.
RM = /usr/local/cmake-3.12.4/bin/cmake -E remove -f

# Escaping for special characters.
EQUALS = =

# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/travis/build/openscad/openscad/tests

# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/travis/build/openscad/openscad/tests

# Utility rule file for svg_viewbox_tests.

# Include the progress variables for this target.
include CMakeFiles/svg_viewbox_tests.dir/progress.make

CMakeFiles/svg_viewbox_tests:
	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/home/travis/build/openscad/openscad/tests/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Generating svg viewbox tests"
	cd /home/travis/build/openscad/openscad/testdata/python && /opt/pyenv/shims/python3 /home/travis/build/openscad/openscad/tests/../testdata/python/gen_svg_viewbox_tests.py /home/travis/build/openscad/openscad/tests/../testdata/svg/viewbox /home/travis/build/openscad/openscad/tests/../testdata/scad/svg/extruded

svg_viewbox_tests: CMakeFiles/svg_viewbox_tests
svg_viewbox_tests: CMakeFiles/svg_viewbox_tests.dir/build.make

.PHONY : svg_viewbox_tests

# Rule to build all files generated by this target.
CMakeFiles/svg_viewbox_tests.dir/build: svg_viewbox_tests

.PHONY : CMakeFiles/svg_viewbox_tests.dir/build

CMakeFiles/svg_viewbox_tests.dir/clean:
	$(CMAKE_COMMAND) -P CMakeFiles/svg_viewbox_tests.dir/cmake_clean.cmake
.PHONY : CMakeFiles/svg_viewbox_tests.dir/clean

CMakeFiles/svg_viewbox_tests.dir/depend:
	cd /home/travis/build/openscad/openscad/tests && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/travis/build/openscad/openscad/tests /home/travis/build/openscad/openscad/tests /home/travis/build/openscad/openscad/tests /home/travis/build/openscad/openscad/tests /home/travis/build/openscad/openscad/tests/CMakeFiles/svg_viewbox_tests.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : CMakeFiles/svg_viewbox_tests.dir/depend