<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>13980</bug_id>
          
          <creation_ts>2020-07-10 10:52:40 +0000</creation_ts>
          <short_desc>Investigate replacements for PhantomJS for buildperf output</short_desc>
          <delta_ts>2026-06-12 16:19:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>AutoBuilder</product>
          <component>autobuilder</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>5.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Trevor Gamblin">tvgamblin</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>pidge</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
    
    <cc>tgamblin</cc>
    
    <cc>tim.orling</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>87740</commentid>
    <comment_count>0</comment_count>
    <who name="Trevor Gamblin">tvgamblin</who>
    <bug_when>2020-07-10 10:52:40 +0000</bug_when>
    <thetext>While investigating https://bugzilla.yoctoproject.org/show_bug.cgi?id=13977 (which is no longer failing), we noted that the mechanism uses the headless browser PhantomJS for image capture purposes. PhantomJS is no longer being actively worked on (see https://github.com/ariya/phantomjs/issues/15344) and the latest stable version is from 2016. While it still works and there is some activity on the GitHub repository, it is worth considering some more active alternatives:

Playwright: https://github.com/microsoft/playwright
Puppeteer: https://github.com/puppeteer/puppeteer</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87771</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2020-07-16 08:01:12 +0000</bug_when>
    <thetext>Might be easier to just replace that code with dynamically generated charts instead, chartjs or so on can draw a chart on the client in HTML. This will give us interactive charts too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87789</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-07-18 03:14:51 +0000</bug_when>
    <thetext>Ross: The issue isn&apos;t the website which already uses dynamically generated charts, its sharing images in the performance machine emails. If we do away with the charts in the emails, we can drop this.

I suspect the issue is that client code execution from html emails is problematic.

The right answer could well be just to drop the functionality and concentrate on the web browsable stuff.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87798</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2020-07-20 02:01:26 +0000</bug_when>
    <thetext>I&apos;d be entirely fine with the mail notifications being a high level summary of the report, and a link to a web page.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87803</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-07-20 08:48:51 +0000</bug_when>
    <thetext>I&apos;m leaning quite heavily to simplifying the email to just the text reports and a link...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87804</commentid>
    <comment_count>5</comment_count>
    <who name="Trevor Gamblin">tvgamblin</who>
    <bug_when>2020-07-20 08:51:00 +0000</bug_when>
    <thetext>Given how quickly JavaScript projects tend to change, that sounds like a good idea to me too. I still have this on my shortlist of things to do if we still want the screenshots, though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92192</commentid>
    <comment_count>6</comment_count>
    <who name="Trevor Gamblin">tvgamblin</who>
    <bug_when>2021-12-20 19:20:37 +0000</bug_when>
    <thetext>Did we ever come to a conclusion on whether or not to simplify emails?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96049</commentid>
    <comment_count>7</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-07-26 21:21:57 +0000</bug_when>
    <thetext>Bulk move of 64 bugs to 4.3 M3 after a quick review.
If a bug is actually fixed, please add a commit link and resolve it.
-- Randy for YP bug team.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96444</commentid>
    <comment_count>8</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2023-09-14 15:46:50 +0000</bug_when>
    <thetext>Moved to 5.0 M1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97674</commentid>
    <comment_count>9</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-12-21 23:28:29 +0000</bug_when>
    <thetext>Bulk move of 52 5.0-M1 bugs to M2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98007</commentid>
    <comment_count>10</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-01-25 14:28:49 +0000</bug_when>
    <thetext>Bulk move of bugs owned by &quot;unassigned&quot; from 5.0-M2 to 5.0-M3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105860</commentid>
    <comment_count>11</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2026-06-12 16:19:12 +0000</bug_when>
    <thetext>We removed phantomjs usage:

https://git.openembedded.org/openembedded-core/commit/?id=b5c131006e3fad0a15e6cdf81f71dc1e96647028</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>