Skip to contentSkip to conversation

ipmibridge CI build failure

DISCUSSION yugang.chen 2 participants 2 messages Sep 1, 2020 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi Bishop,

ipmibridge CI build is failure  recently,  for example,  the following error information for code review #36128,  could you please check if it's needed to update CI build? thanks.

here are some code review  with CI build failure recently:

https://gerrit.openbmc-project.xyz/c/openbmc/ipmbbridge/+/36128

https://gerrit.openbmc-project.xyz/c/openbmc/ipmbbridge/+/34579

https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-host-ipmid/+/35781

https://gerrit.openbmc-project.xyz/c/openbmc/ipmbbridge/+/35782

-- Build files have been written to: /home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge /home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge > cmake --build . -- -j 80
*Scanning dependencies of target ipmbbridged*
[ 33%]Building CXX object CMakeFiles/ipmbbridged.dir/ipmbutils.cpp.o
[ 66%]Building CXX object CMakeFiles/ipmbbridged.dir/ipmbbridged.cpp.o
In file included from*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbutils.cpp:16*:
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.hpp:201:32:* *error: *���*steady_timer*��� is not a member of ���*boost::asio*���

  201 |     std::optional<boost::asio::*steady_timer*> timer;
      |*^~~~~~~~~~~~*
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.hpp:201:44:*  *error: *template argument 1 is invalid
  201 |     std::optional<boost::asio::steady_timer*>*  timer;
      |*^*
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.hpp:262:40:*  *error: *expected ���*)*��� before ���*&*��� token
  262 |     IpmbChannel(boost::asio::io_service**&io, uint8_t ipmbBmcSlaveAddress,
      |~                        *^*~
      |)
In file included from*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:16*:
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.hpp:201:32:*  *error: *���*steady_timer*��� is not a member of ���*boost::asio*���
  201 |     std::optional<boost::asio::*steady_timer*> timer;
      |*^~~~~~~~~~~~*
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.hpp:201:44:*  *error: *template argument 1 is invalid
  201 |     std::optional<boost::asio::steady_timer*>*  timer;
      |*^*
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.hpp:262:40:*  *error: *expected ���*)*��� before ���*&*��� token
  262 |     IpmbChannel(boost::asio::io_service**&io, uint8_t ipmbBmcSlaveAddress,
      |~                        *^*~
      |)
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:36:14:*  *error: *���*io_service*��� in namespace ���*boost::asio*��� does not name a type; did you mean ���*has_service*���?
   36 | boost::asio::*io_service*  io;
      |*^~~~~~~~~~*
      |has_service
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:37:59:*  *error: *���*io*��� was not declared in this scope
   37 | auto conn = std::make_shared<sdbusplus::asio::connection>(*io*);
      |*^~*
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:*  In constructor ���*IpmbRequest::IpmbRequest(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, const std::vector<unsigned char>&)*���:
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:57:11:*  *error: *���*io*��� was not declared in this scope
   57 |     timer(*io*)
      |*^~*
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:*  In member function ���*void IpmbChannel::ipmbSendI2cFrame(std::shared_ptr<std::vector<unsigned char> >, size_t)*���:
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:265:18:*  *error: *���*async_write*��� is not a member of ���*boost::asio*���; did you mean ���*async_initiate*���?
  265 |     boost::asio::*async_write*(
      |*^~~~~~~~~~~*
      |async_initiate
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:*  In member function ���*void IpmbChannel::responseMatch(std::unique_ptr<IpmbResponse>&)*���:
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:344:27:*  *error: *base operand of ���*->*��� is not a pointer
  344 |             request->timer*->*cancel();
      |*^~*
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:*  At global scope:
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:518:25:*  *error: *expected constructor, destructor, or type conversion before ���*(*��� token
  518 | IpmbChannel::IpmbChannel*(*boost::asio::io_service &io,
      |*^*
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:*  In member function ���*std::tuple<int, unsigned char, unsigned char, unsigned char, unsigned char, std::vector<unsigned char, std::allocator<unsigned char> > > IpmbChannel::requestAdd(boost::asio::yield_context&, std::shared_ptr<IpmbRequest>)*���:
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:718:26:*  *error: *���*async_write*��� is not a member of ���*boost::asio*���; did you mean ���*async_initiate*���?
  718 |             boost::asio::*async_write*(i2cSlaveDescriptor,
      |*^~~~~~~~~~~*
      |async_initiate
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:738:23:*  *error: *base operand of ���*->*��� is not a pointer
  738 |         request->timer*->*expires_after(
      |*^~*
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:740:23:*  *error: *base operand of ���*->*��� is not a pointer
  740 |         request->timer*->*async_wait(yield[ec]);
      |*^~*
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:*  In function ���*int initializeChannels()*���:
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:803:69:*  *error: *���*io*��� was not declared in this scope
  803 |             auto channel = ipmbChannels.emplace(ipmbChannels.end(),*io*, bmcAddr,
      |*^~*
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:*  In function ���*int main(int, char**)*���:
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:986:5:*  *error: *���*io*��� was not declared in this scope
  986 |*io*.run();
      |*^~*

make[2]: *** [CMakeFiles/ipmbbridged.dir/build.make:76: CMakeFiles/ipmbbridged.dir/ipmbutils.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/ipmbbridged.dir/build.make:63: CMakeFiles/ipmbbridged.dir/ipmbbridged.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/ipmbbridged.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Traceback (most recent call last):

#2 lore raw

Looks like Ed put up a fix for this:

https://gerrit.openbmc-project.xyz/c/openbmc/ipmbbridge/+/36127

We'll need that merged and then we can rebase your commits onto it.

Quoted 6 lines · yugang.chen

Hi Bishop,

ipmibridge CI build is failure  recently,  for example,  the following error information for code review #36128,  could you please check if it's needed to update CI build? thanks.

Signature · 1 line
Patrick Williams