[jira] [Commented] (AVRO-2229) Ability to test and release using a Docker image

2018-09-28 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/AVRO-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16632068#comment-16632068
 ] 

ASF GitHub Bot commented on AVRO-2229:
--

Fokko opened a new pull request #336: [AVRO-2229] Test using a Docker image
URL: https://github.com/apache/avro/pull/336
 
 
   First version of the Docker image with all the dependencies and the ability 
to run the full test suite using Docker. I would like to add a Travis CI after 
this PR: https://issues.apache.org/jira/browse/AVRO-2233
   
   The distribution part is still pending, but before fixing this, I'd like to:
   
   - Fix the C++ testsuite and enable it back in the testsuite, fixed in #335 :
   ```
   Run C++ tests
   -- Boost version: 1.55.0
   -- Found the following Boost libraries:
   --   filesystem
   --   system
   --   program_options
   --   iostreams
   Enabled snappy codec
   -- Configuring done
   -- Generating done
   -- Build files have been written to: /avro/lang/c++/build
   -- Boost version: 1.55.0
   -- Found the following Boost libraries:
   --   filesystem
   --   system
   --   program_options
   --   iostreams
   Enabled snappy codec
   -- Configuring done
   -- Generating done
   -- Build files have been written to: /avro/lang/c++/build
   [  1%] Building CXX object CMakeFiles/avrocpp_s.dir/impl/Compiler.cc.o
   /avro/lang/c++/impl/Compiler.cc:174:15: warning: ‘std::string 
avro::nameof(const NodePtr&)’ defined but not used [-Wunused-function]
static string nameof(const NodePtr& n)
  ^
   [  2%] Building CXX object CMakeFiles/avrocpp_s.dir/impl/Node.cc.o
   [  4%] Building CXX object CMakeFiles/avrocpp_s.dir/impl/NodeImpl.cc.o
   [  5%] Building CXX object CMakeFiles/avrocpp_s.dir/impl/ResolverSchema.cc.o
   [  6%] Building CXX object CMakeFiles/avrocpp_s.dir/impl/Schema.cc.o
   [  8%] Building CXX object CMakeFiles/avrocpp_s.dir/impl/Types.cc.o
   [  9%] Building CXX object CMakeFiles/avrocpp_s.dir/impl/ValidSchema.cc.o
   [ 10%] Building CXX object CMakeFiles/avrocpp_s.dir/impl/Zigzag.cc.o
   [ 12%] Building CXX object CMakeFiles/avrocpp_s.dir/impl/BinaryEncoder.cc.o
   [ 13%] Building CXX object CMakeFiles/avrocpp_s.dir/impl/BinaryDecoder.cc.o
   [ 14%] Building CXX object CMakeFiles/avrocpp_s.dir/impl/Stream.cc.o
   [ 16%] Building CXX object CMakeFiles/avrocpp_s.dir/impl/FileStream.cc.o
   [ 17%] Building CXX object CMakeFiles/avrocpp_s.dir/impl/Generic.cc.o
   [ 18%] Building CXX object CMakeFiles/avrocpp_s.dir/impl/GenericDatum.cc.o
   [ 20%] Building CXX object CMakeFiles/avrocpp_s.dir/impl/DataFile.cc.o
   In file included from /avro/lang/c++/api/Specific.hh:30:0,
from /avro/lang/c++/api/DataFile.hh:26,
from /avro/lang/c++/impl/DataFile.cc:19:
   /avro/lang/c++/api/AvroTraits.hh: In static member function ‘static char (& 
avro::is_defined::test(char (*)[sizeof (U)]))[1]’:
   /avro/lang/c++/api/AvroTraits.hh:61:63: warning: no return statement in 
function returning non-void [-Wreturn-type]
template  static yes& test(char(*)[sizeof(U)]) { };
  ^
   /avro/lang/c++/api/AvroTraits.hh: In static member function ‘static char (& 
avro::is_defined::test(...))[2]’:
   /avro/lang/c++/api/AvroTraits.hh:63:47: warning: no return statement in 
function returning non-void [-Wreturn-type]
template  static no& test(...) { };
  ^
   /avro/lang/c++/api/AvroTraits.hh: In static member function ‘static char (& 
avro::is_not_defined::test(char (*)[sizeof (U)]))[1]’:
   /avro/lang/c++/api/AvroTraits.hh:81:63: warning: no return statement in 
function returning non-void [-Wreturn-type]
template  static yes& test(char(*)[sizeof(U)]) { };
  ^
   /avro/lang/c++/api/AvroTraits.hh: In static member function ‘static char (& 
avro::is_not_defined::test(...))[2]’:
   /avro/lang/c++/api/AvroTraits.hh:83:47: warning: no return statement in 
function returning non-void [-Wreturn-type]
template  static no& test(...) { };
  ^
   [ 21%] Building CXX object CMakeFiles/avrocpp_s.dir/impl/parsing/Symbol.cc.o
   [ 22%] Building CXX object 
CMakeFiles/avrocpp_s.dir/impl/parsing/ValidatingCodec.cc.o
   [ 24%] Building CXX object 
CMakeFiles/avrocpp_s.dir/impl/parsing/JsonCodec.cc.o
   [ 25%] Building CXX object 
CMakeFiles/avrocpp_s.dir/impl/parsing/ResolvingDecoder.cc.o
   [ 27%] Building CXX object CMakeFiles/avrocpp_s.dir/impl/json/JsonIO.cc.o
   [ 28%] Building CXX object CMakeFiles/avrocpp_s.dir/impl/json/JsonDom.cc.o
   In file included from /avro/lang/c++/impl/json/JsonDom.cc:19:0:
   /avro/lang/c++/impl/json/JsonDom.hh: In instantiation of ‘void 
std::__cxx1998::vector<_Tp, _Alloc>::_M_insert_aux(std::__cxx1998::vector<_Tp, 
_Alloc>::iterator, const 

[jira] [Commented] (AVRO-2229) Ability to test and release using a Docker image

2018-09-25 Thread Doug Cutting (JIRA)


[ 
https://issues.apache.org/jira/browse/AVRO-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16627680#comment-16627680
 ] 

Doug Cutting commented on AVRO-2229:


Note that the code for this already exists in share/docker/Dockerfile, driven 
from the top-level build.sh script using its 'docker' command.  However the 
list of dependencies in the Dockerfile may be out date, and some of the builds 
may be broken.

Related, we should probably alter the top-level BUILD to, instead of listing 
dependencies, refer to the dependencies in the Dockerfile, so that we maintain 
these in a single place.

> Ability to test and release using a Docker image
> 
>
> Key: AVRO-2229
> URL: https://issues.apache.org/jira/browse/AVRO-2229
> Project: Avro
>  Issue Type: Improvement
>Affects Versions: 1.8.2
>Reporter: Fokko Driesprong
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)