New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 644834 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Closed: Oct 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: ----



Sign in to add a comment

build_externals won't update any package versions

Project Member Reported by xixuan@chromium.org, Sep 7 2016

Issue description

There exist a bug in def is_needed() of external_packages.py, to compare two version strings to detect whether the packages are needed to update, but the comparison always return False. 

This causes most of the packages are not updated and far away from the required version.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Sep 8 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/ebe4631ff1ea61a6846d2424c37e9718a1726ddd

commit ebe4631ff1ea61a6846d2424c37e9718a1726ddd
Author: xixuan <xixuan@chromium.org>
Date: Wed Sep 07 21:45:49 2016

Autotest: Let build_externals update the newest packages.

Previously, when build_externals checks whether there's a need to update a
package, it always return False. This causes some out-of-dated packages.

This CL updates to check the version of packages correctly.

BUG= chromium:644834 
TEST=Run build_externals.py in local workstation.

Change-Id: I09edbb19ba70f31299f0177d87f33a6cce4ed58e
Reviewed-on: https://chromium-review.googlesource.com/382592
Commit-Ready: Xixuan Wu <xixuan@chromium.org>
Tested-by: Xixuan Wu <xixuan@chromium.org>
Reviewed-by: Shuqian Zhao <shuqianz@chromium.org>
Reviewed-by: Dan Shi <dshi@google.com>

[modify] https://crrev.com/ebe4631ff1ea61a6846d2424c37e9718a1726ddd/utils/external_packages.py

Components: -Infra Infra>Client>ChromeOS
Status: Fixed (was: Assigned)

Comment 4 by dchan@chromium.org, Oct 7 2016

Labels: VerifyIn-55

Comment 5 by dchan@chromium.org, Oct 10 2016

Labels: -VerifyIn-55

Comment 6 by dchan@google.com, Nov 19 2016

Labels: VerifyIn-56

Comment 7 by dchan@google.com, Jan 21 2017

Labels: VerifyIn-57

Comment 8 by dchan@google.com, Mar 4 2017

Labels: VerifyIn-58

Comment 9 by dchan@google.com, Apr 17 2017

Labels: VerifyIn-59

Comment 10 by dchan@google.com, May 30 2017

Labels: VerifyIn-60
Labels: VerifyIn-61

Comment 12 by dchan@chromium.org, Oct 14 2017

Status: Archived (was: Fixed)

Sign in to add a comment