ubuntu-security-tools:master

Last commit made on 2024-03-05
Get this branch:
git clone -b master https://git.launchpad.net/ubuntu-security-tools
Members of Ubuntu Security Team can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
master
Repository:
lp:ubuntu-security-tools

Recent commits

e811cc8... by Alex Murray

umt testflinger: try and list agents provisioned via muxpi as well as maas

Signed-off-by: Alex Murray <email address hidden>

Succeeded
[SUCCEEDED] unit-tests:0 (build)
11 of 1 result
9d1769a... by Alex Murray

umt testflinger: workaround max URL limit of 4k

Signed-off-by: Alex Murray <email address hidden>

15c32c0... by Alex Murray

build-tools/buildlog-compare: fixup more invalid escapes for py3.12

Signed-off-by: Alex Murray <email address hidden>

Succeeded
[SUCCEEDED] unit-tests:0 (build)
11 of 1 result
ad6e670... by Alex Murray

package-tools/debcompare: fixup invalid escapes for py3.12

Signed-off-by: Alex Murray <email address hidden>

Succeeded
[SUCCEEDED] unit-tests:0 (build)
11 of 1 result
ff50b90... by Alex Murray

build-tools/buildlog-compare: fixup invalid escapes for py3.12

Signed-off-by: Alex Murray <email address hidden>

694291e... by Jorge Sancho Larraz

Merge branch 'add-apt-source-to-autopkgtest'

Succeeded
[SUCCEEDED] unit-tests:0 (build)
11 of 1 result
262bcc7... by Jorge Sancho Larraz

umt/autopkgtest: hack around missing deb-src entries in cloud-image

0e9fc5c... by Jorge Sancho Larraz

umt/autopkgtest: add add apt source by default

7f88126... by Jorge Sancho Larraz

umt/autopkgtest: add support for --ram-size option

Succeeded
[SUCCEEDED] unit-tests:0 (build)
11 of 1 result
fe0ee66... by Alex Murray

build-tools/umt: fix invalid escape sequence in regexes

With Python 3.12 (default now in noble) the python interpreter complains about
these at runtime, so fix them up to avoid the noise - see example as follows:

[amurray:/tmp] $ umt download gtk+3.0 -r noble
/home/amurray/bin/umt:129: SyntaxWarning: invalid escape sequence '\d'
  (rc4, _) = runcmd(['grep', '-P', '\d+:\s+[0-9A-F]+:0050', "/proc/net/tcp" ])
/home/amurray/bin/umt:130: SyntaxWarning: invalid escape sequence '\d'
  (rc6, _) = runcmd(['grep', '-P', '\d+:\s+[0-9A-F]+:0050', "/proc/net/tcp6" ])
/home/amurray/bin/umt:1067: SyntaxWarning: invalid escape sequence '\+'
  pattern = re.compile(r' %s( |_)%s ' % (pkg.replace('+', '\+'), ver.replace('+', '\+')))
/home/amurray/bin/umt:1067: SyntaxWarning: invalid escape sequence '\+'
  pattern = re.compile(r' %s( |_)%s ' % (pkg.replace('+', '\+'), ver.replace('+', '\+')))
/home/amurray/bin/umt:1536: SyntaxWarning: invalid escape sequence '\/'
  if re.search('[WE]: Failed to fetch .*\/debian-installer\/', report):
/home/amurray/bin/umt:1946: SyntaxWarning: invalid escape sequence '\+'
  esm_version_match = re.search("[\+~]esm\d+", details['version'])
/home/amurray/bin/umt:4338: SyntaxWarning: invalid escape sequence '\-'
  build_script = build_script + '''
/home/amurray/bin/umt:4351: SyntaxWarning: invalid escape sequence '\-'
  build_script = build_script + '''
/home/amurray/bin/umt:4503: SyntaxWarning: invalid escape sequence '\s'
  build_script = build_script + '''
/home/amurray/bin/umt:4738: SyntaxWarning: invalid escape sequence '\.'
  if re.search('^[a-z0-9][a-z0-9+\.\-]+$', details['package']) == None:
/home/amurray/bin/umt:4754: SyntaxWarning: invalid escape sequence '\.'
  magic = '^[^-]+-(.*~ppa[0-9]+|(0(\.0)?ubuntu)?(1|0\.1|0\.(6.06|6.10|7.04|7.10|8.04|8.10|9.04)(\.1)?))$'
/home/amurray/bin/umt:5047: SyntaxWarning: invalid escape sequence '\s'
  changelog_text = snip(report, '^Changes:\s*$', '^[^ ]')
/home/amurray/bin/umt:5053: SyntaxWarning: invalid escape sequence '\+'
  if re.search('^ ' + details['source'].replace('+', '\+'), line):
/home/amurray/bin/umt:5062: SyntaxWarning: invalid escape sequence '\s'
  changes_text = snip(changes.read(), '^Changes:\s*$', '^[^ ]')
/home/amurray/bin/umt:5065: SyntaxWarning: invalid escape sequence '\+'
  if re.search('^ ' + details['source'].replace('+', '\+'), line):
/home/amurray/bin/umt:5609: SyntaxWarning: invalid escape sequence '\$'
  if re.search('^\$maintainer_name', line):
/home/amurray/bin/umt:5610: SyntaxWarning: invalid escape sequence '\g'
  keyid = re.sub(".*<(.*)>.*", "\g<1>", line.strip())
Downloading 'gtk+3.0' version '3.24.40-2ubuntu1' for release 'noble'.

Signed-off-by: Alex Murray <email address hidden>

Succeeded
[SUCCEEDED] unit-tests:0 (build)
11 of 1 result