All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Li, Yong B" <yong.b.li@linux.intel.com>
To: Patrick Venture <venture@google.com>,
	Matt Spinler <mspinler@linux.vnet.ibm.com>,
	William Kennington <wak@google.com>
Cc: OpenBMC Maillist <openbmc@lists.ozlabs.org>
Subject: Re: journal log messages are missing with latest version
Date: Fri, 4 Jan 2019 09:20:30 +0800	[thread overview]
Message-ID: <3a1d3ae9-e067-c166-96cd-b91f984de3d5@linux.intel.com> (raw)
In-Reply-To: <CAO=notwS_RHpZ-j99zwcSgFa7Prp0qDVGpEy1r3O-nPWUG5CMw@mail.gmail.com>

Thanks Patrick for your mails.

Will test https://gerrit.openbmc-project.xyz/17054, and update the results.

On 1/4/2019 6:33 AM, Patrick Venture wrote:
> On Thu, Jan 3, 2019 at 2:28 PM Patrick Venture <venture@google.com> wrote:
>> On Thu, Jan 3, 2019 at 11:19 AM Patrick Venture <venture@google.com> wrote:
>>> On Thu, Jan 3, 2019 at 10:07 AM Matt Spinler
>>> <mspinler@linux.vnet.ibm.com> wrote:
>>>> On 2019-01-02 13:09, Patrick Venture wrote:
>>>>> On Thu, Dec 20, 2018 at 4:38 PM Yong Li <yong.b.li@linux.intel.com>
>>>>> wrote:
>>>>>>
>>>>>>
>>>>>> Hi Patrick,
>>>>>>
>>>>>>
>>>>>>
>>>>>> I encountered a problem after upgrade to the latest opnebmc version:
>>>>>>
>>>>>>
>>>>>>
>>>>>> These log messages in ipmid are missing with the “journalctl -f”.
>>>>> Which log messages?
>>>>
>>>> This showed up on all of our systems too, anything logged using
>>>> phosphor-logging
>>>> is missing from the journal.  I even ended up using a git bisect to also
>>>> narrow
>>>> it down to:
>>>>
>>>> phosphor-logging: srcrev bump 30047bf964..31552c05e2
>>>>
>>>>       Patrick Venture (5):
>>>>             add sdjournal interface to inject tests
>>>>             test: use only one main library
>>>>             bugfix: add fixes to mock class
>>>>             bugfix: rename method to match implementation
>>>>             test: add test to force building of sdjournal mock
>>>>
>>> William, you've been digging into sdbus a lot recently, can you take a
>>> deep look at the patchset above and see what I may have messed up?
>>> The phosphor-logging unit-tests were broken until I got it "working."
>>> Which lead me to believe that it's not correct -- and the daemons that
>>> have unit-tests that hit the log message are seeing the calls.
>>  From reading more into the var_args pass-through, that may be the
>> issue.  One cannot pass the var args down directly like this.  I
>> propose to initially snip out this extra call and then revisit so that
>> it'll resume working.
> https://gerrit.openbmc-project.xyz/17054
>> The problem is that sd_journal_send doesn't expect a va_list argument,
>> but rather strictly var args, which aren't the same.
>>
>>>>>>
>>>>>>
>>>>>> My tests shows that the blow change is related, after I revert it, I
>>>>>> can get these log messages.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Did you meet such issue, or any suggestions/comments to narrow down
>>>>>> this issue?
>>>>>>
>>>>>> https://github.com/openbmc/phosphor-logging/commit/59a6b1f27e83066baa6f3711c88d6a3b9a5c4d49
>>>>>>
>>>>>> add sdjournal interface to inject tests
>>>>> There were some follow-on patches for phosphor-logging that you
>>>>> shouldn't need -- it's
>>>>>
>>>>> What SHA is for your https://github.com/openbmc/phosphor-host-ipmid ?
>>>>> (so I know what version of that is in use by you).
>>>>>
>>>>> Checking the HEAD version of
>>>>> https://github.com/openbmc/phosphor-host-ipmid/blob/master/Makefile.am,
>>>>> I see it's including the proper libs to get the full phosphor-logging
>>>>> objects.
>>>>>
>>>>>>
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Yong

  reply	other threads:[~2019-01-04  1:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-21  0:38 journal log messages are missing with latest version Yong Li
2019-01-02 19:09 ` Patrick Venture
2019-01-03 18:12   ` Matt Spinler
2019-01-03 19:19     ` Patrick Venture
2019-01-03 22:28       ` Patrick Venture
2019-01-03 22:33         ` Patrick Venture
2019-01-04  1:20           ` Li, Yong B [this message]
2019-01-04 14:58             ` Patrick Venture

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3a1d3ae9-e067-c166-96cd-b91f984de3d5@linux.intel.com \
    --to=yong.b.li@linux.intel.com \
    --cc=mspinler@linux.vnet.ibm.com \
    --cc=openbmc@lists.ozlabs.org \
    --cc=venture@google.com \
    --cc=wak@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.